Commit Graph

106240 Commits

Author SHA1 Message Date
Kefu Chai
b127d6d32e
Merge pull request #32595 from rs-fabrica/doc_install_upgrading-ceph_systemctl_use
doc/install/upgrading-ceph: systemctl in Ubuntu instructions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-14 10:29:45 +08:00
Kefu Chai
1ef9f738c4
Merge pull request #32607 from tchaikov/wip-odr-global-context
cmake: do not include global_context.cc multiple times

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-14 10:25:36 +08:00
Patrick Donnelly
dc71c4a575
Merge PR #31917 into master
* refs/pull/31917/head:
	vstart: Remove duplicate option -N

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-13 16:40:35 -08:00
Casey Bodley
4cf31062d1
Merge pull request #31873 from smanjara/wip-mdlog-crash
rgw: find oldest period and update RGWMetadataLogHistory()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-13 16:25:50 -05:00
Sage Weil
433c5559b1 Merge PR #32425 into master
* refs/pull/32425/head:
	cephadm: shell: do not bind ceph.conf twice

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-13 14:42:29 -06:00
Rodrigo Severo
2422f6df67 doc/install/upgrading-ceph: using systemd commands in Ubuntu instructions
Before this change, we were using the "restart" command which is a symlink to
initctl(8). and it's offered by upstart. since ubuntu/vivid, ubuntu moved from
upstart to systemd.

