nova-dhcpbridge.conf not found

asked 2014-05-13 23:22:49 -0600

arbor gravatar image

I was running the openstack on the Opensuse13.1, and I failed to lauch a instance while the network set up. I found this in the nova-compute.log:

Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova-dhcpbridge.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.1.1 --except-interface=lo --dhcp-range=set:demo-net,192.168.1.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/local/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts 2014-05-14 11:14:52.995 493 TRACE oslo.messaging.rpc.dispatcher Exit code: 11 2014-05-14 11:14:52.995 493 TRACE oslo.messaging.rpc.dispatcher Stdout: '' 2014-05-14 11:14:52.995 493 TRACE oslo.messaging.rpc.dispatcher Stderr: 'Traceback (most recent call last):\n File "/usr/local/bin/nova-dhcpbridge", line 10, in <module>\n sys.exit(main())\n File "/usr/lib/python2.7/site-packages/nova/cmd/dhcpbridge.py", line 98, in main\n default_config_files=jsonutils.loads(os.environ[\'CONFIG_FILE\']))\n File "/usr/lib/python2.7/site-packages/nova/config.py", line 37, in parse_args\n default_config_files=default_config_files)\n File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1605, in __call__\n raise ConfigFilesNotFoundError(self._namespace.files_not_found)\noslo.config.cfg.ConfigFilesNotFoundError: Failed to read some config files: /etc/nova/nova-dhcpbridge.conf\n\ndnsmasq: lease-init script returned exit code 1\n'

But there is no nova-dhcpbridge.conf under the folder /etc/nova/ , does anybody know how to solve it ? Thanks.

edit retag flag offensive close merge delete