Commit Graph

7 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 87ca7b41e3 Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/891474
Change-Id: I315c7fa58ee07786832d21c13f281968ee3d400a
2023-08-22 07:44:31 +00:00
Dmitriy Rabotyagov f8e279cc3d Use config_template as a collection
Since we still use ceph-ansible that has their own implementation of
config_template module it's worth to use mentioned module as a collection
explicitly.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814



Change-Id: I374d125994239a885007081d0490e4a2c7018235
2021-11-30 15:17:24 +02:00
Dmitriy Rabotyagov 0dfcbc27ec Allow to override placement policy files
We implement `placement_policy_overrides` variable in order to allow
management of placement policy files when needed.

Change-Id: If219ac80ceed2bf455a7de83b848c9d0a66371a4
2021-03-28 18:15:21 +00:00
Dmitriy Rabotyagov a53fa6743d Trigger service restart
We need to trigger restart of the service once config is changed

Change-Id: I9417f519ba272a8a2ebe08e71311cba27220c4cc
2020-10-08 18:05:17 +03:00
Dmitriy Rabotyagov (noonedeadpunk) 5c0a44c4df Revert "Add nova to placement DB migration"
As nova_placement -> placement takes place in S->T upgrade,
we don't need this code anymore, as S->U is not supported anyway,
and T->U don't need placement to be migrated again

This reverts commit 3d6cedf859.

Depends-On: https://review.opendev.org/692509
Change-Id: I281d8974ee22e65da8d03c6784bcbbbe79648351
2019-11-07 15:03:00 +00:00
Dmitriy Rabotyagov 3d6cedf859 Add nova to placement DB migration
While transitioning nova-placement to placement we need
to migrate data [1]. This patch adds this required step for properly
migrating placement with all data.

[1] https://docs.openstack.org/placement/latest/admin/upgrade-to-stein.html#migrate-the-data

Change-Id: I4e03ee7c0ead78a1296a8bd8447bce771967d742
2019-10-17 16:00:00 +03:00
Guilherme Steinmüller 32c1eb8488 Add initial placement role
This patch adds the support for the placement service with
a simple functional test which hits the API (which in turn
hits the database and keystone for authorization).

Depends-On: I878e8c479d8963b339b5e1f6031f649c0f87082f
Change-Id: Iaa11a8cc4d945712b62c3b9c2cb6ad168def34eb
2019-02-06 15:47:53 -05:00