Skip to content

local installation failed due to a new OC binary version #270

@irosenzw

Description

@irosenzw

Running the script on a centos 7.5 VM and getting the following error:

TASK [openshift_setup : debug] ************************************************************************************************************************************************************************************
ok: [localhost] => {
"msg": "Looking at oc cluster up command: '/root/bin/oc cluster up --routing-suffix=192.168.100.90.nip.io --public-hostname=192.168.100.90 --base-dir=/tmp/openshift.local.clusterup --tag=v3.11 --image=docker.io/openshift/origin-\${component}:\${version} --enable=service-catalog,router,registry,web-console,persistent-volumes,sample-templates,rhel-imagestreams,automation-service-broker,template-service-broker'"
}

TASK [openshift_setup : Run oc cluster up to start the cluster] ***************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/root/bin/oc cluster down && /root/bin/oc cluster up --routing-suffix=192.168.100.90.nip.io --public-hostname=192.168.100.90 --base-dir=/tmp/openshift.local.clusterup --tag=v3.11 --image=docker.io/openshift/origin-\${component}:\${version} --enable=service-catalog,router,registry,web-console,persistent-volumes,sample-templates,rhel-imagestreams,automation-service-broker,template-service-broker", "delta": "0:00:00.215353", "end": "2018-10-16 02:41:17.937460", "msg": "non-zero return code", "rc": 1, "start": "2018-10-16 02:41:17.722107", "stderr": "Error: unknown flag: --routing-suffix\n\n\nUsage:\n oc cluster up [flags]\n\nExamples:\n # Start OpenShift using a specific public host name\n oc cluster up --public-hostname=my.address.example.com\n\nOptions:\n --base-dir='': Directory on Docker host for cluster up configuration\n --image='openshift/origin-${component}:${version}': Specify the images to use for OpenShift\n --public-hostname='': Public hostname for OpenShift cluster\n --server-loglevel=0: Log level for OpenShift server\n\nUse "oc options" for a list of global command-line options (applies to all commands).", "stderr_lines": ["Error: unknown flag: --routing-suffix", "", "", "Usage:", " oc cluster up [flags]", "", "Examples:", " # Start OpenShift using a specific public host name", " oc cluster up --public-hostname=my.address.example.com", "", "Options:", " --base-dir='': Directory on Docker host for cluster up configuration", " --image='openshift/origin-${component}:${version}': Specify the images to use for OpenShift", " --public-hostname='': Public hostname for OpenShift cluster", " --server-loglevel=0: Log level for OpenShift server", "", "Use "oc options" for a list of global command-line options (applies to all commands)."], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/root/catasb/ansible/setup_local_environment.retry

PLAY RECAP ********************************************************************************************************************************************************************************************************
localhost : ok=43 changed=12 unreachable=0 failed=1

You can see that the OC binary uploaded to https://apb-oc.s3.amazonaws.com/ was changed today (16.10.2018) and the OC version was changed from 3.11-alpha to 4.0-alpha.

[root@localhost ~]# oc version
oc v4.0.0-alpha.0+6f594bd-337
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions