<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Nick,<div><br></div><div>I think I face a similar problem in my first attempts to install AiaB (I'm a bit further but also stuck too). </div><div>Note that I'm behind a proxy and that some filters are activated by our IT so I need to replace the default google nameservers.</div><div>I fix this by adding 2 dns nameservers in /etc/resolv.conf and in the 'common-addresses.yaml' file:</div><div><div><br></div><div><div> echo "nameserver __dns1__" >>/etc/resolv.conf</div><div> echo "nameserver __dns2__" >>/etc/resolv.conf</div></div><div><br></div><div> export common_adr_file=/root/deploy/airship-in-a-bottle/deployment_files/site/demo/networks/common-addresses.yaml</div><div> sed -i 's/<a href="http://8.8.8.8/__dns1__/g">8.8.8.8/__dns1__/g</a>' $common_adr_file<br></div><div> sed -i 's/<a href="http://8.8.4.4/__dns2__/g">8.8.4.4/__dns2__/g</a>' $common_adr_file</div></div><div><br></div><div>Hope it helps, BR, </div><div>Loïc</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 17 mars 2019 à 18:46, Nick Chase <<a href="mailto:nchase@mirantis.com">nchase@mirantis.com</a>> a écrit :<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 dir="ltr"><div>Very nice! Capital letters was indeed the problem -- or at least, THAT problem. I created a new VM without them and started again, getting past that point. However, I'm now stuck with CrashLoopBack on the coredns pods. I've been trying to grab logs without success. However, I am seeing this:</div><div><br></div><div>2019-03-17 17:31:29.142 3396 INFO armada.handlers.armada [-] Processing ChartGroup: kubernetes-proxy (Kubernetes proxy), sequenced=True<br>2019-03-17 17:31:29.143 3396 INFO armada.handlers.chart_deploy [-] [chart=proxy]: Processing Chart, release=airship-kubernetes-proxy<br>2019-03-17 17:31:29.145 3396 INFO armada.handlers.chartbuilder [-] [chart=proxy]: Building dependency chart kubernetes-proxy-htk for release kubernetes-proxy.<br>2019-03-17 17:31:29.196 3396 INFO armada.handlers.chart_deploy [-] [chart=proxy]: Existing release airship-kubernetes-proxy found in namespace kube-system<br>2019-03-17 17:31:29.200 3396 INFO armada.handlers.chart_deploy [-] [chart=proxy]: Checking for updates to chart release inputs.<br>2019-03-17 17:31:29.238 3396 INFO armada.handlers.chart_deploy [-] [chart=proxy]: Found no updates to chart release inputs<br>2019-03-17 17:31:29.239 3396 INFO armada.handlers.wait [-] [chart=proxy]: Waiting for resource type=job, namespace=kube-system labels=release_group=airship-kubernetes-proxy for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.279 3396 INFO armada.handlers.wait [-] [chart=proxy]: Waiting for resource type=pod, namespace=kube-system labels=release_group=airship-kubernetes-proxy for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.297 3396 INFO armada.handlers.armada [-] All Charts applied in ChartGroup kubernetes-proxy.<br>2019-03-17 17:31:29.298 3396 INFO armada.handlers.armada [-] Processing ChartGroup: kubernetes-container-networking (Container networking via Calico), sequenced=True<br>2019-03-17 17:31:29.298 3396 INFO armada.handlers.chart_deploy [-] [chart=etcd]: Processing Chart, release=airship-kubernetes-calico-etcd<br>2019-03-17 17:31:29.298 3396 INFO armada.handlers.chartbuilder [-] [chart=etcd]: Building dependency chart kubernetes-calico-etcd-htk for release kubernetes-calico-etcd.<br>2019-03-17 17:31:29.312 3396 INFO armada.handlers.chart_deploy [-] [chart=etcd]: Existing release airship-kubernetes-calico-etcd found in namespace kube-system<br>2019-03-17 17:31:29.347 3396 INFO armada.handlers.chart_deploy [-] [chart=etcd]: Checking for updates to chart release inputs.<br>2019-03-17 17:31:29.421 3396 INFO armada.handlers.chart_deploy [-] [chart=etcd]: Found no updates to chart release inputs<br>2019-03-17 17:31:29.422 3396 INFO armada.handlers.wait [-] [chart=etcd]: Waiting for resource type=job, namespace=kube-system labels=release_group=airship-kubernetes-calico-etcd for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.425 3396 INFO armada.handlers.wait [-] [chart=etcd]: Waiting for resource type=pod, namespace=kube-system labels=release_group=airship-kubernetes-calico-etcd for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.432 3396 INFO armada.handlers.chart_deploy [-] [chart=calico]: Processing Chart, release=airship-kubernetes-calico<br>2019-03-17 17:31:29.432 3396 INFO armada.handlers.chartbuilder [-] [chart=calico]: Building dependency chart calico-htk for release kubernetes-calico.<br>2019-03-17 17:31:29.456 3396 INFO armada.handlers.chart_deploy [-] [chart=calico]: Existing release airship-kubernetes-calico found in namespace kube-system<br>2019-03-17 17:31:29.498 3396 INFO armada.handlers.chart_deploy [-] [chart=calico]: Checking for updates to chart release inputs.<br>2019-03-17 17:31:29.642 3396 INFO armada.handlers.chart_deploy [-] [chart=calico]: Found no updates to chart release inputs<br>2019-03-17 17:31:29.642 3396 INFO armada.handlers.wait [-] [chart=calico]: Waiting for resource type=job, namespace=kube-system labels=release_group=airship-kubernetes-calico for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.648 3396 INFO armada.handlers.wait [-] [chart=calico]: Waiting for resource type=pod, namespace=kube-system labels=release_group=airship-kubernetes-calico for 600s (k8s wait 1 times, sleep 1s)<br>2019-03-17 17:31:29.667 3396 INFO armada.handlers.armada [-] All Charts applied in ChartGroup kubernetes-container-networking.<br>2019-03-17 17:31:29.667 3396 INFO armada.handlers.armada [-] Processing ChartGroup: kubernetes-dns (Cluster DNS), sequenced=False<br>2019-03-17 17:31:29.668 3396 INFO armada.handlers.chart_deploy [-] [chart=coredns]: Processing Chart, release=airship-coredns<br>2019-03-17 17:31:29.668 3396 INFO armada.handlers.chartbuilder [-] [chart=coredns]: Building dependency chart coredns-htk for release coredns.<br>2019-03-17 17:31:29.685 3396 INFO armada.handlers.chart_deploy [-] [chart=coredns]: Purging FAILED release airship-coredns before deployment.<br>2019-03-17 17:31:29.685 3396 INFO armada.handlers.tiller [-] [chart=coredns]: Uninstall airship-coredns release with disable_hooks=False, purge=True flags<br>2019-03-17 17:31:31.016 3396 INFO armada.handlers.chart_deploy [-] [chart=coredns]: Installing release airship-coredns in namespace kube-system, wait=True, timeout=599s<br>2019-03-17 17:31:31.018 3396 INFO armada.handlers.tiller [-] [chart=coredns]: Helm install release: wait=True, timeout=599<br></div><div><br></div><div>Any thoughts?</div><div><br></div><div>---- Nick<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 10:56 PM Hemanth N <<a href="mailto:mail2hemanth.n@gmail.com" target="_blank">mail2hemanth.n@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">Hi Nick<br>
<br>
First thing i would do, is look for apiserver and etcd container errors<br>
<br>
Can you check the following as well<br>
<br>
1. Verify if etcd service is up or not<br>
On VM, run netstat -ntulp | grep 2379<br>
<br>
2. journalctl -u kubelet.service | grep "Invalid value"<br>
Look for errros, it might point out any pod spec issues<br>
<br>
Also please provide following information<br>
3. cat /etc/kubernetes/manifests/kubernetes-etcd.yaml<br>
Check under volumes section if the names have any CAPITAL letters<br>
<br>
4. hostname -s<br>
<br>
My hunch is you have hostname with a CAPS letter which is triggering<br>
this failure. Above commands should give an idea if that is the cause.<br>
If thats the case, change your hostname to all lowercase and then run<br>
airship-in-a-bottle.<br>
<br>
Regards,<br>
Hemanth<br>
<br>
<br>
<br>
<br>
<br>
<br>
> Message: 3<br>
> Date: Tue, 12 Mar 2019 17:01:51 -0400<br>
> From: Nick Chase <<a href="mailto:nchase@mirantis.com" target="_blank">nchase@mirantis.com</a>><br>
> To: "MCEUEN, MATT" <<a href="mailto:MM9745@att.com" target="_blank">MM9745@att.com</a>><br>
> Cc: Evgeny L <<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>>,<br>
> "<a href="mailto:airship-discuss@lists.airshipit.org" target="_blank">airship-discuss@lists.airshipit.org</a>"<br>
> <<a href="mailto:airship-discuss@lists.airshipit.org" target="_blank">airship-discuss@lists.airshipit.org</a>><br>
> Subject: Re: [Airship-discuss] Error installing Airship In A Bottle<br>
> Message-ID:<br>
> <CA+p99G=RzD9+4qAOF5bv-Z=fG0phye=<a href="mailto:55CxMPnC7bytG%2BRSg4w@mail.gmail.com" target="_blank">55CxMPnC7bytG+RSg4w@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> OK, so if it IS a timeout thing, if you can tell me how to increase it,<br>
> I'll appreciate it, because the script finishes, it just finishes with an<br>
> error.<br>
><br>
> So the Airship script log is here: <a href="http://paste.openstack.org/show/747758/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/747758/</a><br>
> Docker processes here: <a href="http://paste.openstack.org/show/747759/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/747759/</a><br>
><br>
> Thanks....<br>
><br>
> ---- Nick<br>
><br>
><br>
> On Wed, Mar 13, 2019 at 6:39 PM MCEUEN, MATT <<a href="mailto:MM9745@att.com" target="_blank">MM9745@att.com</a>> wrote:<br>
><br>
> > Agree, and I’d add to check the docker logs of the kube apiserver to make<br>
> > sure it’s starting up healthy.<br>
> ><br>
> ><br>
> ><br>
> > If you’re not seeing a smoking gun, can you do a `docker ps -a` and<br>
> > pastebin the results?<br>
> ><br>
> ><br>
> ><br>
> > Thanks,<br>
> ><br>
> > Matt<br>
> ><br>
> ><br>
> ><br>
> > *From:* Evgeny L <<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>><br>
> > *Sent:* Wednesday, March 13, 2019 12:59 PM<br>
> > *To:* Nick Chase <<a href="mailto:nchase@mirantis.com" target="_blank">nchase@mirantis.com</a>><br>
> > *Cc:* <a href="mailto:airship-discuss@lists.airshipit.org" target="_blank">airship-discuss@lists.airshipit.org</a><br>
> > *Subject:* Re: [Airship-discuss] Error installing Airship In A Bottle<br>
> ><br>
> ><br>
> ><br>
> > Hi Nick,<br>
> ><br>
> ><br>
> ><br>
> > As far as I remember these errors are just retries that wait until<br>
> > Kubernetes is up and running, have you tried to wait a bit?<br>
> ><br>
> > If it still fails for you, can you please send us a complete log? You can<br>
> > use <a href="http://paste.openstack.org/" rel="noreferrer" target="_blank">http://paste.openstack.org/</a><br>
> > <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.openstack.org_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=8BzvCwZPVXNqnW1cYOCO0Av7scqQCiZlumjUr7A2dk8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.openstack.org_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=8BzvCwZPVXNqnW1cYOCO0Av7scqQCiZlumjUr7A2dk8&e=</a>><br>
> > for that.<br>
> ><br>
> ><br>
> ><br>
> > Thanks!<br>
> ><br>
> ><br>
> ><br>
> > On Mon, Mar 11, 2019 at 8:59 PM Nick Chase <<a href="mailto:nchase@mirantis.com" target="_blank">nchase@mirantis.com</a>> wrote:<br>
> ><br>
> > I'm trying to install AIB on a Unbutu Virtualbox VM with 48GB of RAM, 4<br>
> > CPU and a 300GB hard drive. Everything seems to go along fine, until we<br>
> > get here:<br>
> ><br>
> ><br>
> ><br>
> > Digest:<br>
> > sha256:badd2b1da29d4d530b10b920f64bf66a1b41150db46c3c99b49d56f3f18a82db<br>
> > Status: Downloaded newer image for<br>
> > <a href="http://gcr.io/google_containers/hyperkube-amd64:v1.10.2" rel="noreferrer" target="_blank">gcr.io/google_containers/hyperkube-amd64:v1.10.2</a><br>
> > <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gcr.io_google-5Fcontainers_hyperkube-2Damd64-3Av1.10.2&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=RON0xE-JpIMxDTL_Ja4E7LJK_asUyNLjZiaJmHyci3M&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__gcr.io_google-5Fcontainers_hyperkube-2Damd64-3Av1.10.2&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=RON0xE-JpIMxDTL_Ja4E7LJK_asUyNLjZiaJmHyci3M&e=</a>><br>
> > Unable to connect to the server: EOF<br>
> > .Unable to connect to the server: net/http: request canceled<br>
> > (Client.Timeout exceeded while awaiting headers)<br>
> ><br>
> ><br>
> ><br>
> > From there, it just keeps giving these two errors.<br>
> ><br>
> ><br>
> ><br>
> > Any thoughts?<br>
> ><br>
> ><br>
> ><br>
> > Thanks...<br>
> ><br>
> ><br>
> ><br>
> > ---- Nick<br>
> ><br>
> > _______________________________________________<br>
> > Airship-discuss mailing list<br>
> > <a href="mailto:Airship-discuss@lists.airshipit.org" target="_blank">Airship-discuss@lists.airshipit.org</a><br>
> > <a href="http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss" rel="noreferrer" target="_blank">http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss</a><br>
> > <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.airshipit.org_cgi-2Dbin_mailman_listinfo_airship-2Ddiscuss&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=nBDu-ohIh1kHRZSZCF0aSC5mIryxhGUOu9y-I8hj7dc&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.airshipit.org_cgi-2Dbin_mailman_listinfo_airship-2Ddiscuss&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_C5hC_103uW491yNPPpNmA&m=WhNp-VjTw70e2z_QbunOZc8fyS-zMWVbK70DnNjJMS0&s=nBDu-ohIh1kHRZSZCF0aSC5mIryxhGUOu9y-I8hj7dc&e=</a>><br>
> ><br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190312/5c30236d/attachment.html" rel="noreferrer" target="_blank">http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190312/5c30236d/attachment.html</a>><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> Airship-discuss mailing list<br>
> <a href="mailto:Airship-discuss@lists.airshipit.org" target="_blank">Airship-discuss@lists.airshipit.org</a><br>
> <a href="http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss" rel="noreferrer" target="_blank">http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss</a><br>
><br>
> ------------------------------<br>
><br>
> End of Airship-discuss Digest, Vol 10, Issue 12<br>
> ***********************************************<br>
</blockquote></div>
_______________________________________________<br>
Airship-discuss mailing list<br>
<a href="mailto:Airship-discuss@lists.airshipit.org" target="_blank">Airship-discuss@lists.airshipit.org</a><br>
<a href="http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss" rel="noreferrer" target="_blank">http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss</a></blockquote></div>