unable to create pvc beacuse of incomplete if else in template

Bug #1612242 reported by Ryan Hallisey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-kubernetes
Fix Released
Undecided
Ryan Hallisey

Bug Description

[rhallisey@localhost kolla-kubernetes]$ ./tools/kolla_kubernetes.py resource create mariadb pvc --debug -v
executing cmd[kolla-kubernetes resource-template create mariadb pvc mariadb-pvc | kubectl create -f -]
Unexpected end of template. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.
error: no objects passed to create

The j2 template was missing a complete if else statement when selecting which storage backend to use.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-kubernetes (master)

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

Changed in kolla-kubernetes:
assignee: nobody → Ryan Hallisey (rthall14)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-kubernetes (master)

Reviewed: https://review.openstack.org/354072
Committed: https://git.openstack.org/cgit/openstack/kolla-kubernetes/commit/?id=b0b9717734e3fd1f4f7a2efbe15f31300bae4842
Submitter: Jenkins
Branch: master

commit b0b9717734e3fd1f4f7a2efbe15f31300bae4842
Author: Ryan Hallisey <email address hidden>
Date: Thu Aug 11 05:11:37 2016 -0400

    Jinja2 pvc template error because of imcomplete if else

    The jinja2 template is causing an error when creating a pvc.
    Need to complete the if else statement.

    Change-Id: I541e0470371a52402ee5d00a22076844a0b5e972
    Closes-bug: #1612242

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

This issue was fixed in the openstack/kolla-kubernetes 0.2.0 release.

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.