pubstack / pubstack.github.io

OpenSource blog
MIT License
6 stars 4 forks source link

Error Install Registry #78

Open jguevara-assist opened 3 years ago

jguevara-assist commented 3 years ago

I have the next error:

TASK [../../roles/kubeinit_registry : Create container to serve the registry] *** fatal: [hypervisor-01 -> 10.0.0.100]: FAILED! => {"changed": false, "msg": "Can't create container kubeinit-registry", "stderr": "Error: unknown flag: --detach\n", "stderr_lines": ["Error: unknown flag: --detach"], "stdout": "", "stdout_lines": []}

PLAY RECAP ** hypervisor-01 : ok=111 changed=55 unreachable=0 failed=1 skipped=26 rescued=0 ignored=4


Hypervisor: [root@assist ~]# hostnamectl Static hostname: assist.local Icon name: computer-desktop Chassis: desktop Machine ID: ffa0d5454d3f444b8ea5a21e76666d27 Boot ID: 1866df8bd99f4e998dfde9c098eb567a Operating System: CentOS Linux 8 (Core) CPE OS Name: cpe:/o:centos:centos:8 Kernel: Linux 4.18.0-193.28.1.el8_2.x86_64 Architecture: x86-64

podman version 1.6.4 libvirtd (libvirt) 4.5.0

ansible 2.9.15 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.6/site-packages/ansible executable location = /usr/bin/ansible python version = 3.6.8 (default, Apr 16 2020, 01:36:27) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]

ccamacho commented 3 years ago

Hi @jguevara-assist indeed a package upgrade in the kubic repos broke all... The context is here: https://github.com/Kubeinit/kubeinit/issues/113 It's fixed now, so try running from latest master or 0.6.2

Please feel free to ask any questions you have, and if you find any issue also feel free to raise issues in the project's repo (https://www.github.com/kubeinit/kubeinit). Also, it would be awesome if you can star the project to catch up with updates and new features.

jguevara-assist commented 3 years ago

Hi ccamacho, I updated the repository to the master branch again and ran the installation again, it responded with the following error.


PLAY [Main deployment playbook for OKD] ***** ERROR! failed to combine variables, expected dicts but got a 'dict' and a 'AnsibleUnicode': {} "../../common.yml"

Additionally, if I update the repository, it is better to remove the Virtual Machines in KVM or I can leave the previous machines.