Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Jaeger 854b3c5d37 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: Iffe3a7de281b48693606fe0c84ebec8190018167
2019-12-18 09:41:48 +01:00
Vasyl Saienko ee596db56e Add Ironic multitenancy support
This patch removes hardcoded type for 'baremetal' Neutron network.
Update ironic conductor config with new config option:
  * enabled_network_interfaces - list of enabled network interfaces on
    Ironic conductor
  * cleaning_network_name - name of Neutron network to be used
    during node cleaning
  * provisioning_network_name - name of Neutron network to be used
    during node provisioning

Add openrc generation task for nodes with ironic role, needed as it is
required for translation from name to uuid.

Change-Id: I63da8332cade0e76bdd687f0522bbc4c3006a68f
Related-Bug: #1588380
2017-04-01 01:16:17 +03:00
Michael Polenchuk 2c381ff80b Shift nova user config to enable_compute task
Make nova user configuration before ceilometer/compute task since
ceilometer-common package reset shell of nova user to /bin/false back.

Change-Id: I92be4cb23ad4ffe2cbd52562b40e336a1ad1e352
Closes-Bug: #1660981
2017-02-17 14:27:19 +04:00
Igor Gajsin 8bdc2aca9c remove vmware
VMware not supported since Fuel 10. So this commit removes
vmware-related manifests.

Implements: blueprint remove-vmware
Change-Id: If5f0c837fe843f9cfd30648fe6e115267467982b
2017-02-15 10:47:33 +00:00
Stanislaw Bogatkin e6b4968383 Clarify regexp for top-role-compute
Add start and end anchors to the regexp to avoid intersection with
other tasks.

Change-Id: Ib18894d81d79e6ce52154bd5544226ded74c2acd
Related-Bug: #1649889
2017-01-19 15:02:39 +00:00
Michael Polenchuk 15ba6adbea [sync/mitaka] Get "verbose" key safely for ironic conductor
* use get("verbose") func in task yaql expr
* deprecate this option since it has been done
  in oslo.log already

Change-Id: I59ada13003f5239352df4394788b6e5b8789fd53
Related-Bug: #1582727
2017-01-17 21:11:25 +03:00
Dmitry Mescheryakov ceb77edfe0 Limit cluster task cross-dependency on primary-cluster
Cluster task should cross-depend on primary-cluster only if current
node has primary-something role. Otherwise a loop listed in the
referenced bug occurs and deployment breaks.

Also, that CR makes change in rabbitmq networking trigger OpenStack
tasks. That fixes the old assumption that RabbitMQ always lives on
controllers. Now changes in networking of nodes with RabbitMQ role
will also trigger modification of configs for OpenStack services on
other nodes, updating rabbit_hosts parameter.

For the same reason (changes in rabbitmq should trigger OpenStack
tasks) all OpenStack tasks now cross-depend on rabbitmq.

Finally the CR fixes typo in openstack-cinder/tasks.yaml:
cross-depened-by -> cross-dependend-by

Closes-Bug: #1651066

Change-Id: I8b262ef73c9c62ce5a71f0a5eee001b61ba9ecb1
2017-01-13 10:28:45 +04:00
Ivan Ponomarev 2603220e4c Decomposition of neutron tasks
Implements: blueprint role-decomposition
Change-Id: Ib65fe6327c252c82a1cbb8e5196a90a40193acd4
2016-11-25 13:21:46 +00:00
slava 68318cf10b Decomposition of keystone tasks
Implements: blueprint role-decomposition
Change-Id: I125065585554f17787079772febec05d0a063bf3
2016-11-25 13:20:38 +00:00
Ivan Ponomarev 58ef67bf88 Decomposition of database tasks
Implements: blueprint role-decomposition
Change-Id: If4a82d07433549829bd4497d5522962abf9cf98e
2016-11-25 13:20:06 +00:00
Oleksiy Molchanov 25743cba14 Fix dependency for ironic-conductor
Change 'ironic' to 'ironic-api', as we do not have such task.

Change-Id: Ie6b322f778e9f6b84bfc0e473c33613eca31f565
Closes-Bug: 1634539
2016-10-25 13:42:29 +03:00
iberezovskiy a08c340613 Use safe way to get dpdk value
Change-Id: Icd3b0d910be4f0c8852f957e4ccf1ee55b9f32df
Closes-bug: #1616119
2016-08-23 19:24:32 +03:00
Alex Schultz 7291f7385b Fix ironic-conductor task dependencies
The ironic-conductor requires access to the ironic database which is
done in the ironic-db task. Previously we were just waiting for the
database task but we should require the ironic-db task which waits
for the database tasks to be completed and sets up the ironic database
user permissions.

Change-Id: I0a5d9007cf1fc286d4217faf977e54faf010eeb0
Closes-Bug: #1614473
2016-08-22 10:17:03 +00:00
Alex Schultz c1eb505c6f Update m1.micro flavor creation
This change reworks how we are managing the m1.micro flavor that is used
by OSTF. As part of this change we are moving the creation out of the
general controller configuration and putting it into the task where we
also manage the image installation used by OSTF. As part of this move,
we are also refactoring the haproxy wait configuration for the nova
backends to their own class with tests so it can be more easily reused.

Change-Id: Ieb0ec8dce76fbcf0979dbca8e50447fe77f0ce90
Closes-Bug: #1602355
2016-07-13 09:29:03 -06:00
Alex Schultz df416f53d2 Use memcache for keystone_authtoken
This change updates where we calculate the memcache server information
to the globals hiera data and updates all the openstack services to
use the heira memcached_servers key for consistency. Additionally all
api services have been updated to configure the memcached servers for
the keystone_authtoken middleware configuration to improve the
responsiveness of the service.

