<div dir="ltr">Scott, I had to make similar changes to the release-1.4 branch to be able to upgrade a cluster running 1.3 to 1.4.<div><br></div><div>PR here <a href="https://github.com/openshift/openshift-ansible/pull/4604">https://github.com/openshift/openshift-ansible/pull/4604</a><br></div><div><br></div><div><div>I have manually patched the files from atomic-openshift-utils-3.4.59-2.git.2.76c5698.el7.noarch to be able to run the upgrade.</div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div>Jean-Francois C.</div></div></div></div>
<br><div class="gmail_quote">On Wed, Jun 21, 2017 at 2:16 PM, Jean-Francois Chevrette <span dir="ltr"><<a href="mailto:jchevret@redhat.com" target="_blank">jchevret@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Thanks Troy & Scott. I was able to run the upgrade from 1.4 to 1.5 w/o issues.</div><div class="gmail_extra"><br></div><div class="gmail_extra">One thing that didn't work though is when I ran `atomic-openshift-installer upgrade` I was presented with two options: 1) Upgrade to the latest 1.4 and 2) Upgrade to 1.5. When I selected 1), I got a stack trace at [1] because 1.4 is not a supported version anymore at [2].</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://github.com/openshift/openshift-ansible/blob/d1c04dd6c5a2b58013371f4c3865ddb30433573c/utils/src/ooinstall/openshift_ansible.py#L140-L141" target="_blank">https://github.com/<wbr>openshift/openshift-ansible/<wbr>blob/<wbr>d1c04dd6c5a2b58013371f4c3865dd<wbr>b30433573c/utils/src/<wbr>ooinstall/openshift_ansible.<wbr>py#L140-L141</a></div><div class="gmail_extra">[2] <a href="https://github.com/openshift/openshift-ansible/blob/d1c04dd6c5a2b58013371f4c3865ddb30433573c/utils/src/ooinstall/variants.py#L49-L51" target="_blank">https://github.com/openshift/<wbr>openshift-ansible/blob/<wbr>d1c04dd6c5a2b58013371f4c3865dd<wbr>b30433573c/utils/src/<wbr>ooinstall/variants.py#L49-L51</a></div><div class="gmail_extra"><br clear="all"><div><div class="m_1438851793809307933gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div>Jean-Francois C.</div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Tue, Jun 20, 2017 at 4:54 PM, Troy Dawson <span dir="ltr"><<a href="mailto:tdawson@redhat.com" target="_blank">tdawson@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have built one of the later 3.5 openshift-ansibles, and applied this<br>
patch to it.<br>
openshift-ansible-3.5.82-1.git<wbr>.1.f658b01.el7<br>
<br>
I've tagged it into testing, that might take up to 2 hours to get<br>
there.  But when it does, you should be able to do<br>
<br>
yum --enablerepo=centos-openshift-<wbr>origin15-testing clean all<br>
yum --enablerepo=centos-openshift-<wbr>origin15-testing update<br>
atomic-openshift-utils openshift-ansible\*<br>
<br>
After that, give it a try and let us know if allowed you to update.<br>
<br>
Troy<br>
<br>
<br>
On Tue, Jun 20, 2017 at 8:01 AM, Scott Dodson <<a href="mailto:sdodson@redhat.com" target="_blank">sdodson@redhat.com</a>> wrote:<br>
> Can you try this?<br>
><br>
> <a href="https://github.com/openshift/openshift-ansible/pull/4508" rel="noreferrer" target="_blank">https://github.com/openshift/o<wbr>penshift-ansible/pull/4508</a><br>
<div class="m_1438851793809307933HOEnZb"><div class="m_1438851793809307933h5">><br>
> On Tue, Jun 20, 2017 at 10:01 AM, Troy Dawson <<a href="mailto:tdawson@redhat.com" target="_blank">tdawson@redhat.com</a>> wrote:<br>
>><br>
>> On Tue, Jun 20, 2017 at 6:53 AM, Jean-Francois Chevrette<br>
>> <<a href="mailto:jchevret@redhat.com" target="_blank">jchevret@redhat.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > 3 months ago I have used atomic-openshift-utils/install<wbr>er to setup two<br>
>> > OpenShift origin 1.4 clusters. Today I discovered that I am unable to<br>
>> > upgrade from 1.4 to 1.5 because atomic-openshift-installer states that<br>
>> > "No<br>
>> > upgrades available for origin 1.4"<br>
>> ><br>
>> > atomic-openshift-utils-3.5.71-<wbr>1.git.1.640cb7d.el7.noarch<br>
>> > centos-release-openshift-origi<wbr>n15-1-1.el7.centos.noarch<br>
>> > openshift-ansible-3.5.71-1.git<wbr>.1.640cb7d.el7.noarch<br>
>> > openshift-ansible-callback-plu<wbr>gins-3.5.71-1.git.1.640cb7d.<wbr>el7.noarch<br>
>> > openshift-ansible-docs-3.5.71-<wbr>1.git.1.640cb7d.el7.noarch<br>
>> > openshift-ansible-filter-plugi<wbr>ns-3.5.71-1.git.1.640cb7d.el7.<wbr>noarch<br>
>> > openshift-ansible-lookup-plugi<wbr>ns-3.5.71-1.git.1.640cb7d.el7.<wbr>noarch<br>
>> > openshift-ansible-playbooks-3.<wbr>5.71-1.git.1.640cb7d.el7.noarc<wbr>h<br>
>> > openshift-ansible-roles-3.5.71<wbr>-1.git.1.640cb7d.el7.noarch<br>
>> ><br>
>> > 1.5 is in the list of supported install variants here:<br>
>> > /usr/lib/python2.7/site-packag<wbr>es/ooinstall/variants.py<br>
>> ><br>
>> > However the UPGRADE_MAPPINGS list in<br>
>> > /usr/lib/python2.7/site-packag<wbr>es/ooinstall/cli_installer.py only has<br>
>> > upgrade<br>
>> > paths for 3.4 and 3.5<br>
>> ><br>
>> > Is upgrading between origin releases simply not supported/possible?<br>
>> ><br>
>> ><br>
>> > Thanks,<br>
>> > Jean-Francois C.<br>
>> ><br>
>><br>
>> Sounds like a bug to me.<br>
>> Maybe we need to do a few more tweeks to atomic-openshift than I thought.<br>
>> I'm cc'ing Scott Dodson on this to see what the official stance is on<br>
>> this.<br>
>><br>
>> Troy<br>
><br>
><br>
______________________________<wbr>_________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/centos-devel</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>