]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Revert "client: add quotes to the dict values"
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 7 Sep 2018 14:54:42 +0000 (16:54 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 7 Sep 2018 17:21:55 +0000 (17:21 +0000)
commitecbd3e45584791678e590172c5a0ceda7bd83623
tree6cdd7343cc694e98086332b2d8e7143cb4809f1a
parentbf8f589958450ce07ec19d01fb98176ab50ab71f
Revert "client: add quotes to the dict values"

This commit is adding quotes that make keyring unusuable

eg:

```
client.john
        key: AQAN0RdbAAAAABAAH5D3WgMN9Rxw3M8jkpMIfg==
        caps: [mds] ''
        caps: [mgr] 'allow *'
        caps: [mon] 'allow rw'
        caps: [osd] 'allow rw'
```

Trying to import such a keyring and use it will result:

```
Error EACCES: access denied
```

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1623417
This reverts commit 424815501a0c6072234a8e1311a0fefeb5bcc222.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml