euca_conf --initialize fails or hangs

Follow

Eucalyptus Versions:  3.0 - Current

Problem

When attempting to initialize the database with the euca_conf --initialize command, it fails with an error or hangs completely.  The euca_conf --initialize command is a one-time command to initialize the Cloud Controller (CLC). 

Resolution

Check and correct the following:

  1. Ensure you have enough disk space in /var/lib/eucalyptus/ per the system requirements [1]
  2. If /var/lib/eucalyptus/db and/or /var/lib/eucalyptus/keys existed prior to you running the euca_conf --initialize command, remove these directories. 
  3. Check permissions on /var/lib/eucalyptus to ensure it is owned by the eucalyptus user and group
  4. Ensure no eucalyptus services are running whilst trying to run this command.
  5. Pass the --debug flag to the initialize command to view more verbose output

WARNING: euca_conf --initialize is to be used during initial setup of a platform, do not run this command on an existing or production environment.

Cause

These problems may manifest themselves in any of the above scenarios.  Please consult the installation documentation [2] for further information on this command.

References

[1] https://www.eucalyptus.com/docs/eucalyptus/3.4/index.html#install-guide/space_verifying.html

tags: initialize, clc, install, configuration, euca_conf

Have more questions? Submit a request

Comments

Powered by Zendesk