Commit Graph

13 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 8e12d76f86 Reorder configs_query by time
There is the possibility to change OpenStack config after deployment.
Changes could be applied per role. And in the case of multiple roles
on a node, many changes could pretend to be applied. I.e. if we have
a config for the role 'compute', a config for the role  'cinder' and
a node with role 'cinder+compute' we have to choose one of them.

Previous decision was 'sort it in the lexicographical order', so it
applies 'cinder' then --- 'compute'. It is contra intuitive. The best
option is applying to a node the last related config, to new config
overlaps old ones.

Change-Id: I7db388ca3baeb351adc9fdb70c55b0be50fafe48
Closes-bug: #1671521
2017-03-20 16:51:39 +03:00
Alexander Saprykin f8c86213f2 Fix error in openstack config recognition
Get config should check not only a presense
of 'node_id' and 'node_role' fields but their
values to determine the type of opesntack config object.

Related-Bug: #1557462
Closes-Bug: #1573613
Change-Id: I6e3cdd4e545bda0616af7e0e3d63bd21a19f8ae0
2016-04-22 15:19:23 +02:00
Nikita Zubkov d5a790caab Add exceptions hierarchy
nailgun.errors have a huge set of exceptions but without hierarchy. This
patch remove exception generation from dict and make it explicitly with
python classes and add some exceptions hierarchy. Now all network errors
inherit from NetworkException and same for other exceptions.

Change-Id: I9a2c6b358ea02a16711da74562308664ad7aed97
Closes-bug: #1566195
2016-04-14 17:41:25 +03:00
Alexander Saprykin a6ccd43311 Add openstack config bulk operations for nodes
* Configuration can be uploaded for multiple nodes in single request
  using 'node_ids' field with list of node ID values.
* Filters for list operation now support multiple node ids separated
  by comma.
* Configuration execute can be performed for multiple nodes at once.

TestImpact
Related-Bug: #1557462
Closes-Bug: #1558561
Change-Id: I741208e301f9b4ec48329ba63ffeed2b5697f123
2016-04-05 11:45:05 +00:00
Alexander Saprykin 9e104fffc0 Do not include openstack configuration into filters
Pop configuration out of filters to avoid searching
for an existing configuration by its value.

Change-Id: I1c6ef5546950b5be8b95e9e3b7e381b9b22caa5a
Closes-Bug: #1522069
2015-12-16 13:35:06 +01:00
Alexander Saprykin 138f8cbf79 Sort configurations to merge roles in a correct order
Multiple configurations for node roles are merged
into one single configuration during serialization process.
It is required to keep the same order of configurations
to have a predictable behavior.

Change-Id: I649cccc73ae406a1f6953ad8139910bb18acc95f
Closes-Bug: #1524284
2015-12-16 12:04:59 +00:00
Jenkins 30df8072ae Merge "Raise an error when trying to upload config with invalid cluster_id" 2015-12-14 13:53:06 +00:00
Jenkins 6a7199a44d Merge "Raise an error if trying to delete already deleted config" 2015-12-11 15:35:17 +00:00
Alexander Saprykin 4f028385f8 Raise an error when trying to upload config with invalid cluster_id
Check if node is assigned to specified cluster when trying to
upload new configuration. Otherwise fail.

Change-Id: I434b61d3887fbe2b23ae2ddedb41c80b944b2451
Closes-Bug: #1523534
2015-12-11 15:43:23 +01:00
Alexander Saprykin 31c476e35c Raise an error if trying to delete already deleted config
Add check to restrict attepmpt to delete openstack configuration
that has been already deleted.

Closes-Bug: #1523431
Change-Id: Iccd97278d9d870ec727a75e57c4db78ee75eeb38
2015-12-10 16:44:37 +01:00
Alexander Saprykin fe79f827f3 Update OpenstackConfig.find_configs to return query object
OpenstackConfig.find_configs should return query, not list
since NalgunCollection.to_json expects iterable object and
has incorrect behaviour when trying to pass empty list
as an iterable parameter.

Closes-Bug: #1523477
Change-Id: I50aaaa9a20dbf55d83a418189f808cd3829a8002
2015-12-08 11:52:55 +01:00
Alexander Saprykin b08c04ade4 Add upload configuration task
* Add configuration task manager
* Add task serializer for upload configuration task
* Add upload_config_resp rpc receiver

Change-Id: I75983277538a52b286fbdae4701f1f1630d26dfc
Implements: blueprint openstack-config-change
2015-11-27 14:30:37 +00:00