can't login to baremetal deploid with ironic
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@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@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@garvan.org.au<mailto:manuel.sb@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.
Hello Manuel, Did you try the default password for cirros images? https://docs.openstack.org/image-guide/obtain-images.html#cirros-test Em qui, 13 de dez de 2018 às 14:05, Manuel Sopena Ballesteros < manuel.sb@garvan.org.au> escreveu:
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@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@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@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.
-- *Att[]'sIury Gregory Melo Ferreira * *MSc in Computer Science at UFCG* *Part of the puppet-manager-core team in OpenStack* *Software Engineer at Red Hat Czech* *Social*: https://www.linkedin.com/in/iurygregory *E-mail: iurygregory@gmail.com <iurygregory@gmail.com>*
Hi Lury, Yes, I can login to cirros using the default credentials cirros/gocubsgo Manuel From: Iury Gregory [mailto:iurygregory@gmail.com] Sent: Friday, December 14, 2018 12:26 AM To: Manuel Sopena Ballesteros Cc: openstack@lists.openstack.org Subject: Re: can't login to baremetal deploid with ironic Hello Manuel, Did you try the default password for cirros images? https://docs.openstack.org/image-guide/obtain-images.html#cirros-test Em qui, 13 de dez de 2018 às 14:05, Manuel Sopena Ballesteros <manuel.sb@garvan.org.au<mailto:manuel.sb@garvan.org.au>> escreveu: 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@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@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@garvan.org.au<mailto:manuel.sb@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. -- Att[]'s Iury Gregory Melo Ferreira MSc in Computer Science at UFCG Part of the puppet-manager-core team in OpenStack Software Engineer at Red Hat Czech Social: https://www.linkedin.com/in/iurygregory E-mail: iurygregory@gmail.com<mailto:iurygregory@gmail.com> 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.
I'm glad it worked =) Em sex, 14 de dez de 2018 às 01:11, Manuel Sopena Ballesteros < manuel.sb@garvan.org.au> escreveu:
Hi Lury,
Yes, I can login to cirros using the default credentials cirros/gocubsgo
Manuel
*From:* Iury Gregory [mailto:iurygregory@gmail.com] *Sent:* Friday, December 14, 2018 12:26 AM *To:* Manuel Sopena Ballesteros *Cc:* openstack@lists.openstack.org *Subject:* Re: can't login to baremetal deploid with ironic
Hello Manuel,
Did you try the default password for cirros images? https://docs.openstack.org/image-guide/obtain-images.html#cirros-test
Em qui, 13 de dez de 2018 às 14:05, Manuel Sopena Ballesteros < manuel.sb@garvan.org.au> escreveu:
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@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@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@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.
--
*Att[]'s* *Iury Gregory Melo Ferreira* *MSc in Computer Science at UFCG*
*Part of the puppet-manager-core team in OpenStack* *Software Engineer at Red Hat Czech*
*Social*: https://www.linkedin.com/in/iurygregory
*E-mail: * *iurygregory@gmail.com <iurygregory@gmail.com>* 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.
-- *Att[]'sIury Gregory Melo Ferreira * *MSc in Computer Science at UFCG* *Part of the puppet-manager-core team in OpenStack* *Software Engineer at Red Hat Czech* *Social*: https://www.linkedin.com/in/iurygregory *E-mail: iurygregory@gmail.com <iurygregory@gmail.com>*
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@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@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@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@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.
participants (3)
-
Iury Gregory
-
Julia Kreger
-
Manuel Sopena Ballesteros