microstack requires password for cirros with stock installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
New
|
Undecided
|
Unassigned |
Bug Description
**Observed behavior**:
Despite using key auth, a password is requested for an ssh session for cirros
**Expected behavior**:
An ssh session against cirros without a password using ssh key auth
**Other info**:
I am using this guide: https:/
```
aryehh@
Linux aryehh-NUC12WSHi7 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
```
----
Steps:
```
aryehh@
INFO: /dev/kvm exists
KVM acceleration can be used
aryehh@
Setup snap "microstack" (245) security profiles for auto-connections -
Setup snap "microstack" (245) security profiles for auto-connections \
Setup snap "microstack" (245) security profiles for auto-connections -
microstack (beta) ussuri from Canonical✓ installed
aryehh@
2022-10-30 20:22:52,804 - microstack_init - INFO - Configuring clustering ...
2022-10-30 20:22:53,010 - microstack_init - INFO - Setting up as a control node.
2022-10-30 20:22:55,297 - microstack_init - INFO - Generating TLS Certificate and Key
2022-10-30 20:22:56,152 - microstack_init - INFO - Configuring networking ...
2022-10-30 20:23:02,767 - microstack_init - INFO - Opening horizon dashboard up to *
2022-10-30 20:23:03,535 - microstack_init - INFO - Waiting for RabbitMQ to start ...
Waiting for 192.168.0.197:5672
2022-10-30 20:23:10,027 - microstack_init - INFO - RabbitMQ started!
2022-10-30 20:23:10,028 - microstack_init - INFO - Configuring RabbitMQ ...
2022-10-30 20:23:10,784 - microstack_init - INFO - RabbitMQ Configured!
2022-10-30 20:23:10,825 - microstack_init - INFO - Waiting for MySQL server to start ...
Waiting for 192.168.0.197:3306
2022-10-30 20:23:24,391 - microstack_init - INFO - Mysql server started! Creating databases ...
2022-10-30 20:23:26,362 - microstack_init - INFO - Configuring Keystone Fernet Keys ...
2022-10-30 20:24:01,197 - microstack_init - INFO - Bootstrapping Keystone ...
2022-10-30 20:24:07,841 - microstack_init - INFO - Creating service project ...
2022-10-30 20:24:11,900 - microstack_init - INFO - Keystone configured!
2022-10-30 20:24:11,944 - microstack_init - INFO - Configuring the Placement service...
2022-10-30 20:24:25,939 - microstack_init - INFO - Running Placement DB migrations...
2022-10-30 20:24:30,999 - microstack_init - INFO - Configuring nova control plane services ...
2022-10-30 20:24:39,041 - microstack_init - INFO - Running Nova API DB migrations (this may take a lot of time)...
2022-10-30 20:25:06,883 - microstack_init - INFO - Running Nova DB migrations (this may take a lot of time)...
Waiting for 192.168.0.197:8774
2022-10-30 20:27:13,313 - microstack_init - INFO - Creating default flavors...
2022-10-30 20:27:31,465 - microstack_init - INFO - Configuring nova compute hypervisor ...
2022-10-30 20:27:31,465 - microstack_init - INFO - Checking virtualization extensions presence on the host
2022-10-30 20:27:31,511 - microstack_init - INFO - Hardware virtualization is supported - KVM will be used for Nova instances
2022-10-30 20:27:33,917 - microstack_init - INFO - Configuring the Spice HTML5 console service...
2022-10-30 20:27:34,478 - microstack_init - INFO - Configuring Neutron
Waiting for 192.168.0.197:9696
2022-10-30 20:29:28,035 - microstack_init - INFO - Configuring Glance ...
Waiting for 192.168.0.197:9292
2022-10-30 20:30:03,033 - microstack_init - INFO - Adding cirros image ...
2022-10-30 20:30:05,450 - microstack_init - INFO - Creating security group rules ...
2022-10-30 20:30:14,046 - microstack_init - INFO - Configuring the Cinder services...
2022-10-30 20:30:55,830 - microstack_init - INFO - Running Cinder DB migrations...
2022-10-30 20:31:12,310 - microstack_init - INFO - restarting libvirt and virtlogd ...
2022-10-30 20:31:29,114 - microstack_init - INFO - Complete. Marked microstack as initialized!
aryehh@
20:31:40 up 13 min, 1 user, load average: 2.74, 2.98, 1.76
aryehh@
+------
| ID | Name | Status |
+------
| 31ac5cc9-
+------
aryehh@
aryehh@
+----+-
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-
| 1 | m1.tiny | 512 | 1 | 0 | 1 | True |
| 2 | m1.small | 2048 | 20 | 0 | 1 | True |
| 3 | m1.medium | 4096 | 20 | 0 | 2 | True |
| 4 | m1.large | 8192 | 20 | 0 | 4 | True |
| 5 | m1.xlarge | 16384 | 20 | 0 | 8 | True |
+----+-
aryehh@
Creating local "microstack" ssh key at /home/aryehh/
Launching server ...
Allocating floating ip ...
Server test launched! (status is BUILD)
Access it with `ssh -i /home/aryehh/
You can also visit the OpenStack dashboard at https:/
aryehh@
aryehh@
The authenticity of host '10.20.20.59 (10.20.20.59)' can't be established.
ECDSA key fingerprint is SHA256:
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/
Warning: Permanently added '10.20.20.59' (ECDSA) to the list of known hosts.
sign_and_
cirros@
Permission denied, please try again.
cirros@
```
Update: I was able to log in with the password `gocubsgo`. I found it by navigating to the openstack http server, clicking on the instance, and viewing the console.
Looks like merely a docs issue.