IRONIC BAREMETAL partitioned image not spawning.

Julia Kreger juliaashleykreger at gmail.com
Tue Dec 1 22:55:41 UTC 2020


Greetings,

If your deploy_interface is set to "iscsi", then sgdisk needs to be
installed and available to the ironic-conductor process and user.
If your deploy_interface is set to "direct", then sgdisk needs to be
present with-in the ironic-python-agent ramdisk.

The error you pasted into your email suggests, and the logs confirm
that you're using the iscsi deployment interface. You will need to
ensure your conductor process can execute sgdisk and it is available
with-in the environment PATH that the ironic-conductor process is
executing with-in. This is not with-in the qcow you're deploying as
the commands are executed remotely before the image is written in this
case.

-Julia

On Tue, Dec 1, 2020 at 10:19 AM Akshay 346 <Akshay.346 at hsc.com> wrote:
>
> Hello Team,
>
>
>
> I hope you all are keeping safe and doing good.
>
>
>
> I have a OpenStack setup up and running with ironic enabled.
>
> I am able to spawn a bare metal  node with centos8.2 whole-disk image but when I spawn bare metal with partitioned image, it fails to spawn it stating the following trace ( Full trace back attached in the email):
>
>
>
> “2020-12-01 12:35:34.603 1 ERROR ironic.conductor.utils [req-0d3a375e-90a3-485d-a7c3-895c97c88006 - - - - -] Deploy failed for instance 463bd844-7f80-4c57-98dd-6ca8cfdb6121. Error: [Errno 2] No such file or directory: 'sgdisk': 'sgdisk': FileNotFoundError: [Errno 2] No such file or directory: 'sgdisk': 'sgdisk'”.
>
>
>
> I have also installed sgdisk (yum install gdisk) on the qcow2 from which I build the partitioned image.
>
>
>
> Can anyone please guide how to debug it?
>
>
>
> Regards
>
> Akshay
>
>
>
> DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.



More information about the openstack-discuss mailing list