<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi</div><div><br></div><div>my one instances cannot get ip because I change hostname of node and kill nova service and start services.</div><div>I restart the instances, and set --flat_injected, it still cannot get ip. but in db, ip is assigned to this instance.</div><div>How to resolve this case?</div><div><br></div><div>thanks </div><div><br></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">非淡泊無以明志,非寧靜無以致遠</span>
</div>
<br><div><div>On Nov 14, 2011, at 12:58 AM, Sateesh Chodapuneedi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br><blockquote type="cite"><blockquote type="cite">But actually the instance didn't get this ip address. Going to the instance using virt-manager, I can see with ifconfig that there is no ip address on<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">eth0 of the instance.<br></blockquote></blockquote><br>You need to set the flat '--flat_injected' to True. It is defaulted to False.<br>I see that you are using FlatManager. If flat_injected is True, the compute host will attempt to inject network information (IP/gateway etc.) into the instance.<br><br>Hope that helps!<br><br>Regards,<br>Sateesh<br><br>----------------------------------------------------------------------------------------------------------------------------<br>"This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message." <br><br><br><br>-----Original Message-----<br>From: <a href="mailto:openstack-operators-bounces@lists.openstack.org">openstack-operators-bounces@lists.openstack.org</a> [mailto:openstack-operators-bounces@lists.openstack.org] On Behalf Of Alexandra Kisin<br>Sent: Sunday, November 13, 2011 7:10 PM<br>To: <a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a><br>Subject: [Openstack-operators] Networking question<br><br><br>Hello,<br><br>I'm new to Openstack and trying to setup one host environment.<br>I have few issues which I can't resolve.<br>Any help will be appreciated.<br><br>I'm trying to build the latest diablo release on Ubuntu 11.10.<br>I've installed and configured all required services on single host.<br>When I try to run the instance with :<br>euca-run-instances -k test ami-00000008<br>The instance seems to be created successfully, and when I run euca-describe-instances, I get<br>RESERVATION<span class="Apple-tab-span" style="white-space:pre"> </span>r-23n3kigp<span class="Apple-tab-span" style="white-space:pre"> </span>proj<span class="Apple-tab-span" style="white-space:pre"> </span>default<br>INSTANCE<span class="Apple-tab-span" style="white-space:pre"> </span>i-00000006<span class="Apple-tab-span" style="white-space:pre"> </span>ami-00000008<span class="Apple-tab-span" style="white-space:pre"> </span>192.168.3.4<span class="Apple-tab-span" style="white-space:pre"> </span>192.168.3.4<span class="Apple-tab-span" style="white-space:pre"> </span>running<br>test (proj, os-server-1)<span class="Apple-tab-span" style="white-space:pre"> </span>0<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>m1.small<span class="Apple-tab-span" style="white-space:pre"> </span>2011-11-13T08:28:13Z<br>nova<span class="Apple-tab-span" style="white-space:pre"> </span>aki-00000006<span class="Apple-tab-span" style="white-space:pre"> </span>ari-00000007<br><br>But actually the instance didn't get this ip address. Going to the instance using virt-manager, I can see with ifconfig that there is no ip address on<br>eth0 of the instance.<br>I'm using FlatManager network configuration and below is the content of my /etc/nova/nova.conf file:<br><br>--dhcpbridge_flagfile=/etc/nova/nova.conf<br>--dhcpbridge=/usr/bin/nova-dhcpbridge<br>--logdir=/var/log/nova<br>--state_path=/var/lib/nova<br>--lock_path=/var/lock/nova<br>--verbose<br>--use_deprecated_auth<br>--ec2_host=9.148.26.166<br>--osapi_host=9.148.26.166<br>--s3_host=9.148.26.166<br>--rabbit_host=192.168.3.1<br>--fixed_range=192.168.0.0/16<br>--network_size=8<br>--network_manager=nova.network.manager.FlatManager<br>--glance_api_servers=192.168.3.1:9292<br>--routing_source_ip=192.168.3.1<br>--sql_connection=<a href="mysql://nova:passw0rd@9.148.26.166/nova">mysql://nova:passw0rd@9.148.26.166/nova</a><br>--image_service=nova.image.glance.GlanceImageService<br>--iscsi_helper=tgtadm<br>--use_syslog<br><br><br><br>Alexandra Kisin<br>Servers & Network group, IBM R&D Labs in Israel Unix & Virtualization Team<br><br>_______________________________________________<br>Openstack-operators mailing list<br><a href="mailto:Openstack-operators@lists.openstack.org">Openstack-operators@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br>_______________________________________________<br>Openstack-operators mailing list<br>Openstack-operators@lists.openstack.org<br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br></div></blockquote></div><br></body></html>