Baremetal node provisioning fails with "Cannot perform discovery. Invalid Initiatorname..."
Issue
openstack overcloud node provision --stack overcloud --output ~/templates/overcloud-baremetal-deployed.yaml ~/templates/overcloud-baremetal-deploy.yaml
Waiting for messages on queue 'tripleo' with no timeout.
DeploymentFailed: Node d7163684-f7a8-4c5b-92e5-4320ba450831 reached failure state "deploy failed"; the last error is Deploy failed for instance 1961b449-5771-46f5-ba5b-f9b04ec02125. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.162.37.28:3260
Exit code: 7
Stdout: ''
Stderr: 'iscsiadm: Cannot perform discovery. Invalid Initiatorname.\niscsiadm: Could not perform SendTargets discovery: invalid parameter\n'
DeploymentFailed: Node 72205e6f-1f07-415f-b9c5-7ace2614d57b reached failure state "deploy failed"; the last error is None
DeploymentFailed: Node c624cc4b-f73e-4344-9609-c34632f06d37 reached failure state "deploy failed"; the last error is Deploy failed for instance 5c4bfc07-4338-465f-94b1-43278b43c7c7. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.162.37.61:3260
Exit code: 7
Stdout: ''
Stderr: 'iscsiadm: Cannot perform discovery. Invalid Initiatorname.\niscsiadm: Could not perform SendTargets discovery: invalid parameter\n'
DeploymentFailed: Node 3269a7d0-019b-43af-960c-8bc72d13dec0 reached failure state "deploy failed"; the last error is Deploy failed for instance 434cad04-c57b-401c-bfdc-bf8cdfee69df. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.162.37.36:3260
Exit code: 7
Stdout: ''
Stderr: 'iscsiadm: Cannot perform discovery. Invalid Initiatorname.\niscsiadm: Could not perform SendTargets discovery: invalid parameter\n'
DeploymentFailed: Node 7a96c567-0857-4e3c-b5e2-a712916715c9 reached failure state "deploy failed"; the last error is Deploy failed for instance 0575f924-d0a5-4b08-b84d-f077bceff46b. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.162.37.69:3260
Exit code: 7
Stdout: ''
Stderr: 'iscsiadm: Cannot perform discovery. Invalid Initiatorname.\niscsiadm: Could not perform SendTargets discovery: invalid parameter\n'
Exit code: 7
Stdout: ''
Stderr: 'iscsiadm: Cannot perform discovery. Invalid Initiatorname.\niscsiadm: Could not perform SendTargets discovery: invalid parameter\n'
DeploymentFailed: Node 3269a7d0-019b-43af-960c-8bc72d13dec0 reached failure state "deploy failed"; the last error is Deploy failed for instance 434cad04-c57b-401c-bfdc-bf8cdfee69df. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 10.162.37.36:3260
Exit code: 7
Environment
- Red Hat OpenStack Platform 16.1
- Red Hat OpenStack Platform 16.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.