]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Mon, 10 Feb 2020 15:30:34 +0000 (23:30 +0800)]
pybind/mgr: bump six to 1.14
otherwise some packages which uses six.ensure_text will fail, as it
was introduced by 1.12. and 1.14 is the latest stable version of
six. so let's use it instead.
Fixes: https://tracker.ceph.com/issues/44063
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 9 Feb 2020 21:36:32 +0000 (15:36 -0600)]
Merge PR #33126 into master
* refs/pull/33126/head:
doc/mgr/orchestrator_cli: update support table
mgr/deepsea: remove
mgr/ansible: remove
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sun, 9 Feb 2020 21:34:59 +0000 (15:34 -0600)]
Merge PR #33136 into master
* refs/pull/33136/head:
cephadm: fix ceph version probe
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sat, 8 Feb 2020 17:32:58 +0000 (11:32 -0600)]
cephadm: fix ceph version probe
docker returns '<no value>' if the label isn't present, in which case we
still need to run ceph -v.
Also, don't probe non-ceph (e.g., monitoring) containers.
Also, only probe each image id once.
Add a simple test.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 9 Feb 2020 19:55:27 +0000 (13:55 -0600)]
Merge PR #33133 into master
* refs/pull/33133/head:
qa/workunits/cephadm/test_cephadm.sh: make monitoring tests faster
qa/workunits/cephadm/test_cephadm: 2 OSDs is enough
cephadm: disable node-exporter cpu/memory limits for the time being
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sun, 9 Feb 2020 18:48:09 +0000 (12:48 -0600)]
Merge PR #33134 into master
* refs/pull/33134/head:
qa/workunits/cephadm/test_repos: don't try to use the refspec
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sun, 9 Feb 2020 15:47:40 +0000 (09:47 -0600)]
doc/mgr/orchestrator_cli: update support table
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 15:49:56 +0000 (09:49 -0600)]
mgr/deepsea: remove
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 9 Feb 2020 15:40:10 +0000 (09:40 -0600)]
Merge PR #33117 into master
* refs/pull/33117/head:
qa/suites/upgrade/nautilus-x-singleton: ensure hit sets behave across upgrade
osd/PrimaryLogPG: use legacy timestamp rendering for hit_set objects
include/utime: allow legacy rendering of timestamp
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Feb 2020 10:43:38 +0000 (18:43 +0800)]
Merge pull request #32928 from ljishen/wip-rados-bench-latency
rados bench: fix the delayed checking of completed ops
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sun, 9 Feb 2020 10:41:03 +0000 (18:41 +0800)]
Merge pull request #32934 from rzarzynski/wip-bl-32bytes
include, common: make ceph::bufferlist 32 bytes long on x86
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Feb 2020 10:36:03 +0000 (18:36 +0800)]
Merge pull request #33099 from howard0su/wip_ceph_fix
ceph.in: print decoded output in interactive mode
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Feb 2020 10:33:26 +0000 (18:33 +0800)]
Merge pull request #33101 from tchaikov/wip-thread-join
pybind/ceph_argparse: avoid int overflow
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuval Lifshitz [Sun, 9 Feb 2020 09:55:57 +0000 (11:55 +0200)]
Merge pull request #33068 from yuvalif/verify-pubsub-inc-sync
qa/rgw/pubsub: verify incremental sync is used in pubsub
Patrick Donnelly [Sun, 9 Feb 2020 01:51:56 +0000 (17:51 -0800)]
Merge PR #32816 into master
* refs/pull/32816/head:
mds: check inode type when deciding if filelock should be in EXCL state
mds: don't delegate inos when handling replayed requests
mds: process re-sent async dir operations at clientreplay stage
mds: consider async dirops when checking directory empty
mds: always suppress issuing caps in Locker::issue_new_caps()
mds: try reconnect cap only when replayed request creates new inode
mds: set cap id to 1 for newly created inode
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Sat, 8 Feb 2020 23:19:34 +0000 (17:19 -0600)]
qa/workunits/cephadm/test_cephadm.sh: make monitoring tests faster
The sleep 90 was way overkill.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 23:51:26 +0000 (17:51 -0600)]
qa/workunits/cephadm/test_cephadm: 2 OSDs is enough
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 14:22:24 +0000 (08:22 -0600)]
cephadm: disable node-exporter cpu/memory limits for the time being
Ubuntu 18.04 kernel does not support these.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 14:10:57 +0000 (08:10 -0600)]
Merge PR #33092 into master
* refs/pull/33092/head:
doc/rados/operations: adjust docs a bit
mon/OSDMonitor: accept 'autoscale_mode' argument to 'osd pool create'
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Sat, 8 Feb 2020 14:08:11 +0000 (08:08 -0600)]
Merge PR #33094 into master
* refs/pull/33094/head:
mgr/telemetry: split entity_name only once (handle ids with dots)
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 14:08:01 +0000 (08:08 -0600)]
Merge PR #33037 into master
* refs/pull/33037/head:
osd/OSD: choose more heartbeat peers from different subtrees
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
Sage Weil [Sat, 8 Feb 2020 13:33:47 +0000 (07:33 -0600)]
qa/workunits/cephadm/test_repos: don't try to use the refspec
This is usually a sha1, and we can't reliably find packages based on
that.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 13:27:27 +0000 (07:27 -0600)]
Merge PR #33132 into master
* refs/pull/33132/head:
qa/workunits/cephadm/test_repos: apt update
qa/workunits/cephadm/test_repos: fix subst
qa/suites/rados/cephadm/.../test_repos: run without ulimit and coverage tools
qa/tasks/workunit: accept coverage_and_limits: false
qa/suites/rados/cephadm: move ubuntu_18.04_podman to shared location
qa/suites/rados/cephadm: fix conflicts, missing .qa link
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Sat, 8 Feb 2020 04:16:29 +0000 (22:16 -0600)]
qa/workunits/cephadm/test_repos: apt update
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 8 Feb 2020 01:08:49 +0000 (19:08 -0600)]
qa/workunits/cephadm/test_repos: fix subst
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 8 Feb 2020 02:14:10 +0000 (10:14 +0800)]
Merge pull request #33061 from tchaikov/wip-pybind-compiler-flags-patch
pybind: refactor monkey_with_compiler()
Reviewed-By: Adam Emersen <aemerson@redhat.com>
Sage Weil [Sat, 8 Feb 2020 01:12:43 +0000 (19:12 -0600)]
Merge PR #33098 into master
* refs/pull/33098/head:
mgr/orch,cephadm: add 'host set-addr'
mgr/orch: include addr (and labels) in 'host ls'
mgr/cephadm: fix 'cephadm check-host'
mgr/cephadm: use addr to contact host
mgr/orch: pass HostSpec to add_host
mgr/orch: HostSpec -> HostPlacementSpec
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 7 Feb 2020 23:58:08 +0000 (17:58 -0600)]
qa/suites/rados/cephadm/.../test_repos: run without ulimit and coverage tools
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 23:55:32 +0000 (17:55 -0600)]
qa/tasks/workunit: accept coverage_and_limits: false
Allow workunits without teuthology tools (normally installed by ceph.py,
IIRC).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 23:49:39 +0000 (17:49 -0600)]
qa/suites/rados/cephadm: move ubuntu_18.04_podman to shared location
Also set the registries.conf file so we can pull from docker.io.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 23:52:40 +0000 (17:52 -0600)]
qa/suites/upgrade/nautilus-x-singleton: ensure hit sets behave across upgrade
Create a pool that generates hit sets before the upgrade, and ensure that
they (continue to) trim after the upgrade.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 23:34:18 +0000 (17:34 -0600)]
osd/PrimaryLogPG: use legacy timestamp rendering for hit_set objects
These objects exist prior to octopus and we need to be consistent with
the naming. Stick with the legacy form.
Fixes: https://tracker.ceph.com/issues/44024
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 23:33:40 +0000 (17:33 -0600)]
include/utime: allow legacy rendering of timestamp
In
79d8d761cf8fb6a5679d1925f92889c950dc2be4 and
ec3ddcb9886e3c74b78aa8521bc05e695f6aeeab
we switched to a strict ISO8660 rendering for timestamps. In some cases,
we need to render the timestamp in the legacy form: ' ' instead of 'T',
and no time zone suffix.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 22:19:08 +0000 (16:19 -0600)]
qa/suites/rados/cephadm: fix conflicts, missing .qa link
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 7 Feb 2020 21:26:16 +0000 (13:26 -0800)]
Merge PR #33080 into master
* refs/pull/33080/head:
qa: specify random distros in multimds
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Sage Weil [Fri, 7 Feb 2020 19:37:47 +0000 (13:37 -0600)]
Merge PR #33070 into master
* refs/pull/33070/head:
mgr/telemetry: use raise_for_status()
mgr/telemetry: factor post into helper
mgr/telemetry: catch exception during requests.put
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Sage Weil [Thu, 6 Feb 2020 03:35:07 +0000 (21:35 -0600)]
mgr/orch,cephadm: add 'host set-addr'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 03:33:34 +0000 (21:33 -0600)]
mgr/orch: include addr (and labels) in 'host ls'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 23:39:39 +0000 (17:39 -0600)]
mgr/cephadm: fix 'cephadm check-host'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 23:39:30 +0000 (17:39 -0600)]
mgr/cephadm: use addr to contact host
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 23:33:41 +0000 (17:33 -0600)]
mgr/orch: pass HostSpec to add_host
Distinguish between the hostname and the addr (dns name or IP) to reach
the host. Include labels here too since it's convenient to do so.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 23:19:56 +0000 (17:19 -0600)]
mgr/orch: HostSpec -> HostPlacementSpec
This object is about describing where to place a service on a host: it
includes a host name and either an IP or network and possibly even a name
for the service.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 19:27:34 +0000 (13:27 -0600)]
Merge PR #33118 into master
* refs/pull/33118/head:
orchestrator cli: change 'rgw update' params order
mgr/cephadm: fix minor typo
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 7 Feb 2020 19:27:13 +0000 (13:27 -0600)]
Merge PR #33062 into master
* refs/pull/33062/head:
qa/suites/rados/cephadm: collect all cephadm tests together here
qa/workunits/cephadm/test_repos: add test for the repo commands
cephadm: add '{add,rm}-repo', with initial centos/rhel/fedora/ubuntu support
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 7 Feb 2020 19:26:54 +0000 (13:26 -0600)]
Merge PR #33119 into master
* refs/pull/33119/head:
mgr/upgrade: fix mgr self check
mgr/cephadm: fail upgrade if target image doesn't exist
mgr/cephadm: factor upgrade failure into helper
mgr/cephadm: refresh if we don't know a daemon's image_id
mgr/cephadm: refresh services in upgrade loop
mgr/cephadm: clean up upgrade messages a bit
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Jan Fajerski [Fri, 7 Feb 2020 17:14:52 +0000 (18:14 +0100)]
Merge pull request #33086 from guits/guits-fix_cv_rerun
ceph-volume: skip osd creation when already done
Sage Weil [Fri, 7 Feb 2020 14:43:38 +0000 (08:43 -0600)]
qa/suites/rados/cephadm: collect all cephadm tests together here
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 17:02:31 +0000 (11:02 -0600)]
qa/workunits/cephadm/test_repos: add test for the repo commands
This isn't a great test, but it is something.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 4 Feb 2020 14:28:05 +0000 (08:28 -0600)]
cephadm: add '{add,rm}-repo', with initial centos/rhel/fedora/ubuntu support
Other distros to follow.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 7 Feb 2020 17:10:29 +0000 (11:10 -0600)]
Merge PR #33111 into master
* refs/pull/33111/head:
qa/suites/rados/cephadm[-smoke]: test podman on ubuntu 18.04
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Fri, 7 Feb 2020 16:42:50 +0000 (00:42 +0800)]
Merge pull request #33128 from pponnuvel/fix_incorrect_link_documentation
coding-style: update a link and fix typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ponnuvel Palaniyappan [Fri, 7 Feb 2020 15:55:08 +0000 (15:55 +0000)]
coding-style: update a link and fix typos.
Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
Sage Weil [Fri, 7 Feb 2020 15:24:43 +0000 (09:24 -0600)]
mgr/ansible: remove
Signed-off-by: Sage Weil <sage@redhat.com>
Guillaume Abrioux [Fri, 7 Feb 2020 14:22:46 +0000 (15:22 +0100)]
ceph-volume: add unit test test_safe_prepare_osd_already_created
This commit adds a new unit test
`test_safe_prepare_osd_already_created()` in order to test when
`is_ceph_device()` returns `True` `RuntimeError` is well raised.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 5 Feb 2020 16:48:22 +0000 (17:48 +0100)]
ceph-volume: skip osd creation when already done
When rerunning ceph-volume lvm create on a device already prepared and
activated, ceph-volume should skip the creation.
This is a regression introduced by
bb4de1a3fc238eaf9f717dc59c6bdf338ef6d657
Fixes: https://tracker.ceph.com/issues/43981
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sage Weil [Fri, 7 Feb 2020 14:47:52 +0000 (08:47 -0600)]
Merge PR #33042 into master
* refs/pull/33042/head:
cephadm: bootstrap: warn on fqdn hostname
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Fri, 7 Feb 2020 14:44:53 +0000 (22:44 +0800)]
pybind/ceph_argparse: avoid int overflow
in python 2.6.8, `thread.join(timeout)` tries to convert the given
timeout to PyTime, but turns out `2 << 32` overflows when python
runtime converts the timeout from sec to ns. that's why
the `lock.acquire()` call always fail in
`Thread._wait_for_tstate_lock()`.
and we end up with an alive thread after calling `thread.join()`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 6 Feb 2020 14:54:06 +0000 (08:54 -0600)]
qa/suites/rados/cephadm[-smoke]: test podman on ubuntu 18.04
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 20:37:47 +0000 (14:37 -0600)]
mgr/upgrade: fix mgr self check
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 20:31:18 +0000 (14:31 -0600)]
mgr/cephadm: fail upgrade if target image doesn't exist
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 20:31:06 +0000 (14:31 -0600)]
mgr/cephadm: factor upgrade failure into helper
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 19:52:05 +0000 (13:52 -0600)]
mgr/cephadm: refresh if we don't know a daemon's image_id
This notably happens right after we deploy a fresh daemon.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 19:51:42 +0000 (13:51 -0600)]
mgr/cephadm: refresh services in upgrade loop
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 19:49:14 +0000 (13:49 -0600)]
mgr/cephadm: clean up upgrade messages a bit
Signed-off-by: Sage Weil <sage@redhat.com>
Jan Fajerski [Fri, 7 Feb 2020 13:46:25 +0000 (14:46 +0100)]
Merge pull request #32634 from jan--f/c-v-inventory-fixes
ceph-volume: finer grained availability notion in inventory.
Jan Fajerski [Fri, 7 Feb 2020 13:41:27 +0000 (14:41 +0100)]
Merge pull request #31978 from jan--f/c-v-batch-no-db-dev-drop
ceph-volume/batch: fail on filtered devices when non-interactive
Sage Weil [Fri, 7 Feb 2020 13:16:14 +0000 (07:16 -0600)]
Merge PR #33075 into master
* refs/pull/33075/head:
examples/librados: fix bufferlist::copy() in hello_world.cc.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Jan Fajerski [Mon, 6 Jan 2020 17:02:57 +0000 (18:02 +0100)]
ceph-volume: add available property in target specific flavors
This adds two properties available_[lvm,raw] to device (and thus inventory).
The goal is to have different notions of availability based on the
intended use case. For example finding LVM structures make a drive
unavailable for the raw mode, but might be available for the lvm mode.
Fixes: https://tracker.ceph.com/issues/43400
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Fri, 7 Feb 2020 10:30:01 +0000 (11:30 +0100)]
Merge pull request #33112 from jan--f/c-v-lvm-list-regression-31700
ceph-volume: fix regression and improve output in lvm list
Kefu Chai [Fri, 7 Feb 2020 07:49:37 +0000 (15:49 +0800)]
Merge pull request #32985 from sebastian-philipp/mgr-progress-mypy
mgr/progress: Add integration to pybind/mgr/tox.ini
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Fri, 7 Feb 2020 03:29:20 +0000 (19:29 -0800)]
Merge PR #32432 into master
* refs/pull/32432/head:
mds: Reorganize structure members in snap header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yehuda Sadeh [Fri, 7 Feb 2020 02:28:18 +0000 (18:28 -0800)]
orchestrator cli: change 'rgw update' params order
Fixes: https://tracker.ceph.com/issues/44029
First realm, then zone -- to be consistent with the other commands
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 7 Feb 2020 01:21:08 +0000 (17:21 -0800)]
mgr/cephadm: fix minor typo
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 6 Feb 2020 22:12:39 +0000 (16:12 -0600)]
Merge PR #33114 into master
* refs/pull/33114/head:
cephadm:Fix name argument parsing during image check for non-ceph components
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Daniel-Pivonka [Thu, 6 Feb 2020 20:47:26 +0000 (15:47 -0500)]
cephadm:Fix name argument parsing during image check for non-ceph components
bug in parsing introduced in
97def7c
args.name may exist but will be none if flag is not used
check the value in addition to checking if it exists
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Sage Weil [Thu, 6 Feb 2020 20:42:46 +0000 (14:42 -0600)]
Merge PR #33109 into master
* refs/pull/33109/head:
cephadm: fix inspect-image
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Thu, 6 Feb 2020 20:42:34 +0000 (14:42 -0600)]
Merge PR #33089 into master
* refs/pull/33089/head:
cephadm: re-introduce the `podman logs` command
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 19:13:48 +0000 (13:13 -0600)]
Merge PR #33110 into master
* refs/pull/33110/head:
qa/distros: rhel and centos: whitelist cephadm logrotate selinux denial
Reviewed-by: Boris Ranto <branto@redhat.com>
Jan Fajerski [Thu, 6 Feb 2020 15:49:12 +0000 (16:49 +0100)]
ceph-volume: fix various lvm list issues
A single report on a non-lvm device now works.
Format was cleaned up, report lvm journal,wal, db only once.
Fixes: https://tracker.ceph.com/issues/44009
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Thu, 6 Feb 2020 15:47:08 +0000 (16:47 +0100)]
ceph-volume: add get_device_lvs to easily retrieve all lvs per device
Also drop the sep argument from get_lvs and siblings, unused.
Introduce LV_CMD_OPTIONS to unify options to lvs.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Michael Fritch [Wed, 5 Feb 2020 16:02:02 +0000 (09:02 -0700)]
cephadm: re-introduce the `podman logs` command
Fixes: https://tracker.ceph.com/issues/43973
Signed-off-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Thu, 6 Feb 2020 15:22:21 +0000 (09:22 -0600)]
Merge PR #33093 into master
* refs/pull/33093/head:
build-integration-branch: don't fail on existing branch
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 6 Feb 2020 15:18:13 +0000 (09:18 -0600)]
cephadm: fix inspect-image
This was broken by
d8debba782cd4f40ed13db7f1af8ef43503ccec5
because the 'images' json output works with podman but not with
docker. (Also, the inspect command is more explicit and cleaner.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 14:22:40 +0000 (08:22 -0600)]
qa/distros: rhel and centos: whitelist cephadm logrotate selinux denial
This is fixed in RHEL 8.1.1 (and by extension centos/rhel 8.2+).
No fix for el 7 yet
Partially-fixes: https://tracker.ceph.com/issues/43703
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 13:09:29 +0000 (07:09 -0600)]
doc/rados/operations: adjust docs a bit
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 22:54:00 +0000 (16:54 -0600)]
mon/OSDMonitor: accept 'autoscale_mode' argument to 'osd pool create'
Allow the autoscale mode to be set atomically with pool creation.
Fixes: https://tracker.ceph.com/issues/42638
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 6 Feb 2020 12:33:36 +0000 (06:33 -0600)]
Merge PR #33071 into master
* refs/pull/33071/head:
mgr/cephadm: remove item from cache when removing
Reviewed-by: Michael Fritch <mfritch@suse.com>
Lenz Grimmer [Thu, 6 Feb 2020 11:34:56 +0000 (11:34 +0000)]
Merge pull request #33059 from tspmelo/wip-node-10-18-1
make-dist: Bump Node.js to v10.18.1
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Tatjana Dehler [Thu, 6 Feb 2020 08:44:48 +0000 (09:44 +0100)]
Merge pull request #32546 from votdev/issue_43089_passwd_cmplx_config
mgr/dashboard: Make password policy check configurable
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Jun Su [Thu, 6 Feb 2020 06:34:43 +0000 (14:34 +0800)]
ceph.in: print decoded output in interactive mode
Under ceph CLI interactive mode, the outbuf is
not decoded as utf-8 which causes the output
is not properly formatted.
Signed-off-by: Jun Su <howard0su@gmail.com>
Kefu Chai [Thu, 6 Feb 2020 08:05:31 +0000 (16:05 +0800)]
Merge pull request #32881 from tchaikov/wip-43657
mgr/orchestrator: use deepcopy for copying exceptions
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Tue, 4 Feb 2020 12:14:10 +0000 (20:14 +0800)]
pybind: refactor monkey_with_compiler()
* remove `clang` global variable
* do not assume that `clang` is assigned before
`filter_unsupported_flags()` is called.
* use a decorator-style function to do the monkey patch
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Jan 2020 06:01:52 +0000 (14:01 +0800)]
qa/tasks/cephadm: test "orchestrator host ls"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Jan 2020 05:52:49 +0000 (13:52 +0800)]
qa/tasks: drop test_cephadm_orchestrator.py
this test will end with a failure like
```
2020-01-30T18:15:15.870 INFO:tasks.ceph.mgr.x.smithi042.stderr:Warning: Permanently added 'smithi042.front.sepia.ceph.com,172.21.15.42' (ECDSA) to the list of known hosts.
2020-01-30T18:15:15.925 INFO:tasks.ceph.mgr.x.smithi042.stderr:Permission denied, please try again.
2020-01-30T18:15:15.932 INFO:tasks.ceph.mgr.x.smithi042.stderr:Permission denied, please try again.
2020-01-30T18:15:15.939 INFO:tasks.ceph.mgr.x.smithi042.stderr:root@smithi042.front.sepia.ceph.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
```
because mgr is not able to establish an ssh connection to that host with "root".
please note, the teuthology worker is acting using the "ubuntu" account on the
test node, and by default, "root" does not have its pubkey. and actually
`qa/tasks/cephadm.py` does push the pubkey to all the managed hosts before
testing cephadm.
since `qa/tasks/cephadm.py` is a better test for cephadm, let's just
drop this one.
as suites/rados/cephadm already covers cephadm
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jan 2020 15:27:47 +0000 (23:27 +0800)]
mgr/orchestrator: use deepcopy for copying exceptions
since rexec module has been removed in python3, we cannot use it
anymore.
Fixes: https://tracker.ceph.com/issues/43657
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 5 Feb 2020 22:56:42 +0000 (16:56 -0600)]
build-integration-branch: don't fail on existing branch
This behavior is too annoying, and you can always get back to something
clobbered with 'git reflog'.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 22:47:21 +0000 (16:47 -0600)]
Merge PR #32946 into master
* refs/pull/32946/head:
qa/suites/rados: improve valgrind leak check
common/ceph_context: add an asok command to deliberately leak memory
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Wed, 5 Feb 2020 22:45:52 +0000 (16:45 -0600)]
mgr/telemetry: use raise_for_status()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 4 Feb 2020 20:06:21 +0000 (14:06 -0600)]
mgr/telemetry: factor post into helper
And use it for devices too
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 5 Feb 2020 22:09:12 +0000 (16:09 -0600)]
Merge PR #33055 into master
* refs/pull/33055/head:
qa/tasks/mgr/test_orchestrator_cli: support multiple DriveGroups
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <swagner@suse.com>