Description of problem: During a an upgrade from 3.9 to v3.10.0-0.27.0, the following error was reported: ``` TASK [openshift_logging : command] ********************************************* Tuesday 24 April 2018 23:20:25 +0000 (0:00:02.089) 0:03:29.304 ********* fatal: [free-int-master-3c664]: FAILED! => {"changed": true, "cmd": ["oc", "--config=/etc/origin/master/admin.kubeconfig", "get", "namespaces", "-o", "jsonpath={.items[*].metadata.name}", "default", "openshift", "openshift-infra", "kube-system", "openshift-logging"], "delta": "0:00:00.192676", "end": "2018-04-24 23:20:26.272034", "msg": "non-zero return code", "rc": 1, "start": "2018-04-24 23:20:26.079358", "stderr": "Error from server (NotFound): namespaces \"openshift-logging\" not found", "stderr_lines": ["Error from server (NotFound): namespaces \"openshift-logging\" not found"], "stdout": "default openshift openshift-infra kube-system", "stdout_lines": ["default openshift openshift-infra kube-system"]} ``` Version-Release number of the following components: v3.10.0-0.27.0 Expected results: Logging should have been installed. 'openshift_logging_install_logging: true' appears to have been in the inventory.
https://github.com/openshift/openshift-ansible/pull/8137
The logging redeploy works with ose-ansible/images/v3.10.0-0.47.0.0. For there are some issue with OCP upgrade. So I installed v3.9 on v3.10 during this testing. v3.9 logging are deployed in logging namespace. After upgrade, the all resource are upgraded as expected to v3.10 in logging namespaces. No error are reported in playbooks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816