]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/suites/rados/cephadm/upgrade: avoid allow_ptrace with old cephadm
authorSage Weil <sage@newdream.net>
Tue, 19 Jan 2021 19:33:25 +0000 (13:33 -0600)
committerSage Weil <sage@newdream.net>
Wed, 20 Jan 2021 22:40:17 +0000 (16:40 -0600)
commit9eef1bcced3e04fada1b64779c549239f4eb7670
tree1794f769fe459daad2e56e28c441c5f024d713b0
parent3dd11ec576a99fb0452a4760e56b790693d7a18b
qa/suites/rados/cephadm/upgrade: avoid allow_ptrace with old cephadm

Older cephadm is not smart enough to not combine --cap-add=SYS_PTRACE
and --privileged, which some version of podman cannot handle.

For upgrades, leave off the allow_ptrace behavior since we may be starting
on one of those old versions.

See also https://tracker.ceph.com/issues/46429

Fixes: https://tracker.ceph.com/issues/48142
Signed-off-by: Sage Weil <sage@newdream.net>
qa/suites/rados/cephadm/upgrade/1-start.yaml
qa/tasks/cephadm.py