[Openstack] Error launching instances

John Smith lbalbalba at gmail.com
Thu Nov 28 21:52:21 UTC 2013


Hi,


Ive been trying to troubleshoot my devstack image launch failure some
more, and the command that fails seems to be 'dnsmasq' command. The
full command that gets executed is in the logs:

sudo nova-rootwrap /etc/nova/rootwrap.conf env
CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 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


Running this as the stack user from the commandline results in this error:


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 "/opt/stack/nova/nova/openstack/common/jsonutils.py", line 166, in loads
    return json.loads(s)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 383, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
dnsmasq: lease-init script returned exit code 1



Does this give any pointers on what may be going wrong ?



Regards,


John Smith.




More information about the Openstack mailing list