<div dir="ltr">Try <a href="https://hub.docker.com/layers/openstackmagnum/heat-container-agent/ussuri-stable-1/images/sha256-a6cff99d9b468d1e1770a74853e83a5688d73a714eeae22463b1c8af2001bf1d?context=explore">https://hub.docker.com/layers/openstackmagnum/heat-container-agent/ussuri-stable-1/images/sha256-a6cff99d9b468d1e1770a74853e83a5688d73a714eeae22463b1c8af2001bf1d?context=explore</a><div>For heat_container_agent_tag</div><div><br></div><div>Spyros</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 25, 2020 at 4:48 PM monadt <<a href="mailto:monadt@protonmail.com">monadt@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I am trying to use Magnum on Openstack that was deployed using kolla-ansible.<br></div><div><br></div><div>The instance is completely private (so floating IPs are only accessible inside a VPN network) - not sure if this is a problem.<br></div><div><br></div><div>The deployment looks as follows:<br></div><div><br></div><div>Openstack Nodes: Ubuntu 20.04<br></div><div>Kolla-Ansible version: '10.1.0'<br></div><div>kolla_base_distro: "ubuntu"<br></div><div>openstack_release: "ussuri"<br></div><div><br></div><div>I could successfully deploy the required magnum services and created a cluster template using the magnum cli as follows:<br></div><div><br></div><div>openstack coe cluster template create kubernetes-cluster-template --image fedora-coreos-32 --external-network public-external --dns-nameserver 1.1.1.1 --master-flavor m1.small --flavor m1.small --docker-storage-driver overlay --coe kubernetes<br></div><div><br></div><div>I am using the Fedora CoreOS 32 release (and uploaded the image like this):<br></div><div><br></div><div><div>openstack image create --disk-format=qcow2 --container-format=bare --file=fedora-coreos-32.20201104.3.0-openstack.x86_64.qcow2 --property os_distro='fedora-coreos' fedora-coreos-32<br></div><div><br></div><div>I made sure to set the os_distro as stated in the repository when using fedora coreos.<br></div><div><br></div><div>When I now try to create a cluster (openstack coe cluster create kubernetes-cluster --cluster-template kubernetes-cluster-template --master-count 1 --node-count 1 --keypair mykey) all the heat resources start spinning up, but the kube-masters resource will never come up.<br></div><div><br></div><div>While debugging it seems to hang during the following step inside the heat-container-agent:<br></div><div><br></div></div><div>+ '[' ok = ok ']'<br></div><div>+ kubectl patch node kubernetes-cluster-flfrufngma6x-master-0 --patch '{"metadata": {"labels": {"<a href="http://node-role.kubernetes.io/master" target="_blank">node-role.kubernetes.io/master</a>": ""}}}'<br></div><div>error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable<br></div><div>+ echo 'Trying to label master node with <a href="http://node-role.kubernetes.io/master=" target="_blank">node-role.kubernetes.io/master=</a>""'<br></div><div>+ sleep 5s<br></div><div>Trying to label master node with <a href="http://node-role.kubernetes.io/master=" target="_blank">node-role.kubernetes.io/master=</a>""<br></div><div><br></div><div><div>I also didn't find a way to set the KUBERNETES_MASTER environment variable from the outside.<br></div><div><br></div><div>I assume there is no other supported distribution given that Fedora Atomic and non-Fedora CoreOS do no longer exist?<br></div></div><div><br></div><div><div><br></div><div>Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div></blockquote></div>