Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add KUBELET_EXTRA_ARGS step fails #145

Open
enolfc opened this issue Jun 6, 2022 · 3 comments
Open

Add KUBELET_EXTRA_ARGS step fails #145

enolfc opened this issue Jun 6, 2022 · 3 comments

Comments

@enolfc
Copy link
Contributor

enolfc commented Jun 6, 2022

On Ubuntu 20.04 with kubernetes v1.20.5, this error appears for wn:

TASK [grycap.kubernetes : Add KUBELET_EXTRA_ARGS] **************************************************************************************************************
fatal: [x.y.z.x]: FAILED! => {"msg": "No file was found when using first_found. Use errors='ignore' to allow this task to be skipped if no files are found"}

As a workaround I have commented out the step

@micafer
Copy link
Member

micafer commented Jun 6, 2022

Hi @enolfc
Could you confirm that, in the VM where it is failing, none of this directories exists?:
- /etc/sysconfig/
- /etc/default/

micafer added a commit that referenced this issue Jun 6, 2022
micafer added a commit that referenced this issue Jun 6, 2022
@micafer
Copy link
Member

micafer commented Jun 6, 2022

Hi @enolfc,
I added a workaround to aviod the error.
But in ubuntu 20.04 the directory /etc/default/ afaik must exist.

@enolfc
Copy link
Contributor Author

enolfc commented Jun 6, 2022

It does exist:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS
Release:	20.04
Codename:	focal
$ ls /etc/default/
amd64-microcode  bsdmainutils   cron        docker  grub.ucf-dist    irqbalance  mdadm                nfs-common  open-iscsi  rsync  useradd
apport           console-setup  cryptdisks  grub    grube            keyboard    motd-news            nss         pollinate   ssh
aufs             crda           dbus        grub.d  intel-microcode  locale      networkd-dispatcher  ntp         rpcbind     ufw

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

No branches or pull requests

2 participants