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

Ghe Rivero ghe.rivero at stackops.com
Sat Mar 17 10:08:40 UTC 2012


Hi Thomas,
  you can use the flag:
dhcpbridge=/usr/bin/nova-dhcpbridge
 in nova.conf.

Ghe Rivero

On 3/16/12, Thomas Goirand <thomas at goirand.fr> wrote:
> 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...
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>




More information about the Openstack mailing list