<div dir="ltr"><div>Hi Nikos!</div><div><br></div><div>Do you still have access to this VM? If so, I think the best place to start is by retrieving the status of the airflow workers to verify they are operational (kubectl get pods -n ucp will show them). There have been several changes to Airship-in-a-Bottle since the time of writing; have you had the opportunity to give the latest version a try?</div><div><br></div><div>Best,</div><div>Drew Walters<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018 at 8:47 AM Nikos Karandreas <<a href="mailto:nick@intracom-telecom.com">nick@intracom-telecom.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 lang="EL"><div class="gmail-m_-8596905364434951781WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi airship people,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I’m trying to deploy airship-in-a-bottle in a fresh Ubuntu 16.04 VM (8 vCPU/24GB RAM/48GB disk) following the <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">instructions in [1] but I’m getting the failure below (until the end in [2])<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=<a href="http://keystone.ucp.svc.cluster.local:80/v3" target="_blank">http://keystone.ucp.svc.cluster.local:80/v3</a> -e OS_USERNAME=shipyard -e OS_USER_DOMAIN_NAME=default -e OS_PASSWORD=password18 -e OS_PROJECT_DOMAIN_NAME=default -e OS_PROJECT_NAME=service <a href="http://quay.io/airshipit/shipyard:master" target="_blank">quay.io/airshipit/shipyard:master</a> create action deploy_site<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Error: Unable to complete request to Airflow<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Reason: Airflow could not be contacted properly by Shipyard.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">- Error: <class 'requests.exceptions.ConnectTimeout'><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">and giving, after that, docker ps I get:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">root@airhost2:~/deploy/airship-in-a-bottle/manifests/dev_single_node# docker ps --all | grep "<a href="http://quay.io/airshipit/shipyard" target="_blank">quay.io/airshipit/shipyard</a>"<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">f4c0747b25ec <a href="http://quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed" target="_blank">quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed</a> "/tmp/airflow-ship..." 47 minutes ago Exited (0) 47 minutes ago k8s_airflow-shipyard-init_airflow-web-75d98b59b5-tbtsg_ucp_677730b5-f2ff-11e8-af0b-52540085805e_0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">04241489b515 <a href="http://quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed" target="_blank">quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed</a> "/tmp/airflow-ship..." 47 minutes ago Exited (0) 47 minutes ago k8s_airflow-shipyard-init_airflow-scheduler-5588bd948f-dlq2n_ucp_677727c7-f2ff-11e8-af0b-52540085805e_0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">d433934eec1d <a href="http://quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed" target="_blank">quay.io/airshipit/shipyard@sha256:da847565f42af6b3286c95ad474db6acd2ad8dac83b6185dd4388ad530441fed</a> "/tmp/airflow-ship..." 47 minutes ago Exited (0) 47 minutes ago k8s_airflow-shipyard-init_airflow-worker-0_ucp_68133c76-f2ff-11e8-af0b-52540085805e_0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Can you please give some insight on what might be wrong or what to look for?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Cheers<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Nikos<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(80,80,80)" lang="EN-GB"><u></u> <u></u></span></b></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(80,80,80)" lang="EN-GB">Nikos Karandreas<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(80,80,80)" lang="EN-GB">Developer, OPNFV<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(80,80,80)" lang="EN-GB">Software Development Center<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(197,0,0)" lang="EN-GB">_____________________________________</span><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(192,0,0)" lang="EN-GB"><br></span><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(197,0,0)" lang="EN-GB">Intracom Telecom</span><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(192,0,0)" lang="EN-GB"><br></span><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(110,110,110)" lang="EN-GB">Marinou Antipa 41, Pilea-Thessaloniki, GR 57001<br>t: +</span><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(110,110,110)" lang="EN-US">30 2310497353,<br>f: +30 2310497330<br></span><u><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(5,99,193)" lang="EN-GB"><a href="mailto:nick@intracom-telecom.com" target="_blank">nick@intracom-telecom.com</a></span></u><u><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(110,110,110)" lang="EN-GB"> <u></u><u></u></span></u></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)" lang="EN-GB"><a href="http://www.intracom-telecom.com/" target="_blank"><span style="color:blue">www</span><span style="color:blue" lang="EN-US">.</span><span style="color:blue">intracom</span><span style="color:blue" lang="EN-US">-</span><span style="color:blue">telecom</span><span style="color:blue" lang="EN-US">.</span><span style="color:blue">com</span></a></span><span style="font-size:12pt;font-family:"Arial",sans-serif;color:rgb(110,110,110)" lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)" lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">[1] <a href="https://github.com/openstack/airship-in-a-bottle" target="_blank">https://github.com/openstack/airship-in-a-bottle</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">[2]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Execute deploy_site Dag...<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ [[ -n '' ]]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ [[ -n deploy_site ]]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=<a href="http://keystone.ucp.svc.cluster.local:80/v3" target="_blank">http://keystone.ucp.svc.cluster.local:80/v3</a> -e OS_USERNAME=shipyard -e OS_USER_DOMAIN_NAME=default -e OS_PASSWORD=password18 -e OS_PROJECT_DOMAIN_NAME=default -e OS_PROJECT_NAME=service <a href="http://quay.io/airshipit/shipyard:master" target="_blank">quay.io/airshipit/shipyard:master</a> create action deploy_site<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Error: Unable to complete request to Airflow<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Reason: Airflow could not be contacted properly by Shipyard.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">- Error: <class 'requests.exceptions.ConnectTimeout'><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">#### Errors: 1, Warnings: 0, Infos: 0, Other: 0 ####<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=<a href="http://keystone.ucp.svc.cluster.local:80/v3" target="_blank">http://keystone.ucp.svc.cluster.local:80/v3</a> -e OS_USERNAME=shipyard -e OS_USER_DOMAIN_NAME=default -e OS_PASSWORD=password18 -e OS_PROJECT_DOMAIN_NAME=default -e OS_PROJECT_NAME=service <a href="http://quay.io/airshipit/shipyard:master" target="_blank">quay.io/airshipit/shipyard:master</a> get actions<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Name Action Lifecycle Execution Time Step Succ/Fail/Oth Footnotes <u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">None <u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ echo -e 'Retrieving Action ID...\n'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Retrieving Action ID...<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=<a href="http://keystone.ucp.svc.cluster.local:80/v3" target="_blank">http://keystone.ucp.svc.cluster.local:80/v3</a> -e OS_USERNAME=shipyard -e OS_USER_DOMAIN_NAME=default -e OS_PASSWORD=password18 -e OS_PROJECT_DOMAIN_NAME=default -e OS_PROJECT_NAME=service <a href="http://quay.io/airshipit/shipyard:master" target="_blank">quay.io/airshipit/shipyard:master</a> get actions<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ grep -i Processing<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ awk '{print $2}'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ grep deploy_site<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ action_id=<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ retrieve_shipyard_action_counter=0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ retrieve_shipyard_action_limit=2<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ [[ 0 -le 2 ]]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ [[ -n '' ]]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ [[ 0 == 2 ]]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ echo -e 'Unable to Retrieve Action ID!'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Unable to Retrieve Action ID!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ echo -e 'Retrying in 30 seconds...'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Retrying in 30 seconds...<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ sleep 30<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=<a href="http://keystone.ucp.svc.cluster.local:80/v3" target="_blank">http://keystone.ucp.svc.cluster.local:80/v3</a> -e OS_USERNAME=shipyard -e OS_USER_DOMAIN_NAME=default -e OS_PASSWORD=password18 -e OS_PROJECT_DOMAIN_NAME=default -e OS_PROJECT_NAME=service <a href="http://quay.io/airshipit/shipyard:master" target="_blank">quay.io/airshipit/shipyard:master</a> get actions<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ grep deploy_site<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ grep -i Processing<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">++ awk '{print $2}'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ action_id=<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ (( retrieve_shipyard_action_counter ++ ))<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ error 'executing deploy_site from the /site directory'<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ set +x<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">Error when executing deploy_site from the /site directory.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ exit 1<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ clean<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">+ set +x<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">To remove files generated during this script's execution, delete /root/deploy.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-US">This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.<u></u><u></u></span></p></div></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>