Allow user to run custom graph on cluster

Registered by Alexey Shtokolov

As cloud operator I would like to run the custom set of deployment tasks on my cluster. I want to specify all tasks in yaml-file.

I want to have the special handlers to upload new graphs from file, to download and to override existed graphs. And special handler to execute selected graph on whole cluster or on the set of nodes.

Expected commands:
fuel graph list --env env_id
fuel graph upload --env env_id --type graph_type --file tasks.yaml
fuel graph download --env env_id --type graph_type --file output.yaml
fuel graph execute --env env_id --type graph_type [--node node_ids]

graph_type is unique for selected cluster.

Blueprint information

Status:
Complete
Approver:
Ihor Kalnytskyi
Priority:
Essential
Drafter:
Alexey Shtokolov
Direction:
Approved
Assignee:
Ilya Kutukov
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon 9.0
Started by
Vladimir Kuklin
Completed by
Vladimir Kuklin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/custom-graph-execution,n,z

Addressed by: https://review.openstack.org/284250
    Add a spec for custom deployment graph execution

Gerrit topic: https://review.openstack.org/#q,topic:custom-graph,n,z

Addressed by: https://review.openstack.org/284139
    DeploymentGraph and DeploymentGraphTasks models added

Addressed by: https://review.openstack.org/286711
    Deployment graph merge order is changed

Addressed by: https://review.openstack.org/287732
    DeploymentGraph migration testing is testing through objects

Addressed by: https://review.openstack.org/287778
    Strings length constants is removed from DeploymentGraph migrations.

Addressed by: https://review.openstack.org/287791
    test_post and test_pre attributes is removed from DeploymentGraphTask model

Addressed by: https://review.openstack.org/287860
    SQLAlchemy usag cleanup for DeploymentGraph related models

Addressed by: https://review.openstack.org/287865
    DeploymentGraph.verbose_name is renamed to name

Addressed by: https://review.openstack.org/288046
    Cluster deployment graphs merge logic is changed to release + cluster + plugins

Addressed by: https://review.openstack.org/288635
    DeploymentGraph sqlalchemy models relations declaration cleaned

Addressed by: https://review.openstack.org/290219
    Deployment graphs is deleting when replacing or parents removed

Addressed by: https://review.openstack.org/291656
    DeploymentGraph SQLAlchemy models relations declaration cleaned 2

Addressed by: https://review.openstack.org/292438
    DeploymentGraph _custom field removed from serializer fields

Addressed by: https://review.openstack.org/292519
    Orchestrator DeploymentGraph is renamed to the OrchestratorGraph

Addressed by: https://review.openstack.org/293066
    DeploymentGraph.update method added

Addressed by: https://review.openstack.org/293768
    Deployment graph management handlers added to REST API

Addressed by: https://review.openstack.org/294621
    Deployment graph _assoc suffix added to the association model relations

Addressed by: https://review.openstack.org/294708
    Tasks and graph info handlers updated for custom DeploymentGraph

Addressed by: https://review.openstack.org/296134
    Custom graph run support added to handlers

Addressed by: https://review.openstack.org/297331
    DeploymentGraph.update method added

Addressed by: https://review.openstack.org/297392
    Linked deployment graph management handlers added to REST API

Addressed by: https://review.openstack.org/297456
    Direct deployment graph management handlers added to REST API

Addressed by: https://review.openstack.org/297670
    DeploymentGraph.update method added

Addressed by: https://review.openstack.org/297705
    DeploymentGraph.update method added

Addressed by: https://review.openstack.org/297722
    Direct deployment graph management handlers added to REST API

Addressed by: https://review.openstack.org/297729
    Direct deployment graph management handlers added to REST API

Addressed by: https://review.openstack.org/297770
    ustom tasks and deployment graph run handlers implemented

Addressed by: https://review.openstack.org/297899
    Custom graph support added to the tasks and graph info handlers

Addressed by: https://review.openstack.org/297902
    Custom graph run support added to handlers

Addressed by: https://review.openstack.org/298049
    Fix the method create for the Release object

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.