TripleO Train CentOS7 Overcloud Ironic reports "Clean Failed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
Description
===========
TripleO Centos7 Train/Current deploys Ironic on overcloud using the supplied templates
-e /usr/share/
-e /usr/share/
The configuration is 3 Controllers,3 Compute,3 Ceph-Storage with SSL Public Endpoints and OVN (onv-ha-dvr).
After following all of the documented instructions and scripts for deploying Ironic Baremetal as-a Service with Openstack Train – CentOS7 the baremetal node successfully enrols, but then fails all provisioning steps that require node cleaning.
It displays “Cleaning” then "Clean Failed" before showing the following error.
Error: Detected change in error condition on node baremetal-0. Failed to prepare node 9101f6cc-
Steps to reproduce
==================
Here are the steps followed;
1) ENROL THE BAREMETAL NODE
openstack baremetal create overcloud-
2) CREATE THE DEFAULT BAREMETAL NETWORK & SUBNET
openstack network create --share --provider-
openstack subnet create --network provisioning --subnet-range 10.x.x.0/24 --gateway 10.x.x.x --allocation-pool start=10.
3) SET THE PROPERTIES OF THE NEW BAREMETAL NODE
openstack baremetal node set baremetal-0 --property local_gb=100 --property cpu_arch=x86_64 --property capabilities=
openstack baremetal node set baremetal-0 --property cpus=4 --property memory_mb=4096
4) CREATE A BAREMETAL FLAVOUR (This one is a test one)
openstack flavor create --id auto --ram 4096 --vcpus 4 --disk 100 --property baremetal=true --public baremmetal-test
5) CREATE THE BAREMETAL DEPLOY IMAGES (KERNEL then RAMDISK)
openstack image create --container-format aki --disk-format aki --public --file /var/lib/
openstack image create --container-format ari --disk-format ari --public --file /var/lib/
6) INSTALL THE USER IMAGES (These are CentOS8.2 images; Kernel, Ramdisk, Image)
RAMDISK_
--file centos82-
--container-format ari --disk-format ari \
-f value -c id centos82-
KERNEL_
--file centos82-
--container-format aki --disk-format aki \
-f value -c id centos82-
openstack image create --file centos82-
7) SPECIFY THE DEPLOY KERNEL AND DEPLOY RAMDISK
openstack baremetal node set baremetal-0 --driver-info deploy_
8) PROVISION THE NODE
openstack baremetal node manage baremetal-0
openstack baremetal node provide baremetal-0
(After this command the provisioning action "node provide" fails. Horizon shows the error described)
Expected Result
===============
The status should show "Cleaning", then "Available", meaning that the Node is ready for use as an overcloud deployment node (i.e. Baremetal compute node).