nova-network not visible in list

Asked by Marco Köhl

Hi Folks,

when I start nova-network everything looks fine. But when I do a

nova-manage service list

then nova-network is not in the list. When I do

nova-manage service enable --service=nova-network --host=cc1

then I get

2012-09-19 16:49:07 CRITICAL nova [req-a1abf60e-c228-4c36-9b56-ca72e4e041d8 None None] Could not find binary nova-network on host cc1.

Same for localhost. But it is everything there. Config looks also fine, as far I can see....

Greetings and Thanks

marco

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Marco Köhl
Solved:
Last query:
Last reply:
Revision history for this message
Russell Bryant (russellb) said :
#1

How did you verify that it is running and working properly?

Revision history for this message
Marco Köhl (marco-koehl) said :
#2

1. The service starts up
2. In the network.log i see: 2012-09-19 17:33:20 AUDIT nova.service [-] Starting network node (version 2012.1.1-LOCALBRANCH:LOCALREVISION)

Nothing else. No error or more information. Is there anything else where I can look?

Revision history for this message
Marco Köhl (marco-koehl) said :
#3

OK, one step closer...

With strace I could figure out a lock-File which prevented nova-network to start:

rm /usr/lib64/python2.6/site-packages/nova-iptables.lock

Now I get "better" error messages:

Stderr: 'iptables-restore v1.4.6: Bad IP address "localhost"\n\nError occurred at line: 23\nTry `iptables-restore -h\' or \'iptables-restore --help\' for more information.\n'

I try to find out what this is. Any hints?

Revision history for this message
Marco Köhl (marco-koehl) said :
#4

OK. This problem seems to be solved (I got another one, but will post a separate question if I can not find out...)

1. Delete file /usr/lib64/python2.6/site-packages/nova-iptables.lock
2. provide real IP for my_ip in nova.conf, not localhost