Description of problem: Install a env with all atomic host, then upgrade it, and get failed on etcd step. Version-Release number of selected component (if applicable): openshift-ansible-3.4.41-1.git.0.449ee52.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Prepare three atomic hosts 2. Install env on it(1 master 2 nodes), with parameter "openshift_image_tag" [root@ansible ~]# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml ... 3. update parameter and run upgrade playbook [root@ansible ~]# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade.yml ... TASK [Install latest etcd for containerized or embedded] *********************** fatal: [master.example.com]: FAILED! => { "changed": false, "failed": true } MSG: Could not find a module for unknown. ... Actual results: upgrade failed Expected results: upgrade succeed Additional info: [root@ansible ~]# cat hosts ... [masters] master.example.com [nodes] master.example.com node1.example.com node2.example.com ...
Wenkai Shi, can you provide your inventory file for reference please? > 2. Install env on it(1 master 2 nodes), with parameter "openshift_image_tag" What are you setting the "openshift_image_tag" value to?
(In reply to Tim Bielawa from comment #1) > Wenkai Shi, can you provide your inventory file for reference please? > > > 2. Install env on it(1 master 2 nodes), with parameter "openshift_image_tag" > > What are you setting the "openshift_image_tag" value to? On this step,I set openshift_image_tag=v3.4.0.37. And I change it to v3.4.0.38 on "3. update parameter and run upgrade playbook". Please let me know if you need other parameter.
Commit pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/3cc4232e756d0f0c0abbe97129598aeac593c75d Don't upgrade etcd on atomic host, ever. Fixes Bug 1408668 Fixes BZ1408668
The cryptic error message is because ansible cannot find a package manager on atomic host. So the fix is to never attempt to upgrade etcd on atomic host. https://github.com/openshift/openshift-ansible/pull/3046
Verified with openshift-ansible-3.4.43-1.git.0.a9dbe87.el7.noarch, upgrade succeed. [root@ansible ~]# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade.yml ... TASK [Install latest etcd for containerized or embedded] *********************** skipping: [openshift-150.lab.eng.nay.redhat.com] => { "changed": false, "skip_reason": "Conditional check failed", "skipped": true } ...