openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12535
dhcp is not leasing an ip address in vlan mode
Hello,
I am trying install Essex in VLAN mode on multiple compute nodes.
I am able to lauch instances on controller (which also runs nova-compute) and ping/ssh those instances.
I am able to launch instances on compute only node. However, I cannot ping the VM launched on compute only node.
When i did the euca-get-console-output on that instance, I see that it is not getting an IP leased from DHCP .. Because of that it is not able to reach metadata server.
Any help is appreciated.
Console output is
udhcpc (v1.17.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
starting DHCP forEthernet interface eth0 [ OK ]
cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 1/30: up 17.71. request failed
nova.conf:
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/local/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--force_dhcp_release=True
--use_deprecated_auth
--iscsi_helper=tgtadm
--verbose
--vncserver_listen=0.0.0.0
--sql_connection=mysql://novadbadmin:novasecret@192.168.198.85/nova
--daemonize
--s3_host=192.168.198.85
--rabbit_host=192.168.198.85
--cc_host=192.168.198.85
--ospi_host=192.168.198.85
--ec2_host=192.168.198.85
--ec2_url=http://192.168.198.85:8773/services/Cloud
--nova_url=http://192.168.198.85:8774/v1.1/
# VLAN mode
--flat_interface=eth1
--flat_injected=False
--flat_network_bridge=br100
--flat_network_dhcp_start=192.168.4.2
--network_manager=nova.network.manager.VlanManager
--vlan_interface=eth1
--public_interface=vlan100
--allow_same_net_traffic=True
--fixed_range=192.168.4.0/24
--network_size=256
--FAKE_subdomain=ec2
--routing_source_ip=192.168.198.85
--glance_api_servers=192.168.198.85:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.
--connection_type=libvirt
--libvirt_type=qemu
# Keystone
--auth_strategy=keystone
--api_paste_config=/etc/nova/api-paste.ini
--keystone_ec2_url=http://192.168.198.85:5000/v2.0/ec2tokens
Thanks,
-vj
Follow ups