Commit Graph

118921 Commits

Author SHA1 Message Date
Casey Bodley
85641ac3e6 qa/rgw: add librgw_file unit tests to rgw/verify task
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-01-25 16:46:04 -05:00
Harish Munjulur
80bf477285
Merge pull request #37694 from BryceCao/wip-add-MD5-in-forward_request
rgw : add MD5 in forward_request
2021-01-25 11:50:45 -08:00
Harish Munjulur
29c9eb32e9
Merge pull request #38977 from adamemerson/wip-48929
rgw: Fix spurious error on empty datalog shard
2021-01-25 11:48:56 -08:00
Neha Ojha
71a650858a
Merge pull request #38958 from badone/wip-osd-df-tree-accounting-error
An empty bucket or OSD is not an error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-25 10:17:19 -08:00
Neha Ojha
478ef57393
Merge pull request #38992 from ifed01/wip-ifed-fix-48776-2
os/bluestore: be more protective in _deferred_queue

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-01-25 10:10:15 -08:00
Kefu Chai
7a5d0ecb1d
Merge pull request #39051 from tchaikov/wip-install-deps-libzbd
install-deps.sh: install libzbd-dev when WITH_ZBD is set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-26 01:00:52 +08:00
Kefu Chai
e7e3b86762 install-deps.sh: install libzbd-dev when WITH_ZBD is set
to avoid zbd backend bitrot, and for build test it in our "make check"
builds.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-25 14:13:15 +08:00
Sebastian Wagner
70828cb1a8
Merge pull request #39040 from liewegas/cephadm-qa-targets
qa/suites/rados/cephadm: test against ubuntu 20.04 (and update ubuntu_latest)

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-24 12:32:26 +01:00
Sage Weil
7fe3853af9 qa/workunits/cephadm/test_repos: adjust target version
15.2.7 is available for 20.04; 15.1.1 is not

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-23 18:59:39 -06:00
Kefu Chai
24e858ec31
Merge pull request #39042 from tchaikov/wip-cram
test/run-cli-tests: use cram from github

Reviewed-by: Sage Weil <sage@redhat.com>
2021-01-24 03:30:29 +08:00
Kefu Chai
d8cbe4eec1 test/downloads: drop cram-0.5 tar ball
since we install cram from github, drop the tarball from repo

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-24 03:10:54 +08:00
Kefu Chai
c74e614813 test/run-cli-tests: use cram from github
to address the failure of

  WARNING: Built wheel for cram is invalid: Metadata 1.2 mandates PEP 440 version, but '0.5.0ceph.2011-01-14' is not
Failed to build cram

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-24 03:10:54 +08:00
Kefu Chai
97480142a6
Merge pull request #39035 from tchaikov/wip-cephadm-call
cephadm: rewrite call() with asyncio

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-01-24 02:23:38 +08:00
Kefu Chai
8ad7e4c028 cephadm: rewrite call() with asyncio
for better readability, also return 124 when subprocess times out

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-24 01:43:33 +08:00
Sage Weil
8304bf6510 qa/suites/rados/cephadm: add 20.04 targets
Add 20.04 targets.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-23 11:26:06 -06:00
Sage Weil
170dd14af4 qa/suites/rados/cephadm: add 20.04 target
Link directly to the distro version... no need to use _latest here since
it obscures the podman vs docker difference.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-23 11:23:13 -06:00
Sage Weil
a07ca4c5c0 qa/distros: change ubuntu_latest to 20.04
Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-23 11:21:58 -06:00
Sage Weil
24c2d2b124 qa/distros: add ubuntu 20.04 targets
Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-23 11:20:52 -06:00
Sage Weil
c6fba10f7f Merge PR #38974 into master
* refs/pull/38974/head:
	qa/suites/rados/cephadm/upgrade: avoid allow_ptrace with old cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-01-23 11:03:10 -06:00
Casey Bodley
334ecc04dd
Merge pull request #39032 from adamemerson/wip-layout-initialize
rgw: Initialize Layout Logs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-01-23 11:32:51 -05:00
Mykola Golub
541b85e6ec
Merge pull request #39029 from dillaman/wip-48964
ocf: add support for mapping images within an RBD namespace

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-01-23 10:52:27 +02:00
Mykola Golub
2e8df982f5
Merge pull request #39024 from dillaman/wip-librbd-q-release
librbd: bump minor version to match Q release

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-01-23 10:51:24 +02:00
Kefu Chai
9b735d2e13
Merge pull request #39034 from liewegas/fix-vstart-init-ceph
init-ceph: fix python and library paths for vstart

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-23 12:22:42 +08:00
Yuri Weinstein
63777b7f9d
Merge pull request #38957 from yuriw/wip-yuriw-crontab-master
qa/tests: added pacific, changed octopus number of runs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-22 15:37:48 -08:00
Sage Weil
62592227f6 init-ceph: fix python and library paths for vstart
The current version does not result in a functional mgr after restarting
from a vstart cluster.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-22 14:48:25 -06:00
Adam C. Emerson
340a2836a3 rgw: Initialize logs on layout initialization
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2021-01-22 15:46:42 -05:00
Jason Dillaman
eb8aea93b0
Merge pull request #39013 from MahatiC/wip-ssd-doc
doc: update rwl doc to include ssd config

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-22 15:45:56 -05:00
Nathan Cutler
0029d52cf9
Merge pull request #38942 from smithfarm/wip-bci-pacific
script: make backport scripts know about pacific

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-22 20:53:48 +01:00
Sage Weil
3d7761bd59 Merge PR #39003 into master
* refs/pull/39003/head:
	cephadm: fix 2> syntax in unit.run

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2021-01-22 12:33:52 -06:00
Yuri Weinstein
5b05122123 qa/tests: moved 'master' runs to 'gibba' machines
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-01-22 08:59:32 -08:00
Sage Weil
8db0dc8e09 Merge PR #38990 into master
* refs/pull/38990/head:
	mgr/devicehealth: fix 'device monitoring on|off' return value

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-01-22 09:55:40 -06:00
Jason Dillaman
2a23a92aaf ocf: add support for mapping images within an RBD namespace
Support for RBD namespaces was not added to the OCF resource agent.
This commit fixes this oversight and also fixes a bug in handling
of the "rbd device list" output.

