Bug 1461662
Summary: | Installer should check atomic version before installing etcd system container | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
Component: | Installer | Assignee: | Steve Milner <smilner> |
Status: | CLOSED ERRATA | QA Contact: | Gan Huang <ghuang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.6.0 | CC: | aos-bugs, ghuang, gpei, jialiu, jokerman, mmccomas, smilner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-10 05:28:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1462087 |
Description
Gaoyun Pei
2017-06-15 06:15:15 UTC
Make sure that minimum versions are noted in the 3.6 release notes https://github.com/openshift/openshift-docs/issues/4021 Added info to release notes. https://github.com/openshift/openshift-docs/issues/4021#issuecomment-309480997 Code merged into openshift-ansible-3.6.124-1.git.0.507a059.el7.noarch.rpm Failed at: TASK [docker : Install Container Engine System Container] ********************** Monday 26 June 2017 00:42:47 +0000 (0:00:02.192) 0:04:11.953 *********** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: StrictVersion instance has no attribute 'version' fatal: [openshift-152.lab.sjc.redhat.com]: FAILED! => { "changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_IwdLCV/ansible_module_oc_atomic_container.py\", line 214, in <module>\n main()\n File \"/tmp/ansible_IwdLCV/ansible_module_oc_atomic_container.py\", line 202, in main\n if atomic_version < StrictVersion('1.17.2'):\n File \"/usr/lib64/python2.7/distutils/version.py\", line 140, in __cmp__\n compare = cmp(self.version, other.version)\nAttributeError: StrictVersion instance has no attribute 'version'\n", "module_stdout": "" } MSG: MODULE FAILURE [root@qe-ghuang-master-etcd-1 ~]# atomic -v 1.17.1 [root@qe-ghuang-master-etcd-1 ~]# atomic host status State: idle Deployments: ● rhel-atomic-host:rhel-atomic-host/7/x86_64/standard Version: 7.3.6 (2017-06-13 20:38:25) Commit: a71d6dd215e857eca6576500905a3f9533c9e8cbf142679edaa4996c688c7c74 [root@qe-ghuang-master-etcd-1 ~]# atomic -v 1.17.1 [root@qe-ghuang-master-etcd-1 ~]# rpm -q atomic atomic-1.17.2-8.git2760e30.el7.x86_64 Hi, Steve, so openshift-ansible won't support system containers on Atomic Host 7.3.6? It is blocking all the testing about system containers. (In reply to Gan Huang from comment #7) > [root@qe-ghuang-master-etcd-1 ~]# atomic host status > State: idle > Deployments: > ● rhel-atomic-host:rhel-atomic-host/7/x86_64/standard > Version: 7.3.6 (2017-06-13 20:38:25) > Commit: > a71d6dd215e857eca6576500905a3f9533c9e8cbf142679edaa4996c688c7c74 > > [root@qe-ghuang-master-etcd-1 ~]# atomic -v > 1.17.1 > > [root@qe-ghuang-master-etcd-1 ~]# rpm -q atomic > atomic-1.17.2-8.git2760e30.el7.x86_64 > > > Hi, Steve, so openshift-ansible won't support system containers on Atomic > Host 7.3.6? No it absolutely should. This is a good catch though as the atomic version is returning an improper result. It's actually 1.17.2 (as the rpm query shows) yet when asking the atomic command what version it is it returns a wrong version. Because of this it's failing now. I'll make an update to check the rpm version and not the atomic command version until the bug is fixed. PR by Giuseppe https://github.com/openshift/openshift-ansible/pull/4583 The commit is not in openshift-ansible-3.6.126-1 PS: Tested with openshift-ansible-3.6.123.1001-1 and passed, but this package is not valid. Moving to `Modified` and remove `testblocker` in openshift-ansible-3.6.123.1002-1.git.0.506cfa7.el7 Verified with openshift-ansible-3.6.123.1003-1.git.0.002ceeb.el7.noarch.rpm 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/RHEA-2017:1716 |