<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello Sanjivini,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
How are trying to do it? Creating a port with static ip:</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style><font face="courier new, monospace">$ neutron port-create --fixed-ip subnet_id=<subnet_id>,ip_address=10.0.0.100 <net_id></font><br>
</div><div class="gmail_default" style><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">and then deploy a vm with this port, should work:</font></div><div class="gmail_default" style>
<font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style><font face="courier new, monospace">$ nova boot --flavor 1 --image <image_id> --nic port-id=<created_port_id> test_vm</font><br>
</div><div class="gmail_default" style><font face="courier new, monospace"><br></font></div><div class="gmail_default" style><font face="tahoma, sans-serif">Please note that this is an usage question and this is the development list. Can you please send the mail to <b><a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a></b> next time?</font></div>
<div class="gmail_default" style><font face="courier new, monospace"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 August 2014 15:49, Sanjivini Naikar <span dir="ltr"><<a href="mailto:sanjivininaikar@tataelxsi.co.in" target="_blank">sanjivininaikar@tataelxsi.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
Hi,<br>
<br>
I want to assign static IP to my instance. However, when trying to do so, the IP doesnt get associated with the VM. My VM boot logs show:<br>
<br>
<span style="font-family:'Courier New',monospace">Sending discover...</span><br style="font-family:'Courier New',monospace">
<span style="font-family:'Courier New',monospace">Sending discover...</span><br style="font-family:'Courier New',monospace">
<span style="font-family:'Courier New',monospace">Sending discover...</span><br style="font-family:'Courier New',monospace">
<span style="font-family:'Courier New',monospace">No lease, failing</span><br style="font-family:'Courier New',monospace">
<br style="font-family:'Courier New',monospace">
<span style="font-family:'Courier New',monospace">WARN: /etc/rc3.d/S40-network failed</span><br>
<br>
How do I assign a static IP to my VM?<br>
<br>
<br>
Regards,<br>
Sanjivini Naikar
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="tahoma, sans-serif">Jaume Devesa</font><div><font face="tahoma, sans-serif">Software Engineer at Midokura</font></div></div>
</div>