Node deployment failed due to WWN [tinyipa]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Low
|
Unassigned |
Bug Description
### Describe the bug
* Currently I am looking out a way to speed up my deployment process,
* If I use custom IPA images build with [1], and corresponding generated images [2], I am able to provision the baremetal node.
* Do not see issue for WWN [deploy.
* Only the case I do see is
A) ipa.initramfs is almost 1G in size.
B) And slowness in deployment, [scans all hardware and then report back, slowing down]
c) DHCP for all networks,
* Here is my <>.json file that I am using for enrolment. [3]
[1]
~~~
ironic-
~~~
[2]
~~~
()[root@spare httpboot]# ls -lhrt ubu_ipa/
total 983M
-rw-r--r-- 1 root root 971M May 9 05:52 ipa.initramfs
-rw-r--r-- 1 ironic ironic 12M May 9 05:52 ipa.kernel
-rw-r--r-- 1 root root 94 May 9 07:27 ipa.kernel.sha256
-rw-r--r-- 1 root root 96 May 9 07:28 ipa.initramfs.
()[root@spare httpboot]#
~~~
[3]
~~~
{
"baremetal1": {
"name": "baremetal1",
"driver": "ipmi",
"
},
"
"
"
"
"
"nics": [
{
"mac": "14:23:f2:79:2b:xx"
}
],
"properties": {
"cpu_arch": "x86_64",
},
"
}
}
}
}
}
~~~
* If I use TinyIPA [1], deployment is failing [2], Noting down here, no config change only ipa images changes.
* TinyIPA is not able to find out WWN root device hints.
[1]
~~~
()[root@spare httpboot]# ls -lhrt tiny/
total 205M
-rw-r--r-- 1 root root 5.3M May 6 11:36 ipa.kernel
-rw-r--r-- 1 root root 200M May 6 11:36 ipa.initramfs
()[root@spare httpboot]#
~~~
[2]
~~~
May 17 15:32:17 spare.clear-
~~~
#### Expectation
* We know Tiny images are not suitable for production, but to test the functionality, it should work.
* Looking out for a confirmation If we can use tiny images to test baremetal provisioning like the above emntioned.
#### Blocker:
* If I use custom IPA total deployment time is around 12 min.
Thanks,
cNilesh.
Greetings!
The difference is in large part block device utilities we utilize to collect that data, where in TinyIPA they have a number of limitations which can reflect in ways such as this. TinyIPA is also only intended for CI testing of ironic, and should never be used for physical baremetal deployment.
You *really* should be building an IPA image or using non-tinyipa built image. For example https:/ /tarballs. opendev. org/openstack/ ironic- python- agent/dib/ ipa-centos9- master. tar.gz is Centos9 based and should work for you.
When you say if you build a custom image, it takes 12 minutes to deploy. Can you provide us some details? We've seen some issues in the past with hosts where numerous network interfaces can take a long time to resolve for network connectivity. If you can breakdown what is taking so long with the overall host, we might be able to help provide a solution.
-Julia