2015-Middleware-Keynote / demo-ansible

Apache License 2.0
18 stars 24 forks source link

Failed to template #86

Closed hferentschik closed 8 years ago

hferentschik commented 8 years ago
fatal: [ec2-<ip>.eu-west-1.compute.amazonaws.com] => Failed to template {{ hostvars | oo_select_keys(groups['nodes']) | oo_nodes_with_label('region', 'infra') | oo_collect('inventory_hostname') }}: |failed expects first param is a list

FATAL: all hosts have already failed -- aborting

I re-ran the script multiple times (from scratch or trying to keep the created instances) and I cannot get past the error above.

I am running:

./run.py --env-size small --keypair ec2 --r53-zone openshift.click \
      --node-instance-type r3.large --master-instance-type t2.large \
      --infra-instance-type c3.xlarge --app-dns-prefix apps \
      --region eu-west-1 --ami ami-8cff51fb \
      --deployment-type openshift-enterprise --rhsm-user <foo> \
      --run-smoke-tests --num-smoke-test-users 60 \
      --default-password ose3 --cluster-id demo
detiber commented 8 years ago

This was introduced by a change in openshift-ansible, working on a fix there now

detiber commented 8 years ago

openshift-ansible PR: https://github.com/openshift/openshift-ansible/pull/1326

hferentschik commented 8 years ago

Awesome thanks.

detiber commented 8 years ago

The openshift-ansible PR is sufficient.

detiber commented 8 years ago

closing since the fix has been merged in openshift-ansible