'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'stdout'

Bug #1517936 reported by Wu Hong Guang on 2015-11-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Wishlist
Steven Dake

Bug Description

$ansible-playbook -i inventory/all-in-one -e @../etc/kolla/globals.yml -e @../etc/kolla/passwords.yml site.yml
PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

TASK [ceph : include] **********************************************************
skipping: [localhost]

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [common : include] ********************************************************
included: /home/ubuntu/kolla/ansible/roles/common/tasks/config.yml for localhost

TASK [common : Ensuring config directory exists] *******************************
ok: [localhost]

TASK [common : Copying over rsyslog JSON configuration file] *******************
ok: [localhost]

TASK [common : Copying over config(s)] *****************************************
ok: [localhost]

TASK [common : include] ********************************************************
included: /home/ubuntu/kolla/ansible/roles/common/tasks/start.yml for localhost

TASK [common : Starting log_data container] ************************************
ok: [localhost]

TASK [common : Starting rsyslog container] *************************************
ok: [localhost]

TASK [common : Starting Ansible container] *************************************
ok: [localhost]

TASK [haproxy : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/haproxy/tasks/config.yml for localhost

TASK [haproxy : Ensuring config directory exists] ******************************
ok: [localhost]

TASK [haproxy : Copying over config(s)] ****************************************
ok: [localhost]

TASK [haproxy : Copying haproxy JSON configuration file] ***********************
ok: [localhost]

TASK [haproxy : Allowing non-local IP binding] *********************************
ok: [localhost]

TASK [haproxy : Ensuring config directory exists] ******************************
ok: [localhost]

TASK [haproxy : Copying keepalived JSON configuration file] ********************
ok: [localhost]

TASK [haproxy : Copying over config(s)] ****************************************
ok: [localhost]

TASK [haproxy : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/haproxy/tasks/start.yml for localhost

TASK [haproxy : Starting keepalived container] *********************************
ok: [localhost]

TASK [haproxy : Starting HAProxy container] ************************************
ok: [localhost]

TASK [haproxy : Ensuring latest haproxy config is used] ************************
ok: [localhost]

TASK [haproxy : Waiting for virtual IP to appear] ******************************
ok: [localhost]

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [memcached : include] *****************************************************
included: /home/ubuntu/kolla/ansible/roles/memcached/tasks/config.yml for localhost

TASK [memcached : Ensuring config directory exists] ****************************
ok: [localhost]

TASK [memcached : Copying over memcached JSON configuration file] **************
ok: [localhost]

TASK [memcached : include] *****************************************************
included: /home/ubuntu/kolla/ansible/roles/memcached/tasks/start.yml for localhost

TASK [memcached : Starting memcached container] ********************************
ok: [localhost]

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [common : include] ********************************************************
included: /home/ubuntu/kolla/ansible/roles/common/tasks/config.yml for localhost

TASK [common : Ensuring config directory exists] *******************************
ok: [localhost]

TASK [common : Copying over rsyslog JSON configuration file] *******************
ok: [localhost]

TASK [common : Copying over config(s)] *****************************************
ok: [localhost]

TASK [common : include] ********************************************************
included: /home/ubuntu/kolla/ansible/roles/common/tasks/start.yml for localhost

TASK [common : Starting log_data container] ************************************
ok: [localhost]

TASK [common : Starting rsyslog container] *************************************
ok: [localhost]

TASK [common : Starting Ansible container] *************************************
ok: [localhost]

TASK [mariadb : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/mariadb/tasks/config.yml for localhost

TASK [mariadb : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/config.yml for localhost

TASK [mariadb : Ensuring templates config directory exists] ********************
ok: [localhost]

TASK [mariadb : Ensuring config directory exists] ******************************
ok: [localhost]

TASK [mariadb : Copying over config(s)] ****************************************
ok: [localhost] => (item=[u'roles/mariadb/templates/galera.cnf.j2', u'/usr/share/kolla/templates/mariadb/galera.cnf_minimal'])

TASK [mariadb : Merging the config files and saving to the final destination] **
ok: [localhost]

TASK [mariadb : Copying Mariadb JSON configuration file] ***********************
ok: [localhost]

TASK [mariadb : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/mariadb/tasks/bootstrap.yml for localhost

TASK [mariadb : Cleaning up temp file on localhost] ****************************
ok: [localhost -> localhost]

TASK [mariadb : Creating temp file on localhost] *******************************
ok: [localhost -> localhost]

TASK [mariadb : Checking if a previous cluster exists] *************************
ok: [localhost]

TASK [mariadb : Writing hostname of host with existing cluster files to temp file] ***
ok: [localhost -> localhost]

TASK [mariadb : Registering host from temp file] *******************************
ok: [localhost]

TASK [mariadb : Cleaning up temp file on localhost] ****************************
ok: [localhost -> localhost]

TASK [mariadb : Starting MariaDB data container] *******************************
ok: [localhost]

TASK [mariadb : Starting MariaDB bootstrap container] **************************
skipping: [localhost]

TASK [mariadb : Sleeping for 15 seconds while the cluster starts] **************
skipping: [localhost]

TASK [mariadb : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/mariadb/tasks/start.yml for localhost

TASK [mariadb : Starting MariaDB container] ************************************
ok: [localhost]

TASK [mariadb : include] *******************************************************
included: /home/ubuntu/kolla/ansible/roles/mariadb/tasks/register.yml for localhost

TASK [mariadb : Creating haproxy mysql user] ***********************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! 'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'stdout'"}

PLAY RECAP *********************************************************************
localhost : ok=56 changed=0 unreachable=0 failed=1

Wu Hong Guang (whg) on 2015-11-20
Changed in kolla:
status: New → Incomplete
Sam Yaple (s8m) wrote :

This may be caused by using Ansible 2.0 which kolla doesnt support yet.

Wu Hong Guang (whg) wrote :

docker 1.8.2 and ansible 1.9.4 fix this problem

Changed in kolla:
status: Incomplete → Opinion
Hui Kang (huikang27) wrote :

I confirm that I hit the same error with ansible 2.0 - Hui

Hui Kang (huikang27) on 2015-12-17
Changed in kolla:
status: Opinion → Confirmed
Steven Dake (sdake) wrote :

Ansible 2.0 is currently not implemented in Kolla. The documentation clearly states the dependency requirements.

Changed in kolla:
status: Confirmed → Won't Fix
milestone: none → mitaka-3
importance: Undecided → Wishlist
Steven Dake (sdake) on 2016-03-05
Changed in kolla:
assignee: nobody → Steven Dake (sdake)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers