[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to upgrade OpenShift cluster using openshift-ansible on CentOS?



Hi,

I tried once again on a fresh setup. What I tried to do was, setup a 3.6
cluster and tried to upgrade it to 3.7. But it failed.

Here's the hosts file [1] I used for setting up 3.6 cluster. The command
I used was:

  $ ansible-playbook -i hosts openshift-ansible/playbooks/byo/config.yml

Now, when trying to upgrade to 3.7, I just changed the references for
3.6 to 3.7 but, it failed. Here's the hosts file [2]. The command I used
was:

  $ ansible-playbook -i hosts openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml

What do I need to add/remove for cluster upgrade to work well?

Regards,

[1] http://pastebin.centos.org/557311/
[2] http://pastebin.centos.org/557321/

On 10/02, Dharmit Shah wrote:
> Hi Scott,
> 
> On 09/02, Scott Dodson wrote:
> > Can you try openshift_release=v3.7 ? that variable is intended to indicate
> > just the major.minor you wish to use.
> 
> It doesn't work with that. Here's the error:
> http://pastebin.centos.org/540661/
> 
> Regards,
> 
> > 
> > Hope this helps,
> > Scott
> > 
> > On Fri, Feb 9, 2018 at 12:03 AM, Dharmit Shah <dshah redhat com> wrote:
> > 
> > > Hi,
> > >
> > > I'm trying to upgrade my OpenShift cluster from v3.6 to v3.7. But it
> > > fails with the error "openshift_release is 3.7.0 which is not a valid
> > > release for a 3.7 upgrade" [1].
> > >
> > > OpenShift cluster I have was brought up off the "release-3.6" branch of
> > > openshift-ansible repo [2]. Ansible hosts file I am using is [3]. For
> > > doing v3.6 deployment, I had set `openshift_release=v3.6.0` in the same
> > > ansible hosts file.
> > >
> > > Command I'm using to do upgrade is:
> > >
> > > $ ansible-playbook openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml
> > > -vvv
> > >
> > > I executed above command after switching to "release-3.7" branch in the
> > > openshift-ansible directory.
> > >
> > > Not sure what I'm missing here. Do I need to use a different value for
> > > release?
> > >
> > > Regards,
> > >
> > > [1] http://pastebin.centos.org/538756/
> > > [2] https://github.com/openshift/openshift-ansible
> > > [3] http://pastebin.centos.org/538746/
> > > --
> > > Dharmit Shah
> > > Red Hat Developer Tools (https://developers.redhat.com/)
> > > irc: dharmit (#devtools, #centos, #pune)
> > >
> > > _______________________________________________
> > > users mailing list
> > > users lists openshift redhat com
> > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> > >
> 
> -- 
> Dharmit Shah
> Red Hat Developer Tools (https://developers.redhat.com/)
> irc, mattermost: dharmit

-- 
Dharmit Shah
Red Hat Developer Tools (https://developers.redhat.com/)
irc, mattermost: dharmit


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]