← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1349807] [NEW] [UI] Failed to copy cluster template

 

You have been subscribed to a public bug:

Failed to copy cluster template.

Reproduction steps:

1. Create one or a few node group templates.
2. Create cluster template via API request. Cluster template must use IDs of created node group templates and node groups described in cluster template directly. For example, request body for cluster template may be 

{
    "name": "some-cluster-template",
    "description": "Some Cluster template",
    "plugin_name": "vanilla",
    "hadoop_version": "1.2.1",
    "cluster_configs": {},
    "node_groups": [
        {
            "name": "master",
            "node_group_template_id": "35c17bf0-d74b-43b4-99b7-a395a6e4b407",
            "count": 1
        },
        {
            "name": "worker",
            "flavor_id": "2",
            "node_processes": ["tasktracker", "datanode"],
            "node_configs": {},
            "count": 2
        }
    ]
}

3. Go to Sahara dashboard. Try to copy cluster template.

Expected result:
Template has been successfully copied.

Observed result:
Template has not been copied.
 
Error from Horizon is the following:
Error: {u'count': 2, u'name': u'worker', u'node_group_template_id': u'None'} is not valid under any of the given schemas

** Affects: horizon
     Importance: Medium
     Assignee: Nikita Konovalov (nkonovalov)
         Status: In Progress

-- 
[UI] Failed to copy cluster template
https://bugs.launchpad.net/bugs/1349807
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).