Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21948

Initialization process of artifactory take longer with masterless version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.5.0
    • Component/s: HA, startup
    • Labels:
      None
    • Environment:

      7.5.0-m076

    • Severity:
      High

      Description

      Artifactory Sanity job has caught longer startup on master less version:

      After executing Sanity on 7.5.0-m076 (masterless) the following test as failed:

      GlobalConfigSpec. Restart Artifactory with password expiration after security reconfiguration
      

      After investigating the logs i have seen that the process of "Starting file sync" is taking more then a minute to complete while in non master less then a second:

      masterless version:

      2020-04-27T09:16:43.117Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [c.ConfigurationManagerImpl:105] [ocalhost-startStop-1] - Starting file sync
      2020-04-27T09:16:43.143Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.xml'
      2020-04-27T09:16:49.570Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978963080.xml'
      2020-04-27T09:16:56.156Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978903927.xml'
      2020-04-27T09:17:02.463Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978914604.xml'
      2020-04-27T09:17:08.272Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/security/url.signing.key'
      2020-04-27T09:17:08.277Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/security/artifactory.key'
      2020-04-27T09:17:08.284Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/security/access/keys/root.crt'
      2020-04-27T09:17:08.294Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/security/access/keys/service_id.1587978857215.bak'
      2020-04-27T09:17:08.302Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978903779.xml'
      2020-04-27T09:17:14.121Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978914376.xml'
      2020-04-27T09:17:20.462Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/logback.original.xml'
      2020-04-27T09:17:21.127Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978963208.xml'
      2020-04-27T09:17:27.129Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978962648.xml'
      2020-04-27T09:17:33.141Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978962816.xml'
      2020-04-27T09:17:39.414Z [jfrt ] [INFO ] [e3e1ae918917fcb4] [o.j.c.ConfigWrapperImpl:349   ] [ocalhost-startStop-1] - [Node ID: 283017cc1190]  detected local  modify for config 'artifactory/config/artifactory.config.latest.1587978962460.xml'
      

      non master less version(7.5.0-m084):

      2020-04-28T05:25:56.643Z [jfrt ] [INFO ] [25d0c317ef3680e4] [.w.ConfigurationManagerImpl:95] [art-init            ] - Starting file sync
      2020-04-28T05:25:56.665Z [jfrt ] [INFO ] [25d0c317ef3680e4] [o.j.c.w.ConfigWrapperImpl:520 ] [art-init            ] - [Node ID: 005774937c7d]  detected local  modify for config 'artifactory.system.properties'
      2020-04-28T05:25:56.695Z [jfrt ] [INFO ] [25d0c317ef3680e4] [o.j.c.w.ConfigWrapperImpl:520 ] [art-init            ] - [Node ID: 005774937c7d]  detected local  modify for config 'artifactory.mimeType'
      2020-04-28T05:25:56.713Z [jfrt ] [INFO ] [25d0c317ef3680e4] [o.j.c.w.ConfigWrapperImpl:520 ] [art-init            ] - [Node ID: 005774937c7d]  detected local  modify for config 'artifactory.binarystore.xml'
      2020-04-28T05:25:56.748Z [jfrt ] [INFO ] [25d0c317ef3680e4] [o.j.c.w.ConfigWrapperImpl:520 ] [art-init            ] - [Node ID: 005774937c7d]  detected local  modify for config 'artifactory.security.access/access.admin.token'
      2020-04-28T05:25:56.765Z [jfrt ] [INFO ] [25d0c317ef3680e4] [o.j.c.w.ConfigWrapperImpl:520 ] [art-init            ] - [Node ID: 005774937c7d]  detected local  modify for config 'artifactory.plugin.README.md'
      

      What the test does:

      reconfiguration of PasswordExpirationPolicy and restart container.

      the failure occurred while we waited too long for the container to start 

       

       

       

        Attachments

          Activity

            People

            Assignee:
            morm Mor Merhav
            Reporter:
            idanm Idan Marciano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-21948 -
                SYNCHRONIZED
                • Last Sync Date: