Commit Graph

88561 Commits

Author SHA1 Message Date
Nathan Cutler
4b8c3b8e79 build/ops: install-deps.sh: set with_seastar
25d5122b5538062e8282251c3d7bae0f9792d596 introduced code into
install-deps.sh which was intended to set a variable "with_seastar" to the
string "true" or "false" depending on whether or not an environment
variable WITH_SEASTAR is defined.

As originally implemented, the conditional is always true, so with_seastar
is set to "true" unconditionally. Fix this by putting $WITH_SEASTAR in
double quotes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-16 22:07:57 +02:00
Nathan Cutler
e2104f7005 spdk: -march=core2 instead of -march=native
-march=native causes gcc to use opcodes according to whichever CPU happens to
be installed in the build host, which can be different for every build. This
makes it impossible to achieve a reproducible build.

Also, if the build host has a very new CPU, running the resulting binaries on
older CPUs (of the same family, i.e. x86_64) could result in segmentation
fault.

Hopefully nobody will be running Ceph on x86_64 CPUs older than Core2 (?)

Fixes: http://tracker.ceph.com/issues/24948
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-16 21:13:26 +02:00
Ron Allred
4641ebb075 ceph-volume util/prepare.py
Replaces PR#21887
Rename function check_id to osd_id_exists in util/prepare.py
Fix boolean analysis of osd_id_exists when --osd-id is provided on command line

Signed-off-by: Ron Allred <rallred@itrefined.com>
2018-07-16 13:17:10 -05:00
Patrick Donnelly
3820cf897a
mds: print mdsmap processed at low debug level
Production deployments use low debugging but it'd be useful to always know what
MDSMap epoch the MDS is currently processing. (In the case of skipped epochs or
unsynchronized processing.)

Fixes: https://tracker.ceph.com/issues/24852

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-16 09:33:34 -07:00
Patrick Donnelly
5af96d8bc0
Merge PR #23068 into master
* refs/pull/23068/head:
	doc: fix some errors in the cephfs-journal-tool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-16 09:17:19 -07:00
Jason Dillaman
62031c90d7
Merge pull request #22737 from trociny/wip-24675
librbd: validate data pool for self-managed snapshot support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-16 11:43:11 -04:00
Alfredo Deza
6043a2255d ceph-volume lvm.auto create a strategies module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
30d17788a9 ceph-volume lvm.prepare do not pass the name when creating a vg
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
01aece2b9a ceph-volume api.lvm create_vg should optionally name vgs on the fly
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
0cd5a698b1 ceph-volume lvm.main make auto a subcommand
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:40 -04:00
Alfredo Deza
d38e8d95a4 ceph-volume lvm.auto add --yes prompt to execute strategies
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-16 09:57:39 -04:00
Zhu Shangzhong
3c1cb0f313 doc: fix some errors in the cephfs-journal-tool
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2018-07-16 15:16:29 +08:00
Patrick Donnelly
1d98fed3d7
mds: increase debug level for dropped client cap msg
Fixes: https://tracker.ceph.com/issues/24855

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 17:48:53 -07:00
Patrick Donnelly
cde9487645
mds: dump recent events on respawn
Fixes: https://tracker.ceph.com/issues/24853

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 16:30:00 -07:00
Patrick Donnelly
69725446c8
Merge PR #23059 into master
* refs/pull/23059/head:
	common/ceph_strings: add request_flush_mdlog op names to ceph_session_op_name()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 15:10:08 -07:00
Patrick Donnelly
a2cb12c8fb
Merge PR #22211 into master
* refs/pull/22211/head:
	cephfs-journal-tool: get and check layout info during dump/undump

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-07-15 15:03:13 -07:00
Patrick Donnelly
37b085c12b
Merge PR #22705 into master
* refs/pull/22705/head:
	Changed Lua library support from all to partial
	mds/Mantle: Fixed Mantle's obsolete Lua C++ API

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 15:03:08 -07:00
Patrick Donnelly
979a05a0c5
Merge PR #22751 into master
* refs/pull/22751/head:
	test: add tests for ceph_utime() and friends
	libcephfs: extend support for changing file access/modification time

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-07-15 15:03:03 -07:00
Patrick Donnelly
3376af33a8
Merge PR #22801 into master
* refs/pull/22801/head:
	client: add inst to asok status output

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2018-07-15 15:02:58 -07:00
Patrick Donnelly
396beeea27
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 15:02:57 -07:00
Patrick Donnelly
931c782f6f
Merge PR #22804 into master
* refs/pull/22804/head:
	mds: remove useless dout_subsys macro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-15 15:01:59 -07:00
Willem Jan Withagen
81dbb42c61 test: Only inquire bluestore when it's build
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-07-15 16:56:54 +02:00
Zhang Shaowen
f4171225fa rgw: add curl_low_speed_limit and curl_low_speed_time config to avoid
the thread hangs in data sync.

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>

rgw: mitigate NIC problems like X710 transmit queue hang

