* 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>
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>
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>
In 79d8d761cf and
ec3ddcb988
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>
* 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>
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>
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>
* 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>
* 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>
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>
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 bb4de1a3fc
Fixes: https://tracker.ceph.com/issues/43981
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
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>