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
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
VMware not supported since Fuel 10. So this commit removes
vmware-related manifests.
Implements: blueprint remove-vmware
Change-Id: If5f0c837fe843f9cfd30648fe6e115267467982b
Add start and end anchors to the regexp to avoid intersection with
other tasks.
Change-Id: Ib18894d81d79e6ce52154bd5544226ded74c2acd
Related-Bug: #1649889
* 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
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
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
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
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
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>
* 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
This patch creates yaql conditions for all tasks which previously
didn't have it.
Change-Id: I9c50339474e84faa644cfe652a4d014b1ada2101
Partial-Bug: #1567424
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
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
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