After registry one ironic compute service,start one baremetal server report one error

Bug #1893887 reported by zhangss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ironic
Invalid
Undecided
Unassigned

Bug Description

After registry one ironic compute service,start one baremetal server report one error.
Baremetal instance had already Complete PXE boot,and Bare machine installed successfully.
However, when the instance is restarted, it cannot run normally and an error is reported.

deploy iscsi Cannot validate image information for node 757684ba-44b5-4825-b50e-0563b9715870 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source']

boot pxe Cannot validate image information for node 757684ba-44b5-4825-b50e-0563b9715870 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source']

| fault | {u'message': u'Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance c141bfc1-a90e-41c2-be10-cf26172aaaec.', u'code': 500, u'details': u'Traceback (most recent call last):\n File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 645, in build_instances\n raise exception.MaxRetriesExceeded(reason=msg)\nMaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance c141bfc1-a90e-41c2-be10-cf26172aaaec.\n', u'created': u'2020-09-02T04:54:30Z'} |

Revision history for this message
zhangss (intentc) wrote :

ironic-conductor.log

2020-09-02 16:09:28.551 6 DEBUG oslo_concurrency.processutils [req-a741a096-a6e7-4f03-b96f-a4327ce15b8e - - - - -] u'sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.16.32.66:3260' failed. Not Retrying. execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:457
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy [req-a741a096-a6e7-4f03-b96f-a4327ce15b8e - - - - -] Deploy of instance c135c1ec-947c-48ff-9309-e331510f98b3 on node 5cfbc4d1-e39c-4309-9ba6-8049aa754a84 failed with exception: ProcessExecutionError: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.16.32.66:3260
Exit code: 20
Stdout: u''
Stderr: u'Failed to start iscsid.socket: Unit not found.\nFailed to start iscsiuio.socket: Unit not found.\niscsiadm: can not connect to iSCSI daemon (111)!\nFailed to start iscsid.socket: Unit not found.\nFailed to start iscsiuio.socket: Unit not found.\niscsiadm: can not connect to iSCSI daemon (111)!\niscsiadm: Cannot perform discovery. Initiatorname required.\niscsiadm: Could not perform SendTargets discovery: could not connect to iscsid\n'

.......
.......

2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 424, in execute
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy cmd=sanitized_cmd)
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy ProcessExecutionError: Unexpected error while running command.
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.16.32.66:3260
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy Exit code: 20
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy Stdout: u''
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy Stderr: u'Failed to start iscsid.socket: Unit not found.\nFailed to start iscsiuio.socket: Unit not found.\niscsiadm: can not connect to iSCSI daemon (111)!\nFailed to start iscsid.socket: Unit not found.\nFailed to start iscsiuio.socket: Unit not found.\niscsiadm: can not connect to iSCSI daemon (111)!\niscsiadm: Cannot perform discovery. Initiatorname required.\niscsiadm: Could not perform SendTargets discovery: could not connect to iscsid\n'
2020-09-02 16:09:28.551 6 ERROR ironic.drivers.modules.iscsi_deploy
2020-09-02 16:09:28.553 6 DEBUG ironic.drivers.modules.agent_client [req-a741a096-a6e7-4f03-b96f-a4327ce15b8e - - - - -] Executing agent command log.collect_system_logs for node 5cfbc4d1-e39c-4309-9ba6-8049aa754a84 _command /usr/lib/python2.7/site-packages/ironic/drivers/modules/agent_client.py:85
2020-09-02 16:09:29.674 6 DEBUG futurist.periodics [-] Submitting periodic callback 'ironic.conductor.manager.ConductorManager._sync_power_states' _process_scheduled /usr/lib/python2.7/site-packages/futurist/periodics.py:639

Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

A few different things.

1) iscsi based deployment is no longer supported by ironic. In fact, it has been deprecated for some time and *removed*.
2) Validate errors are to be expected. The module does not, and should not manage inventory inside ironic and this is a failure of the user to supply details required to provision a node.
3) Nova failing a deployment because of issues which do not relate. In this case, image_source is actually supplied by nova, *and* the errors are that the iscsid unit simply does not exist which is from a version of ironic which is expecting it to be a running service on the host. I'm unsure if we should actually fix that.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

This bug does not indicate any problem with configurations applied by puppet-ironic and sounds more like a core ironic issue and needs investigation from ironic side.

Please report this issue to the ironic project if you are still facing it.
 https://storyboard.openstack.org/#!/project/openstack/ironic

Changed in puppet-ironic:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers