openstack-cinder task has been splitted out to avoid race condition
when syncdb ain't completed (or even not started yet) on primary
controller before a cinder-api service start up on secondary ones.
Change-Id: Ic506ba6f5b5908a71eca52a077d8bd6084655dc6
Closes-Bug: #1681686
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
DB tasks should wait for galera explicitly. There shouldn't be
conditions when primary-database is done, allowing *-db tasks to create
users while galera is syncing with other nodes. That causes split brain
as *-db tasks create users in MyISAM tables which is not handled by
Galera.
Closes-Bug: #1636841
Change-Id: I729ba0f2bfce1e731de36c932f5f0350e91adb22
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
This option is going to be totally removed in puppet-upstream, so
we need to remove it as well. It was deprecated in Newton cycle.
Closes-Bug: #1628509
Change-Id: I39d4716e91944436d0eb017ffb02e14cfdec4e2e
This patch essentially reverts change sets
Ia1d45f45cbbd91b7c6cacd4aa46dae0a92e4156e and
I38ad9d5fd63dda374274858632710c121d721451 which were created because
of the regression introduced by
Icc27b6701726afb98df71050c344c6cd9525301e. But we are also reducing
the cross-depends to only match the primary-database and database
tasks to prevent possible loops.
We can only wait on the mysql backend if it's configured and we don't
configure the mysql haproxy backend if mysql is not enabled on a node.
Additionally we need to wait until the database is actually setup before
running any of the db tasks.
Change-Id: I4b9bc29b4134872908af1900f6a3e5ccbdb9e392
Closes-Bug: #1591256
Fixes dependency chain for services, such as keystone-db,
so that the following conditions are met:
* primary-database task must be run first (on any node)
* database task must be run (if it's required for current node)
This fixes a regression introduced by Icc27b6701726afb98df71050c344c6cd9525301e
Change-Id: I38ad9d5fd63dda374274858632710c121d721451
Closes-Bug: #1590024
* 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
Allow a user to change particular openstack and misc
services configuration.
Supports:
ceilometer
cinder
glance
haproxy
heat
mysql
rabbitmq
DocImpact
Closes-bug: #1580522
Change-Id: I2933846f78c94933419d4dfd3dfbe49178172ff9
'v3' url suffix was added to auth_uri, identity_uri to use
keystone api v3.
Implements: blueprint cinder-use-keystone-v3
Change-Id: Ia921a37aa31def21380d48e7aa244ead0de3f215
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
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