openstack-ansible AIO error : os_swift : Get md5sum of local builder files

Dimitris Theoharis dimtheo at
Tue Apr 9 00:39:26 UTC 2019


I have been trying to add SWIFT in AIO for some testing but i always get the error i will post below. I have tried Ubuntu bionic and Centos 7 and git cloned 18.1.4 , 18.1.6 , , master
all versions give me the same error about SWIFT . 
As i understand the error may be an ansible bug but not quite sure . 
the bootstrap-ansible installs version 2.7.9

this is the error:

TASK [os_swift : Verify md5sum of builder files] *******************************************************************************************************************************************************************************************************************************
skipping: [aio1] => (item=aio1)
fatal: [aio1]: FAILED! => {"msg": "The conditional check 'hostvars[item]['builder_md5sum'] != md5sum.stdout' failed. The error was: error while evaluating conditional (hostvars[item]['builder_md5sum'] != md5sum.stdout): 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'builder_md5sum'\n\nThe error appears to have been in '/etc/ansible/roles/os_swift/tasks/swift_rings_post_distribution_check.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# As this is post sync all should match and not be empty\n- name: Verify md5sum of builder files\n  ^ here\n"}

here is a very detailed error log

any tips ? thanks

Dimitris Theoharis
DevOps Engineer    
w:   e:  dimtheo at                            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openstack-discuss mailing list