Commit Graph

120425 Commits

Author SHA1 Message Date
Sage Weil
d07cff2aa6 Merge PR #39832 into master
* refs/pull/39832/head:
	mgr/DaemonServer: osd ok-to-stop: return json when there are unknown PGs

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-04 16:08:14 -05:00
Sage Weil
c7e1d20e32 Merge PR #39726 into master
* refs/pull/39726/head:
	mgr/cephadm: document ok_to_stop output argument for clarity
	mgr/DaemonServer: make warning language a bit friendlier
	mgr/cephadm/upgrade: improve language a bit
	mgr/cephadm/upgrade: restart multiple osds at once
	mgr/cephadm: gather other osds that are safe to stop
	mgr/cephadm: optional pass 'known' through to ok_to_stop
	mgr/cephadm/upgrade: log start/stop/pause/resume

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-04 14:31:57 -05:00
Harish Munjulur
9d15a4eb72
Merge pull request #38741 from BryceCao/wip-standardize-request
rgw : add the check for bucket handler if http args exist object_exclusive sub_resource
2021-03-04 11:07:17 -08:00
Harish Munjulur
3eec40adb9
Merge pull request #39790 from yuvalif/wip-yuval-fix-49557
rgw/notification: fix persistent notification hang when ack-levl=none
2021-03-04 11:05:30 -08:00
Harish Munjulur
50d509ef45
Merge pull request #39782 from yuvalif/wip-yuval-fix-49552
rgw/notification: fixing the "persistent=false" flag
2021-03-04 11:05:14 -08:00
Harish Munjulur
9bd2a5d1d9
Merge pull request #39515 from CloudFerro/gc_max_objs
rgw: limit rgw_gc_max_objs to RGW_SHARDS_PRIME_1
2021-03-04 11:03:56 -08:00
Harish Munjulur
dfcdc912e9
Merge pull request #39380 from leseb/rgw-svc-map-name
rgw: register daemon in service map with more details
2021-03-04 11:03:19 -08:00
Sage Weil
2a1c3997cd mgr/cephadm: document ok_to_stop output argument for clarity
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-04 12:01:28 -05:00
Sage Weil
defc019c6a Merge PR #39823 into master
* refs/pull/39823/head:
	qa/tasks/cephadm: remove mirror code

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-03-04 11:41:28 -05:00
Sebastian Wagner
aec8aa96cb
Merge pull request #39822 from mgfritch/cephadm-custom-container-sample
cephadm: split custom container args into argv

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-03-04 16:23:26 +01:00
Sebastian Wagner
7744777de1
Merge pull request #39699 from mgfritch/cephadm-bin-flake8-quotes
cephadm: introduce flake8 and flake8-quotes

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-03-04 15:59:07 +01:00
Sage Weil
2cce16537c mgr/DaemonServer: osd ok-to-stop: return json when there are unknown PGs
In 791952cc01 we switched to return JSON
both on success and fail to describe which PGs are affected or are blocking
the ability to stop/restart OSDs.  Do the same for the case where
some PG states are unknown (i.e., just after a mgr restart) so that
the cephadm upgrade process can unconditionally expect a JSON result.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-04 08:41:07 -05:00
Sage Weil
208407c5c0 qa/tasks/cephadm: remove mirror code
This is being done from ansible now.  Also, it breaks when
the conf file has unqualified-search-registries but not 'registry'
entries.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-04 07:39:15 -06:00
Kefu Chai
dbab7e24f3
Merge pull request #39831 from xxhdx1985126/wip-crimson-io-sequencer-bug
crimson/osd: do not pass lvalue of the lambda to seastar::futurize_invoke

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-04 21:10:36 +08:00
Matt Benjamin
c0e65f7496
Merge pull request #39656 from pritha-srivastava/wip-rgw-sts-user-fix
rgw/sts: fix for encoding/decoding user namespace
2021-03-04 07:57:58 -05:00
Ernesto Puerta
434530dd55
Merge pull request #39452 from rhcs-dashboard/wip-49283-master
mgr/dashboard: report mgr fsid 

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-03-04 13:53:06 +01:00
Xuehan Xu
a44cac9041 crimson/osd: do not pass lvalue of the lambda to seastar::futurize_invoke
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-03-04 20:31:24 +08:00
Kefu Chai
5b55f6709f
Merge pull request #39815 from sebastian-philipp/github-cephadm-minor
.github: Minor cephadm changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-04 19:06:08 +08:00
Kefu Chai
cb7c0b41c5
Merge pull request #39827 from xxhdx1985126/wip-crimson-minor-bugs
crimson/osd: capture error_code by value in PG::handle_failed_op

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-03-04 18:33:25 +08:00
Kefu Chai
762b27af2c
Merge pull request #39812 from rzarzynski/wip-crimson-admin-config-help
crimson/admin: add support for 'config help'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-04 17:45:16 +08:00
Xuehan Xu
1df4ab9425 crimson/osd: capture error_code by value in PG::handle_failed_op
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-03-04 17:20:28 +08:00
Ernesto Puerta
461d17c29a
Merge pull request #39801 from rhcs-dashboard/49574-fix-pyjwt
mgr/dashboard: fix issues related with PyJWT versions >=2.0.0

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-03-04 09:53:42 +01:00
Nathan Cutler
18627bfeb0
Merge pull request #39755 from smithfarm/wip-49550
rpm: use PMDK system libraries on SUSE

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-03-04 09:29:47 +01:00
Patrick Donnelly
61ea12852f
Merge PR #39799 into master
* refs/pull/39799/head:
	doc: update affiliation for myoungwon

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-03 20:05:22 -08:00
myoungwon oh
d0c56ec3ef doc: update affiliation for myoungwon
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2021-03-04 09:33:41 +09:00
Michael Fritch
1474477375
cephadm: split custom container args into argv
introduced by usage of `shlex` in 3ea514c5

Fixes: https://tracker.ceph.com/issues/49590
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 13:48:12 -07:00
Nathan Cutler
30df650e64 rpm: use PMDK system libraries on SUSE
As of a49d1dbb32e2436ff2836a85b2fa84418f0a5fff, when the rbd_rwl_cache and
rbd_ssd_cache bconds are enabled and WITH_SYSTEM_PMDK is disabled (as it is by
default), the RPM build attempts to

    git clone https://github.com/ceph/pmdk.git

but of course that won't work in the OBS, where the build workers have no
Internet connectivity.

Fortunately, the openSUSE/SLE versions targeted by Ceph master and pacific ship
the necessary PMDK libraries as RPM packages.

Fixes: a49d1dbb32e2436ff2836a85b2fa84418f0a5fff
Fixes: https://tracker.ceph.com/issues/49550
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2021-03-03 20:46:20 +01:00
Nathan Cutler
ef0384dc50
Merge pull request #39765 from smithfarm/wip-ncpus-for-obs
rpm: set build parallelism from memory on SUSE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
2021-03-03 20:44:20 +01:00
Patrick Donnelly
7bb6845e87
Merge PR #39682 into master
* refs/pull/39682/head:
	vstart_runner: remove duplicate methods from LocalCephManager

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-03 10:05:35 -08:00
Patrick Donnelly
3107a1f1f8
Merge PR #39780 into master
* refs/pull/39780/head:
	qa/vstart_runner: dont log "not Ceph bin" msg too often

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-03-03 10:04:23 -08:00
Patrick Donnelly
c9c64eb66b
Merge PR #39681 into master
* refs/pull/39681/head:
	vstart_runner: define path to ceph binary and use it

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-03-03 10:02:41 -08:00
Casey Bodley
38bb60b1e0
Merge pull request #39382 from gauravsitlani/master
rgw: added missing documentation on "pubsub" in rgw_enable_apis

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-03-03 12:13:16 -05:00
Nathan Cutler
4d47f8a928
Merge pull request #39762 from smithfarm/wip-support-leap-15.3
rpm/luarocks: simplify conditional and support Leap 15.3

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
2021-03-03 18:05:07 +01:00
Michael Fritch
d6323e3e01
cephadm: fixup alrady -> already
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
55788a0bdb
cephadm: Change outer quotes to avoid escaping inner quotes (Q003)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
3b8656d496
cephadm: Remove bad quotes from multiline string (Q001)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
6ca31b99e1
cephadm: Remove bad quotes (Q000)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
49f25f56ae
cephadm: introduce flake8-quotes
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
7ac0479726
cephadm: line break after binary operator (W504)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
06e02b73c7
cephadm: blank line contains whitespace (W293)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:32 -07:00
Michael Fritch
1870056fa5
cephadm: trailing whitespace (W291)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
ec56db113f
cephadm: local variable 'e' is assigned to but never used (F841)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
bb03318414
cephadm: 'select' imported but unused (F401)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
c58701642d
cephadm: ambiguous variable name 'l' (E741)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
8eb4c38f10
cephadm: do not use bare 'except' (E722)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
6237df7527
cephadm: statement ends with a semicolon (E703)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
9bbb35958c
cephadm: module level import not at top of file (E402)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:31 -07:00
Michael Fritch
6c8ea9fb65
cephadm: expected 1 blank line before a nested definition (E306)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:30 -07:00
Michael Fritch
cf9e974284
cephadm: expected 2 blank lines after end of function or class (E305)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:30 -07:00
Michael Fritch
f1af846c60
cephadm: too many blank lines (E303)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-03 09:33:30 -07:00