can't login to a compute node deployed using ironic
Doug Szumski
doug at stackhpc.com
Tue Dec 18 14:44:19 UTC 2018
On 13/12/2018 06:18, Manuel Sopena Ballesteros wrote:
>
> Dear Openstack user group,
>
> I am playing with Ironic and have a very stupid question…
>
> For some reason I can’t login to the server after deployment. Server
> status is ACTIVE and I am using the adminPass provided by openstack .
>
> The way I connect is through server console through the IPMI console
> (not ssh).
>
The way it normally works is that cloud init copies a public key from a
keypair that you specify when booting the instance to the node that your
deploy. There aren't normally back door passwords in the deploy images,
which is why you can't get in via the IPMI console. Try ssh :)
>
> [root at openstack-deployment ~]# openstack server create --image
> 760f4076-4f2d-455b-89b5-6c1248148f70 --flavor my-baremetal-flavor
> --network hpc demo1
>
> +-------------------------------------+------------------------------------------------------------+
>
> | Field |
> Value |
>
> +-------------------------------------+------------------------------------------------------------+
>
> | OS-DCF:diskConfig |
> MANUAL |
>
> | OS-EXT-AZ:availability_zone | |
>
> | OS-EXT-SRV-ATTR:host |
> None |
>
> | OS-EXT-SRV-ATTR:hypervisor_hostname | None
> |
>
> | OS-EXT-SRV-ATTR:instance_name | |
>
> | OS-EXT-STS:power_state |
> NOSTATE |
>
> | OS-EXT-STS:task_state |
> scheduling |
>
> | OS-EXT-STS:vm_state |
> building |
>
> | OS-SRV-USG:launched_at | None
> |
>
> | OS-SRV-USG:terminated_at |
> None |
>
> | accessIPv4 | |
>
> | accessIPv6 | |
>
> | addresses | |
>
> | adminPass | t3TAUNwTbuD5
> |
>
> | config_drive | |
>
> | created |
> 2018-12-13T05:39:11Z |
>
> | flavor | my-baremetal-flavor
> (84abc368-1695-4387-998c-8b47da1a3a34) |
>
> | hostId | |
>
> | id |
> 5231e015-73e9-472f-bb84-bde9bf7e6989 |
>
> | image | centos7.5-image
> (760f4076-4f2d-455b-89b5-6c1248148f70) |
>
> | key_name |
> None |
>
> | name |
> demo1 |
>
> | progress |
> 0 |
>
> | project_id |
> 0b3d8fd6015048e89f4372fb1534900b |
>
> | properties | |
>
> | security_groups |
> name='default' |
>
> | status |
> BUILD |
>
> | updated |
> 2018-12-13T05:39:12Z |
>
> | user_id |
> fd244f331bc34066b7a5fae72d518261 |
>
> | volumes_attached | |
>
> +-------------------------------------+------------------------------------------------------------+
>
> [root at openstack-deployment ~]# openstack server list
>
> +--------------------------------------+-------+--------+-----------------+-----------------+---------------------+
>
> | ID | Name | Status |
> Networks | Image | Flavor |
>
> +--------------------------------------+-------+--------+-----------------+-----------------+---------------------+
>
> | 5231e015-73e9-472f-bb84-bde9bf7e6989 | demo1 | ACTIVE |
> hpc=10.0.32.119 | centos7.5-image | my-baremetal-flavor |
>
> | 9cc2369f-1951-4bec-bc8b-863fd6cc9983 | test | ACTIVE |
> hpc=10.0.32.116 | cirros | m1.tiny |
>
> +--------------------------------------+-------+--------+-----------------+-----------------+---------------------+
>
> Any thoughts?
>
> *Manuel Sopena Ballesteros *|**Big data Engineer
> *Garvan Institute of Medical Research *
> The Kinghorn Cancer Centre,**370 Victoria Street, Darlinghurst, NSW 2010
> *T:* + 61 (0)2 9355 5760 | *F:* +61 (0)2 9295 8507 | *E:*
> manuel.sb at garvan.org.au <mailto:manuel.sb at garvan.org.au>
>
> NOTICE
> Please consider the environment before printing this email. This
> message and any attachments are intended for the addressee named and
> may contain legally privileged/confidential/copyright information. If
> you are not the intended recipient, you should not read, use,
> disclose, copy or distribute this communication. If you have received
> this message in error please notify us at once by return email and
> then delete both messages. We accept no liability for the distribution
> of viruses or similar in electronic communications. This notice should
> not be removed.
More information about the openstack-discuss
mailing list