Please see https://lists.ubuntu.com/archives/ubuntu-devel/2016-July/039465.html

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2020-01-13 16:55:21 -03:00
Casey Bodley
090286567a
Merge pull request #31976 from cbodley/wip-39142-revisited
rgw: apply_olh_log ignores RGW_ATTR_OLH_VER decode error

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2020-01-13 14:45:39 -05:00
Casey Bodley
abe5277269
Merge pull request #32188 from cbodley/wip-qa-rgw-obj-manifest
qa/rgw: add rgw_obj and throttle tests to rgw verify suite

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2020-01-13 14:45:19 -05:00
Casey Bodley
01d7e32d07
Merge pull request #32534 from cbodley/wip-43512
rgw multisite: enforce spawn window for incremental data sync

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Eric J. Ivancich <ivancich@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-01-13 14:44:47 -05:00
Casey Bodley
9d4d273af7
Merge pull request #32550 from cbodley/wip-qa-rgw-multisite-admin-rest
qa/rgw: remove failing radosgw_admin_rest from multisite suite

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-01-13 14:43:37 -05:00
Matt Benjamin
20618a77ca
Merge pull request #31580 from cbodley/wip-rgw-spawn
rgw: beast frontend uses 512k mprotected coroutine stacks
2020-01-13 14:41:54 -05:00
Mykola Golub
f361938e7a
Merge pull request #32578 from dillaman/wip-41556-3
rbd-mirror: remove journal-specific logic from image replay and bootstrap state machines

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-01-13 19:30:55 +02:00
Jason Dillaman
c7051ac026
Merge pull request #32614 from kalebskeithley/gcc10
librbd: added missing <string> include to PoolMetadata header

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-13 10:48:05 -05:00
kalebskeithley
84f629e1b1 librbd: added missing <string> include to PoolMetadata header
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-01-13 09:07:49 -05:00
Sebastian Wagner
24aa280b71
Merge pull request #32597 from sebastian-philipp/mgr-mypy-mgr_util-mgr_module
pyind/mgr: add mgr_module.py and mgr_util.py to mypy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-13 11:08:28 +01:00
Lenz Grimmer
1c5f0e9208
mgr/dashboard: fix badges of SSD devices in inventory page (#32454)
mgr/dashboard: fix badges of SSD devices in inventory page

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-01-13 08:56:54 +00:00
Lenz Grimmer
b4da81643d
mgr/dashboard: "Promote" CRUSH options in pool form (#32210)
mgr/dashboard: "Promote" CRUSH options in pool form

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-01-13 08:52:29 +00:00
Jason Dillaman
9d79a4dd47 rbd-mirror: skip closing local image if it was already closed
If the journal replayer finishes relaying (error or promotion), it will
close the local image. However, the image replayer state machine will also
shut down the journal replayer (again) which might result in attempting
to close the local image again.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-01-12 10:05:04 -05:00
Ronen Friedman
f996db6a14
Merge pull request #32604 from ronen-fr/clang_3
crimson: remove some attributes from lambda
2020-01-12 09:37:55 +02:00
Kefu Chai
6324cb2f02
Merge pull request #32577 from xenolinux/new
doc/releases/nautilus.rst: remove a redundant '*'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-11 19:43:59 +08:00
Kefu Chai
cd3cef7360 cmake: do not include global_context.cc multiple times
otherwise ODR is violated:

==449025==ERROR: AddressSanitizer: odr-violation (0x000000f03700):
  [1] size=8 'g_ceph_context' ../src/global/global_context.cc:24:14
  [2] size=8 'g_ceph_context' ../src/global/global_context.cc:24:14
These globals were registered at these points:
  [1]:
    #0 0x4779bd in __asan_register_globals (/var/ssd/ceph/clang-build/bin/ceph-conf+0x4779bd)
    #1 0x56e9cb in asan.module_ctor (/var/ssd/ceph/clang-build/bin/ceph-conf+0x56e9cb)

  [2]:
    #0 0x4779bd in __asan_register_globals (/var/ssd/ceph/clang-build/bin/ceph-conf+0x4779bd)
    #1 0x7fe5fed12aeb in asan.module_ctor (/var/ssd/ceph/clang-build/lib/libceph-common.so.2+0x2f34aeb)

==449025==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-11 19:26:45 +08:00
Kefu Chai
387063a9cb global/global_context: s/ceph::common/crimson::common/
it's an oversight in 4589fff6

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-11 19:26:45 +08:00
Ronen Friedman
968cd0060a crimson: fix aarch64 ctest failure by removing some lambda attributes
There seems to be no "universally accepted" way to declare a lambda as
[[always_inline]]. "Universally accepted" here meaning: accepted with
no error or warning by gcc8, gcc9 and clang.

See for example: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2020-01-11 09:50:33 +02:00
Servesha Dudhgaonkar
46bc603cd0 doc/releases/nautilus.rst: remove a redundant '*'
remove an extra asterisk '*'

Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
2020-01-11 15:07:10 +08:00
Patrick Donnelly
1c7742d141
Merge PR #32521 into master
* refs/pull/32521/head:
	mds: clarify message about blocked scrub
	mds: throttle scrub start for multiple active MDS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 16:17:42 -08:00
Patrick Donnelly
cf5e0c9f4b
Merge PR #32213 into master
* refs/pull/32213/head:
	cephfs-shell: don't catch libcephfs.Error unnecessarily
	cephfs-shell: make every command set a return value on failure
	pybind/cephfs: move LibCephFSStateError closer to base class
	pybind/cephfs: add method to get error code in Error and OSError

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 16:16:00 -08:00
Patrick Donnelly
60ed88785d
mds: clarify message about blocked scrub
Also, non-recursive scrub still needs rejected: a given directory's
fragments may be on other ranks.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:28:00 -08:00
Patrick Donnelly
c4af0be168
Merge PR #32201 into master
* refs/pull/32201/head:
	mds: maintain client provided metric flags in client metadata
	mds: add feature_bitset_t::dump()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:23:03 -08:00
Patrick Donnelly
c1e26a98c0
Merge PR #32320 into master
* refs/pull/32320/head:
	mds: Reorganize class members in SessionMap header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-10 14:22:28 -08:00
Patrick Donnelly
15f8db42ad
Merge PR #32548 into master
* refs/pull/32548/head:
	libcephfs: fix documentation for ceph_seekdir offset
	client: propagate -ENOTCONN errors for ll_releasedir

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-01-10 14:21:11 -08:00
David Zafman
b2d7facf23
Merge pull request #32506 from dzafman/wip-deprecated-full
osd: Again remove deprecated full/nearfull from osdmap

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-10 13:56:25 -08:00
Alfredo Deza
e2e91920c5
Merge pull request #32591 from CypressXt/patch-1
Documentation: Centos ceph-deploy's python dependencies

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2020-01-10 13:44:12 -05:00
Sebastian Wagner
adb2ed872e pyind/mgr: add mgr_module.py and mgr_util.py to mypy
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-10 16:16:26 +01:00
Kefu Chai
e230c400d3
Merge pull request #32514 from majianpeng/osd-remove-osmap_lock_name
osd/OSD: remove unused parameter osdmap_lock_name.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 23:09:33 +08:00
Kefu Chai
62a79c08bd
Merge pull request #32588 from tchaikov/wip-qa-mgr-setup-with-force
qa/tasks/mgr: set mgr module option with --force

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-10 22:58:42 +08:00
Rodrigo Severo
e8806c97d7 doc/install/upgrading-ceph: removing trailing spaces
Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2020-01-10 11:33:45 -03:00
Kefu Chai
8bdf009c73
Merge pull request #32590 from tchaikov/wip-doc-ceph-bluestore-tools
doc/man: improve bluefs-bdev-expand option

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-01-10 21:40:19 +08:00
Kefu Chai
328ba300ce
Merge pull request #32538 from liuchang0812/kstore-bug-39665
os/kstore: do not cache in-fight stripes on read ops to avoid leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 21:38:33 +08:00
Kefu Chai
9128924eda
Merge pull request #32563 from majianpeng/bluefs-remove-flush-log
os/bluestore/BlueFS: replace flush_log with sync_metadata.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-01-10 21:36:58 +08:00
Kefu Chai
5e9b552aae
Merge pull request #32547 from aclamk/admin-socket-doxygen
common/admin_socket: Add doxygen for call and call_async

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-10 21:36:12 +08:00
Kefu Chai
14a138e676
Merge pull request #32519 from tchaikov/wip-qa-skip-if-no-pool
qa/tasks/ceph_manager: do not pick a pool is there is no pools

Reviewed-By: Neha Ojha <nojha@redhat.com>
2020-01-10 21:33:32 +08:00
Kefu Chai
ba98e06c61
Merge pull request #32549 from tchaikov/wip-qa-rados-whitelist-health-warning
qa: whitelist FS_DEGRADED

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-10 21:28:33 +08:00
Kefu Chai
492b41bb2a
Merge pull request #32512 from tchaikov/wip-cbt-py3
Revert "qa/tasks/cbt: include py2 deps on ubuntu for now"

Reviewed-By: Neha Ojha <nojha@redhat.com>
2020-01-10 21:26:49 +08:00
Clément Hampaï
df88b072cb Added fresh Centos install's python dependencies
Fixes: https://tracker.ceph.com/issues/43545

Signed-off-by: Clément Hampaï <clement.hampai@cypressxt.net>
2020-01-10 14:26:21 +01:00
Kefu Chai
b3e3330c14
Merge pull request #32500 from sebastian-philipp/test_orchestrator-mypy
pybind/mgr: Add test_orchestrator to mypy

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-01-10 21:25:38 +08:00
Kefu Chai
c3a914a8c6 doc/man: improve bluefs-bdev-expand option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 20:16:01 +08:00
Jan Fajerski
53fd6909f2
Merge pull request #32525 from BenoitKnecht/dereference-lvm-path-symlink
ceph-volume: Dereference symlink in lvm list
2020-01-10 11:46:04 +01:00
Adam Kupczyk
52639a3b2e common/admin_socket: Add doxygen for call and call_async
This is only doxygen, an attempt to solidify interface contract.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-01-10 11:30:21 +01:00
Ricardo Marques
32fc142a60 mgr/dashboard: "Promote" CRUSH options in pool form
Fixes: https://tracker.ceph.com/issues/43261

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-01-10 10:13:05 +00:00
Jianpeng Ma
c56108b561 osd/OSD: remove unused parameter osdmap_lock_name.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2020-01-10 14:59:08 +08:00