Ask Your Question
0

which repo should i use for "openstack overcloud image build --all"

asked 2016-07-18 12:31:36 -0500

foo gravatar image

updated 2016-07-18 16:30:01 -0500

dbaxps gravatar image

Hi, I've been trying to use the "stable" liberty repo in the tripleo docs to build my images for my deployment. But everytime i attempt to build the images, it never seems to build the "ironic" images. I'm trying to build the images from my undercloud:

sudo yum -y install epel-release
sudo curl -L -o /etc/yum.repos.d/delorean-liberty.repo https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo
sudo curl -L -o /etc/yum.repos.d/delorean-deps-liberty.repo http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo
sudo yum -y install yum-plugin-priorities

===========================================

source /home/stack/stackrc
export NODE_DIST=centos7
export USE_DELOREAN_TRUNK=1
export DELOREAN_TRUNK_REPO="http://trunk.rdoproject.org/centos7-liberty/current/"
export DELOREAN_REPO_FILE="delorean.repo"
export RDO_RELEASE=liberty
openstack overcloud image build --all

============================================

[stack@undercloud images]$ openstack overcloud image upload
Required file "/home/stack/images/ironic-python-agent.initramfs" does not exist.
[stack@undercloud images]$

If i point my repo to the latest in the tripleo docs, i can get the images to build, but i get inconsistent deploys. What i mean by that is the image will deploy to the node, but on reboot of the overcloud VM, I get the error "not a correct xfs inode" on the console and its unrecoverable. The odd thing is that if i delete the stack and re-deploy, it might work the second or third time and be fine after the reboot.

My environment is being installed totally in a single node KVM environment. Any help would be appreciated. Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-18 16:45:45 -0500

dbaxps gravatar image

updated 2016-07-18 16:48:39 -0500

Using field as comment. Try this way
1.First apply patch
https://review.openstack.org/gitweb?p...

==================================================

2. cd /usr/lib/python2.7/site-packages/tripleoclient/ Edit tests/v1/overcloud_image/test_overcloud_image.py and remove rdo-release occurences Edit v1/overcloud_image.py and remove lines - env_vars['RDO_RELEASE'] = 'kilo' - 'rdo-release', ( seems to be in patch above )

==================================================

3. In  /usr/share/tripleo-image-elements/delorean-repo/pre-install.d/01-delorean-repo
Modify the curl line for rhel and centos to:
curl http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo  -o  /etc/yum.repos.d/delorean-deps.repo

4.Use for Delorean environment

export USE_DELOREAN_TRUNK=1
export DELOREAN_TRUNK_REPO="http://trunk.rdoproject.org/centos7-liberty/current-passed-ci/"
export DELOREAN_REPO_FILE="delorean.repo"
edit flag offensive delete link more

Comments

There are 2 logs that were produced and no images: "dib-agent-ramdisk.log dib-overcloud-full.log" At the end of the logs: ... File contains no section headers. file: file:///etc/yum.repos.d/centos-cloud-rdo.repo, line: 1 '\ ...

foo gravatar imagefoo ( 2016-07-18 21:13:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-07-18 12:31:36 -0500

Seen: 605 times

Last updated: Jul 18 '16