Add osd blacklist cap when openstack client cap is built

This patch modifies the keyring for OpenStack client and enables
osd blacklist command. Usually this is not required but adding
this capability to the OpenStack client Keyring, the OpenStack
nodes can advise that the 'watcher' state from the specified IP
address should be cleared (blacklisted).

Change-Id: Ia39bbdb883265782ee15083ad5e58d6495aca125
This commit is contained in:
Francesco Pantano 2020-06-10 10:11:48 +02:00
parent 41f132edb5
commit 4421bf8056
No known key found for this signature in database
GPG Key ID: 799868C47301D458
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
- name: set openstack client caps
set_fact:
osp_client_caps: {'mgr': 'allow *', 'mon': 'profile rbd', 'osd': "{{ profiles | regex_replace('\\, $', '') }}"}
osp_client_caps: {'mgr': 'allow *', 'mon': 'profile rbd, allow command "osd blacklist"', 'osd': "{{ profiles | regex_replace('\\, $', '') }}"}
- name: set openstack client key
set_fact: