Commit Graph

81087 Commits

Author SHA1 Message Date
Abhishek Lekshmanan
0c2bb1f041 doc: cleanup PendingReleaseNotes
drop sections already in previous releases, keeping only Mimic sections
and a new section header for items going post 12.2.2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-11-30 19:27:45 +01:00
Kefu Chai
3aaf5d24f1 qa: disable mon-health-to-clog in upgrade test
otherwise the cluster will complain that the quorum size is smaller than
that of monmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-01 01:15:59 +08:00
Yuri Weinstein
80d2a0de86 tests - Replaced requests for "centos 7.3" to centos_latest
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-11-30 07:52:11 -08:00
Sage Weil
ffc24907e4
Merge pull request #19247 from shinobu-x/rados_op_crush-map-edits_straw2
doc/rados: Add explanation of straw2
2017-11-30 08:17:25 -06:00
Alfredo Deza
ec7f8a27b8 ceph-volume test leading whitespace is handled in configurations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 08:58:37 -05:00
Alfredo Deza
9706e8cc9e ceph-volume trim tabbed/whitespaced configuration files when loading them
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 08:58:04 -05:00
Kefu Chai
950dbc5ca4
Merge pull request #19254 from tchaikov/wip-ceph-disk-mock-get-fsid
ceph-disk: mock get fsid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-11-30 21:27:15 +08:00
Kefu Chai
ecd4f69c12 ceph-disk: silence deprecate warnings while testing
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-30 19:38:02 +08:00
Kefu Chai
cc49d1d2b9 ceph-disk/tests: mock get_fsid
should offer a valid fsid for the ceph-disk under testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-30 19:37:56 +08:00
Patrick Donnelly
a3be080d03
Merge PR #18995 into master
* refs/pull/18995/head:
	client: emplace Cap in Inode caps map

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:11:22 -08:00
Patrick Donnelly
44385cf70b
Merge PR #19009 into master
* refs/pull/19009/head:
	client: Switch to new style config options and some cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:11:17 -08:00
Patrick Donnelly
49028ee79f
Merge PR #19069 into master
* refs/pull/19069/head:
	qa/tasks/ceph_fuse: fix ceph-fuse mount failed

Reviewed-by: Yunfei Guan <yunfei.guan@xtaotech.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-11-29 22:11:12 -08:00
Patrick Donnelly
fc29e2d336
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:11:12 -08:00
Patrick Donnelly
d10743c232
Merge PR #19078 into master
* refs/pull/19078/head:
	pybind: return error message when ceph_mds_command() returns error
	mds: Fix error message when mds not active

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:09:09 -08:00
Patrick Donnelly
2bcab59536
Merge PR #19095 into master
* refs/pull/19095/head:
	test: pass correct buffer length to ceph_getdents

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:09:04 -08:00
Patrick Donnelly
2fbb784276
Merge PR #19181 into master
* refs/pull/19181/head:
	client: give full error message on failed remount
	client: use PATH_MAX for mount path size

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-11-29 22:08:59 -08:00
Patrick Donnelly
16ca83e70d
Merge PR #19207 into master
* refs/pull/19207/head:
	mds: handle client reconnect gather race

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:08:48 -08:00
Song Shun
f77934b199 ceph-disk: fix signed integer is greater than maximum when call major
fix signed integer is greater than maximum when call os.major
  using python 2.7.5 in Centos 7

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2017-11-30 13:51:59 +08:00
Shinobu Kinjo
6b4b700867 doc/rados: Add explanation of straw2
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-11-30 13:46:26 +09:00
Sage Weil
dda79ad1fa
Merge pull request #15482 from myoungwon/wip-chunked-manifest
osd,librados: add manifest, operations for chunked object

Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-29 21:13:43 -06:00
Dan Mick
4d010fb83d ceph_disk: allow "no fsid" on activate
The intent was to allow "no fsid" configurations when only one
conf file named 'ceph.conf' was present, but the code has a bug
in that ceph-osd --show-config-value will return a default all-0
uuid.  Treat 'all-0' as we were treating 'None'.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-11-29 15:29:17 -08:00
Sage Weil
27e06ffa4c
Merge pull request #18974 from liewegas/wip-22145
osd/PG: restart recovery if NotRecovering and unfound found

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-29 12:48:37 -06:00
Sage Weil
4cfe31c63b osd/PG: restart recovery if NotRecovering and unfound found
If we are in recovery_unfound state waiting for unfound objects, and we
find them, we need to restart the recovery reservation process so that we
can recover.  Do this by queueing DoRecover() event instead of calling
queue_recovery() (which won't do anything since we're not in
recoverying|backfilling pg states).

