can't login to baremetal deploid with ironic

Julia Kreger juliaashleykreger at gmail.com
Thu Dec 13 17:15:39 UTC 2018


Greetings Manuel,

AdminPass being able to be used would be dependent upon that password being
available in the meta data service, or being burned into the configuration
drive. At that point, once the OS has booted, it is up to a tool like
cloud-init to put that password in place, much as it does with ssh
authorized_keys. It might be doing so for a user account named something
like "centos".

For what it is worth, most users use key based authentication for instances
they have created.

-Julia

On Thu, Dec 13, 2018 at 5:10 AM Manuel Sopena Ballesteros <
manuel.sb at garvan.org.au> 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).
>
>
>
> [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
>
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181213/6e8ce3c1/attachment-0001.html>


More information about the openstack-discuss mailing list