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

document AMQ errors on master->stable downgrades

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 2.3.5, PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-06-03

      Description

      Currently if you run PDB on master, then check out stable, clear your database, and run there, you hit an AMQ error on startup. This was a consequence of the clamq removal, and the solution is do delete your mq directory. We'll need to document this because the error will be surprising to users attempting a downgrade from 3.0:

      2015-04-23 14:18:45,583 ERROR [o.a.a.b.BrokerService] Failed to start ActiveMQ JMS Message Broker (localhost, null). Reason: java.io.IOException: Could not load journal record. Invalid location: 8:178520
      84
      java.io.IOException: Could not load journal record. Invalid location: 8:17852084
              at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:935) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:532) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:367) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:424) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:240) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:180) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:54) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:192) ~[activemq-core-5.6.0.jar:5.6.0]
              at org.apache.activemq.broker.BrokerService.start(BrokerService.java:525) ~[activemq-core-5.6.0.jar:5.6.0]
              at com.puppetlabs.mq$start_broker_BANG_.invoke(mq.clj:118) [na:na]
              at com.puppetlabs.mq$build_and_start_broker_BANG_.invoke(mq.clj:132) [na:na]
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: