Commit Graph

36 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
Mikhail Zhnichkov 9647ccde99 Revert "Add tag API"
This reverts commit 327f754d90.

Change-Id: I58474fd358287ad21f0f36ec5be9a565fc24c67c
2016-11-08 16:58:59 +00:00
Ryan Moe 327f754d90 Add tag API
API handler for creating tags.

Implements: blueprint role-decomposition
Change-Id: I04c184f287d49ad2c15803809b8025f7351b8985
2016-10-05 17:28:22 +03:00
Bulat Gaifullin 78d04a5ead Itroduced deployment sequences
Deployment sequence is a mechanism for saving
recently used sequences of graphs in database
for further execution.
Sequences are related to release object.

Partial-Bug: 1620620
Change-Id: I23ce74e8edbab579d6704a947d89e8d6e9c58fb7
2016-09-07 16:28:49 +03:00
Dmitry Guryanov 052082bd71 add node_deployment_info table
Size of deployment_info field in tasks table grows as n**2
(depending on number of nodes). If we have 200 nodes, the
size of the structure is about 20Mb. In case of 600 nodes it
would be theoretically about 720Mb, in practice it doesn't fit
into 1Gb.

Good solution is to put common part to separate place. But it's
not so fast. Also it will not help if all nodes will be going to
be deployed with customized deployment info.

Change-Id: Id3154ab423b0863d9cc4952335293bf5fc30df38
Partial-Bug: #1596987
2016-07-08 14:08:06 +03:00
Andriy Popovych 9d86b078cf Data model changes for Plugin NIC, BOND and Node attributes
This patch:
  * extends current DB model with new entities and provides
    related migrations.
  * extends plugin sync method to support storing new plugins
    attributes.
  * provides cosmetic fix for ClusterPlugin model. Lets write table
    names in the plural but model names in the singular.

Change-Id: I3edbde1d48461ce3fab7c93f17e2db5332b1f7fb
Implements: blueprint nics-and-nodes-attributes-via-plugin
2016-05-30 13:16:45 +03:00
Ryan Moe 36d276b92f Move network database models to extension
Network-related database models are moved from db/sqlalchemy/models
to extensions/network_manager/models/. Import paths have also been
updated.

Change-Id: Idf29f9a14fc1faccd8fa8750ed8c5d2ba9f11ebf
Blueprint: network-manager-extension
2016-04-11 07:09:37 -07:00
Vladimir Sharshov (warpc) 48a42a860b Introduce new history API
API url: `/api/transactions/<id>/deployment_history`

This change proposes to store all the information about
particular deployment tasks ever executed for each
particular cluster.

Change-Id: I73010a713ab8592418eb59bb133a427ac4c4a665
Implements: blueprint store-deployment-tasks-history
2016-03-25 20:06:29 +03: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
Alexander Saprykin 5a2d4f0d3e Merge NodeAttributes model into Node model
* Move vms_conf from NodeAttributes to Node.
* Drop interfaces field, that is not used anymore.
* Fix all references to vms_conf across all sources.
* Remove explicit changed() call, since JSON fields
  can detect updates on all levels.
* Replace objects.Node.set_vms_conf() function
  with direct attribute assignment

Change-Id: I2112a6dba30b49e3d658ef1503ee48ad1f92e693
Implements: blueprint support-numa-cpu-pinning
2016-02-10 12:42:02 +02:00
Ilya Kutukov 136549955f API for master node level dashboard links
This patch inroduces set of API handlers for links to
the plugin dashboards that running on the master node:

plugins/:plugin_id/links/
plugins/:plugin_id/links/:link_id

Implements blueprint external-dashboard-links-support-in-nailgun
Closes-Bug: #1520287

Change-Id: Ia0e4e096ff5df595c6797ac76b1845ccdbb6cd3c
2015-12-02 14:31:56 +00:00
Alexander Saprykin 4081c6626e Add model for openstack configuration
* Add OpenstackConfig model class

Change-Id: Ib9bce2ea59be828879c5bc4527723a1678f6080e
Implements: blueprint openstack-config-change
2015-11-27 13:13:16 +02:00
Vladimir Sharshov (warpc) 5b5acc97f3 Fixed tech debt related to ClusterPluginLink
- move test from unit to integration;
- disable additional properties in validation schema;
- refactoring;
- add more documentation;
- add more tests;
- Cluster-level plugin dashboard entries is renames to the cluster plugin links;
- hidden field added to the ClusterPluginLink API;

Change-Id: I7dc99fc622359848e54c7ce248360db1bdef7f0f
Author:         Ilya Kutukov <ikutukov@mirantis.com>
Co-Authored-By: Vladimir Sharshov <vsharshov@mirantis.com>
Co-Authored-By: Ivan Kliuk <ikliuk@mirantis.com>
Closes-Bug: #1518381
2015-11-26 18:35:30 +03:00
Vladimir Sharshov (warpc) fe5552b012 API for dashboard entries
- Dashboard entry DB model and DB migration logic added,
 - Handler, json schema and validation added,
 - Serializer added,
 - Dashboard entires info added into statistics,
 - Public url for Dashboard entry creation.

Implements blueprint post-deployment-dashboard
Change-Id: I5e613bb35366227d1265fbc698e2efeddf931cc7
2015-11-20 15:57:49 +03:00
Andriy Popovych 9545d61f13 Refactor component model
Get rid of component object.
Store info with compatibility and uncompatiblity
lists of components in plugin and release.

Change-Id: I47ed959f9079c346d9d968e7ebd9bf1b7b150e2f
Implements: blueprint component-registry
2015-11-19 11:43:21 +02:00
ekosareva 2a8ce19b44 Implement Component entity
This patch is part of works for implementation new mechanism of compatibility
between components in Fuel. Mechanism is based on 'component' entity. Current
changes provide ability to store compatibility data of components in DB:
'components' and 'release_components' tables, models and objects in Nailgun.

Implements: blueprint component-registry
Change-Id: I837ceb61d1858079c9a92eca5a2631bfd79c4f27
2015-10-21 03:15:30 +04:00
Igor Kalnitsky 976baf8422 Use schemaless approach for node roles
In Fuel 7.0 we want to have ability to extend node roles on fly by using
plugins. In order to achieve this, we want to have declarative
schemaless approach, so we won't require database object manipulations
(CRUD) each time we somehow change node role.

This commit drops such tables like:

* roles
* pending_roles
* node_roles

and use postgresql arrays in nodes tables instead:

* roles
* pending_roles
* primary_roles

Implements blueprint role-as-a-plugin

Change-Id: I2d3fccb7187fa4e82595c9ca6b27ef8ce90ee4b2
Signed-off-by: Igor Kalnitsky <igor@kalnitsky.org>
2015-07-07 18:30:29 +03:00
Igor Kalnitsky b132b59cff Prepare Alembic migrations for Fuel 7.0
There are two reasons why it's useful to prepare Fuel 7.0 migration file
at the beginning of development. Here they are:

1/ Having the fuel_7_0.py migration will protect us from mass merge
   conflicts when we start merging various features into master. Why?
   Because devs will extend already existing migration file, and
   each one won't create fuel_7_0.py file.

2/ We want to cover our migration mishits - apparently, database state
   after migration doesn't fit state declared in ORM. The fuel_7_0.py
   fixes this.

Closes-Bug: #1468250

Change-Id: I62f230e07398b2ce8639e6e444b82c77a5c296b3
Signed-off-by: Igor Kalnitsky <igor@kalnitsky.org>
2015-06-24 16:05:56 +00:00
Vladimir Kozhukalov b1cb2f73c1 Nailgun: moved repo_metadata to cluster attributes
We need it to be possible to set priorities (pinning)
for deb and rpm repositories. This patch moves repo_metadata
to cluster attributes and changes its format.

Plugins' repos should have higher priority than default ones,
so we're setting them according to settings.yaml.

Implements: blueprint consume-external-ubuntu
Change-Id: I5a98469b9547014abec9406a7b36f1cf22ba8086
2015-03-05 17:32:43 +02:00
Andriy Popovych a567e13c24 Implementation of vmware Settings on nailgun side
- New entity vmwareAttributes added
  - Basic deployment serializer

Implements: blueprint vmware-ui-settings

Change-Id: I17ba8f8535498263333fa47d6283433ea4d6c509
2015-02-11 15:42:59 +02:00
Aleksey Kasatkin 6d8745abb6 Add DB table and object for OSWL statistics storing
Test added.

blueprint: openstack-workload-statistics

Change-Id: I29020c764b61982ff0c16f011c35e2dac5fd563f
2015-01-29 16:52:12 +02:00
Ryan Moe 61fd426709 Allow multiple networks to be created per cluster
Added a NodeGroup model. NodeGroups can be created and modified
via the Fuel API. Clusters are created with a default node group
and the cluster networks are tied to that default node group.

Upon creation of a node group a set of networks will be generated.
When a node group is deleted those networks will be deleted as well.

See previous change: Ic30a1b46112599022645b06f7bef2223ff4c6475

DocImpact
Change-Id: I8bbe6b8c6338d6586c7e9a61542939ae2a19828b
Implements: blueprint multiple-cluster-networks
2014-10-30 10:59:49 -07:00
Artem Roma 3d677f7e13 Infrastructure for master node settings added
Infrastructure that provides master node settings operating added into
nailgun. Tests were updated.

Change-Id: I8ac2aa59b6da98ebb05251b98514ed9c523c299e
Implements: blueprint send-anon-usage
2014-10-22 15:11:07 +03:00
Artem Roma 5d58f3e0f0 HTTP requests monitoring middleware added
New wsgi middleware was added to middleware stack of main webpy
application. The middleware is a class which implements logic for
collecting info from requests and responses, forming appropriate data
structure and dumps it to db for further usage.

Change-Id: If420f3141eb5a357f010f6ef0b4def0e5a7874bd
Implements: blueprint send-anon-usage
2014-10-17 18:13:31 +03:00
Ivan Kolodyazhny 4688c9bbfe Remove release downloading
Added SQL for removing custom PostgreSQL types

Related-Bug: #1297406

Change-Id: Idede6cb0c5138eaee05987c10288d2d4876bb00f
2014-06-26 14:33:00 +00:00
Aleksey Kasatkin 4ad5fe676f Add entities for Fuel upgrade
Adds api_version, fuel_version, openstack_version, repo_metadata, puppet_modules_source, puppet_manifests_source to
messages for orchestrator. Corresponding field is added to 'Cluster' DB table. 'ReleaseOrchestratorData' DB table is added.
Additional fixture '/etc/nailgun/fixtures/repodata.yaml' is expected to be provided by puppet on master node installation.
Additional parameter 'version->api' in 'version.yaml' is expected to be provided by puppet as well.

Implements: blueprint fuel-upgrade

Change-Id: Ic86fb52c99aaee6a75536a153ff61fdd776c73f7
2014-04-25 14:09:51 -04:00
Łukasz Oleś 7c36740770 Revert "Allow multiple networks to be created per cluster"
This reverts commit 9530ef323b.

The change didn't get enough reviews. There is already reported bug https://bugs.launchpad.net/fuel/+bug/1308041 and there are potential more bugs.
There is also some incosistency in handling admin network. All concerns are described in comments in https://review.openstack.org/#/c/83204/18
There are some concerns about API design addressed in https://review.openstack.org/#/c/83204/16

Change-Id: I2285e52c91692e908008afa377ed26081b4bbd43
2014-04-16 15:35:34 +02:00
Ryan Moe 9530ef323b Allow multiple networks to be created per cluster
Added a NodeGroup model. NodeGroups can be created and modified
via the Fuel API. Clusters are created with a default node group
and the cluster networks are tied to that default node group.

Added API handler for creating new NetworkGroups.

Implements: blueprint multiple-cluster-networks
Closes-bug: #1272142
Change-Id: Ic30a1b46112599022645b06f7bef2223ff4c6475
2014-04-14 16:45:14 -07:00
Aleksey Kasatkin 63b2f0ecff Rearrange network models parameters
Implements: blueprint nailgun-rearrange-network-parameters

Change-Id: Ib70d1764e783a32423df0d136e8075a66d7cd773
2014-04-09 14:27:02 +03:00
Andrey Danin a899d2f19b Add NIC bonding support in Nailgun
* Add a NodeBondInterface DB model.
* Add a new model rendering to the api/nodes/x/interfaces
  handler.
* Allow a bond creation via the handler.
* Add a data propagation to the deployment_serializer.
* Add Enum usage.
* Migration rules fixed.
* Tests fixed.
* Nets-to-NICs default assignment fixed.

TODO:
* New tests will be added soon.
* Add a lot of checks and validations.
* NodeNICCollectionhandler has an outdated behavior.
  Lets syncronize it with NodeNic handler.
* Bonding must be allowed to the nodes in cluster only.
* Bonding is not available in NovaNetwork.

Implements: blueprint nics-bonding-enabled-from-ui

Change-Id: Ib70bbe9fe897a07f2b7b201944333f70986bbb35
2014-02-18 16:58:13 +04:00
Aleksey Kasatkin a1c39ea71a Make Admin and Private non-dedicated
Admin and Private can be paired with other networks now.
Private acts as untagged network.
Network groups' "meta" is exposed to UI.
"allowed_networks" model is removed.
Tests are added.

Implements: blueprint get-rid-of-networking-limitations
Implements: blueprint expose-networks-meta-from-nailgun-to-ui

Change-Id: Ic3383a2da87a34259463c2a2c97d05b20a7fc998
2014-02-06 05:29:58 +04:00
Evgeniy L 6e7b8cd458 Removed initial plugin implementation this functional
will be implimented as seprate service

Change-Id: I0c23b03a8cd78063245a0392f013672e9c1b954e
2014-02-03 19:32:28 +04:00
Aleksey Kasatkin 4b3eeb0914 Network manager refactoring
Part 3.

1. Some cleaning in network manager.
2. A number of network manager tests added.
3. Some refactoring in NetworkConfigurationValidator and NetworkConfigurationVerifyHandlers.
4. Unification of network groups creation and of networks update.
5. Global parameters removed.

Implements: blueprint nailgun-network-manager-refactoring

Change-Id: I688174d4fc9fd3569696e03a8a3067e553d0ac9f
2014-01-14 18:14:47 +02:00
Aleksey Kasatkin 61827f3464 Remove Network and Vlan models
These models are removed and NetworkGroup model have all relationships that Network model had.
Vlan model was utilized to check that newly created networks
have the same VLAN IDs being assigned as networks of other clusters.
Now this can be checked using NetworkGroup model but not checked
because the result of this checking was used for logging only.

Implements: blueprint nailgun-remove-network-model

Change-Id: Iaec7d5acdb0e47d9e9cf4c224e1be768df83107f
2013-12-09 11:41:04 +02:00
Nikolay Markov 8a50b07459 New project structure with Oslo
Change-Id: I738add287ce459281721261ec372d3150ab17ba8
2013-12-04 18:45:18 +04:00