2019-03-28 16:19:05 +00:00
|
|
|
overrides:
|
|
|
|
ceph:
|
|
|
|
mon_bind_addrvec: false
|
|
|
|
mon_bind_msgr2: false
|
|
|
|
conf:
|
|
|
|
global:
|
|
|
|
mon warn on msgr2 not enabled: false
|
2018-04-24 17:08:07 +00:00
|
|
|
tasks:
|
|
|
|
- install:
|
|
|
|
branch: luminous
|
2019-02-08 18:59:14 +00:00
|
|
|
exclude_packages:
|
|
|
|
- librados3
|
2019-02-12 09:14:19 +00:00
|
|
|
- ceph-mgr-dashboard
|
2019-02-08 18:59:14 +00:00
|
|
|
- ceph-mgr-diskprediction-local
|
|
|
|
- ceph-mgr-diskprediction-cloud
|
|
|
|
- ceph-mgr-rook
|
2019-02-14 20:10:24 +00:00
|
|
|
- ceph-mgr-ssh
|
qa/suites: add librados2 to "extra_packages" for upgrade tests
we use the playbook of "testnodes.yml" defined by ceph-cm-ansible for
initializing test nodes, and the role of "testnode" is used by
testnodes.yml. "testnode" requires "qemu-system-x86" or "qemu-kvm"
package to be installed. the qemu in turn depends on librbd1 and
librados2.
before librados3 was introduced, this worked perfectly. because in ceph
repo, qa/packages/packages.yaml defines the default set of packages the
"install" tasks should install. and in that yaml file, librados2 was
listed. so the package management system will overwrite the librados2
installed by ansible playbook with the version specified by the
"install" task, as apt/yum thinks this is what user requires explicitly,
so it's fine to install a different version of librados2.
after librados3 was introduced, librados2 was removed from
qa/packages/packages.yaml. because, by default, we need to install
librados3 instead of librados2 for ready a nautilus cluster. but the
problem is, the packge list also applies to "install" tasks installing
releases before nautilus, where we still need to replace the librados2
installed by ansible.
so, to address this issue, "librados2" is added to "extra_packages" of
the "install" tasks of tests installing old releases to install
librados2 explicitly instead of as a dependency of other ceph packages
like librbd1.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-15 03:34:29 +00:00
|
|
|
extra_packages: ['librados2']
|
2018-04-24 17:08:07 +00:00
|
|
|
- install.upgrade:
|
|
|
|
mon.a:
|
|
|
|
mon.b:
|
2018-12-07 14:51:32 +00:00
|
|
|
mon.c:
|