← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1349807] Re: [UI] Failed to copy cluster template

 

** Project changed: sahara => horizon

** Changed in: horizon
    Milestone: juno-3 => None

** Summary changed:

- [UI] Failed to copy cluster template
+ [sahara] Failed to copy cluster template

-- 
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):
  In Progress

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