Bug 1626074
| Summary: | openshift-ansible fails to install cockpit | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jason Montleon <jmontleo> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | aos-bugs, jialiu, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The package list contains an item which is a list by default. The list is converted to a comma separated string to conform to the pattern used by the package command.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-12-21 15:23:20 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: | |||
https://github.com/openshift/openshift-ansible/pull/9930 merged to fix this *** Bug 1626147 has been marked as a duplicate of this bug. *** openshift-ansible-3.11.0-0.29.0 Verified this bug with openshift-ansible-3.11.0-0.32.0.git.0.b27b349.el7.noarch, and PASS.
TASK [cockpit : Install cockpit-ws] ********************************************
Monday 10 September 2018 15:43:59 +0800 (0:00:00.051) 0:10:03.351 ******
changed: [host-8-247-188.host.centralci.eng.rdu2.redhat.com] => {"attempts": 1, "changed": true, "msg": "", "rc": 0, "results": ["cockpit-ws-176-2.el7.x86_64 providing cockpit-ws is already installed", "cockpit-system-176-2.el7.noarch providing cockpit-system is already installed", "cockpit-bridge-176-2.el7.x86_64 providing cockpit-bridge is already installed", "cockpit-docker-176-2.el7.x86_64 providing cockpit-docker is already installed", "Loaded plugins: product-id, search-disabled-repos, subscription-manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nResolving Dependencies\n--> Running transaction check\n---> Package cockpit-kubernetes.x86_64 0:176-2.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cockpit-kubernetes x86_64 176-2.el7 aos-3_11-devel-install 4.0 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 4.0 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cockpit-kubernetes-176-2.el7.x86_64 1/1 \n Verifying : cockpit-kubernetes-176-2.el7.x86_64 1/1 \n\nInstalled:\n cockpit-kubernetes.x86_64 0:176-2.el7 \n\nComplete!\n"]}
Closing bugs that were verified and targeted for GA but for some reason were not picked up by errata. This bug fix should be present in current 3.11 release content. |
Description of problem: openshift-ansible 3.11 is failing to install cockpit and errors out. Version-Release number of selected component (if applicable): ansible-2.6.3-1.el7.noarch openshift-ansible-3.11.0-0.28.0.git.0.730d4be.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Try to install openshift 3.11 using the latest puddle Actual results: Install fails Expected results: Install completes successfully Additional info: Running yum <192.168.121.141.nip.io> EXEC /bin/sh -c 'echo ~root && sleep 0' <192.168.121.141.nip.io> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871 `" && echo ansible-tmp-1536242746.13-22719938057871="` echo /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <192.168.121.141.nip.io> PUT /root/.ansible/tmp/ansible-local-8505t2_nXT/tmp8uIh99 TO /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871/yum.py <192.168.121.141.nip.io> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871/ /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871/yum.py && sleep 0' <192.168.121.141.nip.io> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871/yum.py && sleep 0' <192.168.121.141.nip.io> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1536242746.13-22719938057871/ > /dev/null 2>&1 && sleep 0' The full traceback is: File "/tmp/ansible_lxUe7l/ansible_module_yum.py", line 578, in what_provides e, m, _ = my.pkgSack.matchPackageNames([req_spec]) File "/usr/lib/python2.7/site-packages/yum/packageSack.py", line 570, in matchPackageNames e, m, u = sack.matchPackageNames(pkgspecs) File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 55, in newFunc raise Errors.RepoError, str(e) fatal: [192.168.121.141.nip.io]: FAILED! => { "attempts": 3, "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "bugfix": false, "conf_file": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": null, "enable_plugin": [], "enablerepo": null, "exclude": null, "install_repoquery": true, "installroot": "/", "list": null, "name": [ "cockpit-ws", "cockpit-system", "cockpit-bridge", "cockpit-docker", "['cockpit-kubernetes']" ], "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "msg": "Failure talking to yum: near \"cockpit\": syntax error" } to retry, use: --limit @/vagrant/openshift-ansible-dev.retry