Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Jaeger e61cc055ab Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I10917e42829b459c41ca46514faa72fc46abf7be
2019-12-18 09:52:23 +01:00
Igor Gajsin 634b66df45 remove vmware
VMware not supported since Fuel 10.

Implements: blueprint remove-vmware

Change-Id: Ia26a97d13bb9c3d2e838d639efdababbb15f86da
2017-02-14 15:52:27 +00:00
Bulat Gaifullin d67cdc012e Introduced metadata for deployment graphs
the following attributes was added:

- node_filter: YAQL expression to select nodes for applying the graph
- node_attributes_on_success: attributes which will be applied to node
       if execution of graph completes successfully.
- node_attributes_on_fail: attributes which will be applied to node
       if execution of graph fails.
- node_attributes_on_stop: attributes which will be applied to node
      if execution of graph interrupts.

Blueprint: graph-concept-extension
Change-Id: I949b3971f62c17b1d243c8ed97e2802afa4e0cce
2016-08-19 17:36:04 +03:00
Dmitry Guryanov 9eeaa679d1 Don't use self.env.clusters[0] in tests where possible
Since self.env.create always return db object now,
we can use this returned value instead of
self.env.clusters list.

It's a refactoring, so no bug or blueprint.

Change-Id: If7c84cb7124bcf08ef5ff110542012564190fae1
2016-04-26 17:53:36 +03:00
Ilya Kutukov 94d2980f79 Now task roles wield with * unwrapping to '*' not ['*']
Change-Id: I8a4764e4d19311760a01e1db411a67f412e5e1c0
Closes-Bug: #1570846
2016-04-18 14:40:13 +00:00
Bulat Gaifullin 7dffa4ec5b Allow to store task with 'yaql_exp' in condition
In db scheme the 'condtition' field was string, but
but for using yaql in condtition, we have to declare condittion as dict object,
for example: '"condtition": {"yaql_exp": "changed($.nodes)"'
This patch updates database schema, to allow store dict object in condition field.

Closes-Bug: 1564308

Change-Id: I4978fbc5eb4d2492411a016dadc0ed6028a36899
2016-04-05 21:10:49 +00:00
Ilya Kutukov 3d1f96e529 Linked deployment graph management handlers added to REST API
Following handles has been added:

GET /releases/<release_id>/deployment_graphs/
GET/POST/PUT/PATCH/DELETE /releases/<release_id>/deployment_graphs/<graph_type>/

GET /clusters/<cluster_id>/deployment_graphs/
GET/POST/PUT/PATCH/DELETE /clusters/<cluster_id>/deployment_graphs/<graph_type>/

GET /plugins/<cluster_id>/deployment_graphs/
GET/POST/PUT/PATCH/DELETE /clusters/<plugin_id>/deployment_graphs/<graph_type>/

Change-Id: I1fd5fb53700c761a65249dd0a646dbdbf8d5272a
Implements: blueprint custom-graph-execution
2016-03-28 19:04:11 +03:00
Ilya Kutukov 299a92ef34 DeploymentGraph.update method added
Now it is possible to update deployment graph name
and tasks keeping the graph database ID intact.

DeploymentGraph.update and DeploymentGraph.create_for_model
methods are inroduced that allow to update or create graph.

Change-Id: I8170569d9283d226f53b5fb2879a5ff9ee7bb984
Implements: blueprint custom-graph-execution
2016-03-28 01:06:36 +03:00
Ilya Kutukov fb12cc5b22 DeploymentGraph.verbose_name is changed to 'name'
verbose_ prefix does not reflected any meaningfull information

Change-Id: I7138abae9c7ccdc8c7996e0fed5a7bc868848ba1
Implements: blueprint custom-graph-execution
2016-03-14 18:02:34 +00:00
Ilya Kutukov 32bb68f501 DeploymentGraph and DeploymentGraphTasks models added
This models store deployment  tasks sets that is grouped under
DeploymentGraph record with unique id.

DeploymentGraph is linked via m2m to the:
- releases
- plugins
- clusters

This transitive tables containing 'type' field, that should be used as
graphs merge key in business logic.

DocImpact
Implements: blueprint custom-graph-execution
Change-Id: If53cb58e8ae4cf8fe4caa470bf207ff1683b1cda
2016-03-03 02:28:56 +03:00