Ask Your Question
0

Fail "openstack baremetal introspection bulk start" [closed]

asked 2016-09-08 06:44:17 -0500

Soichiro75 gravatar image

updated 2016-09-08 18:47:56 -0500

Hello,

I'm building Openstack Libety Environment by using TripleO on some Bare Metal.

However http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#introspect-nodes (openstack baremetal introspection bulk start) Introspect Nodes Command got wrong.

Some machines finished successfully, but some machines Introspection completed with errors.

The failed machines also got PXE-IP from UnderCloud-DHCP, but occured loop of something while PXE-booting.

After that, I rebuilt the same environment, then I retried the Introspect Nodes Command.

Other maches(failed the last time) success and some machines(successed the last time) failed.

Of course I always use same "instackenv.json" environment file, but I got the different results.

Why?

Did I wrong config?

or

Is this "openstack baremetal introspection bulk start" command bug?

or

Other reason?

Anyone know?

I would appreciate it if you give me some advice.

Thank you for your help.

Best regards,

Soichiro75

■ Version:

UnderCloudMachine's OS: RedHat7.2

OpenStack Installer: TripleO

OpenStack Version: Liberty

■ Log:

[stack@undercloud001 ~]$ source ~/stackrc

[stack@undercloud001 ~]$ openstack baremetal import --json ~/instackenv.json

[stack@undercloud001 ~]$ openstack baremetal configure boot

[stack@undercloud001 ~]$ ironic node-list

+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 | None | None          | power off   | available          | False       |
| 118a377c-76ef-418e-b838-906f6c1cbb01 | None | None          | power off   | available          | False       |
| 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 | None | None          | power off   | available          | False       |
| b8419d2a-6fee-40d6-ba7b-099304375dff | None | None          | power off   | available          | False       |
| 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb | None | None          | power off   | available          | False       |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+

[stack@undercloud001 ~]$ openstack baremetal introspection bulk start

Setting nodes for introspection to manageable...
Starting introspection of node: 732766c4-8ec6-4bfc-93bc-d9e6853f30e6
Starting introspection of node: 118a377c-76ef-418e-b838-906f6c1cbb01
Starting introspection of node: 821fe2ca-c12b-43ad-bf15-61c92cdf35e2
Starting introspection of node: b8419d2a-6fee-40d6-ba7b-099304375dff
Starting introspection of node: 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb
Waiting for introspection to finish...

Introspection for UUID 118a377c-76ef-418e-b838-906f6c1cbb01 finished with error: The following required parameters are missing: ['local_gb']
Introspection for UUID 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 finished with error: The following required parameters are missing: ['local_gb']
Introspection for UUID 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 finished successfully.
Introspection for UUID b8419d2a-6fee-40d6-ba7b-099304375dff finished successfully.
Introspection didn't finish for nodes 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb
Setting manageable nodes to available...
Node 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 has been set to available.
Node b8419d2a-6fee-40d6-ba7b-099304375dff has been set to available.
Introspection completed with errors:
118a377c-76ef-418e-b838-906f6c1cbb01: The following required parameters are missing: ['local_gb']
732766c4-8ec6-4bfc-93bc-d9e6853f30e6: The following required parameters are missing: ['local_gb']

[stack@undercloud001 ~]$ IRONIC_NODES=$(ironic node-list | head -n -1 | tail -n +4 | awk '{ print $2 }' | tr '\n' ' '); echo ${IRONIC_NODES}

732766c4-8ec6-4bfc-93bc-d9e6853f30e6
118a377c-76ef-418e-b838-906f6c1cbb01
821fe2ca-c12b-43ad-bf15-61c92cdf35e2
b8419d2a-6fee-40d6-ba7b-099304375dff
07c9f8b6-4383-4dcf-97be-0fa068bcd7eb

[stack@undercloud001 ~]$ for node in ${IRONIC_NODES}; do echo "${node}:"; ironic node-show ${node} | grep ipmi_address; done

732766c4-8ec6-4bfc-93bc-d9e6853f30e6:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.220',       |
118a377c-76ef-418e-b838-906f6c1cbb01:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.221',       |
821fe2ca-c12b-43ad-bf15-61c92cdf35e2:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.222',       |
b8419d2a-6fee-40d6-ba7b-099304375dff:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.225',       |
07c9f8b6-4383-4dcf-97be-0fa068bcd7eb:
| driver_info            | {u'ipmi_password': u'******', u'ipmi_address': u'10.11.184.237',       |

[stack@undercloud001 ~]$ ironic node-list

+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
| 732766c4-8ec6-4bfc-93bc-d9e6853f30e6 | None | None          | power on    | manageable         | False       |
| 118a377c-76ef-418e-b838-906f6c1cbb01 | None | None          | power on    | manageable         | False       |
| 821fe2ca-c12b-43ad-bf15-61c92cdf35e2 | None | None          | power off   | available          | False       |
| b8419d2a-6fee-40d6-ba7b-099304375dff | None | None          | power off   | available          | False       |
| 07c9f8b6-4383-4dcf-97be-0fa068bcd7eb | None | None          | power on    | manageable         | False       |
+--------------------------------------+------+---------------+-------------+--------------------+-------------+
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Soichiro75
close date 2017-06-08 20:53:06.513325

2 answers

Sort by » oldest newest most voted
0

answered 2016-09-09 02:52:09 -0500

Soichiro75 gravatar image

I might find the solution:

https://access.redhat.com/errata/RHBA-2016:1229

I'll try it.

edit flag offensive delete link more

Comments

I solved the issue.

I patched, then introspection command successed :D

https://access.redhat.com/errata/RHBA-2016:1229 (https://access.redhat.com/errata/RHBA...)

Thank you.

Soichiro75 gravatar imageSoichiro75 ( 2016-09-13 17:16:46 -0500 )edit
0

answered 2016-09-08 22:07:28 -0500

Praveen N gravatar image

Hi i have faced this issue while working with OpenStack Kilo version. Bare metal servers were not going to PXE boot but instead they were trying to boot from loal disk. Better access the KVM console of baremetal servers & do pxe boot manually when you run the introspection command.

--Thanks

edit flag offensive delete link more

Comments

Hi Praveen N,

Thank you for your reply.

I might find the solution:

https://access.redhat.com/errata/RHBA-2016:1229

I'll try it.

Thank you, Soichiro75

Soichiro75 gravatar imageSoichiro75 ( 2016-09-09 02:51:20 -0500 )edit

Hi Praveen,

Better access the KVM console of baremetal servers & do pxe boot manually when you run the introspection command.

I'll try it.

Thank you for your advice.

Thank you,

Soichiro75

Soichiro75 gravatar imageSoichiro75 ( 2016-09-09 08:37:17 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-08 06:44:17 -0500

Seen: 1,266 times

Last updated: Sep 09 '16