<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hello Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I had launched the same thing but then got pulled away from it and totally forgot to check it. I thought I’d be able to tell you I got it running, but I don’t
think that’s the case. For my installation all of the containers are either Running or Completed except for the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-bootstrap-admin-user-26lhf 0/1 Init:0/1 0 3d 10.97.196.132 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D;background:aqua;mso-highlight:aqua">ucp maas-db-init-v7z6r 0/1 CrashLoopBackOff 953 3d 10.97.196.143
airship</span><b><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-db-sync-5c24z 0/1 Init:0/1 0 3d 10.97.196.162 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-export-api-key-zhfxp 0/1 Init:0/1 0 3d 10.97.196.147 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-import-resources-j6tzd 0/1 Init:0/1 0 3d 10.97.196.152 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-rack-0 0/1 Init:0/1 0 3d 172.16.231.60 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">ucp maas-region-0 0/1 Init:0/1 0 3d 10.97.196.146 airship<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The only output from the maas-db-init pod is this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">root@airship:~# kubectl logs -n ucp maas-db-init-v7z6r<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ export HOME=/tmp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ HOME=/tmp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v DB_HOST ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v ROOT_DB_USER ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v PGPASSWORD ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v USER_DB_USER ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v USER_DB_PASS ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -v USER_DB_NAME ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ echo 'Got DB connection info'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">Got DB connection info<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ pgsql_superuser_cmd 'SELECT 1 FROM pg_database WHERE datname = '\''maasdb'\'''<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ DB_COMMAND='SELECT 1 FROM pg_database WHERE datname = '\''maasdb'\'''<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -z '' ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ grep -q 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ psql -h postgresql.ucp.svc.cluster.local -p 5432 -U postgres '--command=SELECT 1 FROM pg_database WHERE datname = '\''maasdb'\'''<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">psql: FATAL: no pg_hba.conf entry for host "10.97.196.143", user "postgres", database "postgres", SSL off<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ pgsql_superuser_cmd 'CREATE DATABASE maasdb'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ DB_COMMAND='CREATE DATABASE maasdb'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ [[ ! -z '' ]]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">+ psql -h postgresql.ucp.svc.cluster.local -p 5432 -U postgres '--command=CREATE DATABASE maasdb'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1F497D">psql: FATAL: no pg_hba.conf entry for host "10.97.196.143", user "postgres", database "postgres", SSL off<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Unfortunately, I haven’t been able to troubleshoot this any further.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">--Alex.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><i><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Alex Arnoldy</span></i></b><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><br>
Software Defined Infrastructure Solutions Architect<br>
SUSE<br>
</span></i><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><a href="mailto:Alex.Arnoldy@SUSE.com" target="_blank"><i><span style="font-family:"Arial",sans-serif;color:blue">Alex.Arnoldy@SUSE.com</span></i></a></span><i><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><br>
(P) +1 (408) 828-9797</span></i><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Balsiger Daniel, INI-EAI-INO-MBL <<a href="mailto:Daniel.Balsiger@swisscom.com">Daniel.Balsiger@swisscom.com</a>>
<br>
<b>Sent:</b> Monday, December 10, 2018 6:32 AM<br>
<b>To:</b> <a href="mailto:airship-discuss@lists.airshipit.org">airship-discuss@lists.airshipit.org</a><br>
<b>Subject:</b> [Airship-discuss] Airship in a bottle install failure...<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Hi there Airshippers<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I wanted to try installing airhip-in-a-bottle in a fresh Ubuntu16.04 VM running on OpenStack over the weekend. I followed the instructions on airshipit.org
<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">--snip<o:p></o:p></span></p>
<pre><code><span style="color:black">sudo -i</span><o:p></o:p></code></pre>
<pre><code><span style="color:black">mkdir -p /root/deploy && cd "$_"<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">git clone <a href="https://github.com/openstack/airship-in-a-bottle">https://github.com/openstack/airship-in-a-bottle</a><o:p></o:p></span></code></pre>
<pre><code><span style="color:black">cd /root/deploy/airship-in-a-bottle/manifests/dev_single_node<o:p></o:p></span></code></pre>
<pre><code><span style="color:black">./airship-in-a-bottle.sh</span></code><o:p></o:p></pre>
<p><span style="font-family:"Calibri",sans-serif;color:black">--snip<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">The script is still running after 2 days so I think something went wrong.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">The output is repeating itself, listing running/restarted containers (I think postgres is the one not coming up properly)<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">--snip<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">NAMESPACE NAME READY STATUS RESTARTS AGE<br>
kube-system auxiliary-etcd-airship 3/3 Running 0 2d<br>
kube-system bootstrap-armada-airship 4/4 Running 0 2d<br>
kube-system calico-etcd-airship 1/1 Running 0 2d<br>
kube-system calico-etcd-anchor-2jrqf 1/1 Running 0 2d<br>
kube-system calico-kube-controllers-6d5997c8c4-zxftw 1/1 Running 0 2d<br>
kube-system calico-node-l885v 2/2 Running 0 2d<br>
kube-system calico-settings-kbq79 0/1 Completed 0 2d<br>
kube-system coredns-d4587b7f8-7wlpm 1/1 Running 0 2d<br>
kube-system coredns-d4587b7f8-98t62 1/1 Running 0 2d<br>
kube-system coredns-d4587b7f8-frx5w 1/1 Running 0 2d<br>
kube-system haproxy-airship 1/1 Running 0 2d<br>
kube-system ingress-8w29l 1/1 Running 0 2d<br>
kube-system ingress-error-pages-5ccf96bf7d-jsrww 1/1 Running 0 2d<br>
kube-system kubernetes-apiserver-airship 1/1 Running 0 2d<br>
kube-system kubernetes-apiserver-anchor-55x59 1/1 Running 0 2d<br>
kube-system kubernetes-controller-manager-airship 1/1 Running 1 2d<br>
kube-system kubernetes-controller-manager-anchor-2wsg8 1/1 Running 0 2d<br>
kube-system kubernetes-etcd-airship 1/1 Running 0 2d<br>
kube-system kubernetes-etcd-anchor-64wgx 1/1 Running 0 2d<br>
kube-system kubernetes-proxy-9s68d 1/1 Running 0 2d<br>
kube-system kubernetes-scheduler-airship 1/1 Running 1 2d<br>
kube-system kubernetes-scheduler-anchor-npmn7 1/1 Running 0 2d<br>
kube-system nfs-provisioner-7799d64d59-scgdc 1/1 Running 0 2d<br>
ucp airship-ucp-rabbitmq-rabbitmq-0 1/1 Running 0 2d<br>
ucp ingress-6cd5b89d5d-gp98m 1/1 Running 0 2d<br>
ucp ingress-error-pages-5c97bb46bb-zq5cw 1/1 Running 0 2d<br>
ucp mariadb-ingress-6c4f9c76f-bjd99 0/1 Running 0 2d<br>
ucp mariadb-ingress-6c4f9c76f-xjrn9 0/1 Running 0 2d<br>
ucp mariadb-ingress-error-pages-5dd6fbb75-89qmx 1/1 Running 0 2d<br>
ucp mariadb-server-0 0/1 Running 0 2d<br>
ucp postgresql-0 1/1 Running 1 2d<br>
--snip<o:p></o:p></span></p>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Anybody out there with the same problem or (even better) a solution for it?<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Should I pick a particular branch or commit?<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Any help is appreciated.
<o:p></o:p></span></p>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Best Regards, Daniel<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>