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

Setting up via artifactory.config.import.yml needs restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.13.0
    • Component/s: bootstrap yml
    • Labels:

      Description

      While first start  there is an Error in parsing the yaml

      (actually License is read but baseUrl not)

      2018-06-14 12:05:41,684 [art-init] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:647) - Starting Quartz Scheduler now
      2018-06-14 12:05:41,890 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:243) - Artifactory context starting up 53 Spring Beans...
      2018-06-14 12:05:41,922 [art-init] [INFO ] (o.a.c.CentralConfigServiceImpl:280) - Loading bootstrap configuration (artifactory home dir is /var/opt/jfrog/artifactory).
      2018-06-14 12:05:41,924 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:78) - The current Artifactory config schema namespace is 'http://artifactory.jfrog.org/xsd/2.1.4' The provided c
      onfig does not seem to be compliant with it.
      2018-06-14 12:05:42,000 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:58) - Converting artifactory.config.xml version from 'v213' to 'v214'
      2018-06-14 12:05:42,084 [art-init] [INFO ] (o.a.v.v.NuGetV3Converter:17) - Starting NuGet 'v3FeedUrl' conversion
      2018-06-14 12:05:42,085 [art-init] [INFO ] (o.a.v.v.NuGetV3Converter:22) - Finished NuGet 'v3FeedUrl' conversion (no changed made)
      2018-06-14 12:05:43,292 [art-init] [INFO ] (o.a.r.o.OnboardingYamlBootstrapper:119) - Bootstrapping artifactory from artifactory.config.import.yml
      2018-06-14 12:05:43,349 [art-init] [ERROR] (o.a.r.o.OnboardingYamlBootstrapper:96) - Unable to parse YAML file artifactory.config.import.yml - Artifactory can not initialize default bo
      otstrap settings
      2018-06-14 12:05:43,586 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:374) - Initialized new service id: jfrt@01cfyw43rdrwm807grbs9c049h
      2018-06-14 12:05:43,615 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:401) - Saving Access bootstrap.creds file backup to: /var/opt/jfrog/artifactory/etc/security/acce
      ss/bootstrap.creds.1528970743615.bak
      2018-06-14 12:05:43,853 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:572) - Using Access Server URL: http://localhost:8040/access (bundled) source: detected
      2018-06-14 12:05:43,892 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:313) - Waiting for access server...
      2018-06-14 12:05:45,539 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:320) - Got response from Access server after 1646 ms, continuing.
      2018-06-14 12:05:46,547 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:297) - Initialized access service successfully with client id 1897174483, closing old client id [null]
      2018-06-14 12:05:46,547 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:1037) - Updating access configuration with password expiration data
      2018-06-14 12:05:46,930 [art-init] [INFO ] (o.a.i.InfoWriter    :87) -

      While second start/restart

      2018-06-14 12:07:46,855 [art-init] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:647) - Starting Quartz Scheduler now
      2018-06-14 12:07:47,079 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:243) - Artifactory context starting up 53 Spring Beans...
      2018-06-14 12:07:48,181 [art-init] [INFO ] (o.a.r.o.OnboardingYamlBootstrapper:119) - Bootstrapping artifactory from artifactory.config.import.yml
      2018-06-14 12:07:48,203 [art-init] [INFO ] (o.a.r.o.OnboardingYamlBootstrapper:390) - Setting up base url from artifactory.config.import.yml
      2018-06-14 12:07:48,203 [art-init] [INFO ] (o.a.r.o.OnboardingYamlBootstrapper:131) - Configuration reloaded from artifactory.config.import.yml
      2018-06-14 12:07:48,251 [art-init] [INFO ] (o.j.s.c.EncryptionWrapperFactory:33) - createArtifactoryKeyWrapper  EncryptionWrapperBase{ encodingType=ARTIFACTORY_MASTER, topEncrypter=Byt
      esEncrypterBase{ Cipher='AES128',  keyId='265UN'}, formatUsed=DotFormat, decrypters=[BytesEncrypterBase{ Cipher='AES128',  keyId='265UN'}]}
      2018-06-14 12:07:48,345 [art-init] [INFO ] (o.a.c.CentralConfigServiceImpl:381) - New configuration forced saved.
      2018-06-14 12:07:48,357 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:374) - Initialized new service id: jfrt@01cfyw43rdrwm807grbs9c049h
      2018-06-14 12:07:48,572 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:572) - Using Access Server URL: http://localhost:8040/access (bundled) source: detected
      2018-06-14 12:07:48,601 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:313) - Waiting for access server...
      2018-06-14 12:07:50,094 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:320) - Got response from Access server after 1492 ms, continuing.
      2018-06-14 12:07:50,242 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:297) - Initialized access service successfully with client id 237865799, closing old client id [null]
      2018-06-14 12:07:50,243 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:1037) - Updating access configuration with password expiration data
      2018-06-14 12:07:50,659 [art-init] [INFO ] (o.a.i.InfoWriter    :87) -

      This is a problem for automated roleouts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              barh Bar Haim
              Reporter:
              uwe.roehner Uwe Röhner
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: