On Fri, February 19, 2010 00:05, Brian Witt wrote: > Hi, > > > I'm trying to upgrade from Heartbeat 2.1.4 (CRM-enabled) on CentOS 5 > (using the epel packages) to the latest heartbeat 3.0.2 using packages > from http://www.clusterlabs.org/rpm/ but am running into a "Digest > comparision failed:" error when bringing up the new version. > > I'm following the user's guide starting at > http://www.linux-ha.org/doc/s-upgrade-crm.html > > > And here's the steps I'm taking: > 0. heartbeat and services are up and running normally. > 1. crm_attribute -t crm_config -n is-managed-default -v false (primary > host) 2. service heartbeat stop (primary host) > 3. yum install new version of heartbeat + pacemaker (primary host) > 4. service heartbeat stop (backup host) > 5. yum install new version of heartbeat + pacemaker (backup host) > 6. service heartbeat start (primary host) > > > Here's where I get a series of errors in the logs: > > > Feb 18 10:23:46 repl-test-pri cib: [32395]: info: crm_log_init: Changed > active directory to /var/lib/heartbeat/cores/hacluster Feb 18 10:23:46 > repl-test-pri cib: [32395]: WARN: Initializing connection to logging > daemon failed. Logging daemon may not be running Feb 18 10:23:46 > repl-test-pri cib: [32395]: info: Invoked: /usr/lib/heartbeat/cib > Feb 18 10:23:46 repl-test-pri cib: [32395]: info: > G_main_add_TriggerHandler: Added signal manual handler > Feb 18 10:23:46 repl-test-pri cib: [32395]: info: > G_main_add_SignalHandler: Added signal handler for signal 17 > Feb 18 10:23:46 repl-test-pri cib: [32395]: info: retrieveCib: Reading > cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest: > /var/lib/heartbeat/crm/cib.xml.sig) > Feb 18 10:23:46 repl-test-pri cib: [32395]: ERROR: validate_cib_digest: > Digest comparision failed: expected 04072d4a644ead668695699a945ab9d7 > (/var/lib/heartbeat/crm/cib.xml.sig), calculated > 6c9fb3ace029724d6a42df5b8d0b73cb > Feb 18 10:23:46 repl-test-pri cib: [32395]: ERROR: retrieveCib: Checksum > of /var/lib/heartbeat/crm/cib.xml failed! Configuration contents ignored! > Feb 18 10:23:46 repl-test-pri cib: [32395]: ERROR: retrieveCib: Usually > this is caused by manual changes, please refer to > http://clusterlabs.org/wiki/FAQ#cib_changes_detected > Feb 18 10:23:46 repl-test-pri cib: [32395]: WARN: retrieveCib: > Continuing but /var/lib/heartbeat/crm/cib.xml will NOT used. > Feb 18 10:23:46 repl-test-pri cib: [32395]: ERROR: cib_rename: Archiving > corrupt or unusable file /var/lib/heartbeat/crm/cib.xml as > /var/lib/heartbeat/crm/cib.auto.hYCBI7 > Feb 18 10:23:46 repl-test-pri cib: [32395]: ERROR: cib_rename: Archiving > corrupt or unusable file /var/lib/heartbeat/crm/cib.xml.sig as > /var/lib/heartbeat/crm/cib.auto.0Cuhia > Feb 18 10:23:46 repl-test-pri lrmd: [32396]: WARN: Initializing > connection to logging daemon failed. Logging daemon may not be running Feb > 18 10:23:46 repl-test-pri lrmd: [32396]: info: > G_main_add_SignalHandler: Added signal handler for signal 15 > Feb 18 10:23:46 repl-test-pri cib: [32395]: WARN: readCibXmlFile: > Primary configuration corrupt or unusable, trying backup... > Feb 18 10:23:46 repl-test-pri cib: [32395]: WARN: readCibXmlFile: > Continuing with an empty configuration. > Feb 18 10:23:46 repl-test-pri stonithd: [32397]: WARN: Initializing > connection to logging daemon failed. Logging daemon may not be running Feb > 18 10:23:46 repl-test-pri stonithd: [32397]: info: > G_main_add_SignalHandler: Added signal handler for signal 10 > Feb 18 10:23:46 repl-test-pri stonithd: [32397]: info: > G_main_add_SignalHandler: Added signal handler for signal 12 > Feb 18 10:23:46 repl-test-pri attrd: [32398]: info: crm_log_init: > Changed active directory to /var/lib/heartbeat/cores/hacluster > Feb 18 10:23:46 repl-test-pri attrd: [32398]: WARN: Initializing > connection to logging daemon failed. Logging daemon may not be running ... > > > And now heartbeat doesn't know about any resources or anything. I tried > going to http://clusterlabs.org/wiki/FAQ#cib_changes_detected like it says, > but I don't see the #cib_changes_detected on that page. > > Is there another step I need to take to enable the new version of > heartbeat to read in and validate the configuration? > > Also the step immediately after this one in the user's guide: > http://www.linux-ha.org/doc/s-upgrade-crm-schema.html > is blank. What should be there?
.... try this: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html-single/Pacemaker_Explained/index.html#ap-upgrade-config ... and if you cleanup /var/lib/heartbeat/crm/ (after doing a backup) except for the cib.xml file you should have no problems with digests ;-) Regards, Andreas > > Thanks, > Brian > > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems -- : Andreas Kurz : LINBIT | Your Way to High Availability : Tel +43-1-8178292-64, Fax +43-1-8178292-82 : : http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. This e-mail is solely for use by the intended recipient(s). Information contained in this e-mail and its attachments may be confidential, privileged or copyrighted. If you are not the intended recipient you are hereby formally notified that any use, copying, disclosure or distribution of the contents of this e-mail, in whole or in part, is prohibited. Also please notify immediately the sender by return e-mail and delete this e-mail from your system. Thank you for your co-operation. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
