Nuage: metadata agent does not work with ssh key

Bug #1549439 reported by Ashley Lai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
New
Undecided
Unassigned

Bug Description

ssh to VM failed with ssh key due to not able to communicate with metadata agent. After the deployment, nuage-metadata-agent service did not run on nuage-vrsg/0. I started this service but still get the same error.

$ ssh -i ~/ashleykey.pem ubuntu@10.244.7.4
The authenticity of host '10.244.7.4 (10.244.7.4)' can't be established.
ECDSA key fingerprint is 3b:db:4b:a2:91:66:6f:1f:fe:ca:e7:a8:f7:b1:54:9b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.244.7.4' (ECDSA) to the list of known hosts.
Permission denied (publickey).

nova console-log:
...
2016-02-22 19:09:58,237 - url_helper.py[WARNING]: Calling
'http://192.168.20.1//latest/meta-data/instance-id' failed [101/120s]:
request error [(<urllib3.connectionpool.HTTPConnectionPool object at
0x7f4cf3f36310>, 'Connection to 192.168.20.1 timed out. (connect
timeout=50.0)')]
2016-02-22 19:10:16,259 - url_helper.py[WARNING]: Calling
'http://192.168.20.1//latest/meta-data/instance-id' failed [119/120s]:
request error [(<urllib3.connectionpool.HTTPConnectionPool object at
0x7f4cf3f36290>, 'Connection to 192.168.20.1 timed out. (connect
timeout=17.0)')]
2016-02-22 19:10:17,261 - DataSourceCloudStack.py[CRITICAL]: Giving up
on waiting for the metadata from
['http://192.168.20.1//latest/meta-data/instance-id'] after 120
seconds
Feb 22 19:10:17 ubuntu pollinate[716]: ERROR: Network communication
failed [6]\n19:10:17.377791 * Hostname was NOT found in DNS cache
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 019:10:17.382893 * Could not resolve host:
entropy.ubuntu.com
19:10:17.383020 * Closing connection 0
curl: (6) Could not resolve host: entropy.ubuntu.com
...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.