Make the parent Active state ignore DoRecovery so that if we are already
in some phase of recovery/backfill the event gets ignored.  It is already
handled by the other important substates that care, like Clean (for
repair's benefit).

I'm not sure why states like Activating are paying attention tot his vevent...

Fixes: http://tracker.ceph.com/issues/22145
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-29 12:44:59 -06:00
Adam C. Emerson
d07588a1aa Merge pull request #18954 from adamemerson/wip-hole-in-the-bucket-dear-liza
rgw: Add try_refresh_bucket_info function
rgw: Add retry_raced_bucket_write
rgw: Handle stale bucket info in RGWPutMetadataBucket
rgw: Handle stale bucket info in RGWSetBucketVersioning
rgw: Handle stale bucket info in RGWSetBucketWebsite
rgw: Handle stale bucket info in RGWDeleteBucketWebsite
rgw: Handle stale bucket info in RGWPutBucketPolicy
rgw: Handle stale bucket info in RGWDeleteBucketPolicy
rgw: Expire entries in bucket info cache

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-11-29 13:17:12 -05:00
Jos Collin
61123c4070
Merge pull request #19215 from joscollin/wip-mount-fuse-ceph-typo
doc: Fix typo in mount.fuse.ceph

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:48:07 +05:30
Jos Collin
15c01a0932
Merge pull request #19209 from joscollin/wip-githubman-ktdreyer
githubmap: Add ktdreyer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:45:23 +05:30
Kefu Chai
99c0306324
Merge pull request #19208 from tchaikov/wip-spdk-17.10
spdk: update SPDK to v17.10

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-11-30 00:39:18 +08:00
Sage Weil
431d1482ff qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected
Fixes: http://tracker.ceph.com/issues/21147
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-29 10:29:52 -06:00
Josh Durgin
8f75008776
Merge pull request #19238 from tchaikov/wip-22266
tools/ceph_monstore_tool: rebuild initial mgrmap also

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>
2017-11-29 08:19:40 -08:00
Matt Benjamin
134734ab74
Merge pull request #19079 from adamemerson/wip-static-ptr
Static Pointer
2017-11-29 11:17:22 -05:00
Jos Collin
3dfb57e0ed doc: Fix typo in mount.fuse.ceph
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-29 21:43:46 +05:30
Patrick Donnelly
1ce4a41bb4
Merge PR #19212 into master
* refs/pull/19212/head:
	doc: Add section about MDS cache limits

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 07:20:19 -08:00
Andrew Schoen
eea4bb1367
Merge pull request #19213 from ceph/wip-bz1518264
ceph-volume: correctly fallback to bluestore when no objectstore is specified

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-29 09:05:56 -06:00
Orit Wasserman
1ad4b8df6b
Merge pull request #18267 from joscollin/wip-update-radosgw-admin-doc
doc: Update commands and options in radosgw-admin
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-11-29 15:08:47 +02:00
Kefu Chai
f63d1da4af tools/ceph_monstore_tool: rebuild initial mgrmap also
Fixes: http://tracker.ceph.com/issues/22266
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 20:22:07 +08:00
John Spray
967fc9cf8a
Merge pull request #18649 from b-ranto/wip-restful-fixes
mgr/restful: A couple of restful fixes

Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-29 12:11:58 +00:00
Kefu Chai
185d2f5375 qa/tasks/ceph: add mon-health-to-clog option to "restart"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 20:04:44 +08:00
Barbora Ančincová
4f590990b0 doc: Add section about MDS cache limits
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-11-29 12:46:49 +01:00
Jos Collin
76a8dc1e31 doc: Update all OPTIONS sections in radosgw-admin
Updated all OPTIONS sections in RADOSGW-ADMIN doc page, using the latest options from rgw_admin.cc::usage()

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-29 16:48:32 +05:30
Kefu Chai
a406553a79 qa/tasks/ceph_manager: add inject_args() method
* move Thrasher._set_config() to CephManager, and make it a public
  method, and rename it to inject_args(),
* use this method instead of using 'tell ... injectargs ...' directly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 18:44:16 +08:00
Kefu Chai
b3ceafe7d8 cmake,rpm,deb: update to accommodate SPDK v17.10
* cmake/modules/BuildSPDK.cmake: add lvol
* cmake/modules/BuildDPDK.cmake: add pci and bus_pci
* ceph.spec.in, cmake/modules/BuildSPDK.cmake, debian/control:
  re-introduce libuuid dependency, as 17.07 added lvol. and the latter
  depends on uuid.
* cmake/modules/BuildSPDK.cmake: avoid introducing local variable of
  `iface_libs`.
* cmake/modules/patch-dpdk-conf.sh: disable
  CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES, this option introduces the
  balanced allocation of memory. but it also requires libnuma-dev.
  let's disable it for now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 18:03:23 +08:00
Kefu Chai
b1378b343a
Merge pull request #9571 from yehudasa/wip-rgw-redirect-zone
rgw: add a default redirect field for zones

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-11-29 16:38:54 +08:00
Kefu Chai
44842235bd
Merge pull request #19159 from shinobu-x/drop_using_namespace_std
common: drop namespace using directives for std

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-29 16:16:39 +08:00
Kefu Chai
bc020436ca
Merge pull request #19165 from xiaoxichen/fix_used_pct
mon/PGMap: Fix %USED calculation bug.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-29 16:14:40 +08:00
Kefu Chai
2eb0006334
Merge pull request #19156 from cyx1231st/fix_blkin_tracing
blkin: Fix unconditional tracing in OSD

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-29 16:13:34 +08:00
Kefu Chai
f05b093f02
Merge pull request #19149 from rzarzynski/wip-common-perfguards
common:  RAII-styled mechanism for updating PerfCounters

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-29 16:12:57 +08:00
Kefu Chai
bde50ca234
Merge pull request #19112 from xiaoxichen/osd_mapped_pool
OSD/admin_socket: add get_mapped_pools command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-29 16:12:02 +08:00
Kefu Chai
f39bff5e91
Merge pull request #18959 from cooboos/wip-cephdencoder-LCtype
ceph-dencoder: add support for RGWLifecycleConfiguration

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-29 16:10:46 +08:00
Kefu Chai
34ffafd7ca
Merge pull request #19174 from smithfarm/wip-cmake-exclude-gitignore
cmake: mgr: exclude .gitignore

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-29 15:39:14 +08:00
Kefu Chai
12dc5733c9
Merge pull request #18938 from tchaikov/wip-cmake
cmake: check gcc version not release date for libstdc++ saneness

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-29 15:38:16 +08:00