← Back to team overview

openstack team mailing list archive

dnsmasq: cannot run lease-init script /usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: No such file or directory

 

Hi,

When running with the following nova.conf:

--sql_connection=mysql://nova:admin@127.0.0.1/nova
--novncproxy_base_url=http://<IP>:6080/vnc_auto.html
--rabbit_host=<IP>
--glance_api_servers=<IP>:9292
--network_manager=nova.network.manager.VlanManager
--connection_type=xenapi
--xenapi_connection_url=https://<IP>
--xenapi_connection_username=root
--xenapi_connection_password=XXXXX
--reboot_timeout=600
--rescue_timeout=86400
--resize_confirm_window=86400
--auth_strategy=keystone
--allow_admin_api
--allow_resize_to_same_host
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--force_dhcp_release
--use_deprecated_auth
--use_project_ca
--verbose

when I create an instance, I have:

(nova.rpc.common): TRACE: Stderr: 'sh: 1:
/usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: not
found\n\ndnsmasq: cannot run lease-init script
/usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: No such file or
directory\n'

in my nova-network.log. So I did:

mkdir /usr/lib/python2.7/dist-packages/bin
ln -s /usr/bin/nova-dhcpbridge /usr/lib/python2.7/dist-package \
/bin/nova-dhcpbridge

as a temporary fix hack.

I wonder what is the best way to fix this, or if this is a known issue...

Cheers,

Thomas

P.S: As always, I am *not* running Devstack, and I am *not* interested
in using it, I'm working on the Debian packaging here...


Follow ups