nova-manage complains about missing nova-compute.conf
Bug #839796 reported by
Adam Gandelman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When nova-compute is located on other hosts, nova-manage complains about lack of nova-compute.conf:
:~# nova-manage help
[Errno 2] No such file or directory: '/etc/nova/
ERROR:: Unable to open flagfile: /etc/nova/
help does not match any options:
account
agent
config
db
drive
fixed
flavor
floating
host
instance_type
image
network
project
role
service
shell
user
version
vm
volume
vpn
vsa
Related branches
lp:~gandelman-a/nova/lp839796_and_856530
- Chuck Short (community): Approve
-
Diff: 68 lines (+17/-9)4 files modifieddebian/changelog (+6/-0)
debian/nova-common.postinst (+10/-7)
debian/nova-compute.upstart.in (+1/-1)
debian/nova.conf (+0/-1)
lp:~gandelman-a/nova/openstack-ubuntu-packagers
Ready for review
for merging
into
lp:~openstack-ubuntu-packagers/nova/ubuntu
- OpenStack Ubuntu packagers: Pending requested
-
Diff: 67 lines (+17/-9)4 files modifieddebian/changelog (+6/-0)
debian/nova-common.postinst (+10/-7)
debian/nova-compute.upstart.in (+1/-1)
debian/nova.conf (+0/-1)
affects: | nova → ubuntu |
affects: | ubuntu → nova (Ubuntu) |
Changed in nova: | |
status: | New → Incomplete |
status: | Incomplete → New |
Changed in nova (Ubuntu): | |
importance: | Undecided → Low |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Hmm, this looks like a packaging issue. It looks like by default the nova.conf is importing a new flagfile for nova-compute. If nova-compute isn't installed that file won't exist. The error won't actually stop anything from working, but it is annoying to see it pop up
Not sure about the best solution here, should nova-common install an empty nova-compute.conf that can be overwritten by the nova-compute package selected? Should nova-compute append --flagfile= nova.compute. conf to nova.conf when it is installed? Should we find a way to supress the error message in nova?