Nuage: metadata agent does not work with ssh key
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-
$ 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:
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.
'http://
request error [(<urllib3.
0x7f4cf3f36310>, 'Connection to 192.168.20.1 timed out. (connect
timeout=50.0)')]
2016-02-22 19:10:16,259 - url_helper.
'http://
request error [(<urllib3.
0x7f4cf3f36290>, 'Connection to 192.168.20.1 timed out. (connect
timeout=17.0)')]
2016-02-22 19:10:17,261 - DataSourceCloud
on waiting for the metadata from
['http://
seconds
Feb 22 19:10:17 ubuntu pollinate[716]: ERROR: Network communication
failed [6]\n19:
% Total % Received % Xferd Average Speed Time Time Time Current
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
...