cinder deploy fails copying nfs_shares

Bug #1662625 reported by Chris Liles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang

Bug Description

FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'ansible.vars.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'key'\n\nThe error appears to have been in '/home/cliles/dev/kolla/2.6.2017/share/kolla/ansible/roles/cinder/tasks/config.yml': line 70, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Copying over nfs_shares files for cinder_volume\n ^ here\n"}

diff --git a/ansible/roles/cinder/tasks/config.yml b/ansible/roles/cinder/tasks/config.yml
index 0229677..ba160a7 100644
--- a/ansible/roles/cinder/tasks/config.yml
+++ b/ansible/roles/cinder/tasks/config.yml
@@ -69,7 +69,7 @@

 - name: Copying over nfs_shares files for cinder_volume
   template:
- src: "{{ item.key }}"
+ src: "{{ item }}"
     dest: "{{ node_config_directory }}/cinder-volume/nfs_shares"
   with_first_found:
     - files:

Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
milestone: none → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/430638

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/430638
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=53551557830f6861f4823add5f97121b2cda1457
Submitter: Jenkins
Branch: master

commit 53551557830f6861f4823add5f97121b2cda1457
Author: Jeffrey Zhang <email address hidden>
Date: Wed Feb 8 16:26:56 2017 +0800

    Fix copying over nfs_shares task failure

    Change-Id: I2e050d811a26ac83f2336d25b02952a9e9835142
    Closes-Bug: #1662625

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 4.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.