When enabling network isolation, openshift-ansible picks the wrong ip
address as the default IP for the services. Set the IP to the ctrlplane
network by default, which works with and without network isolation.
Change-Id: I0deef6c2a71c1f2a34e6efed9586bbaa052b49c9
This allows deploying openshift from the packaged openshift-ansible or
from a git checkout more easily, by setting the
OpenShiftAnsiblePlaybook heat environment variable.
Change-Id: I60594faa10dfd817d94038b3938d7de269330e2e
We're deploying containerized OpenShift, which means openshift-ansible
deploys also containerized OVS. When not disabled explicitly, the bare
metal OVS service seemed to persist at least partially, and it likely
caused issues with the containerized OVS, where nodes in `kubectl get
nodes` would go from Ready status to NotReady shortly after the
deployment finished.
Change-Id: I8952198be7f78a699cf363af2e10f26714e94850
Closes-Bug: #1741224
Some of the options that had been hard-coded in the openshift-master
template should be configuratble in a per-deployment bases. This patch
moves them out into an environment file instead.
Change-Id: I4b6f6180b11f36b1212b9e887365a99b6ae12017
This will allow arbitrary config of global variables for
openshift-ansible, e.g. customizing SDN params according to:
https://docs.openshift.org/3.6/install_config/configuring_sdn.html
Also remove the setting which was meant to disable OVS service
handlers in openshift-ansible -- that wouldn't solve the problem
fully.
Change-Id: Ib87e5d38797da166826af90659e3d05da3352dcf
Related-Bug: #1741224
Packages and repositories for openshift 3.7 have been created already.
I've updated the version we are installing and tested this manually.
Change-Id: Id09242b637ca2a060f068887e10981eecaa59e4a
Make sure nodes have, at least, the region and zone labels to allow for
deployments to schedule infra PODs on them.
Change-Id: If3849a46391cfac7eb5dd556d5b65c831026a95c
The output comes from ansible and is already fully readable as it is.
Also, because the previous task didn't have the 'failed_when: false'
directive, it would never reach the 'print xxx outputs' task in case of
failure, while showing the output twice on success.
It is safe to just delete the task.
Change-Id: I56b44aec0a549e184f46344ea362f655ab80b3b0
By default OpenShift won't allow scheduling on masters. We'll want to
deploy OpenStack pods on the controllers so we need this enabled, and
we'll need this for CI too.
Change-Id: Ia4190a23c04bda52b17eac50e57da891af615ff4
There are still some templates with the wrong
alias name. This patch updates them with the
correct version.
Change-Id: I43549ac98f3736029d4aaad1ead745caf40f9299
Add external_deploy_tasks for OpenShift installation. This makes
OpenShift installation work with the config download mechanism.
Co-Authored-By: Jiri Stransky <jistr@redhat.com>
Depends-On: I9786f1a27cb7c765211dffe0ea06afd75f8e5275
Change-Id: I4c995dcfd97b5c9ccb751862ff77ab785ad0ac5b