Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-4338

Removing migration 67 causing upgrade failures from 6.3.0 to 6.3.1-SNAPSHOT

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 6.3.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      PuppetDB
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Removing the migration 67 entirely is causing upgrade failures due to it being an "unrecognized version"

      Error from jenkins

      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: Exception in thread "main" java.lang.IllegalStateException: Your PuppetDB database contains a schema migration numbered 67, but this version of PuppetDB does not recognize that version.
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at clojure.lang.Reflector.invokeConstructor(Reflector.java:305)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.scf.migrate$migrate_BANG_.invokeStatic(migrate.clj:1739)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.scf.migrate$migrate_BANG_.invoke(migrate.clj:1714)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$initialize_schema.invokeStatic(services.clj:332)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$initialize_schema.invoke(services.clj:317)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$init_with_db$fn__34951.invoke(services.clj:356)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$init_with_db.invokeStatic(services.clj:352)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$init_with_db.invoke(services.clj:336)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$start_puppetdb.invokeStatic(services.clj:425)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$start_puppetdb.invoke(services.clj:404)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.puppetdb.cli.services$reify__35054$service_fnk__18747__auto___positional$reify__35065.start(services.clj:516)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.services$fn__18584$G__18565__18587.invoke(services.clj:9)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.services$fn__18584$G__18564__18591.invoke(services.clj:9)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19079$run_lifecycle_fn_BANG___19086$fn__19087.invoke(internal.clj:198)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19079$run_lifecycle_fn_BANG___19086.invoke(internal.clj:181)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19108$run_lifecycle_fns__19113$fn__19114.invoke(internal.clj:231)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19108$run_lifecycle_fns__19113.invoke(internal.clj:208)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19683$build_app_STAR___19692$fn$reify__19704.start(internal.clj:586)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19731$boot_services_for_app_STAR__STAR___19738$fn__19739$fn__19741.invoke(internal.clj:612)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19731$boot_services_for_app_STAR__STAR___19738$fn__19739.invoke(internal.clj:610)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19731$boot_services_for_app_STAR__STAR___19738.invoke(internal.clj:604)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at clojure.core$partial$fn__5826.invoke(core.clj:2630)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19153$initialize_lifecycle_worker__19164$fn__19165$fn__19315$state_machine__10520__auto____19340$fn__19343.invoke(internal.clj:251)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at puppetlabs.trapperkeeper.internal$fn__19153$initialize_lifecycle_worker__19164$fn__19165$fn__19315$state_machine__10520__auto____19340.invoke(internal.clj:251)
      04:46:08     Apr 10 11:45:51 g5hsh7ucezitfmn puppetdb[13375]: at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:973)
      04:46:08     Error: /Stage[main]/Puppetdb::Server/Service[puppetdb]/ensure: change from 'stopped' to 'running' failed: Systemd start for puppetdb failed!
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.blatt Austin Blatt
              Reporter:
              austin.blatt Austin Blatt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support