<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Shake,<div>but I'm afraid unfortunately the problem is at a lower level. The VM doesn't receive the network; its NIC doesn't even seem to be connected to the network.</div><div><br></div><div>thanks,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>A.</div><div><br><div><div>On Jan 9, 2014, at 3:32 AM, Shake Chen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=983611">https://bugzilla.redhat.com/show_bug.cgi?id=983611</a><br><br><br>Hope the link can help you. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jan 9, 2014 at 1:41 AM, Alvise Dorigo <span dir="ltr"><<a href="mailto:alvise.dorigo@pd.infn.it" target="_blank">alvise.dorigo@pd.infn.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi,<div>I installed (with Packstack) the Havana release on 3 (virtual) machines each of them having 2 NIC configured with static IPs:</div><div><br></div><div>controller: <span style="white-space:pre-wrap">       </span>keystone, glance, nova-api, nova-cert, </div>
<div><span style="white-space:pre-wrap">          </span>nova-vncproxy, nova-conductor, nova-scheduler</div><div><span style="white-space:pre-wrap">            </span>neutron-server</div><div><br></div><div><br></div><div>compute:<span style="white-space:pre-wrap"> </span>nova-compute</div>
<div><br></div><div>network:<span style="white-space:pre-wrap"> </span>L3-agent, dhcp-agent,</div><div><span style="white-space:pre-wrap">            </span>lbaas</div><div><span style="white-space:pre-wrap">            </span>metadata</div>
<div><br></div><div>When I try to instantiate a VM, eventually it cannot reach the network:</div><div><br></div><div><div>$ nova list</div><div>+--------------------------------------+--------+---------+------------+-------------+-------------------------+</div>
<div>| ID                                   | Name   | Status  | Task State | Power State | Networks                |</div><div>+--------------------------------------+--------+---------+------------+-------------+-------------------------+</div>
<div>| ee771359-497f-4996-aa2d-c0d5305ab3e4 | prova2 | ACTIVE  | None       | Running     | ext-net=192.168.120.101 |</div><div>+--------------------------------------+--------+---------+------------+-------------+————————————+</div>
</div><div><br></div><div>$ nova console-log prova2</div><div>[…]</div><div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div><div>cloud-setup: failed 30/30: up 43.47. request failed</div>
<div>cloud-setup: after 30 fails, debugging</div><div>cloud-setup: running debug (30 tries reached)</div><div>############ debug start ##############</div><div>### /etc/rc.d/init.d/sshd start</div><div>/etc/rc3.d/S45-cloud-setup: line 66: /etc/rc.d/init.d/sshd: not found</div>
<div>route: fscanf</div><div>### ifconfig -a</div><div>eth0      Link encap:Ethernet  HWaddr FA:16:3E:22:1F:55  </div><div>          inet6 addr: fe80::f816:3eff:fe22:1f55/64 Scope:Link</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div>
<div>          RX packets:10 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000 </div><div>          RX bytes:748 (748.0 B)  TX bytes:1364 (1.3 KiB)</div>
<div><br></div><div>lo        Link encap:Local Loopback  </div><div>          inet addr:127.0.0.1  Mask:255.0.0.0</div><div>          inet6 addr: ::1/128 Scope:Host</div><div>          UP LOOPBACK RUNNING  MTU:16436  Metric:1</div>
<div>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0 </div><div>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</div>
<div>[…]</div></div><div><div>############ debug end   ##############</div><div>cloud-setup: failed to read iid from metadata. tried 30</div><div>WARN: /etc/rc3.d/S45-cloud-setup failed</div><div>Starting dropbear sshd: generating rsa key... generating dsa key... OK</div>
<div>===== cloud-final: system completely up in 45.94 seconds ====</div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div>
<div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div><div>  instance-id: </div><div>  public-ipv4: </div><div>  local-ipv4 : </div><div>wget: can't connect to remote host (169.254.169.254): Network is unreachable</div>
<div>cloud-userdata: failed to read instance id</div><div>WARN: /etc/rc3.d/S99-cloud-userdata failed</div><div>  ____               ____  ____</div><div> / __/ __ ____ ____ / __ \/ __/</div><div>/ /__ / // __// __// /_/ /\ \ </div>
<div>\___//_//_/  /_/   \____/___/ </div><div> <a href="http://launchpad.net/cirros" target="_blank">http://launchpad.net/cirros</a></div><div><br></div><div><br></div><div>login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.</div>
<div>cirros login: </div></div><div><br></div><div><br></div><div><br></div><div><div>$ neutron net-list</div><div>+--------------------------------------+----------+-------------------------------------------------------+</div>
<div>| id                                   | name     | subnets                                               |</div><div>+--------------------------------------+----------+-------------------------------------------------------+</div>
<div>| 9436c5d0-b556-4653-962c-9dc90e9efc50 | demo-net | 6b632a13-6f94-4fbc-aa57-8fbc67f8aab9 <a href="http://10.5.5.0/24" target="_blank">10.5.5.0/24</a>      |</div><div>| defd117f-101b-4644-b3de-53745158d93b | ext-net  | 677a1fb6-948d-4795-b20e-978b72987cc5 <a href="http://192.168.120.0/24" target="_blank">192.168.120.0/24</a> |</div>
<div>+--------------------------------------+----------+-------------------------------------------------------+</div><div><br></div><div> neutron net-show ext-net</div><div>+---------------------------+--------------------------------------+</div>
<div>| Field                     | Value                                |</div><div>+---------------------------+--------------------------------------+</div><div>| admin_state_up            | True                                 |</div>
<div>| id                        | defd117f-101b-4644-b3de-53745158d93b |</div><div>| name                      | ext-net                              |</div><div>| provider:network_type     | vlan                                 |</div>
<div>| provider:physical_network | physnet1                             |</div><div>| provider:segmentation_id  | 2                                    |</div><div>| router:external           | True                                 |</div>
<div>| shared                    | True                                 |</div><div>| status                    | ACTIVE                               |</div><div>| subnets                   | 677a1fb6-948d-4795-b20e-978b72987cc5 |</div>
<div>| tenant_id                 | 5a3847093ac24db4958eac2f3c39a604     |</div><div>+---------------------------+--------------------------------------+</div></div><div><br></div><div><br></div><div>The only log file where I see a strange (?) message is the server.log (of neutron-server) in the controller node; it says:</div>
<div><br></div><div>2014-01-05 22:16:12.005 1565 WARNING neutron.db.agentschedulers_db [-] Fail scheduling network {'status': u'ACTIVE', 'subnets': [u'677a1fb6-948d-4795-b20e-978b72987cc5'], 'name': u'ext-net', 'provider:physical_network': u'physnet1', 'admin_state_up': True, 'tenant_id': u'5a3847093ac24db4958eac2f3c39a604', 'provider:network_type': u'vlan', 'router:external': True, 'shared': True, 'id': u'defd117f-101b-4644-b3de-53745158d93b', 'provider:segmentation_id': 2L}</div>
<div><br></div><div>Here <a href="http://pastebin.com/kFpEs0D7" target="_blank">http://pastebin.com/kFpEs0D7</a>, the Packstack’s answer file I used.</div><div><br></div><div>Could you please advice me where what I can investigate in order to understand why my VMs do not get the network after instantiated ?</div>
<div><br></div><div>many thanks,</div><div><br></div><div><span style="white-space:pre-wrap">     </span>Alvise</div></div><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shake Chen<br><br>
</div>
</blockquote></div><br></div></body></html>