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

2018-02-08 Thread Dharmit Shah
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 a

Re: Absence of master-config.yaml

2018-02-08 Thread Gaurav Ojha
Never mind. Got it running. Thank you once again On Thu, Feb 8, 2018 at 4:35 PM, Gaurav Ojha wrote: > Sure thank you very much. This helped me solve a lot of my headaches. > > Just one last thing, I used *openshift start* with write-config and now > the config file is created inside openshift.l

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Dan Pungă
Yes, in fact your answer made me wonder about my config(and reference docs that I use, but that's my prob..:) ). Not to add to the confusion, but I use minishift, so a local cluster environment. Current OC version is 3.6.0 and Docker is 1.12. However I run my Docker tests on a separate installa

Re: Absence of master-config.yaml

2018-02-08 Thread Gaurav Ojha
Sure thank you very much. This helped me solve a lot of my headaches. Just one last thing, I used *openshift start* with write-config and now the config file is created inside openshift.local.config/master and I have made a few changes to it. So if my understanding is correct, whenever I start ope

Re: Absence of master-config.yaml

2018-02-08 Thread Graham Dumpleton
> On 9 Feb 2018, at 1:50 am, Cesar Wong wrote: > > If using cluster up, you will find the config by default both inside the > container and on the file system of the host at > /var/lib/origin/openshift.local.config/master Just be aware that if using Docker for Mac or Docker for Windows, the

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Ben Parees
On Thu, Feb 8, 2018 at 3:53 PM, Dan Pungă wrote: > I guess it does have to do with your Docker version. > I have: > > Client: > Version:17.12.0-ce > API version:1.35 > Go version:go1.9.2 > Git commit:c97c6d6 > Built:Wed Dec 27 20:11:19 2017 > OS/Arch:linux/amd64 > >

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Dan Pungă
I guess it does have to do with your Docker version. I have: Client:  Version:    17.12.0-ce  API version:    1.35  Go version:    go1.9.2  Git commit:    c97c6d6  Built:    Wed Dec 27 20:11:19 2017  OS/Arch:    linux/amd64 Server:  Engine:   Version:    17.12.0-ce   API version:    1.35 (minimu

Re: Parametrizing a BuildConfiguration with Docker ARGs

2018-02-08 Thread Ben Parees
On Wed, Feb 7, 2018 at 10:30 AM, Dan Pungă wrote: > Thanks for your answers Ben! > > And yes, apparently, I've skimmed through the docs with this bit, which > explains why the devs didn't have to implement handling ARGs before the > FROM instructions in Dockerfiles... :) So I'll just have to poin

Re: Absence of master-config.yaml

2018-02-08 Thread Cesar Wong
If using cluster up, you will find the config by default both inside the container and on the file system of the host at /var/lib/origin/openshift.local.config/master If you need to make a change to the master-config.yaml, start the cluster, bring it back down (with `oc cluster down`), make the ch

Re: Absence of master-config.yaml

2018-02-08 Thread Luke Meyer
On Thu, Feb 8, 2018 at 2:43 AM, Gaurav Ojha wrote: > Thank you for your reply. Just a couple more questions: > > >1. Is there any way to create this file when I launch by openshift >start? > > openshift start --write-config= ... (see --help and also note --master-config and --node-config