[Rdo-list] [rdo-manager] bug while building images

Mohammed Arafa mohammed.arafa at gmail.com
Sun Jan 24 20:15:37 UTC 2016


### i was attempting to upload the images generated when i got this error

[stack at rdo3 ~]$ openstack overcloud image upload
Required file "./deploy-ramdisk-ironic.initramfs" does not exist.

### so i tried to build the image by itself and got this error

[stack at rdo3 images]$ openstack overcloud image build --type
ironic-python-agent
usage: openstack overcloud image build [-h] [--all] [--type <image type>]
                                       [--base-image BASE_IMAGE]
                                       [--instack-undercloud-elements
INSTACK_UNDERCLOUD_ELEMENTS]
                                       [--tripleo-puppet-elements
TRIPLEO_PUPPET_ELEMENTS]
                                       [--elements-path ELEMENTS_PATH]
                                       [--tmp-dir TMP_DIR]
                                       [--node-arch NODE_ARCH]
                                       [--node-dist NODE_DIST]
                                       [--registration-method REG_METHOD]
                                       [--use-delorean-trunk]
                                       [--delorean-trunk-repo
DELOREAN_TRUNK_REPO]
                                       [--delorean-repo-file
DELOREAN_REPO_FILE]
                                       [--overcloud-full-dib-extra-args
OVERCLOUD_FULL_DIB_EXTRA_ARGS]
                                       [--overcloud-full-name
OVERCLOUD_FULL_NAME]
                                       [--fedora-user-name FEDORA_USER_NAME]
                                       [--agent-name AGENT_NAME]
                                       [--deploy-name DEPLOY_NAME]
                                       [--discovery-name DISCOVERY_NAME]
                                       [--agent-image-element
AGENT_IMAGE_ELEMENT]
                                       [--deploy-image-element
DEPLOY_IMAGE_ELEMENT]
                                       [--discovery-image-element
DISCOVERY_IMAGE_ELEMENT]
                                       [--builder <builder>]
openstack overcloud image build: error: argument --type: invalid choice:
'ironic-python-agent' (choose from 'agent-ramdisk', 'deploy-ramdisk',
'discovery-ramdisk', 'fedora-user', 'overcloud-full')
[stack at rdo3 images]$

### ok thanks for the clarification (which wasnt in the --help!) so i ran
the _proper_ command and got this error

openstack overcloud image build --type agent-ramdisk


Running install-packages install. Package list:
openstack-ironic-python-agent
Loading "fastestmirror" plugin
Config time: 0.015
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: ba.mirror.garr.it
 * epel: fr2.rpmfind.net
 * extras: centos.fastbull.org
 * updates: mirrors.prometeus.net
pkgsack time: 6.760
Checking for virtual provide or file-provide for
openstack-ironic-python-agent
No package openstack-ironic-python-agent available.
Error: Nothing to do
[stack at rdo3 images]$ yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mi.mirror.garr.it
 * epel: mirror.imt-systems.com
 * extras: mirror.crazynetwork.it
 * updates: ba.mirror.garr.it
repo id                                               repo
name
status
base/7/x86_64                                         CentOS-7 -
Base                                                               9,007
epel/x86_64                                           Extra Packages for
Enterprise Linux 7 - x86_64                              9,276+1
extras/7/x86_64                                       CentOS-7 -
Extras                                                               191
openstack-liberty/x86_64                              OpenStack Liberty
Repository                                                    870
updates/7/x86_64                                      CentOS-7 -
Updates                                                              497
repolist: 19,841
[stack at rdo3 images]$


-- 

<https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>

*805010942448935*
<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>

*GR750055912MA*
<https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>

*Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rdo-list/attachments/20160124/fbbde64b/attachment.htm>


More information about the rdo-list mailing list