Change-Id: Id1034e22d79c3ea6b25575d9bcf8e8750a02365d
Closes-Bug: #1597512
2016-07-06 14:26:22 -06:00
Kyrylo Galanov abbdb05648 Enable cinder after after it was disabled
Cinder is disabled during (re)deployment. Adjust YAQL expression
similarly to deployment task.

Change-Id: Idd238f17c672fa9ec4439dda5d3f73e26b2ab313
Closes-bug: #1591164
2016-06-10 16:53:18 +02:00
Maksim Malchuk 9e01948dcc Update regular expressions for database and rabbitmq task names
Many tasks depend on a regular expression which should be updated to
remove unnecessary dependencies to unrelated possible tasks defined
pre/post deployment or in a plugins.

Change-Id: I5943cacc09c2d4164673b60687d71118b8e50b72
Closes-Bug: #1590444
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-06-09 14:28:31 +03:00
Stanislaw Bogatkin c77b0fa609 Fix yaql statements to be more reliable
* stop using 'len' statement to calculate cluster changes
* get real 'mgmt/messaging' instead of 'amqp_hosts' as second
  generated from first most of times
* fix too narrow statements

Change-Id: I5dca76a6d3b1bc289de605e7034ffda6c3e2faee
Closes-Bug: #1589543
2016-06-07 20:47:38 +03:00
Michael Polenchuk 038d11e2a7 Remove "verbose" option for ironic conductor
This was already deprecated in Mitaka,
so it's time remove it completely.

oslo.log: https://review.openstack.org/314573
ironic: https://review.openstack.org/315990

Change-Id: I7e7166e3e0a7d3abd3bcdd405554348f71c617c7
Related-Bug: #1578724
2016-05-17 14:59:17 +03:00
Michael Polenchuk bd19bec881 Fix erratum
Fix erratum in top-role-mongo & ironic-conductor tasks.

Change-Id: I5fec43c2fef66c8395a7d3141d486f1db20b50de
2016-04-29 17:17:17 +03:00
Stanislaw Bogatkin f1c1200d7b Move all remaining tasks conditions to yaql
This patch creates yaql conditions for all tasks which previously
didn't have it.

Change-Id: I9c50339474e84faa644cfe652a4d014b1ada2101
Partial-Bug: #1567424
2016-04-21 18:24:27 +00:00
Jenkins c1017affe2 Merge "YAQL for cinder" 2016-04-20 13:04:48 +00:00
Stanislaw Bogatkin b64d085d61 Move conditions in tasks to YAQL
As new serializer was introduced in nailgun and it is allow to run
a task on custom condition - move some tasks to use those conditions
to better handle redeployment cases.

This patch includes fixes for

* most of common tasks
* most of controller tasks
* compute tasks

Closes-Bug: #1567424
Change-Id: I3401e3127efc3e0c9ebc1be30f5f097575ca5890
DocImpact
2016-04-19 16:05:30 +00:00
Oleksiy Molchanov 81cc12f845 YAQL for cinder
Closes-Bug:#1568812
Change-Id: I7549864ee376390412a587bea2b9c48f23ba5a88
2016-04-15 12:44:21 +00:00
Stanislaw Bogatkin d2225d630e Implement hardcoded nailgun tasks in library
Nailgun implements new serializer for tasks which discarding other ones.
It leads us to reimplement previously hardcoded tasks from nailgun in
library.

* Add generators for upload_configuration and upload_nodes_info.
  Previously, those tasks have got data from nailgun. Now special
  hash 'data' in task can have a 'yaql_exp' parameter that recieve
  a yaql [0] expression. root ('$') value in this expression is a
  mostly one-to-one settings representation yaml hash, values of which
  can be accessed via '.'. Typical values is 'configs' and 'nodes' which
  are according to openstack config and 'nodes.yaml' file data we
  will have on nodes

* Change role regex from '*' to ['/.*/'] for all tasks which needed
  this. Current implementation of new serializer needs this explicitly
  and (I believe) thiat will be fixed later. Also, explicit declaration
  can show that it is a _regexp_, not just a globe

* generate_vms task not ran by nailgun implicitly by searching in
  astute.yaml config. This behavior moved to task itself.

* Conditions changes. Main changes done for 'additional_components'
  section, so now it move from
    "settings:additional_components.ceilometer.value == true"
  to
    "settings:ceilometer.enabled == true"

  Also there is 'common' section remove, so
    "settings:common.use_vcenter.value == true"
  now must be written as
    "settings:use_vcenter == true"

  Also there is no need to point any '.value' suffix in condition, so,
  for example,
    "settings:public_ssl.horizon.value == true"
  became a
    "settings:public_ssl.horizon == true"

* New major tasks version added - 2.1.0. Now if serializer fabric found any
  task with 2.1.0 version or higher, new LCM serializer is used. If
  there are no such tasks, old serializer are used for backward
  compatibility

[0] https://yaql.readthedocs.org/en/latest/

Change-Id: I387e9fbfad8ca20f643ee43cbe830196d597c415
Related-Blueprint: computable-task-fields-yaql
Depends-On: Ie95a58c8cf86eac1a5c3dbd956fafc401e40fed6
2016-03-30 10:18:52 +00:00
Andrew Woodward 96da5b4a1e Move openstack specific tasks to their own folder structure
In order to better support loose coupling of openstack version to fuel
we need to separate the tasks that call into the specific version of the
puppet-openstack modules so that they can more easily be versioned from
their fuel version.

Initially we are separating them, later they will become their own
repository.

Change-Id: I8ea6c0387b73f8094d306a73dd779967d6d91871
Blueprint: fuel-openstack-tasks
2016-03-24 10:26:55 -07:00