Closed bjetal closed 6 days ago
Ouch, this really emphasizes that our CI does not cover wholly the collection usage :/
870049523fa6d8c1bb2dc069a8f889881f1c2d4a is only in 2.26 though so I'm not sure how you have this on 2.25 ?
Could you check if the linked PR fix your issue ?
The 2.25 was a silly mistake on my part. The rest of the details do reference 2.26 and that is what I was using.
Referencing version 2.25 was a mental error on my part. I was actually using 2.26 and my steps to reproduce use that version.
The PR shoud fix the immediate issue I had, but does not appear to me to entirely fix the issue. This is a list I put together of the files that are missing (not including tests, OWNERS files, one README.md and one .gitkeep file). Note that several of the files do not have an extension:
roles/network_plugin/macvlan/files/ifup-local
roles/network_plugin/macvlan/files/ifup-macvlan
roles/network_plugin/macvlan/files/ifdown-local
roles/network_plugin/macvlan/files/ifdown-macvlan
roles/network_plugin/calico/files/openssl.conf
roles/bootstrap-os/files/bootstrap.sh
roles/kubernetes/preinstall/files/dhclient_nodnsupdate
roles/kubernetes/tokens/files/kube-gen-token.sh
roles/container-engine/docker/files/cleanup-docker-orphans.sh
roles/container-engine/youki/molecule/default/files/10-mynet.conf
roles/container-engine/cri-dockerd/molecule/default/files/10-mynet.conf
roles/container-engine/gvisor/molecule/default/files/10-mynet.conf
roles/container-engine/cri-o/files/mounts.conf
roles/container-engine/cri-o/molecule/default/files/10-mynet.conf
roles/container-engine/kata-containers/molecule/default/files/10-mynet.conf
I got this list by running a find command on the roles directory that was designed to return only files not matching the extensions that the Galaxy manifest process includes by default.
Hum, maybe a better way to fix this is actually to do something like
Since regardless of the extension, anythings we put in files/ should be needed
What happened?
Using Kubespray v2.25.0 using a galaxy install from github (as part of a larger ansible process)
During installing Calico with the API server enabled, got error containing:
Could not find or access 'openssl.conf'
Investigating showed that even though the file existed in the Git repository in the
files
directory of thenetwork_plugins/calico
role, it did not exist in the installed collection.What did you expect to happen?
Successful install of Calico including API Server and the rest of Kubernetes
How can we reproduce it (as minimally and precisely as possible)?
Set up a one node inventory, with
calico_apiserver_enabled
set to true and run the following