Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[packet] Cluster creation failed due to broken package on OpenEBS CI pipeline #59

Open
nsathyaseelan opened this issue Mar 26, 2019 · 2 comments

Comments

@nsathyaseelan
Copy link
Contributor

  • Cluster creation failed while trying to instal some packages
    • K8s-version : - 1.11.8-00, 1.12.6-00 and 1.13.4-00
changed: [localhost -> root@147.75.85.189] => (item={u'locked': False, u'tags': [], u'public_ipv4': u'147.75.85.189', u'public_ipv6': u'2604:1380:2001:2900::3b', u'hostname': u'master-happy-euclid', u'id': u'b2c00e40-72d6-46a4-a69e-8cc1db94ea31', u'state': u'provisioning', u'private_ipv4': u'10.80.170.187', u'ip_addresses': [{u'address': u'147.75.85.189', u'public': True, u'address_family': 4}, {u'address': u'2604:1380:2001:2900::3b', u'public': True, u'address_family': 6}, {u'address': u'10.80.170.187', u'public': False, u'address_family': 4}]}) => {"changed": true, "cmd": "bash pre_requisite.sh \"1.12.6-00\" \"147.75.85.189\" \"10.1.0.0/16\" master | grep \"kubeadm join\" | cut -d'\"' -f2 | sed -e 's/^[ \\t]*//'", "delta": "0:00:41.856320", "end": "2019-03-26 07:44:16.847028", "item": {"hostname": "master-happy-euclid", "id": "b2c00e40-72d6-46a4-a69e-8cc1db94ea31", "ip_addresses": [{"address": "147.75.85.189", "address_family": 4, "public": true}, {"address": "2604:1380:2001:2900::3b", "address_family": 6, "public": true}, {"address": "10.80.170.187", "address_family": 4, "public": false}], "locked": false, "private_ipv4": "10.80.170.187", "public_ipv4": "147.75.85.189", "public_ipv6": "2604:1380:2001:2900::3b", "state": "provisioning", "tags": []}, "rc": 0, "start": "2019-03-26 07:43:34.990708", "stderr": "debconf: unable to initialize frontend: Dialog\ndebconf: (TERM is not set, so the dialog frontend is not usable.)\ndebconf: falling back to frontend: Readline\nE: Unable to correct problems, you have held broken packages.\nsed: can't read /etc/systemd/system/kubelet.service.d/10-kubeadm.conf: No such file or directory\nFailed to restart kubelet.service: Unit kubelet.service not found.\npre_requisite.sh: line 21: kubeadm: command not found\ncp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory\nchown: cannot access '/root/.kube/config': No such file or directory\npre_requisite.sh: line 26: kubectl: command not found", "stderr_lines": ["debconf: unable to initialize frontend: Dialog", "debconf: (TERM is not set, so the dialog frontend is not usable.)", "debconf: falling back to frontend: Readline", "E: Unable to correct problems, you have held broken packages.", "sed: can't read 
@chandankumar4
Copy link

Packter cluster creation failed because the kubeadm package is not installing, some issue with kubeadm version

Readline\nE: Unable to correct problems, you have held broken packages.\nsed: can't read /etc/systemd/system/kubelet.service.d/10-kubeadm.conf: No such file or directory\nFailed to restart kubelet.service: Unit kubelet.service not found.

This error occured in kubeadm version 1.11.8-00, 1.12.6-00 and 1.13.4-00, Updation of kubeadm version will fix the issue

@nsathyaseelan
Copy link
Contributor Author

This can be fixed by the following PR:-
mayadata-io/e2e-packet#26
mayadata-io/e2e-packet#27
mayadata-io/e2e-packet#28

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants