settingsLogin | Registersettings

[openstack-dev] [diskimage-builder] ramdisk-image-create fails for creating Centos/rhel images.

0 votes

Hi All,

I am trying to build Centos/rhel image for baremetal deployment using
ramdisk-image-create. I am using my build host as CentOS release 6.5
(Final).
It fails saying no busybox available.

Here are the logs for more information, Can anyone please help me on this.

Running ramdisk-image-create for centos7 using below command it fails to
install busybox. Attached output for more details.

sudo bin/ramdisk-image-create -a amd64 centos7 deploy-ironic -o
/tmp/deploy-ramdisk-centos7

Total
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 12:dhcp-libs-4.2.5-27.el7.centos.2.x8664
Updating : 12:dhcp-common-4.2.5-27.el7.centos.2.x86
64
Updating : 12:dhclient-4.2.5-27.el7.centos.2.x8664
Cleanup : 12:dhclient-4.2.5-27.el7.centos.x86
64
Cleanup : 12:dhcp-common-4.2.5-27.el7.centos.x8664
Cleanup : 12:dhcp-libs-4.2.5-27.el7.centos.x86
64
Verifying : 12:dhcp-libs-4.2.5-27.el7.centos.2.x8664
Verifying : 12:dhclient-4.2.5-27.el7.centos.2.x86
64
Verifying : 12:dhcp-common-4.2.5-27.el7.centos.2.x8664
Verifying : 12:dhclient-4.2.5-27.el7.centos.x86
64
Verifying : 12:dhcp-libs-4.2.5-27.el7.centos.x8664
Verifying : 12:dhcp-common-4.2.5-27.el7.centos.x86
64

Updated:
dhclient.x86_64 12:4.2.5-27.el7.centos.2

Dependency Updated:
dhcp-common.x8664 12:4.2.5-27.el7.centos.2
dhcp-libs.x86
64 12:4.2.5-27.e

Complete!
dib-run-parts Thu Oct 9 09:19:08 UTC 2014 20-install-dhcp-client completed
dib-run-parts Thu Oct 9 09:19:08 UTC 2014 Running
/tmp/intarget.d/install.d/50-store-build-settings
dib-run-parts Thu Oct 9 09:19:08 UTC 2014 50-store-build-settings completed
dib-run-parts Thu Oct 9 09:19:08 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: dallas.tx.mirror.xygenhosting.com
* epel: mirror.its.dal.ca
* extras: mirror.cs.vt.edu
* updates: mirrors.advancedhosters.com
No package busybox available.
Error: Nothing to do


Running ramdisk-image-create for rhel and rhel7 using below commands.
sudo bin/ramdisk-image-create -a amd64 rhel deploy-ironic -o
/tmp/deploy-ramdisk-rhel

sudo bin/ramdisk-image-create -a amd64 rhel7 deploy-ironic -o
/tmp/deploy-ramdisk-rhel

Here is the output.

  • subject: serialNumber=dmox-zPOCChZGgYyWu9xg8JTHSbjFg9P; C=US;
    ST=North Carolina; L=Raleigh; O=Red Hat Inc; OU=Web Operations; CN=*.
    redhat.com
  • start date: 2013-09-09 18:07:24 GMT
  • expire date: 2015-12-12 02:08:43 GMT
  • subjectAltName: rhn.redhat.com matched
  • issuer: C=US; O=GeoTrust, Inc.; CN=GeoTrust SSL CA
  • SSL certificate verify ok.
    > GET /rhel-guest-image-6.5-20140603.0.x86_64.qcow2 HTTP/1.0
    > User-Agent: curl/7.35.0
    > Host: rhn.redhat.com
    > Accept: */*
    >
    < HTTP/1.1 404 Not Found
    < Date: Thu, 09 Oct 2014 09:40:48 GMT
  • Server Apache is not blacklisted
    < Server: Apache
    < X-Frame-Options: SAMEORIGIN
    < Set-Cookie:
    pxt-session-cookie=4683981779x5ee55672220e170244faf07ecc0e558b; path=/;
    domain=rhn.redhat.com; expires=Fri, 10-Oct-2014 09:40:48 GMT; secure
    < Pragma: no-cache
    < Cache-control: no-cache
    < Content-Length: 50884
    < X-Trace: 1B6697A2F0D89CF2871A25B9CC6CA3D7A60410E1666F0EAEAB8E81F1FD
    < Connection: close
    < Content-Type: text/html; charset=UTF-8
    < Expires: Thu, 09 Oct 2014 09:40:48 GMT
    <
    { [data not shown]
    100 50884 100 50884 0 0 48390 0 0:00:01 0:00:01 --:--:--
    48390
  • Closing connection 1
  • SSLv3, TLS alert, Client hello (1):
    } [data not shown]
    Server returned an unexpected response code. [404]

--
Regards,
Harshada Kakad
--------------------------------------------------------------------
Sr. Software Engineer
C3/101, Saudamini Complex, Right Bhusari Colony, Paud Road, Pune ? 411013,
India

Mobile-9689187388
Email-Id : harshada.kakad at izeltech.com <harshada.kakad at izeltech.com>
website : www.izeltech.com http://www.izeltech.com

--
*****Disclaimer*****
The information contained in this e-mail and any attachment(s) to this
message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information of Izel
Technologies Pvt. Ltd. If you are not the intended recipient, you are
notified that any review, use, any form of reproduction, dissemination,
copying, disclosure, modification, distribution and/or publication of this
e-mail message, contents or its attachment(s) is strictly prohibited and
you are requested to notify us the same immediately by e-mail and delete
this mail immediately. Izel Technologies Pvt. Ltd accepts no liability for
virus infected e-mail or errors or omissions or consequences which may
arise as a result of this e-mail transmission.
*****End of Disclaimer*****
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openstack.org/pipermail/openstack-dev/attachments/20141211/b3fefffd/attachment.html

asked Dec 11, 2014 in openstack-dev by Harshada_Kakad (380 points)   1 2
retagged Jan 28, 2015 by admin

1 Response

0 votes

On 11/12/14 17:51, Harshada Kakad wrote:
I am trying to build Centos/rhel image for baremetal deployment using
ramdisk-image-create. I am using my build host as CentOS release 6.5
(Final).
It fails saying no busybox available.

The 'ramdisk' element in diskimage-builder requires busybox, which
CentOS/RHEL do not ship. You need to add '--ramdisk-element
dracut-ramdisk' to your command line.

--
Steve
In the beginning was the word, and the word was content-type: text/plain

responded Dec 15, 2014 by Steve_Kowalik (1,100 points)   1
...