[Openstack] Error whence starting nova-network - iptables-restore

Jorge Luiz Correa correajl at gmail.com
Fri Oct 7 17:33:23 UTC 2011


Hi all!

Just to report about my problem...

I've detected the cause. Among many log entries, one character was very
important: the # in the following line:

(nova): TRACE: Stderr: "Bad argument `#'\nError occurred at line: 18\nTry
`iptables-restore -h' or 'iptables-restore --help' for more information.\n"

What happened was that to better organize my nova.conf configuration file I
added some comments after the parameter in one line. The problem was
specifically in:

--fixed_range=192.168.0.0/16 # This is the range nova-network works on.

No way! Comments are accept ONLY if one line starts with #. Put coments
after the parameter seems like not permitted. So, iptables was trying to
apply some rule using the entire line, causing problem with the #.

I don't know how the parse of the file is made. If it isn't so hard, it
stays as suggestion to analyse # as comments everywhere in the file.

Thanks everybody!
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111007/bafb9765/attachment.html>


More information about the Openstack mailing list