Fixes: https://tracker.ceph.com/issues/48964
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-22 10:29:29 -05:00
Nathan Cutler
7221f6405c script: make backport scripts know about pacific
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2021-01-22 15:21:29 +01:00
Jason Dillaman
8010dfa23e librbd: bump minor version to match Q release
This will assist layered projects like QEMU and libvirt
determine which features are supported.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-22 08:35:22 -05:00
Ernesto Puerta
5a0d452356
Merge pull request #38938 from rhcs-dashboard/rgw-user-validation
mgr/dashboard: Fix for incorrect validation in rgw user form

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2021-01-22 14:08:57 +01:00
Kefu Chai
71711b56db
Merge pull request #39016 from sebastian-philipp/cephadm-mypy-status-none
mgr/cephadm: mypy says: dd.status can be None

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-01-22 19:46:42 +08:00
Kefu Chai
eab2a7cf07
Merge pull request #38999 from tchaikov/wip-crimson-bootstrap
crimson/osd: fetch_config() before mkfs

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-01-22 19:45:30 +08:00
Sage Weil
ce4743f72e cephadm: fix 2> syntax in unit.run
We need a space between the command (which ends with a container name)
and the 2> or else the 2 is considered part of the command.  E.g.,

! /usr/bin/podman rm -f ceph-a9a8c7ee-5b72-11eb-8f93-001a4aab830c-mon.a2> /dev/null

Fixes: 1bed46e4b0
Signed-off-by: Sage Weil <sage@newdream.net>
2021-01-22 19:11:39 +08:00
Kefu Chai
2d63bc0fbd vstart.sh: print out osd mkfs command
for better understanding the progress of vstart, and also allows
developer to repeat the command.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-22 18:54:29 +08:00
Kefu Chai
37dc3ea9c2 mon/MonClient: do not include unused header
MGetConfig.h is not used anywhere in this source file, so no need to
include it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-22 18:54:28 +08:00
Kefu Chai
237cbc9ba5 crimson/os: do not use __func__ in lambda
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-22 18:54:28 +08:00
Kefu Chai
71229d557d crimson/mon: use switch case for checking return code
also, since seastar supports returning plain value instead a ready
future, let's return plain value. simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-22 18:54:28 +08:00
Jan Fajerski
1f9cabf8a8 Merge PR #32027 into master
* refs/pull/32027/head:
	librados: avoid symbol versioning on Windows

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-01-22 11:35:18 +01:00
Sebastian Wagner
2df47b88ab mgr/cephadm: Minor pep8 fix
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-22 11:32:40 +01:00
Sebastian Wagner
fb19769503 mgr/cephadm: mypy says: dd.status can be None
`DaemonDescription.status` is annotated
as `Optional[int]` and thus can be `None`

This is a conflict between c95ba878c6
and 01f60cf4e0

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-22 11:32:31 +01:00
Sebastian Wagner
e27cc8183e
Merge pull request #38978 from liewegas/cephadm-daemon-health
mgr/cephadm: raise HEALTH_WARN when cephadm daemon in 'error' state

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-22 10:40:00 +01:00
Sebastian Wagner
b8e49ea914
Merge pull request #38967 from liewegas/wip-cephadm-pacific
cephadm: latest stable release is now pacific

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-01-22 10:36:25 +01:00
Sebastian Wagner
6200f4c42e
Merge pull request #38739 from jecluis/wip-cephadm-splits
cephadm: splits bootstrap function, add context, drop global variables

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-01-22 10:35:19 +01:00
Mahati Chamarthy
23327ce374 doc: update rwl doc to include ssd config
... options.

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2021-01-22 10:59:18 +05:30
Kefu Chai
84b2e06794 crimson/osd: fetch_config() before mkfs
* fetch_config() before mkfs and starting osd
  for populating settings related to booting and transport layer
  before it starts.
* set fsid read from monitor before mkfs
  it's crucial to mkfs if osd is supposed to retrieve the fsid
  from monitor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-01-22 13:07:48 +08:00