[ironic][tripleo][ussuri] Problem with bare metal provisioning and old RAID controllers

Dmitry Tantsur dtantsur at redhat.com
Tue Aug 4 10:30:04 UTC 2020


Hi,

On Tue, Aug 4, 2020 at 11:58 AM Marco Marino <marino.mrc at gmail.com> wrote:

> Hi, I'm trying to install openstack Ussuri on Centos 8 hardware using
> tripleo. I'm using a relatively old hardware (dell PowerEdge R620) with old
> RAID controllers, deprecated in RHEL8/Centos8. Here is some basic
> information:
> # lspci | grep -i raid
> 00:1f.2 RAID bus controller: Intel Corporation C600/X79 series chipset
> SATA RAID Controller (rev 05)
> 02:00.0 RAID bus controller: Broadcom / LSI MegaRAID SAS 2008 [Falcon]
> (rev 03)
>
> I'm able to manually install centos 8 using DUD driver from here ->
> https://elrepo.org/linux/dud/el8/x86_64/dd-megaraid_sas-07.710.50.00-1.el8_2.elrepo.iso
> (basically I add inst.dd and I use an usb pendrive with iso).
> Is there a way to do bare metal provisioning using openstack on this kind
> of server? At the moment, when I launch "openstack overcloud node
> introspect --provide controller1" it doesn't recognize disks (local_gb = 0
> in properties) and in inspector logs I see:
> Jun 22 11:12:42 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:42.261 1543 DEBUG root [-] Still waiting for the root
> device to appear, attempt 1 of 10 wait_for_disks
> /usr/lib/python3.6/site-packages/ironic_python_agent/hardware.py:652
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.299 1543 DEBUG oslo_concurrency.processutils [-]
> Running cmd (subprocess): udevadm settle execute
> /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:372
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.357 1543 DEBUG oslo_concurrency.processutils [-] CMD
> "udevadm settle" returned: 0 in 0.058s execute
> /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:409
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.392 1543 DEBUG ironic_lib.utils [-] Execution
> completed, command line is "udevadm settle" execute
> /usr/lib/python3.6/site-packages/ironic_lib/utils.py:101
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.426 1543 DEBUG ironic_lib.utils [-] Command stdout is:
> "" execute /usr/lib/python3.6/site-packages/ironic_lib/utils.py:103
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.460 1543 DEBUG ironic_lib.utils [-] Command stderr is:
> "" execute /usr/lib/python3.6/site-packages/ironic_lib/utils.py:104
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.496 1543 WARNING root [-] Path /dev/disk/by-path is
> inaccessible, /dev/disk/by-path/* version of block device name is
> unavailable Cause: [Errno 2] No such file or directory:
> '/dev/disk/by-path': FileNotFoundError: [Errno 2] No such file or
> directory: '/dev/disk/by-path'
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.549 1543 DEBUG oslo_concurrency.processutils [-]
> Running cmd (subprocess): lsblk -Pbia -oKNAME,MODEL,SIZE,ROTA,TYPE execute
> /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:372
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.647 1543 DEBUG oslo_concurrency.processutils [-] CMD
> "lsblk -Pbia -oKNAME,MODEL,SIZE,ROTA,TYPE" returned: 0 in 0.097s execute
> /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:409
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.683 1543 DEBUG ironic_lib.utils [-] Execution
> completed, command line is "lsblk -Pbia -oKNAME,MODEL,SIZE,ROTA,TYPE"
> execute /usr/lib/python3.6/site-packages/ironic_lib/utils.py:101
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.719 1543 DEBUG ironic_lib.utils [-] Command stdout is:
> "" execute /usr/lib/python3.6/site-packages/ironic_lib/utils.py:103
> Jun 22 11:12:45 localhost.localdomain ironic-python-agent[1543]:
> 2018-06-22 11:12:45.755 1543 DEBUG ironic_lib.utils [-] Command stderr is:
> "" execute /usr/lib/python3.6/site-packages/ironic_lib/utils.py:104
>
> Is there a way to solve the issue? For example, can I modify ramdisk and
> include DUD driver? I tried this guide:
> https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/partner_integration/overcloud_images#initrd_modifying_the_initial_ramdisks
>
> but I don't know how to include an ISO instead of an rpm packet as
> described in the example.
>

Indeed, I don't think you can use ISO as it is, you'll need to figure out
what is inside. If it's an RPM (as I assume), you'll need to extract it and
install into the ramdisk.

If nothing helps, you can try building a ramdisk with CentOS 7, the (very)
recent versions of ironic-python-agent-builder allow using Python 3 on
CentOS 7.

Dmitry


> Thank you,
> Marco
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200804/3539416c/attachment.html>


More information about the openstack-discuss mailing list