Cant't login to cirros VM

Bug #1573608 reported by Kyrylo Galanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Kyrylo Galanov

Bug Description

1. Create a VM with ssh-key access
2. Login to VM wih root - shows message with "use cirros username"
3. cirros username does not accept private key

---
root@node-4:~# ssh 10.109.38.138 -i /tmp/tmp.73SPhWq6Ln
Please login as 'cirros' user, not as root

^CConnection to 10.109.38.138 closed.
root@node-4:~# ssh 10.109.38.138 -l cirros -i /tmp/tmp.73SPhWq6Ln
cirros@10.109.38.138's password:

Affected system test: https://custom-ci.infra.mirantis.net/view/9.0/job/9.0.custom.system_test/205/

---------+
| nailgun.test.domain.local | cat /etc/fuel_build_id | 228 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_build_number | 228 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_release | 9.0 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_openstack_version | mitaka-9.0

Tags: need-info
Changed in fuel:
milestone: none → 9.0
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Changed in fuel:
assignee: nobody → MOS Nova (mos-nova)
Revision history for this message
Alexander Gubanov (ogubanov) wrote :

It is expected behaviour for cirros image - by default, doesn't allow users to use ssh to access root account.

ogubanov@ogubanov-pc:~/Downloads$ grep -r 'Please' ./cirros-0.3.4
./cirros-0.3.4/src/sbin/cirros-apply:SSH_ROOT_PREFIX="command=\"echo Please login as \\'cirros\\' user, not as root; echo; sleep 10\""

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Kyrylo, are you sure you tried this after https://bugs.launchpad.net/mos/+bug/1571704 was fixed? Could you please check the image you use? Could you please attach a console log?

Changed in fuel:
status: Confirmed → Incomplete
assignee: MOS Nova (mos-nova) → Kyrylo Galanov (kgalanov)
Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

Ok, fixed

Changed in fuel:
status: Incomplete → Invalid
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.