<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks for the reply. Network controller assigns a private ip address to the vm launched on compute node. However, I still cannot ping this ip address from the network(controller node). I am running nova-network service only on the <VAR id=yui-ie-cursor></VAR>controller.<BR style="RIGHT: auto" class=yui-cursor></SPAN></div>
<DIV></DIV>
<DIV style="RIGHT: auto"> </DIV>
<div>Thanks,<BR>-vj<BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Narayan Desai <narayan.desai@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Vijay <vijayrg@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "openstack@lists.launchpad.net" <openstack@lists.launchpad.net> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, May 30, 2012 5:28 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Openstack] dhcp is not leasing an ip address in vlan mode<BR></FONT></DIV><BR>This sounds like it might be working properly. In VLAN mode, all<BR>instances are connected to one of the
 project vlans. The .1 address<BR>(gateway, dhcp, etc) exists on an interface on the nova-network node<BR>(or one of them, in the case that you are running multiple. This<BR>interface is bridged to a tagged interface on the appropriate vlan<BR>tag. On the nova-compute nodes, a vnet interface for the instance is<BR>bridged to the vlan tagged interface. On the compute node, there isn't<BR>an IP interface on this network, so the private IP for instances isn't<BR>reachable, even if the instance is running on the same node.<BR><BR>The canonical test for correct network function is if an instance is<BR>reachable via ping from the nova-network server that is currently<BR>serving the instance's project network.<BR>hth<BR>-nld<BR><BR>On Wed, May 30, 2012 at 5:42 PM, Vijay <<A href="mailto:vijayrg@yahoo.com" ymailto="mailto:vijayrg@yahoo.com">vijayrg@yahoo.com</A>> wrote:<BR>> Hello,<BR>> I am trying install Essex in VLAN mode on multiple compute
 nodes.<BR>><BR>> I am able to lauch instances on controller (which also runs nova-compute)<BR>> and ping/ssh those instances.<BR>> I am able to launch instances on compute only node. However, I cannot ping<BR>> the VM launched  on compute only node.<BR>> When i did the euca-get-console-output on that instance, I see that it is<BR>> not getting an IP leased from DHCP .. Because of that it is not able to<BR>> reach metadata server.<BR>> Any help is appreciated.<BR>><BR>> Console output is<BR>> udhcpc (v1.17.2) started<BR>> Sending discover...<BR>> Sending discover...<BR>> Sending discover...<BR>> No lease, forking to background<BR>> starting DHCP forEthernet interface eth0  [  OK  ]<BR>> cloud-setup: checking<BR>> http://169.254.169.254/2009-04-04/meta-data/instance-id<BR>> wget: can't connect to remote host (169.254.169.254): Network is unreachable<BR>> cloud-setup:
 failed 1/30: up 17.71. request failed<BR>> nova.conf:<BR>> --dhcpbridge_flagfile=/etc/nova/nova.conf<BR>> --dhcpbridge=/usr/local/bin/nova-dhcpbridge<BR>> --logdir=/var/log/nova<BR>> --state_path=/var/lib/nova<BR>> --lock_path=/var/lock/nova<BR>> --force_dhcp_release=True<BR>> --use_deprecated_auth<BR>> --iscsi_helper=tgtadm<BR>> --verbose<BR>> --vncserver_listen=0.0.0.0<BR>> --sql_connection=mysql://novadbadmin:novasecret@192.168.198.85/nova<BR>> --daemonize<BR>> --s3_host=192.168.198.85<BR>> --rabbit_host=192.168.198.85<BR>> --cc_host=192.168.198.85<BR>> --ospi_host=192.168.198.85<BR>> --ec2_host=192.168.198.85<BR>> --ec2_url=<A  href="http://192.168.198.85:8773/services/Cloud" target=_blank>http://192.168.198.85:8773/services/Cloud</A><BR>> --nova_url=<A  href="http://192.168.198.85:8774/v1.1/" target=_blank>http://192.168.198.85:8774/v1.1/</A><BR>><BR>> # VLAN mode<BR>>
 --flat_interface=eth1<BR>> --flat_injected=False<BR>> --flat_network_bridge=br100<BR>> --flat_network_dhcp_start=192.168.4.2<BR>><BR>> --network_manager=nova.network.manager.VlanManager<BR>> --vlan_interface=eth1<BR>> --public_interface=vlan100<BR>> --allow_same_net_traffic=True<BR>> --fixed_range=192.168.4.0/24<BR>> --network_size=256<BR>> --FAKE_subdomain=ec2<BR>> --routing_source_ip=192.168.198.85<BR>> --glance_api_servers=192.168.198.85:9292<BR>> --image_service=nova.image.glance.GlanceImageService<BR>> --iscsi_ip_prefix=192.168.<BR>> --connection_type=libvirt<BR>> --libvirt_type=qemu<BR>><BR>> # Keystone<BR>> --auth_strategy=keystone<BR>> --api_paste_config=/etc/nova/api-paste.ini<BR>> --keystone_ec2_url=<A  href="http://192.168.198.85:5000/v2.0/ec2tokens" target=_blank>http://192.168.198.85:5000/v2.0/ec2tokens</A><BR>><BR>><BR>><BR>><BR>> Thanks,<BR>>
 -vj<BR>><BR>> _______________________________________________<BR>> Mailing list: <A href="https://launchpad.net/~openstack" target=_blank>https://launchpad.net/~openstack</A><BR>> Post to     : <A href="mailto:openstack@lists.launchpad.net" ymailto="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>> Unsubscribe : <A href="https://launchpad.net/~openstack" target=_blank>https://launchpad.net/~openstack</A><BR>> More help   : <A href="https://help.launchpad.net/ListHelp" target=_blank>https://help.launchpad.net/ListHelp</A><BR>><BR><BR><BR></DIV></DIV></div></body></html>