hook-ansible miss caused AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Heat Templates |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When testing the software-config example-
03-26 08:35:51,310] (heat-config) [DEBUG] Running ansible-playbook -i localhost, /var/lib/
Mar 26 08:35:51 ansible-inst os-collect-config: Traceback (most recent call last):
Mar 26 08:35:51 ansible-inst os-collect-config: File "/var/lib/
Mar 26 08:35:51 ansible-inst os-collect-config: sys.exit(
Mar 26 08:35:51 ansible-inst os-collect-config: File "/var/lib/
Mar 26 08:35:51 ansible-inst os-collect-config: stderr=
Mar 26 08:35:51 ansible-inst os-collect-config: File "/usr/lib/
Mar 26 08:35:51 ansible-inst os-collect-config: errread, errwrite)
Mar 26 08:35:51 ansible-inst os-collect-config: File "/usr/lib/
Mar 26 08:35:51 ansible-inst os-collect-config: raise child_exception
Mar 26 08:35:51 ansible-inst os-collect-config: AttributeError: 'list' object has no attribute 'rfind'
Mar 26 08:35:51 ansible-inst os-collect-config:
Mar 26 08:35:51 ansible-inst os-collect-config: [2015-03-26 08:35:51,363] (heat-config) [ERROR] Error running /var/lib/
This is caused by the hook-ansible.py's miss in heat-config-ansible element
affects: | heat → heat-templates |
Reviewed: https:/ /review. openstack. org/167920 /git.openstack. org/cgit/ openstack/ heat-templates/ commit/ ?id=faaf253b2fc 5531dfe17a3f325 a736ba0b2f4b47
Committed: https:/
Submitter: Jenkins
Branch: master
commit faaf253b2fc5531 dfe17a3f325a736 ba0b2f4b47
Author: Haiwei Xu <email address hidden>
Date: Thu Mar 26 17:28:19 2015 +0900
Fix AttributeError caused by hook-ansible
Currently a python miss in hook-ansible causes AttributeError,
which will stop the ansible config being deployed.
Change-Id: I33918424d664df be1d9471f0ac80b 2a3c974f4d0
Closes-Bug: #1436740