ssh to VM failed by no authorized ssh keys fingerprints found for user ubuntu

Bug #1862029 reported by Peng Peng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Invalid
Medium
zhipeng liu

Bug Description

Brief Description
-----------------
Boot a ubuntu_14 vm with virtio vifs, tried to ssh to the VM failed. The error msg:
debug1: No more authentication methods to try.
Permission denied (publickey).

console log show:
ubuntu login: Cloud-init v. 0.7.5 running 'modules:final' at Wed, 05 Feb 2020 09:07:39 +0000. Up 263.85 seconds.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.

Severity
--------
Minor

Steps to Reproduce
------------------
Boot a ubuntu_14 vm with virtio vifs,
ssh to the VM

TC-name: networking/test_ping_vms.py::test_ping_between_two_vms[ubuntu_14-virtio-virtio]

Expected Behavior
------------------
ssh to VM success

Actual Behavior
----------------
ssh to VM failed

Reproducibility
---------------
Unknown - first time this is seen in sanity, will monitor

System Configuration
--------------------
One node system

Lab-name: SM-4

Branch/Pull Time/Commit
-----------------------
20200127T000002Z

Last Pass
---------
20200127T000002Z

Timestamp/Logs
--------------
[2020-02-05 09:08:48,152] 314 DEBUG MainThread ssh.send :: Send 'ssh -v -i ~/priv_keys/keyfile_sm_4.pem -o RSAAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@192.168.96.84'
[2020-02-05 09:08:48,423] 436 DEBUG MainThread ssh.expect :: Output:
....
Permission denied (publickey).
svc-cgcsauto@tis-lab-nat-box:~$

[2020-02-05 09:08:48,424] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://keystone.openstack.svc.cluster.local/v3 --os-user-domain-name Default --os-project-domain-name Default --os-identity-api-version 3 --os-interface internal --os-region-name RegionOne console log show 4d90bdc2-526d-416d-b2e8-449a24646823'
[2020-02-05 09:08:50,779] 436 DEBUG MainThread ssh.expect :: Output:

.....

ubuntu login: Cloud-init v. 0.7.5 running 'modules:final' at Wed, 05 Feb 2020 09:07:39 +0000. Up 263.85 seconds.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.

Test Activity
-------------
Sanity

Revision history for this message
Peng Peng (ppeng) wrote :
tags: added: stx.retestneeded
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Unsure if this is an issue with nova or with the cloud image itself.
Assigning to the disto.openstack PL for review

tags: added: stx.distro.openstack
Changed in starlingx:
assignee: nobody → yong hu (yhu6)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

@Yong Hu, can you please recommend a release tag and priority for this? Will it be marked for resolution in stx.4.0?

Revision history for this message
zhipeng liu (zhipengs) wrote :

Hi Pengpeng,

Can you reproduce it again, is it one time issue?
I doubt it is set up issue, you may need wait for a while after ubuntu VM created.
There is a similar issue we discussed last year, FYI.
https://bugs.launchpad.net/starlingx/+bug/1839320

Thanks!
Zhipeng

Changed in starlingx:
assignee: yong hu (yhu6) → zhipeng liu (zhipengs)
zhipeng liu (zhipengs)
Changed in starlingx:
status: New → Incomplete
yong hu (yhu6)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.4.0
Revision history for this message
Ghada Khalil (gkhalil) wrote :

As per discussion with Yang Liu, the test PL, we agreed to close this LP as Not Reproducible. The issue was only reported once. Since we are moving to Ussuri, there is no point in keeping this open.

Changed in starlingx:
status: Incomplete → Invalid
Peng Peng (ppeng)
tags: removed: stx.retestneeded
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.