← Back to team overview

openstack team mailing list archive

nova+quantum vm does bind ip

 

All,
My issue is close to what reported by Emilien and others in
https://answers.launchpad.net/quantum/+question/197701. Only difference
is that  instead of not receiving DHCP reply, I do see the DHCP reply
from GW interface, but I still can not ping/ssh to the VM.
My server configuration is same as what Emilien has described in his
document here https://github.com/EmilienM, the only difference is that
I'm using a third interface (eth2) to connect quantum networks on two
servers. And the eth1 is used for management traffic.

My network configuration is
id       IPv4                  IPv6               start address     
DNS1               DNS2               VlanID             project       
    uuid          
1        10.0.0.0/24           None               10.0.0.2          
8.8.4.4            None               None              
61868ec0fd63486db3dbf1740e7111e9    6f765203-7fd8-425e-92b8-cf72b5c1c6cd


I launched VM in network 1 and it is running on the nova-compute server
(essex-2), I can see following tcpdump message from the tap interface
for the VM

16:19:06.183240 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from fa:16:3e:7f:f1:69 (oui Unknown), length 395
16:19:06.184146 IP 10.0.0.1.bootps > 10.0.0.4.bootpc: BOOTP/DHCP, Reply,
length 312
16:19:07.165572 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from fa:16:3e:7f:f1:69 (oui Unknown), length 395
16:19:07.165955 IP 10.0.0.1.bootps > 10.0.0.4.bootpc: BOOTP/DHCP, Reply,
length 312
16:19:08.299928 IP6 fe80::2429:e5ff:fed4:8ad5 > ip6-allrouters: ICMP6,
router solicitation, length 16
16:19:08.411921 IP6 fe80::2429:e5ff:fed4:8ad5 > ff02::16: HBH ICMP6,
multicast listener report v2, 1 group record(s), length 28
16:19:09.143041 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from fa:16:3e:7f:f1:69 (oui Unknown), length 407
16:19:09.143507 IP 10.0.0.1.bootps > 10.0.0.4.bootpc: BOOTP/DHCP, Reply,
length 312
16:19:14.143971 ARP, Request who-has 10.0.0.4 tell 10.0.0.1, length 42
16:19:15.143784 ARP, Request who-has 10.0.0.4 tell 10.0.0.1, length 42
16:19:16.143843 ARP, Request who-has 10.0.0.4 tell 10.0.0.1, length 42


No ARP response from the VM.  I tried to login to the VM console by
virsh console instance-00000003 so that I can do tcpdump inside the VM.
But I got following error message:

root@openstack-2:/etc/libvirt/qemu/networks# virsh console instance-00000003
Connected to domain instance-00000003
Escape character is ^]
error: internal error
/var/lib/nova/instances/instance-00000003/console.log: Cannot request
read and write flags together


Could some one suggest on how to debug this issue?
Thanks
Yi
PS: my nova.conf files are attached.

# Rabbit-MQ #
--rabbit_host=openstack-1

# SGBD with MySQL #
--sql_connection=mysql://root:password@openstack-1/nova

# API #
--cc_host=openstack-1
--auth_strategy=keystone
--s3_host=openstack-1
--ec2_host=openstack-1
--nova_url=http://openstack-1:8774/v1.1/
--ec2_url=http://openstack-1:8773/services/Cloud
--keystone_ec2_url=http://openstack-1:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--allow_admin_api=true
--use_deprecated_auth=false

# Nova-Schedule #
--scheduler_driver=nova.scheduler.simple.SimpleScheduler

# Nova-Network with Quantum integration #
--network_manager=nova.network.quantum.manager.QuantumManager
--linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
--quantum_use_dhcp=True
--quantum_connection_host=10.253.3.236
--public_interface=eth0
--flat_interface=eth2
--flat_network_bridge=br-int
--floating_range=10.68.5.0/24
--network_size=256
--flat_injected=False
--force_dhcp_release
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--routing_source_ip=10.253.3.236

# Nova-Compute with KVM Hypervisor #
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--connection_type=libvirt

# Nova-Volume #
--iscsi_ip_prefix=192.168.68
--iscsi_helper=tgtadm

# Glance #
--glance_api_servers=openstack-1:9292
--image_service=nova.image.glance.GlanceImageService

# VNC #
--novnc_enable=true
--novncproxy_base_url=http://openstack-1:6080/vnc_auto.html
--vncserver_proxyclient_address=127.0.0.1
--vncserver_listen=127.0.0.1

# Misc #
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--root_helper=sudo nova-rootwrap
--verbose
# Rabbit-MQ #
--rabbit_host=openstack-1

# SGBD with MySQL #
--sql_connection=mysql://nova:password@openstack-1/nova

# API #
--cc_host=openstack-1
--auth_strategy=keystone
--s3_host=openstack-1
--ec2_host=openstack-1
--nova_url=http://openstack-1:8774/v1.1/
--ec2_url=http://openstack-1:8773/services/Cloud
--keystone_ec2_url=http://openstack-1:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--allow_admin_api=true
--use_deprecated_auth=false

# Nova-Schedule #
--scheduler_driver=nova.scheduler.simple.SimpleScheduler

# Nova-Network with Quantum integration #
--network_manager=nova.network.quantum.manager.QuantumManager
--linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
--quantum_use_dhcp=True
--quantum_connection_host=openstack-1
--public_interface=eth0
--flat_interface=eth2
--flat_network_bridge=br-int
--floating_range=10.253.3.185/30
--network_size=256
--flat_injected=False
--force_dhcp_release
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--routing_source_ip=openstack-1

# Nova-Compute with KVM Hypervisor #
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
--connection_type=libvirt

# Nova-Volume #
--iscsi_ip_prefix=192.168.68
--iscsi_helper=tgtadm

# Glance #
--glance_api_servers=openstack-1:9292
--image_service=nova.image.glance.GlanceImageService

# VNC #
--novnc_enable=true
--novncproxy_base_url=http://openstack-1:6080/vnc_auto.html
--xvpvncproxy_base_url=http://openstack-1:6081/console
--vncserver_proxyclient_address=127.0.0.1
--vncserver_listen=127.0.0.1

# Misc #
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--root_helper=sudo nova-rootwrap
--verbose

Follow ups