<div dir="ltr">Hi,<div><br></div><div>I tried to run manually from inside the heat container the same commands and they worked fine.</div><div><br></div><div>I think it doesn't inherit the values from /etc/bashrc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 2:40 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">Hi,<div><br></div><div>yes, it's deployed: <a href="https://paste.xinu.at/pEz/#n855" target="_blank">https://paste.xinu.at/pEz/#n855</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 2:36 PM Spyros Trigazis <<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.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 dir="ltr">Check if you have this patch deployed: <a href="https://review.opendev.org/#/q/I15ef91bbec20a8037d47902225eabb3082579705" target="_blank">https://review.opendev.org/#/q/I15ef91bbec20a8037d47902225eabb3082579705</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 1:03 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">Hi,<div><br></div><div>I wonder if it is because the image is from fedora:rawhide and something is too new in there and breaks the flow?</div><div><a href="https://opendev.org/openstack/magnum/commit/1de7a6af5ee2b834360e3daba34adb6b908fa035" target="_blank">https://opendev.org/openstack/magnum/commit/1de7a6af5ee2b834360e3daba34adb6b908fa035</a><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 1:34 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">Hi,<div><br></div><div>I'm using stable/victoria. It works fine with an older image.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 1:28 PM Spyros Trigazis <<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.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 dir="ltr">I see, this says kubectl misconfigured not missing.<br><font face="monospace">error: Missing or incomplete configuration info. Please point to an existing, complete config file:</font><div><font face="monospace"><br></font></div><div><font face="monospace">I guess you miss some patches:</font><a href="https://review.opendev.org/#/q/I15ef91bbec20a8037d47902225eabb3082579705" target="_blank">https://review.opendev.org/#/q/I15ef91bbec20a8037d47902225eabb3082579705</a></div><div><br></div><div>Try using an older image of the agent or take the patch above.<br></div><div><br></div><div>Spyros</div><div><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 12:01 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">Hi,<div><br></div><div>Not sure if because kubectl is not found but here are the logs, I cannot figure out why it is not working with the new heat image.</div><div><br></div><div>journalctl <a href="https://paste.xinu.at/jsA/" target="_blank">https://paste.xinu.at/jsA/</a><br></div><div>heat-config master <a href="https://paste.xinu.at/pEz/" target="_blank">https://paste.xinu.at/pEz/</a></div><div>heat-config master cluster config <a href="https://paste.xinu.at/K85ZY5/" target="_blank">https://paste.xinu.at/K85ZY5/</a></div><div><br></div><div>[root@cluster001-7dby23lm6ods-master-0 heat-config-script]# kubectl get pods --all-namespaces <br>No resources found<br>[root@cluster001-7dby23lm6ods-master-0 heat-config-script]# kubectl get all --all-namespaces<br>NAMESPACE   NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE<br>default     service/kubernetes   ClusterIP   10.254.0.1   <none>        443/TCP   36m<br></div><div><br></div><div>It fails to deploy and I don't have any services configured.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 12:43 PM Spyros Trigazis <<a href="mailto:strigazi@gmail.com" target="_blank">strigazi@gmail.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 dir="ltr"><div><font face="monospace">Am I missing something? It is there.</font></div><font face="monospace"><div><font face="monospace"><br></font></div><div><font face="monospace">Spyros</font></div><div><font face="monospace"><br></font></div>ubuntu@str-focal-2xlarge-01:~$ docker run -it --entrypoint /usr/bin/kubectl openstackmagnum/heat-container-agent:victoria-dev version --client --short<br>Client Version: v1.18.2<br>ubuntu@str-focal-2xlarge-01:~$ docker run -it --entrypoint /usr/bin/kubectl openstackmagnum/heat-container-agent@sha256:0f354341b1970b7dacd9825a1c7585bae5495842416123941965574374922b51 version --client --short<br>Client Version: v1.18.2</font><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 11:33 AM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">I wanted to say, 20 hours ago instead of days.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 12:33 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.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 dir="ltr">Hi,<div><br></div><div>20 days ago the image was updated and now all clusters fail to deploy because it cannot find</div><div>/usr/bin/kubectl, i think.</div><div><br></div><div>/usr/bin/kubectl apply -f /srv/magnum/kubernetes/manifests/calico-deploy.yaml --namespace=kube-system<br><div><br></div><div>Some services are installed using full path instead of simply kubectl.</div><div><br></div><div>Should the image be fixed or reverted the changes to old revision or we should just fix the scripts?</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>