<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hmm that step(<span class="gmail-im">"sudo yum install -y <a href="https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-</a><version>.el7.centos.noarch.rpm"</span>) can confuse users as they don't know what <version> to use and will required to manually get version by tracing the url, Following can be used:</div><div><br></div><div>sudo yum -y install --repofrompath=tmp,<a href="https://trunk.rdoproject.org/centos7/current/">https://trunk.rdoproject.org/centos7/current/</a> --disablerepo=* --enablerepo=tmp python2-tripleo-repos</div><div><br></div><div>@Alex wdyt to use ^^ in docs?<br></div><div><br></div><div>@Andreas, Just to be exact the issue u faced with centos-rocky packages, Following is the commit that is in stable/rocky but not in centos-rocky mirror:-</div><div><a href="https://github.com/openstack/puppet-ironic/commit/0ed395e5887b12c44e50b5b8b157059055eda3ea">https://github.com/openstack/puppet-ironic/commit/0ed395e5887b12c44e50b5b8b157059055eda3ea</a> <br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 19, 2018 at 10:21 PM Alex Schultz <<a href="mailto:aschultz@redhat.com">aschultz@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Dec 19, 2018 at 9:45 AM Alex Schultz <<a href="mailto:aschultz@redhat.com" target="_blank">aschultz@redhat.com</a>> wrote:<br>
><br>
> On Wed, Dec 19, 2018 at 9:44 AM Andreas Kasenides<br>
> <<a href="mailto:andreas.kasenides@cs.ucy.ac.cy" target="_blank">andreas.kasenides@cs.ucy.ac.cy</a>> wrote:<br>
> ><br>
> > On 19/12/2018 11:11, Steven Hardy wrote:<br>
> ><br>
> > On Wed, Dec 19, 2018 at 8:41 AM Andreas Kasenides<br>
> > <<a href="mailto:andreas.kasenides@cs.ucy.ac.cy" target="_blank">andreas.kasenides@cs.ucy.ac.cy</a>> wrote:<br>
> ><br>
> > Thank you all. All comments very much appreciated. Here is how we attempt to install:<br>
> > - we start from a minimal CentOS 7 install, latest and updated on the undercloud machine<br>
> > - the network is pretty much standard from the manual and is available here: <a href="https://drive.google.com/file/d/1x57_tmMU9yOaJlFFepn3-gNASTR-oI1R/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/d/1x57_tmMU9yOaJlFFepn3-gNASTR-oI1R/view?usp=sharing</a><br>
> > - we follow closely the TripleO instal manual<br>
> > - repos are enabled with: sudo yum install centos-release-openstack-rocky<br>
> ><br>
> > This may be the problem - you should use the tripleo-repos tool to<br>
> > ensure the latest/correct RDO repos are enabled, I don't think we<br>
> > document centos-release-openstack-rocky anywhere in the tripleo docs?<br>
> ><br>
> > <a href="https://docs.openstack.org/tripleo-docs/latest/install/installation/installation.html#installing-the-undercloud" rel="noreferrer" target="_blank">https://docs.openstack.org/tripleo-docs/latest/install/installation/installation.html#installing-the-undercloud</a><br>
> ><br>
> ><br>
> > As I retrace our steps into what caused the installation troubles in the first place I notice the following in the undercloud install manual:<br>
> ><br>
> > At bullet point "2. Enable needed repositories" and under the RHEL box<br>
> ><br>
> > "Download and install the python2-tripleo-repos RPM from the current RDO repository. For example"<br>
> ><br>
> > "sudo yum install -y <a href="https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-</a><version>.el7.centos.noarch.rpm"<br>
> ><br>
> > What should <version> be? rocky? Then the install fails with<br>
> ><br>
> > [root@pallas ~]# yum install <a href="https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm</a><br>
> > Loaded plugins: fastestmirror<br>
> > Cannot open: <a href="https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-rocky.el7.centos.noarch.rpm</a>. Skipping.<br>
> > Error: Nothing to do<br>
> ><br>
> > Looking at <a href="https://trunk.rdoproject.org/centos7/current/" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7/current/</a> I see that there is a python2-tripleo-repos-0.0.1-0.20181218212820.a5b709e.el7.noarch.rpm. Is this the one?<br>
> ><br>
><br>
> The tripleo-repos package is not versioned for the release. Any rpm will do.<br>
><br>
> sudo rpm -ivh <a href="https://trunk.rdoproject.org/centos7-master/current/python2-tripleo-repos-0.0.1-0.20181218212820.a5b709e.el7.noarch.rpm" rel="noreferrer" target="_blank">https://trunk.rdoproject.org/centos7-master/current/python2-tripleo-repos-0.0.1-0.20181218212820.a5b709e.el7.noarch.rpm</a><br>
> sudo tripleo-repos -b rocky current<br>
><br>
<br>
Also since current can move, you can also do it this way via ansible:<br>
<br>
<a href="https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/tasks/tripleo-repos.yml" rel="noreferrer" target="_blank">https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/tasks/tripleo-repos.yml</a><br>
<br>
with tripleo_repos_repo_file_url is the delorean.repo out of current/<br>
or current-tripleo<br>
<br>
<a href="https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/defaults/main.yml#L4" rel="noreferrer" target="_blank">https://github.com/mwhahaha/ansible-ovb/blob/master/roles/undercloud-repo-setup/defaults/main.yml#L4</a><br>
<br>
> > best wishes.<br>
> ><br>
> > --<br>
> > Andreas Kasenides<br>
> > Senior IT Officer<br>
> > Dept. of Computer Science,<br>
> > University of Cyprus<br>
> > <a href="http://www.cs.ucy.ac.cy/~ank" rel="noreferrer" target="_blank">http://www.cs.ucy.ac.cy/~ank</a><br>
> > Tel: 22892714, Fax: 22892701<br>
> ><br>
> > _______________________________________________<br>
> > users mailing list<br>
> > <a href="mailto:users@lists.rdoproject.org" target="_blank">users@lists.rdoproject.org</a><br>
> > <a href="http://lists.rdoproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rdoproject.org/mailman/listinfo/users</a><br>
> ><br>
> > To unsubscribe: <a href="mailto:users-unsubscribe@lists.rdoproject.org" target="_blank">users-unsubscribe@lists.rdoproject.org</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.rdoproject.org" target="_blank">users@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rdoproject.org/mailman/listinfo/users</a><br>
<br>
To unsubscribe: <a href="mailto:users-unsubscribe@lists.rdoproject.org" target="_blank">users-unsubscribe@lists.rdoproject.org</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Yatin Karel</div></div>