[rdo-users] TripleO installation failures

Alex Schultz aschultz at redhat.com
Wed Dec 19 16:50:20 UTC 2018


On Wed, Dec 19, 2018 at 9:45 AM Alex Schultz <aschultz at redhat.com> wrote:
>
> On Wed, Dec 19, 2018 at 9:44 AM Andreas Kasenides
> <andreas.kasenides at cs.ucy.ac.cy> wrote:
> >
> > On 19/12/2018 11:11, Steven Hardy wrote:
> >
> > On Wed, Dec 19, 2018 at 8:41 AM Andreas Kasenides
> > <andreas.kasenides at cs.ucy.ac.cy> wrote:
> >
> > Thank you all. All comments very much appreciated. Here is how we attempt to install:
> > - we start from a minimal CentOS 7 install, latest and updated on the undercloud machine
> > - the network is pretty much standard from the manual and is available here: https://drive.google.com/file/d/1x57_tmMU9yOaJlFFepn3-gNASTR-oI1R/view?usp=sharing
> > - we follow closely the TripleO instal manual
> > - repos are enabled with: sudo yum install centos-release-openstack-rocky
> >
> > This may be the problem - you should use the tripleo-repos tool to
> > ensure the latest/correct RDO repos are enabled, I don't think we
> > document centos-release-openstack-rocky anywhere in the tripleo docs?
> >
> > https://docs.openstack.org/tripleo-docs/latest/install/installation/installation.html#installing-the-undercloud
> >
> >
> > As I retrace our steps into what caused the installation troubles in the first place I notice the following in the undercloud install manual:
> >
> > At bullet point "2. Enable needed repositories" and under the RHEL box
> >
> > "Download and install the python2-tripleo-repos RPM from the current RDO repository. For example"
> >
> > "sudo yum install -y https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-<version>.el7.centos.noarch.rpm"
> >
> > What should <version> be? rocky? Then the install fails with
> >
> > [root at pallas ~]# yum install https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm
> > Loaded plugins: fastestmirror
> > Cannot open: https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm. Skipping.
> > Error: Nothing to do
> >
> > Looking at https://trunk.rdoproject.org/centos7/current/ I see that there is a python2-tripleo-repos-0.0.1-0.20181218212820.a5b709e.el7.noarch.rpm. Is this the one?
> >
>
> The tripleo-repos package is not versioned for the release. Any rpm will do.
>
> sudo rpm -ivh https://trunk.rdoproject.org/centos7-master/current/python2-tripleo-repos-0.0.1-0.20181218212820.a5b709e.el7.noarch.rpm
> sudo tripleo-repos -b rocky current
>

Also since current can move, you can also do it this way via ansible:

https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/tasks/tripleo-repos.yml

with tripleo_repos_repo_file_url is the delorean.repo out of current/
or current-tripleo

https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/defaults/main.yml#L4

> > best wishes.
> >
> > --
> > Andreas Kasenides
> > Senior IT Officer
> > Dept. of Computer Science,
> > University of Cyprus
> > http://www.cs.ucy.ac.cy/~ank
> > Tel: 22892714, Fax: 22892701
> >
> > _______________________________________________
> > users mailing list
> > users at lists.rdoproject.org
> > http://lists.rdoproject.org/mailman/listinfo/users
> >
> > To unsubscribe: users-unsubscribe at lists.rdoproject.org


More information about the users mailing list