DescriptionSudarshan Chaudhari
2018-09-18 13:23:33 UTC
Description of problem:
A customer upgrading the env form OCP 3.9 to OCP 3.10 on the disconnected environment using the satellite server to provide the required images.
Inventory is properly configured with oreg_url
Error from ansible logs:
~~~
CHECK [memory_availability : master01.ocp-cluster.internal] *****************************************************************************************************************************************************************************************************************
fatal: [master01.ocp-cluster.internal]: FAILED! => {"changed": false, "checks": {"disk_availability": {}, "docker_image_availability": {"failed": true, "failures": [["OpenShiftCheckException", "One or more required container images are not available:\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-deployer:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-docker-registry:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-haproxy-router:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.access.redhat.com\nFailed connecting to: registry.access.redhat.com\n"]], "msg": "One or more required container images are not available:\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-deployer:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-docker-registry:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-haproxy-router:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.access.redhat.com\nFailed connecting to: registry.access.redhat.com\n"}, "docker_storage": {}, "memory_availability": {}, "package_availability": {"changed": false, "invocation": {"module_args": {"packages": ["PyYAML", "atomic-openshift", "atomic-openshift-clients", "atomic-openshift-master", "atomic-openshift-node", "atomic-openshift-sdn-ovs", "bash-completion", "bind", "ceph-common", "cockpit-bridge", "cockpit-docker", "cockpit-system", "cockpit-ws", "dnsmasq", "docker", "etcd", "firewalld", "flannel", "glusterfs-fuse", "httpd-tools", "iptables", "iptables-services", "iscsi-initiator-utils", "libselinux-python", "nfs-utils", "ntp", "openssl", "pyparted", "python-httplib2", "yum-utils"]}}}, "package_update": {"changed": false, "invocation": {"module_args": {"packages": []}}}, "package_version": {"changed": false, "invocation": {"module_args": {"package_list": [{"check_multi": true, "name": "atomic-openshift", "version": ""}, {"check_multi": true, "name": "atomic-openshift-master", "version": ""}, {"check_multi": true, "name": "atomic-openshift-node", "version": ""}], "package_mgr": "yum"}}}}, "msg": "One or more checks failed", "playbook_context": "pre-install"}
~~~
Actual results:
The playbook failed on this task and for this the variable: openshift_disable_check: "docker_image_availability" to inventory
Expected results:
The task should not fail as proper oreg_url is specified
Description of problem:
Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated
Expected results:
Additional info:
Please attach logs from ansible-playbook with the -vvv flag
Do those images not exist at the path specified? If they exist at a different path what's that path?
What's the value for oreg_url? I assume
oreg_url=satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-${component}:${version}
Per comment 25 this is fixed in the latest 3.10 and 3.11 builds. Anyone using releases previous to that should simply disable the check as a workaround.
*** This bug has been marked as a duplicate of bug 1613100 ***
Description of problem: A customer upgrading the env form OCP 3.9 to OCP 3.10 on the disconnected environment using the satellite server to provide the required images. Inventory is properly configured with oreg_url Error from ansible logs: ~~~ CHECK [memory_availability : master01.ocp-cluster.internal] ***************************************************************************************************************************************************************************************************************** fatal: [master01.ocp-cluster.internal]: FAILED! => {"changed": false, "checks": {"disk_availability": {}, "docker_image_availability": {"failed": true, "failures": [["OpenShiftCheckException", "One or more required container images are not available:\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-deployer:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-docker-registry:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-haproxy-router:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.access.redhat.com\nFailed connecting to: registry.access.redhat.com\n"]], "msg": "One or more required container images are not available:\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-deployer:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-docker-registry:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-ose-haproxy-router:v3.10.14,\n satellite.ocp-cluster.internal:5000/ocp-cluster-red_hat_container_catalog-registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.access.redhat.com\nFailed connecting to: registry.access.redhat.com\n"}, "docker_storage": {}, "memory_availability": {}, "package_availability": {"changed": false, "invocation": {"module_args": {"packages": ["PyYAML", "atomic-openshift", "atomic-openshift-clients", "atomic-openshift-master", "atomic-openshift-node", "atomic-openshift-sdn-ovs", "bash-completion", "bind", "ceph-common", "cockpit-bridge", "cockpit-docker", "cockpit-system", "cockpit-ws", "dnsmasq", "docker", "etcd", "firewalld", "flannel", "glusterfs-fuse", "httpd-tools", "iptables", "iptables-services", "iscsi-initiator-utils", "libselinux-python", "nfs-utils", "ntp", "openssl", "pyparted", "python-httplib2", "yum-utils"]}}}, "package_update": {"changed": false, "invocation": {"module_args": {"packages": []}}}, "package_version": {"changed": false, "invocation": {"module_args": {"package_list": [{"check_multi": true, "name": "atomic-openshift", "version": ""}, {"check_multi": true, "name": "atomic-openshift-master", "version": ""}, {"check_multi": true, "name": "atomic-openshift-node", "version": ""}], "package_mgr": "yum"}}}}, "msg": "One or more checks failed", "playbook_context": "pre-install"} ~~~ Actual results: The playbook failed on this task and for this the variable: openshift_disable_check: "docker_image_availability" to inventory Expected results: The task should not fail as proper oreg_url is specified Description of problem: Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag