]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: support upgrading 3.x + ceph-metrics on a dedicated node v4.0.11
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Jan 2020 14:00:01 +0000 (15:00 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Jan 2020 17:28:54 +0000 (18:28 +0100)
commitfd217d9f083e50d57d563579907f9e5f0ed1107a
tree4688d8029bbc8b6abeff6bb0e53b5b614e4d4539
parent0abea70e29bb44675dfe4df1965ca2a831d20300
rolling_update: support upgrading 3.x + ceph-metrics on a dedicated node

When upgrading from RHCS 3.x where ceph-metrics was deployed on a
dedicated node to RHCS 4.0, it fails like following:

```
fatal: [magna005]: FAILED! => changed=false
  gid: 0
  group: root
  mode: '0755'
  msg: 'chown failed: failed to look up user ceph'
  owner: root
  path: /etc/ceph
  secontext: unconfined_u:object_r:etc_t:s0
  size: 4096
  state: directory
  uid: 0
```

because we are trying to run `ceph-config` on this node, it doesn't make
sense so we should simply run this play on all groups except
`[grafana-server]`.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1793885
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e5812fe45b328951e0ecc249e3b83f03e7a0a4ce)
infrastructure-playbooks/rolling_update.yml