dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available

Bug #958593 reported by Peng Yong on 2012-03-18
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned

Bug Description

i install openstack in fedora 17 testing:

# rpm -qa|grep openstack
openstack-nova-2012.1-0.8.e4.fc17.noarch
openstack-dashboard-2012.1-0.1.rc1.fc17.noarch
openstack-keystone-2012.1-0.10.e4.fc17.noarch
openstack-glance-2012.1-0.5.e4.fc17.noarch

it works in FlatDHCPManager, the instance get a IP address.
when i enable multi_host mode, it failed to get the DHCP address:

Mar 18 22:59:43 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available
Mar 18 22:59:46 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available
Mar 18 22:59:49 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:12 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:15 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available
Mar 18 23:00:18 nova dnsmasq-dhcp[6614]: DHCPDISCOVER(br100) 02:16:3e:2a:f0:d0 no address available

the command i used to create network:

 nova-manage network create private --multi_host=T --fixed_range_v4=10.8.0.0/24 --num_networks=1 --network_size=256 --bridge=br100 --bridge_interface=em2

here is nova.conf:

[DEFAULT]
multi_host=True
#send_arp_for_ha=True
verbose=True

logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
dhcpbridge = /usr/bin/nova-dhcpbridge
dhcpbridge_flagfile = /etc/nova/nova.conf
force_dhcp_release = True
injected_network_template = /usr/share/nova/interfaces.template
libvirt_xml_template = /usr/share/nova/libvirt.xml.template
vpn_client_template = /usr/share/nova/client.ovpn.template
credentials_template = /usr/share/nova/novarc.template
iscsi_ip_prefix = 192.168.28.6
iscsi_helper = tgtadm
sql_connection = mysql://nova:nova@192.168.28.6/nova
connection_type = libvirt
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
root_helper = sudo nova-rootwrap
libvirt_type = kvm

rabbit_host=192.168.28.6
rabbit_password=nova

network_manager=nova.network.manager.FlatDHCPManager
flat_network_bridge=br100
flat_injected=False
public_interface=em1
flat_interface=em2

auth_strategy=keystone
allow_resize_to_same_host=True
s3_host=192.168.28.6
volume_group=nova-volumes
volume_name_template=volume-%08x
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=192.168.28.6

novncproxy_base_url=http://192.168.28.6:6080/vnc_auto.html
xvpvncproxy_base_url=http://192.168.28.6:6081/console
vncserver_listen=127.0.0.1
vncserver_proxyclient_address=127.0.0.1
api_paste_config=/etc/nova/api-paste.ini
image_service=nova.image.glance.GlanceImageService

ec2_dmz_host=192.168.28.6

glance_api_servers=192.168.28.6:9292

Vish Ishaya (vishvananda) wrote :

Can you try killall dnsmasq, delete br100 and restart nova-network.

AFAIK multi_host works fine, but you may have trouble switching from one to the other on an existing install. If it still doesn't work can you include the output of ip addr and the contents of the files in /var/lib/nova/networks/

Changed in nova:
status: New → Incomplete
Peng Yong (ppyy) wrote :

cool. it works now.

i delete all bridge and restart dnsmasq.

thanks for Vish.

Changed in nova:
status: Incomplete → Invalid
Peng Yong (ppyy) wrote :

it works now. i only recopy nova.conf and reboot it.
but i reboot it several times before. i will retest it later.
thanks

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers