← Back to team overview

openstack team mailing list archive

Re: 回复: vm can't connect to remote host (169.254.169.254)

 

Sorry, I forgot the import information. I used Grizzly(2013.1) and followed
the guide in
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst
.


2013/5/8 zengshan2008 <zengshan2008@xxxxxxxxx>

> **
> which version are you using?  and which mode are you using?
> there isn't metadata-agent.log file in my environment.
>
> 2013-05-08
>  ------------------------------
>  zengshan2008
>  ------------------------------
>  *发件人:*Sg Kylin
> *发送时间:*2013-05-08 18:02
> *主题:*Re: [Openstack] 回复: vm can't connect to remote host (169.254.169.254)
> *收件人:*"zengshan2008"<zengshan2008@xxxxxxxxx>
> *抄送:*"Stephen Kramer"<celticremark@xxxxxxxxx>,"Anil Vishnoi"<
> vishnoianil@xxxxxxxxx>,"gong yong sheng"<gongysh@xxxxxxxxxxxxxxxxxx
> >,"openstack"<openstack@xxxxxxxxxxxxxxxxxxx>
>
>  Hi All,
>
> This problem also took me one day. Currently I got this error from
> /var/log/quantum/metadata-agent.log:
>
> 2013-05-08 17:55:53    ERROR [quantum.agent.metadata.agent] Unexpected
> error.
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py",
> line 88, in __call__
>     return self._proxy_request(instance_id, req)
>   File "/usr/lib/python2.7/dist-packages/quantum/agent/metadata/agent.py",
> line 137, in _proxy_request
>     resp, content = h.request(url, headers=headers)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1444,
> in request
>     (response, content) = self._request(conn, authority, uri, request_uri,
> method, body, headers, redirections, cachekey)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1196,
> in _request
>     (response, content) = self._conn_request(conn, request_uri, method,
> body, headers)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1132,
> in _conn_request
>     conn.connect()
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 798,
> in connect
>     raise socket.error, msg
> error: [Errno 111] ECONNREFUSED
>
> Any advice is appreciate!
>
> Best,
>
>
>
> 2013/5/8 zengshan2008 <zengshan2008@xxxxxxxxx>
>
>> **
>> Hi all, found that :
>> root@networknode:/etc# ovs-vsctl show
>> 690ad327-14ad-410e-b310-2d23e4c78223
>>     Bridge br-int
>>         Port br-int
>>             Interface br-int
>>                 type: internal
>>         Port "int-br-em3"
>>             Interface "int-br-em3"
>>         Port "qr-d9cb6d6d-5e"
>>             tag: 1
>>             Interface "qr-d9cb6d6d-5e"
>>                 type: internal
>>         Port "tape10a4f07-60"
>>             tag: 1
>>             *Interface "tape10a4f07-60"
>> *                type: internal
>>     Bridge "br-em3"
>>         Port "em3"
>>             Interface "em3"
>>         Port "br-em3"
>>             Interface "br-em3"
>>                 type: internal
>>         Port "phy-br-em3"
>>             Interface "phy-br-em3"
>>     Bridge "br-em1"
>>         Port "em1"
>>             Interface "em1"
>>         Port "qg-daf2c037-cc"
>>             Interface "qg-daf2c037-cc"
>>                 type: internal
>>         Port "br-em1"
>>             Interface "br-em1"
>>                 type: internal
>>     ovs_version: "1.4.3"
>>
>> *root@networknode:/etc* <root@networknode:/etc>*# ifconfig tape10a4f07-60
>> tape10a4f07-60: error fetching interface information: Device not found*
>>
>> is this the reason I can't ping vm? and how can I solve it?
>>  2013-05-08
>>  ------------------------------
>>  zengshan2008
>>  ------------------------------
>>  *发件人:*zengshan2008
>> *发送时间:*2013-05-08 14:59
>> *主题:*vm can't connect to remote host (169.254.169.254)
>> *收件人:*"Stephen Kramer"<celticremark@xxxxxxxxx>,"Anil Vishnoi"<
>> vishnoianil@xxxxxxxxx>,"gong yong sheng"<gongysh@xxxxxxxxxxxxxxxxxx>
>> *抄送:*"openstack"<openstack@xxxxxxxxxxxxxxxxxxx>
>>
>> **
>>
>> Hi all,
>>
>> I've installed openstack using quantum by the guide
>> https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst
>> In my environment, I have a controller node, a network node and a compute node, I am using openvswitch plugin and everything looks fine, but the following logs in the vm console make me crazy. can anybody help me out?
>>
>> May  8 00:45:57 cirros kern.info kernel: [    2.468239] eth0: IPv6 duplicate address fe80::f816:3eff:fe80:636f detected!
>> ############ debug end   ##############
>> cloud-setup: failed to read iid from metadata. tried 30
>> WARN: /etc/rc3.d/S45-cloud-setup failed
>> Starting dropbear sshd: generating rsa key... generating dsa key... OK
>> ===== cloud-final: system completely up in 41.24 seconds ====
>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>>   instance-id:
>>   public-ipv4:
>>   local-ipv4 :
>> wget: can't connect to remote host (169.254.169.254): Network is unreachable
>> cloud-userdata: failed to read instance id
>> WARN: /etc/rc3.d/S99-cloud-userdata failed
>>
>>
>> 2013-05-08
>> ------------------------------
>>  zengshan2008
>> **
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

References