[Openstack] Error launching instances

John Smith lbalbalba at gmail.com
Fri Nov 29 10:08:27 UTC 2013


On Thu, Nov 28, 2013 at 11:53 PM, Razique Mahroua
<razique.mahroua at gmail.com> wrote:
> Couldn't be that:
>
> --conf-file=
>
> Razique
>
Hrm. Thats at least a little strange. You may be on the right track here.
:)

When I omit the 'sudo nova-rootwrap' bits from the command, and run
the dnsmasq command as the root user, I get this error:

# dnsmasq --strict-order --bind-interfaces --conf-file=
--pid-file=/opt/stack/data/nova/networks/nova-br100.pid
--listen-address=10.0.0.1 --except-interface=lo
--dhcp-range=set:private,10.0.0.2,static,255.255.255.0,120s
--dhcp-lease-max=256
--dhcp-hostsfile=/opt/stack/data/nova/networks/nova-br100.conf
--dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
--domain=novalocal
Traceback (most recent call last):
  File "/usr/bin/nova-dhcpbridge", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/nova/nova/cmd/dhcpbridge.py", line 100, in main
    default_config_files=jsonutils.loads(os.environ['CONFIG_FILE']))
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'CONFIG_FILE'

So it does look like it needs a valid dnsmasq config file. Does anyone
have any idea what the config file is that should be used with the
--conf-file= option ? I tried setting it to a dummy empty file
/tmp/foo.conf but that didnt make any difference.



Regards,


John Smith.




More information about the Openstack mailing list