yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23162
[Bug 1349807] Re: [sahara] Failed to copy cluster template
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1349807
Title:
[sahara] Failed to copy cluster template
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1349807/+subscriptions