[Airship-discuss] airship-in-a-bottle issue

Roman Gorshunov paye600 at gmail.com
Mon Oct 22 20:47:46 UTC 2018


Yes, I also got the same problem. Will check further tomorrow morning.
Thank you!

> On 22 Oct 2018, at 22:42, Curtis <serverascode at gmail.com> wrote:
> 
> Using that patch I get quite a bit farther, but still the deployment fails. I'll be poking around at this over the next couple of days. Thanks for your help thus far.
> 
> SNIP!
> 02660a024977: Pull complete
> b84ec6a3a0db: Pull complete
> Digest: sha256:7198329c32f4ed4b4c5e7399853b98feee2e0935b8d0cd61b1888a0ae6c4304a
> Status: Downloaded newer image for quay.io/airshipit/shipyard:master  
> Usage: shipyard create configdocs [OPTIONS] COLLECTION
> 
> Error: Invalid value for "--filename": Path "/home/shipyard/host/deployment_files.yaml" does not exist.
> + ./run_shipyard.sh create configdocs secrets --filename=/home/shipyard/host/certificates.yaml --append
> Usage: shipyard create configdocs [OPTIONS] COLLECTION
> 
> Error: Invalid value for "--filename": Path "/home/shipyard/host/certificates.yaml" does not exist.
> + ./run_shipyard.sh commit configdocs
> HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/commitconfigdocs?force=False&dryrun=False&verbosity=1 (Caused by NewConnectionError('<urllib
> 3.connection.HTTPConnection object at 0x7f248f38e828>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> Error: Client Error: HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/commitconfigdocs?force=False&dryrun=False&verbosity=1 (Caused by NewCon
> nectionError('<urllib3.connection.HTTPConnection object at 0x7f248f38e828>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> + export max_shipyard_count=60
> + max_shipyard_count=60
> + export shipyard_query_time=90
> + shipyard_query_time=90
> + bash execute_shipyard_action.sh deploy_site
> + run_action deploy_site
> + action=deploy_site
> + servers=
> + NC='\033[0m'
> + RED='\033[0;31m'
> + GREEN='\033[0;32m'
> +++ dirname execute_shipyard_action.sh
> ++ cd .
> ++ pwd
> + DIR=/root/deploy/site
> + cd /root/deploy/site
> + source shipyard_docker_base_command.sh
> ++ NAMESPACE=ucp
> ++ SHIPYARD_IMAGE=quay.io/airshipit/shipyard:master
> +++ cat
> ++ base_docker_command='sudo docker run -t --rm --net=host
> -e http_proxy=
> -e https_proxy=
> -e no_proxy=
> -e OS_AUTH_URL=http://keystone.ucp.svc.cluster.local:80/v3
> -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'
> + echo -e 'Execute deploy_site Dag...\n'
> Execute deploy_site Dag...
> 
> + [[ -n '' ]]
> + [[ -n deploy_site ]]
> + sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=http://keystone.ucp.svc.cluster.local:80/v3 -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 quay.io/airshipit/shipyard:master create action deploy_site
> HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/actions?allow-intermediate-commits=False&verbosity=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0d9613e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> Error: Client Error: HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/actions?allow-intermediate-commits=False&verbosity=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0d9613e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> + sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=http://keystone.ucp.svc.cluster.local:80/v3 -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 quay.io/airshipit/shipyard:master get actions
> HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/actions?verbosity=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b0f72ca20>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> Error: Client Error: HTTPConnectionPool(host='shipyard.gate.local', port=80): Max retries exceeded with url: /api/v1.0/actions?verbosity=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b0f72ca20>: Failed to establish a new connection: [Errno -2] Name or service not known',))
> + echo -e 'Retrieving Action ID...\n'
> Retrieving Action ID...
> 
> ++ grep deploy_site
> ++ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=http://keystone.ucp.svc.cluster.local:80/v3 -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 quay.io/airshipit/shipyard:master get actions
> ++ grep -i Processing
> ++ awk '{print $2}'
> + action_id=
> + retrieve_shipyard_action_counter=0
> + retrieve_shipyard_action_limit=2
> + [[ 0 -le 2 ]]
> + [[ -n '' ]]
> + [[ 0 == 2 ]]
> + echo -e 'Unable to Retrieve Action ID!'
> Unable to Retrieve Action ID!
> + echo -e 'Retrying in 30 seconds...'
> Retrying in 30 seconds...
> + sleep 30
> ++ awk '{print $2}'
> ++ grep -i Processing
> ++ grep deploy_site
> ++ sudo docker run -t --rm --net=host -e http_proxy= -e https_proxy= -e no_proxy= -e OS_AUTH_URL=http://keystone.ucp.svc.cluster.local:80/v3 -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 quay.io/airshipit/shipyard:master get actions
> + action_id=
> + (( retrieve_shipyard_action_counter ++ ))
> + error 'executing deploy_site from the /site directory'
> + set +x
> Error when executing deploy_site from the /site directory.
> + exit 1
> + clean
> + set +x
> To remove files generated during this script's execution, delete /root/deploy.
> 




More information about the Airship-discuss mailing list