Continuation of #19282
- change the default speed limit to 1KBps
- fix options description spacing

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2018-07-15 05:08:50 -04:00
Mykola Golub
08ea7d62ba librbd: validate data pool for self-managed snapshot support
Fixes: https://tracker.ceph.com/issues/24675
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-07-15 09:05:52 +03:00
Patrick Donnelly
59c68dc13c
mon: emplace mon_caps in Monitor
Avoiding unnecessary pointer management.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-14 17:06:20 -07:00
Abhishek Lekshmanan
4bbea56806 doc: releases: release notes for v12.2.6 luminous
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-07-14 14:46:54 -05:00
Jason Dillaman
7c94366b8a
Merge pull request #22945 from cxytt/master
librbd:optionally support FUA (force unit access) on write requests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-14 14:18:02 -04:00
Jason Dillaman
09bb605002
Merge pull request #22637 from zy751713126/resize_equal_size
rbd: error if new size is equal to original size

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-14 14:17:17 -04:00
Jason Dillaman
0216fa878e
Merge pull request #20112 from liyichao/aio_fail
librbd: handle aio failure in ManagedLock and PreReleaseRequest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-14 14:16:57 -04:00
Sage Weil
101e88aa70 osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore
The osd_skip_data_digest is about skipping the storing and checking of a
full-object data digest.  Here it is also disabling crc checks during
deep-scrub, which prevents us from detecting crc differences across
replicas.  Fix!

Fixes: http://tracker.ceph.com/issues/24922
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-14 12:39:15 -05:00
Patrick Donnelly
428ca291b0
mon: manage paxos_services alloc with unique_ptr
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-14 10:14:38 -07:00
Kefu Chai
3d1eae0d5b
Merge pull request #23046 from tchaikov/wip-ftbfs-rgw-kefu
rgw: fix FTBFS introduced by abca9805
2018-07-14 21:33:08 +08:00
Willem Jan Withagen
eadff7a824 common: SubProcess needs SIGTERM, from the includes
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-07-14 13:47:43 +02:00
Kefu Chai
2d7237557e rgw: fix FTBFS introduced by abca9805
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-14 18:26:19 +08:00
Kefu Chai
4e87c5a492
Merge pull request #22809 from tchaikov/wip-with-seastar
run-make-check: enable --with-seastar option

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-14 17:36:20 +08:00
Kefu Chai
c675f2b1a1
Merge pull request #22964 from tchaikov/wip-import-pub-key-without-hkp-server
install-deps.sh: import ubuntu-toolchain-r's key without keyserver

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2018-07-14 15:47:00 +08:00
Kefu Chai
7d2c188053 crimson/net: use boost::thread_unsafe_counter for refcounting Connection
seastar is basically single threaded.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-14 15:34:31 +08:00
Kefu Chai
8e855e512f crimson/net: add Connection::get_peer_type()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-14 15:34:23 +08:00
Yan, Zheng
0f735f4031 mds: health warning for slow metadata IO
Fixes: http://tracker.ceph.com/issues/24879
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-14 09:44:36 +08:00
Patrick Donnelly
8eea2dbf5a
Merge PR #22971 into master
* refs/pull/22971/head:
	qa: optionally use old fs name during cephfs remount
	qa: remove dead code
	qa: run asok command on correct machine
2018-07-13 18:16:51 -07:00
Patrick Donnelly
1ad8d86bd0
qa: optionally use old fs name during cephfs remount
This fixes errors caused by remount done by some tests (test_recovery_pool.py)
where the fs name is not given.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 18:16:06 -07:00
Patrick Donnelly
a2ff87d4e2
qa: remove dead code
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 18:15:03 -07:00
Patrick Donnelly
08bb5a244f
ceph-debug-docker: install python3 cephfs/rados packages
Fixes: http://tracker.ceph.com/issues/24870

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 17:08:26 -07:00
Patrick Donnelly
fa25d6c8d1
qa: run asok command on correct machine
The MDS may not be on the same machine where the cluster command is run.

Fixes: http://tracker.ceph.com/issues/24858

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 16:07:30 -07:00
Matt Benjamin
bca1b09973 rgw_file: deep stat handling
A change to the exact-match behavior in leaf stat operations is
required to support instantiation of a full path hierarchy when
one or more intervening directories has not been enumerated.

Fixes: http://tracker.ceph.com/issues/24915

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2018-07-13 17:35:05 -04:00
Patrick Donnelly
333444e8aa
Merge PR #21885 into master
* refs/pull/21885/head:
	qa: update cluster log health warning message
	qa: add tests for client features
	mds: evict clients that lack required features
	mds: cleanup MDSRank::evict_client
	mds: infer client version by client metadata and connection's features
	mds: introduce "ceph fs set <fs_name> min_compat_client <release_name>"
	mds: tell client why it's rejected
	mds: introduce cephfs' own feature bits
	mds: make Server::prepare_force_open_sessions() update client metadata

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 13:57:17 -07:00
Patrick Donnelly
9298e3ae9c
Merge PR #23018 into master
* refs/pull/23018/head:
	qa: use 4 mds cluster for multifs tests

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-07-13 13:57:10 -07:00
Patrick Donnelly
3b7233a402
qa: use 4 mds cluster for multifs tests
Fixes: http://tracker.ceph.com/issues/24899

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 12:11:44 -07:00
Patrick Donnelly
87dcaab130
qa: update cluster log health warning message
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 12:06:11 -07:00
Matt Benjamin
d36d6815e5
Merge pull request #23033 from linuxbox2/wip-rgw-409
rgw: do not ignore EEXIST in RGWPutObj::execute
2018-07-13 12:36:24 -04:00