{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/79","repository_url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/79/comments","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/79/events","html_url":"https://github.com/puppetlabs/puppetlabs-kubernetes/issues/79","id":305780133,"number":79,"title":"Basic Kubernetes installation failing on yum steps","user":{"login":"vrmerlin","id":7755554,"avatar_url":"https://avatars2.githubusercontent.com/u/7755554?v=4","gravatar_id":"","url":"https://api.github.com/users/vrmerlin","html_url":"https://github.com/vrmerlin","followers_url":"https://api.github.com/users/vrmerlin/followers","following_url":"https://api.github.com/users/vrmerlin/following{/other_user}","gists_url":"https://api.github.com/users/vrmerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/vrmerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrmerlin/subscriptions","organizations_url":"https://api.github.com/users/vrmerlin/orgs","repos_url":"https://api.github.com/users/vrmerlin/repos","events_url":"https://api.github.com/users/vrmerlin/events{/privacy}","received_events_url":"https://api.github.com/users/vrmerlin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-16T02:16:13Z","updated_at":"2018-04-17T17:03:39Z","closed_at":"2018-04-16T06:52:52Z","author_association":"NONE","body":"\r\n## What you expected to happen?\r\n\r\nKubernetes to install on my node\r\n\r\n## What happened?\r\n\r\nI get this error:\r\n\r\n```\r\nError: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install docker-engine-1.12.6' returned 1: Error: Nothing to do\r\nLoaded plugins: langpacks, product-id, subscription-manager, versionlock\r\nError: /Stage[main]/Kubernetes::Packages/Package[docker-engine]/ensure: change from 'purged' to '1.12.6' failed: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install docker-engine-1.12.6' returned 1: Error: Nothing to do\r\nLoaded plugins: langpacks, product-id, subscription-manager, versionlock\r\nError: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install kubernetes-cni-0.5.1' returned 1: One of the configured repositories failed (docker),\r\n and yum doesn't have enough cached data to continue. At this point the only\r\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\r\n. . . \r\n```\r\n\r\n\r\n## How to reproduce it?\r\n\r\nPuppetfile contents:\r\n```\r\n# These are dependencies for Puppet\r\nmod 'puppetlabs-stdlib', '4.24.0'\r\nmod 'puppetlabs-apt', '4.5.1'\r\nmod 'puppetlabs-translate', '1.0.0'\r\n\r\n# Some nodes run docker but not kubernetes\r\nmod 'puppetlabs-docker', '1.1.0'\r\n\r\n# These are dependencies for kubernetes\r\nmod 'puppet-archive', '2.0.0'\r\nmod 'maestrodev-wget', '1.7.0'\r\n\r\nmod 'puppetlabs-kubernetes', '1.0.3'\r\n```\r\n\r\n\r\nHere's the simple code I used:\r\n```\r\n  class { 'kubernetes':\r\n    controller => true,\r\n    bootstrap_controller => true,\r\n  }\r\n```\r\n\r\n## Versions:\r\n<!-- Please paste in the output of these commands-->\r\n```\r\n$ puppet --version\r\n5.3.5\r\n\r\n$ kubectl version\r\n(not installed yet)\r\n\r\n$ docker version OR crictl version\r\n(not installed yet)\r\n\r\n$ facter os\r\n{\r\n  architecture => \"x86_64\",\r\n  distro => {\r\n    codename => \"Maipo\",\r\n    description => \"Red Hat Enterprise Linux Workstation release 7.4 (Maipo)\",\r\n    id => \"RedHatEnterpriseWorkstation\",\r\n    release => {\r\n      full => \"7.4\",\r\n      major => \"7\",\r\n      minor => \"4\"\r\n    },\r\n    specification => \":core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch\"\r\n  },\r\n  family => \"RedHat\",\r\n  hardware => \"x86_64\",\r\n  name => \"RedHat\",\r\n  release => {\r\n    full => \"7.4\",\r\n    major => \"7\",\r\n    minor => \"4\"\r\n  },\r\n  selinux => {\r\n    enabled => false\r\n  }\r\n}\r\n\r\n$ puppet module list\r\n/etc/puppetlabs/code/environments/production/modules (no modules installed)\r\n/etc/puppetlabs/code/modules (no modules installed)\r\n/opt/puppetlabs/puppet/modules (no modules installed)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/comments/382068559","html_url":"https://github.com/puppetlabs/puppetlabs-kubernetes/issues/79#issuecomment-382068559","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-kubernetes/issues/79","id":382068559,"user":{"login":"vrmerlin","id":7755554,"avatar_url":"https://avatars2.githubusercontent.com/u/7755554?v=4","gravatar_id":"","url":"https://api.github.com/users/vrmerlin","html_url":"https://github.com/vrmerlin","followers_url":"https://api.github.com/users/vrmerlin/followers","following_url":"https://api.github.com/users/vrmerlin/following{/other_user}","gists_url":"https://api.github.com/users/vrmerlin/gists{/gist_id}","starred_url":"https://api.github.com/users/vrmerlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrmerlin/subscriptions","organizations_url":"https://api.github.com/users/vrmerlin/orgs","repos_url":"https://api.github.com/users/vrmerlin/repos","events_url":"https://api.github.com/users/vrmerlin/events{/privacy}","received_events_url":"https://api.github.com/users/vrmerlin/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T17:03:39Z","updated_at":"2018-04-17T17:03:39Z","author_association":"NONE","body":"This still isn't working for me; i just tried it again, with 1.1.0.  I'm getting the error:\r\n\r\n```\r\nError: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install docker-engine-1.12.6' returned 1: Error: Nothing to do\r\nLoaded plugins: langpacks, product-id, subscription-manager, versionlock\r\nError: /Stage[main]/Kubernetes::Packages/Package[docker-engine]/ensure: change from 'purged' to '1.12.6' failed: Could not update: Execution of '/bin/yum -d 0 -e 0 -y install docker-engine-1.12.6' returned 1: Error: Nothing to do\r\nLoaded plugins: langpacks, product-id, subscription-manager, versionlock\r\n```\r\nThe ```/etc/yum.repos.d/docker.repo``` contains this:\r\n\r\n```\r\n[docker]\r\nname=docker\r\nbaseurl=https://yum.dockerproject.org/repo/main/centos/7\r\ngpgcheck=True\r\ngpgkey=https://yum.dockerproject.org/gpg\r\n```\r\n\r\nThis looks suspicious, because I am on RedHat 7, not Centos. The files in that baseurl location all have 'centos' in it. I understand that centos RPMs can run on Redhat, but just running the yum command standalone doesn't install the package:\r\n\r\n```\r\n# /bin/yum -d 0 -e 0 -y install docker-engine-1.12.6\r\nError: Nothing to do\r\nLoaded plugins: langpacks, product-id, subscription-manager, versionlock\r\n```\r\n\r\nAny ideas? I'm dead in the water.\r\n\r\nJohn\r\n\r\n"}}
{"actor":{"display_login":"vrmerlin"}}