Need to init DB, register all components again if not stop services before shutdown/reboot (Eucalyptus 3-devel Nightly Builds)

Bug #993809 reported by Fair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
Unassigned

Bug Description

Eucalyptus 3-devel Nightly Builds on CentOS 6
Install all components in the same machine.

I've found that if I shutdown/reboot the machine by not command all Euca's services to stop, then I need to initialize database and register all component again and again.

In the other way if I stop all services before shutdown/reboot, all services is work pretty well after the machine ready.

Revision history for this message
Andy Grimm (agrimm) wrote :

The problem in this scenario is that postgresql may end up with a corrupt transaction log. the workaround is to run this:

su eucalyptus -c "/usr/pgsql-9.1/bin/pg_resetxlog /var/lib/eucalyptus/db/data"

then restart eucalyptus-cloud. You do not have to re-initialize the database or reregister components if you work around it this way.

Andy Grimm (agrimm)
Changed in eucalyptus:
milestone: none → 3.0.99
Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/EUCA-2794

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.