Skip to content

Instantly share code, notes, and snippets.

@jparrill
Last active September 21, 2018 08:17
Show Gist options
  • Select an option

  • Save jparrill/40ad2d7bbcda1b8b4cdf8de5aab613cf to your computer and use it in GitHub Desktop.

Select an option

Save jparrill/40ad2d7bbcda1b8b4cdf8de5aab613cf to your computer and use it in GitHub Desktop.
Internal dev push button with openshift-release

Internal Dev push button

This button is based on openshift/release and this one on openshift-ansible

Requirements

Issues

Origin 3.10

The problem here is maynly that Openshift Origin-Console image of 3.10 are not published on dockerhub, then in installation time when this TASK comes up: openshift_console : Waiting for console rollout to complete will make you wait until times out and failling after that. Usually fails here:

TASK [openshift_console : Waiting for console rollout to complete] ****************************************************************************************************
INSTALLER STATUS ******************************************************************************************************************************************************
Initialization               : Complete (0:00:53)
Health Check                 : Complete (0:00:48)
Node Bootstrap Preparation   : Complete (0:08:27)
etcd Install                 : Complete (0:01:49)
Load Balancer Install        : Complete (0:00:32)
Master Install               : Complete (0:07:16)
Master Additional Install    : Complete (0:02:11)
Node Join                    : Complete (0:00:57)
Hosted Install               : Complete (0:03:32)
Cluster Monitoring Operator  : Complete (0:03:28)
Web Console Install          : Complete (0:01:42)
Console Install              : In Progress (0:06:31)

To solve it just connect to the master node and modify the image tag of openshift-console from v3.10 to v3.11

oc edit deployment.apps/console -n openshift-console

Then wait until pod raise up.

NetworkManager Not installer

  • Modify deploy_cluster.yml file`adding this at first of the file:
- import_playbook: openshift-node/network_manager.yml

Origin 3.11

Installing OKD 3.11 with Upstream and CentOS 7.5 this is the error summary:

PLAY RECAP *******************************************************************************************************************************************************************************
lb0.ovirt.covenant         : ok=17   changed=0    unreachable=0    failed=0   
localhost                  : ok=12   changed=0    unreachable=0    failed=0   
master0.ovirt.covenant     : ok=40   changed=0    unreachable=0    failed=1   
node0.ovirt.covenant       : ok=18   changed=0    unreachable=0    failed=1   


INSTALLER STATUS *************************************************************************************************************************************************************************
Initialization  : Complete (0:02:55)
Health Check    : In Progress (0:09:23)
	This phase can be restarted by running: playbooks/openshift-checks/pre-install.yml


Failure summary:


  1. Hosts:    node0.ovirt.covenant
     Play:     OpenShift Health Checks
     Task:     Run health checks (install) - EL
     Message:  One or more checks failed
     Details:  check "docker_image_availability":
               One or more required container images are not available:
                   docker.io/cockpit/kubernetes:latest,
                   docker.io/openshift/origin-deployer:v3.11,
                   docker.io/openshift/origin-docker-registry:v3.11,
                   docker.io/openshift/origin-haproxy-router:v3.11,
                   docker.io/openshift/origin-pod:v3.11
               Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>
               
               
               check "package_version":
               Not all of the required packages are available at their requested version
               origin:3.11 
               origin-node:3.11 
               origin-master:3.11 
               Please check your subscriptions and enabled repositories.

  2. Hosts:    master0.ovirt.covenant
     Play:     OpenShift Health Checks
     Task:     Run health checks (install) - EL
     Message:  One or more checks failed
     Details:  check "docker_image_availability":
               One or more required container images are not available:
                   docker.io/cockpit/kubernetes:latest,
                   docker.io/openshift/origin-control-plane:v3.11,
                   docker.io/openshift/origin-deployer:v3.11,
                   docker.io/openshift/origin-docker-registry:v3.11,
                   docker.io/openshift/origin-haproxy-router:v3.11,
                   docker.io/openshift/origin-pod:v3.11,
                   quay.io/coreos/etcd:v3.2.22
               Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>
               
               
               check "package_version":
               Not all of the required packages are available at their requested version
               origin:3.11 
               origin-node:3.11 
               origin-master:3.11 
               Please check your subscriptions and enabled repositories.
  • ansible-playbook -i inventories/jparrill_inventory_nuc ../deploy_cluster.yml
PLAY RECAP ****************************************************************************************************************************************************************************************************************************
lb0.ovirt.covenant         : ok=35   changed=10   unreachable=0    failed=0   
localhost                  : ok=24   changed=0    unreachable=0    failed=0   
master0.ovirt.covenant     : ok=544  changed=226  unreachable=0    failed=0   
node0.ovirt.covenant       : ok=110  changed=51   unreachable=0    failed=0   


INSTALLER STATUS **********************************************************************************************************************************************************************************************************************
Initialization               : Complete (0:00:41)
Health Check                 : Complete (0:00:47)
Node Bootstrap Preparation   : Complete (0:07:39)
etcd Install                 : Complete (0:01:44)
Load Balancer Install        : Complete (0:00:28)
Master Install               : Complete (0:07:17)
Master Additional Install    : Complete (0:01:54)
Node Join                    : Complete (0:00:49)
Hosted Install               : Complete (0:03:21)
Cluster Monitoring Operator  : Complete (0:03:18)
Web Console Install          : Complete (0:02:36)
Console Install              : Complete (0:05:55)
metrics-server Install       : Complete (0:00:01)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment