Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Freudberg 359b89de3f Enhance boot from volume
Attached volumes already had support for explicit volume type,
availability zone, and instance locality. Extend this capability to
boot volumes.

(For posterity's sake, a summary of why other options related to
attached volumes were not in fact appropriate for boot volumes:
- volumes_per_node: there can only be one boot volume
- volumes_size: boot volume size given by flavor
- volume_mount_prefix: boot volume handled differently)

Change-Id: I009c0da4179c880fd87a7c1903c93825e8997a38
Story: 2004507
Task: 28229
2019-01-07 20:36:05 -05:00
Nikita Konovalov f1722350a7 Boot from volume
Adding the ability to boot a sahara cluster from volume.

Story: #2001820
Task: #12558

Change-Id: Ie11c5e7a628c369868d3c56e803da4b9e7d15f85
2018-06-15 09:25:09 -03:00
Marianne Linhares Monteiro 4cc57f181d [APIv2] Rename hadoop_version
hadoop_version should be changed to plugin_version.

This patch only changes json requests, the complete
change should be done when APIv2 is stable
and APIv1 deprecated. Along with this should be a
data model change as well.

Partial-Implements: bp v2-api-experimental-impl

Change-Id: Id59703ce49741d024ac9dee09d28f8f515c9806a
2017-04-07 12:36:09 -03:00
Andrey Pavlov c3b1c08a57 Adding shared and protected resources support
Adding shared across tenants and protected from modifictaion
resources support. Implemented for clusters, cluster templates,
node group templates, data sources, job executions, jobs,
job binaries and job binary internals.

Changes:
* Added validation checks to service.validations.acl
* Changed validation schema's to support "is_public"
  and "is_protected" fields
* Added validation of "is_protected" field for update(scale/cancel)
  and delete methods of corresponding resources
* Extended get and list methods outputs with "is_public" resources
* Added unit tests for "is_public" and "is_protected" resources

Change-Id: I1a3cb14b8de70256e6aa27312dde341e85fc376c
Partially-Implements: blueprint shared-protected-resources
2015-08-20 10:36:30 +03:00
Vitaly Gridnev 3281d1dc58 Put missing fields to validation schema
Field use_autoconfig is missing in the cluster templates and node groups
validation schema, so it should be added.

Change-Id: Idaf25374dc0a668d413a852c001cc36ec2313afd
Closes-bug: 1479035
2015-08-05 09:55:10 +00:00
Ethan Gafford ee8d20add2 Mount share API
Adds API and operations for mounting Manila shares to clusters at
both the cluster and node group level.

Implements: blueprint mount-share-api
Change-Id: I98fd1b97f4639161396ab44ebcb1508fca648a06
2015-07-29 10:31:19 -04:00
Trevor McKay 0ba7ece84f Add "null" for fields in cluster and node group template JSON schemas
* Change 'type' for optional fields to list including 'null'

* Allow the default template tool to use "None" to
unset fields with replacement values when no replacement has been
specified.

* Fix cluster template update code to check for explicit setting of
the 'node_groups' field in a cluster template update

Partial-Bug: #1438077
Closes-Bug: #1439839

Change-Id: Ia180867c8e3ffb502da40f169a49dd3a54c23072
2015-05-29 11:00:10 -04:00
Trevor McKay f88a627f49 Move node group template schema definition to its own file
Moving the schema definition to another file allows it to be
imported without unnecessary dependencies.

Partial-implements: blueprint default-templates
Change-Id: Ic2b8fcb94b51be854edcd52f22bb2aa2a8af2ff2
2015-03-12 10:06:29 -04:00