Skip to content

Instantly share code, notes, and snippets.

@stevekuznetsov
Created February 5, 2016 18:31
Show Gist options
  • Save stevekuznetsov/817fc6f21bc926c83a22 to your computer and use it in GitHub Desktop.
Save stevekuznetsov/817fc6f21bc926c83a22 to your computer and use it in GitHub Desktop.
ansible fail
$ bin/cluster create aws reservationmanager
PLAY [Launch instance(s)] *****************************************************
localhost: not importing file: /home/stevekuznetsov/go/src/github.com/openshift/openshift-ansible/playbooks/aws/openshift-cluster/vars.origin.reservationmanager.yml
TASK: [fail ] *****************************************************************
skipping: [localhost]
TASK: [set_fact k8s_type="etcd"] **********************************************
ok: [localhost]
TASK: [Generate etcd instance names(s)] ***************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [Find amis for deployment_type] *****************************************
ok: [localhost]
TASK: [fail msg="Could not find requested ami"] *******************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [Launch instance(s)] ****************************************************
ok: [localhost]
TASK: [Add Name tag to instances] *********************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [Add new instances groups and variables] ********************************
skipping: [localhost]
TASK: [Add new instances to nodes_to_add group if needed] *********************
skipping: [localhost]
TASK: [Wait for ssh] **********************************************************
skipping: [localhost]
TASK: [Wait for user setup] ***************************************************
skipping: [localhost]
TASK: [set_fact k8s_type="master"] ********************************************
ok: [localhost]
TASK: [Generate master instance names(s)] *************************************
ok: [localhost] => (item=1)
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
skipping: [localhost]
TASK: [Find amis for deployment_type] *****************************************
ok: [localhost]
TASK: [fail msg="Could not find requested ami"] *******************************
skipping: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [set_fact ] *************************************************************
ok: [localhost]
TASK: [Launch instance(s)] ****************************************************
failed: [localhost] => {"failed": true}
msg: Instance creation failed => InvalidParameterValue: Value () for parameter groupId is invalid. The value cannot be empty
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/stevekuznetsov/launch.retry
localhost : ok=25 changed=0 unreachable=0 failed=1
ACTION [create] failed: Command 'ansible-playbook -i inventory/aws/hosts -e 'num_masters=1 num_nodes=2 cluster_id=reservationmanager cluster_env=dev num_etcd=0 num_infra=1 deployment_type=origin' playbooks/aws/openshift-cluster/launch.yml' returned non-zero exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment