← Back to team overview

openstack team mailing list archive

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

 

On 03/17/2012 06:08 PM, Ghe Rivero wrote:
> Hi Thomas,
>   you can use the flag:
> dhcpbridge=/usr/bin/nova-dhcpbridge
>  in nova.conf.
> 
> Ghe Rivero

Ok, I'll do that, thanks!

However, I really think that by default this should be corrected. I
feels really weird that nova is trying to search a file in such a
non-existent folder.

Thomas

> On 3/16/12, Thomas Goirand <thomas@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
> 



References