"No package busybox available." error when using centos7 ramdisk-image-create

Bug #1397073 reported by Pedro Sousa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Unassigned

Bug Description

Hi,

I'm trying to create a ramdisk for centos7 using this command:

#ramdisk-image-create centos7 discovery-ironic -o my-deploy-ramdisk

and I get this error:

dib-run-parts Thu Nov 27 18:07:12 UTC 2014 51-discovery-ironic-install-util-linux completed
dib-run-parts Thu Nov 27 18:07:12 UTC 2014 Running /tmp/in_target.d/install.d/52-ramdisk-install-busybox
Running install-packages install. Package list: busybox
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.dei.uc.pt
 * epel: mir01.syntis.net
 * extras: ftp.dei.uc.pt
 * updates: ftp.dei.uc.pt
No package busybox available.
Error: Nothing to do

Regards

Revision history for this message
Ben Nemec (bnemec) wrote :

To build a ramdisk on rhel or centos you need to pass '--ramdisk-element dracut-ramdisk' to disk-image-create. RHEL and Centos don't have busybox so they can't use the default ramdisk element.

So while this isn't really a bug, I do think it would be good to come up with some sort of better way to handle the error, which is why I'm leaving this open as opinion instead of closing it. Maybe we could add an explicit check to the ramdisk element and if busybox isn't available we could recommend the dracut version?

Changed in tripleo:
status: New → Opinion
importance: Undecided → Medium
Revision history for this message
Ben Nemec (bnemec) wrote :

https://review.openstack.org/#/c/138114/ should help somewhat with this.

Revision history for this message
Michele Baldessari (michele) wrote :

I think this has been mostly fixed via Change-Id: I57ea529cf387ab8ec8497d35be19ac64198df47a
I am closing it as two years have passed, but feel free to reopen it if you think it still makes sense to track this.

Changed in tripleo:
status: Opinion → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.