<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 Dan!</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Yes, I am running with the option --multi_host=T on both controller and compute nodes [I followed the same URL that you mentioned in your email]</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Controller node is running dnsmasq-dhcp correctly (There are 2 instances of it). If the VM is launched on the controller, then, everything works fine. It gets  ip leased from dnsmasq-dhcp server. However, if the VM is launched on the compute node (that runs nova-network/nova-compute/nova-api), then, it is getting ip leased from the corporate dhcp server.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks,</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">-Jay<VAR id=yui-ie-cursor></VAR></SPAN></div>
<div style="RIGHT: auto"><BR></div>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV dir=ltr><FONT face=Arial size=2>
<DIV class=hr style="BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 0px; PADDING-BOTTOM: 0px; MARGIN: 5px 0px; BORDER-LEFT: #ccc 1px solid; LINE-HEIGHT: 0; PADDING-TOP: 0px; BORDER-BOTTOM: #ccc 1px solid; HEIGHT: 0px" readonly="true" contenteditable="false"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Dan Wendlandt <dan@nicira.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Jayashree(Jay) Beltur <jaybeltur@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> Tuesday, February 14, 2012 9:55 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Openstack] Multiple compute hosts with HA configuration - compute node doesn't bring ip from dnsmasq-dhcp<BR></FONT></DIV><WBR>
<DIV id=yiv646306041>Hi Jay,
<DIV><BR></DIV>
<DIV>If you are running nova-network in a mode that performs DHCP, you should be sure that the network Nova is connecting VMs to does not have your corporate DHCP server on it.  Having two conflicting DHCP servers on the same network will give unpredictable results.  What may be happening is a "race" between the two DHCP servers.  </DIV>
<DIV><BR></DIV>
<DIV>The second question is whether dnsmasq is actually running.  You didn't say that you were using --multi_host=True, so by default the network may have been assigned to either of the two network-nodes you created.  This would mean that dnsmasq might be running on either of the two servers running nova-network (either the controller server or compute server).  Can you check if it is running on the other server?  If it is not running on either, we'd probably have to see nova-network logs.   For more info on the --multi_host flag, see: http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.html</DIV>
<DIV><BR></DIV>
<DIV>Dan</DIV>
<DIV><BR></DIV>
<DIV><WBR><WBR>
<DIV class=yiv646306041gmail_quote>On Tue, Feb 14, 2012 at 9:31 AM, Jayashree(Jay) Beltur <SPAN dir=ltr><<A href="mailto:jaybeltur@yahoo.com" target=_blank rel=nofollow ymailto="mailto:jaybeltur@yahoo.com">jaybeltur@yahoo.com</A>></SPAN> wrote:<WBR>
<BLOCKQUOTE class=yiv646306041gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-SIZE: 10pt; FONT-FAMILY: arial">
<DIV>Hello,</DIV>
<DIV>I have a two node cluster running on Ubuntu 11.04 (natty) with the Diablo release from ppa:openstack- release/ 2011.3</DIV>
<DIV>[2011.3 (2011.3-nova-milestone-tarball:tarmac-20110922115702-k9nkvxqzhj130av2)]</DIV>
<DIV> </DIV>
<DIV>Controller node  runs nova-compute, nova-volume, nova-network, nova-api - 2 NICs<VAR></VAR></DIV>
<DIV>Compute node runs nova-compute, nova-network and nova_api - 2 NICs</DIV>
<DIV> <VAR></VAR></DIV>
<DIV>I am using flatDHCPManager.</DIV>
<DIV> </DIV>
<DIV>When I launch on instance on the compute node, the VM is getting ip from the company dhcp server. It is not getting IP from the dnsmasq-dhcp server.</DIV>
<DIV>Also, I do not see dnsmasq-dhcp up on the compute node.</DIV>
<DIV> </DIV>
<DIV>In the console log, I see that </DIV>
<DIV> </DIV></TD></TR></TBODY></TABLE></DIV>
<DIV>Sending discover...<WBR>Sending select for 16.89.26.95...<WBR>Lease of 16.89.26.95 obtained, lease time 1296000<WBR>starting DHCP forEthernet interface eth0  [  OK  ]<WBR>cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id<WBR>wget: can't connect to remote host (169.254.169.254): No route to host<WBR>cloud-setup: failed 1/30: up 2.04. request failed<WBR>wget: can't connect to remote host (169.254.169.254): No route to host<WBR>cloud-setup: failed 2/30: up 6.05. request failed<WBR></DIV>
<DIV>How to bring up dnsmasq-dhcp on the compute node?</DIV>
<DIV> </DIV>
<DIV>Any help is appreciated.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>-Jay<VAR></VAR></DIV>
<DIV><VAR></VAR> </DIV></DIV></DIV><BR>_______________________________________________<BR>Mailing list: <A href="https://launchpad.net/~openstack" target=_blank rel=nofollow>https://launchpad.net/~openstack</A><BR>Post to     : <A href="mailto:openstack@lists.launchpad.net" target=_blank rel=nofollow ymailto="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>Unsubscribe : <A href="https://launchpad.net/~openstack" target=_blank rel=nofollow>https://launchpad.net/~openstack</A><BR>More help   : <A href="https://help.launchpad.net/ListHelp" target=_blank rel=nofollow>https://help.launchpad.net/ListHelp</A><BR><BR></BLOCKQUOTE></DIV><WBR><WBR>
<DIV><WBR></DIV>-- <WBR>~~~~~~~~~~~~~~~~~~~~~~~~~~~<WBR>Dan Wendlandt 
<DIV>Nicira Networks: <A href="http://www.nicira.com/" target=_blank rel=nofollow>www.nicira.com</A><WBR>
<DIV>twitter: danwendlandt<WBR>~~~~~~~~~~~~~~~~~~~~~~~~~~~<WBR></DIV></DIV><WBR></DIV></DIV><WBR><WBR></DIV></DIV></div></body></html>