[kubernetes] Malformed KubernetesCluster.yaml causes upload error

Bug #1427503 reported by Florian Walker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deprecated-murano-apps
Fix Committed
Critical
Serg Melikyan

Bug Description

Environment:
-Host Ubuntu 14.01
-Python 2.7.6
-latest DevStack (on single VM)
-Murano setup as described in http://murano.readthedocs.org/en/latest/install/index.html#installing-and-running-the-development-version

Problem:
When trying to upload the KubernetesCluster app, zipper content of
https://github.com/stackforge/murano-apps/tree/master/kubernetes/io.murano.apps.docker.kubernetes.KubernetesCluster
via the Murano web interface, the attend failed. The UI shows an error "The form cannot be submitted".
All other apps from https://github.com/stackforge/murano-apps/tree/master/kubernetes
can be uploaded without problems.

The Horizon log (attached)
"io.murano.apps.docker.kubernetes.KubernetesCluster\\" from package: Unable to load class definition due to \\"mapping values are not allowed here\\n in \\"/tmp/tmpY2h0I8/Classes/KubernetesCluster.yaml\\", line 70, column 45

points to this section in the YAML file:
"- If: $.nodeCount < len($.minionNodes):"

The upload succeeds when removing the ":" from the end of this line.

Revision history for this message
Florian Walker (fwalker) wrote :
Revision history for this message
Florian Walker (fwalker) wrote :

From my understanding of the MuranoPL, based on http://murano.readthedocs.org/en/stable-juno/articles/murano_pl.html#block-constructs it seems the additional ":" is invalid at this position.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-apps (master)

Reviewed: https://review.openstack.org/162054
Committed: https://git.openstack.org/cgit/stackforge/murano-apps/commit/?id=a48bf9c4f85bd2af5632930cbc0284ac94e6fe86
Submitter: Jenkins
Branch: master

commit a48bf9c4f85bd2af5632930cbc0284ac94e6fe86
Author: Florian Walker <email address hidden>
Date: Fri Mar 6 08:17:24 2015 +0000

    Minor fix of KubernetesCluster app

    Removed invalid character from block statement of KubernetesCluster class definition.

    Closes-Bug: #1427503
    Change-Id: I72e44982b970b9c1355f0111caa6dadf1b3356c6

Changed in murano:
assignee: nobody → Serg Melikyan (smelikyan)
status: New → In Progress
status: In Progress → Fix Committed
affects: murano → murano-applications
Changed in murano-applications:
importance: Undecided → High
importance: High → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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