[Bug 1199791] [NEW] nova-compute-xcp misses nova-compute.conf

Launchpad Bug Tracker 1199791 at bugs.launchpad.net
Wed Jul 10 13:34:33 UTC 2013

You have been subscribed to a public bug:

Ubuntu Precise in the XCP Paravirtualized VM and OpenStack Grizzly from
Ubuntu Cloud Archive

The package nova-compute-xcp does not contain the file /etc/nova/nova-

This results to nova-compute being unable to run because the upstart script /etc/init/nova-compute.conf tries to start nova-compute with the following command:
exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-compute -- --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf

No error is logged so it is a bit hard to track down the cause of the problem. 
If one runs manually nova-compute, the error is obvious:

# /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf
Traceback (most recent call last):
  File "/usr/bin/nova-compute", line 74, in <module>
  File "/usr/lib/python2.7/dist-packages/nova/config.py", line 37, in parse_args
  File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1180, in __call__
  File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1655, in _parse_config_files
    raise ConfigFilesNotFoundError(not_read_ok)
oslo.config.cfg.ConfigFilesNotFoundError: Failed to read some config files: /etc/nova/nova-compute.conf

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

nova-compute-xcp misses nova-compute.conf
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu.

More information about the Ubuntu-server-bugs mailing list