{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2155","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2155/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2155/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2155/events","html_url":"https://github.com/openshift/openshift-ansible/issues/2155","id":165648369,"number":2155,"title":"kubectl conflict error","user":{"login":"bkmagnetron","id":4893873,"avatar_url":"https://avatars.githubusercontent.com/u/4893873?v=3","gravatar_id":"","url":"https://api.github.com/users/bkmagnetron","html_url":"https://github.com/bkmagnetron","followers_url":"https://api.github.com/users/bkmagnetron/followers","following_url":"https://api.github.com/users/bkmagnetron/following{/other_user}","gists_url":"https://api.github.com/users/bkmagnetron/gists{/gist_id}","starred_url":"https://api.github.com/users/bkmagnetron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkmagnetron/subscriptions","organizations_url":"https://api.github.com/users/bkmagnetron/orgs","repos_url":"https://api.github.com/users/bkmagnetron/repos","events_url":"https://api.github.com/users/bkmagnetron/events{/privacy}","received_events_url":"https://api.github.com/users/bkmagnetron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T20:14:01Z","updated_at":"2016-07-14T20:26:25Z","closed_at":null,"body":"**Ansible hosts file:**\r\n```\r\n# Create an OSEv3 group that contains the masters and nodes groups\r\n[OSEv3:children]\r\nmasters\r\nnodes\r\n\r\n# Set variables common for all OSEv3 hosts\r\n[OSEv3:vars]\r\n# SSH user, this user should allow ssh based auth without requiring a password\r\nansible_ssh_user=root\r\n\r\n# If ansible_ssh_user is not root, ansible_sudo must be set to true\r\n#ansible_sudo=true\r\n\r\ndeployment_type=origin\r\n\r\n# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider\r\n#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]\r\n\r\n# host group for masters\r\n[masters]\r\nlocalhost\r\n\r\n# host group for nodes, includes region info\r\n[nodes]\r\nlocalhost openshift_node_labels=\"{'region': 'infra', 'zone': 'default'}\"\r\n```\r\n\r\n**Install:**\r\n`# ansible-playbook openshift-ansible/playbooks/byo/config.yml`\r\n\r\n**Ansible Error:**\r\n```\r\nTASK [openshift_common : Install the base package for versioning] **************\r\nfatal: [localhost]: FAILED! => {\"changed\": true, \"failed\": true, \"msg\": \"warning: /var/cache/yum/x86_64/7/centos-openshift-origin/packages/origin-clients-1.2.0-4.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 2f297ecc: NOKEY\\nImporting GPG key 0x2F297ECC:\\n Userid     : \\\"CentOS PaaS SIG (https://wiki.centos.org/SpecialInterestGroup/PaaS) <security@centos.org>\\\"\\n Fingerprint: c5e8 ab44 6fa7 893d 7490 51f1 c34c 5bd4 2f29 7ecc\\n From       : /etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS\\n\\n\\nTransaction check error:\\n  file /usr/bin/kubectl from install of origin-clients-1.2.0-4.el7.x86_64 conflicts with file from package kubernetes-client-1.2.0-0.12.gita4463d9.el7.x86_64\\n\\nError Summary\\n-------------\\n\\n\", \"rc\": 1, \"results\": [\"Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * base: ftp.iitm.ac.in\\n * extras: ftp.iitm.ac.in\\n * updates: ftp.iitm.ac.in\\nResolving Dependencies\\n--> Running transaction check\\n---> Package origin.x86_64 0:1.2.0-4.el7 will be installed\\n--> Processing Dependency: origin-clients = 1.2.0-4.el7 for package: origin-1.2.0-4.el7.x86_64\\n--> Running transaction check\\n---> Package origin-clients.x86_64 0:1.2.0-4.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package           Arch      Version           Repository                  Size\\n================================================================================\\nInstalling:\\n origin            x86_64    1.2.0-4.el7       centos-openshift-origin     22 M\\nInstalling for dependencies:\\n origin-clients    x86_64    1.2.0-4.el7       centos-openshift-origin    9.8 M\\n\\nTransaction Summary\\n================================================================================\\nInstall  1 Package (+1 Dependent package)\\n\\nTotal download size: 32 M\\nInstalled size: 183 M\\nDownloading packages:\\nPublic key for origin-clients-1.2.0-4.el7.x86_64.rpm is not installed\\n--------------------------------------------------------------------------------\\nTotal                                              3.2 MB/s |  32 MB  00:10     \\nRetrieving key from file:///etc/pki/rpm-gpg/openshift-ansible-CentOS-SIG-PaaS\\nRunning transaction check\\nRunning transaction test\\n\"]}\r\n\r\nNO MORE HOSTS LEFT *************************************************************\r\n        to retry, use: --limit @openshift-ansible/playbooks/byo/config.retry\r\n\r\nPLAY RECAP *********************************************************************\r\nlocalhost                  : ok=83   changed=16   unreachable=0    failed=1\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/232781955","html_url":"https://github.com/openshift/openshift-ansible/issues/2155#issuecomment-232781955","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/2155","id":232781955,"user":{"login":"detiber","id":915544,"avatar_url":"https://avatars.githubusercontent.com/u/915544?v=3","gravatar_id":"","url":"https://api.github.com/users/detiber","html_url":"https://github.com/detiber","followers_url":"https://api.github.com/users/detiber/followers","following_url":"https://api.github.com/users/detiber/following{/other_user}","gists_url":"https://api.github.com/users/detiber/gists{/gist_id}","starred_url":"https://api.github.com/users/detiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/detiber/subscriptions","organizations_url":"https://api.github.com/users/detiber/orgs","repos_url":"https://api.github.com/users/detiber/repos","events_url":"https://api.github.com/users/detiber/events{/privacy}","received_events_url":"https://api.github.com/users/detiber/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T20:26:24Z","updated_at":"2016-07-14T20:26:24Z","body":"@bkmagnetron I'm not sure this is a bug, the origin-clients package ships a kubectl binary just as the kubernetes-client package does.\r\n\r\nWe could potentially make the error message friendlier, but they are two conflicting packages."}}
{"actor":{"display_login":"detiber"}}