David Zafman
3a234164d0
Merge pull request #27279 from dzafman/wip-divergent
...
Improvements to standalone tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-24 10:58:11 -07:00
Kefu Chai
67a34f2cf8
Merge pull request #27750 from tchaikov/wip-silence-gcc-warning
...
test/objectstore: silence -Wsign-compare warning
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-04-25 00:18:48 +08:00
Sage Weil
dd93973894
Merge PR #27721 into master
...
* refs/pull/27721/head:
tools: pin the version of breathe that works with Python2
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-24 10:48:17 -05:00
Nathan Cutler
0d0e87241a
Merge pull request #27221 from LenzGr/update-backportscripts
...
script: Obtain milestones via github API
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-04-24 15:49:00 +02:00
Casey Bodley
3d2d0892cc
Merge pull request #25692 from Liuchang0812/fix-26835
...
rgw: returns LimitExceeded when user creates too many ACLs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-24 09:42:28 -04:00
Casey Bodley
046043c235
Merge pull request #25044 from tianshan/fix_36763
...
rgw: set null version object acl issues
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-24 09:41:52 -04:00
Casey Bodley
3466bc1292
Merge pull request #21154 from mslovy/rgw-admin-api
...
rgw: update op_mask of user via admin rest api
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-24 09:41:31 -04:00
Casey Bodley
09543f7131
Merge pull request #17338 from tianshan/fix_roles_pool
...
rgw: add roles_pool in RGWZoneParams dump/decode json
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-24 09:40:36 -04:00
Casey Bodley
de27881839
Merge pull request #17591 from shashalu/fix-bucket-list-versions
...
rgw: list_bucket versions return NextVersionIdMarker = "null" if next_marker.instance is empty
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-24 09:40:16 -04:00
Sage Weil
61d6d051de
Merge PR #27472 into master
...
* refs/pull/27472/head:
doc/rados/operations/devices: document device failure prediction
Reviewed-by: Rick Chen <rick.chen@prophetstor.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-04-24 08:37:49 -05:00
Kefu Chai
8f57abeb0a
Merge pull request #27573 from iotcg/corpus
...
import-generated.sh: use PATH to get ceph-dencoder
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-24 21:34:26 +08:00
Sage Weil
08f4768bec
Merge PR #27696 into master
...
* refs/pull/27696/head:
osd: make use of pg history and past_intervals in pg_create2 messages
mon/OSDMonitor: track history and past_intervals for creating pgs
osd/osd_types: make PastIntervals pi_compact_rep print participants
osd/osd_types: take bare const OSDMap * to check_new_interval
osd/osd_types: add pg_history_t ctor that takes creation epoch+stamp
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-24 08:15:19 -05:00
Sage Weil
a3a4af3454
Merge PR #27656 into master
...
* refs/pull/27656/head:
doc/dev/erasure-coded-pool: update
doc/rados/operations/erasure-code*: update default ec profile references
common/options: change default erasure-code-profile to k=2 m=2
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-24 08:14:55 -05:00
Kefu Chai
f5d1991986
test/objectstore: silence -Wsign-compare warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 20:58:35 +08:00
Mykola Golub
22973d9d46
Merge pull request #27683 from dillaman/wip-24668
...
qa/workunits/rbd: use more recent qemu-iotests that support Bionic
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-24 15:40:43 +03:00
Lenz Grimmer
794f66f0fb
script: Obtain milestones via github API
...
Replace the hard-coded list of milestones with an API request
that obtains this data from github directly.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2019-04-24 14:12:59 +02:00
Changcheng Liu
0c3ca82557
import-generated.sh: correct access to ceph-dencoder
...
align with instructions in doc/dev/corpus.rst.
doc/dev/corpus.rst is under change by kchai@redhat.com
in PR 27552.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2019-04-24 20:06:11 +08:00
Kefu Chai
b4040f09dd
Merge pull request #27704 from tchaikov/wip-denc-dump
...
denc: allow DencDumper to dump OOB buffer
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-24 19:49:54 +08:00
Lenz Grimmer
926654a893
mgr/dashboard: iSCSI: Limit members to 1 group ( #27520 )
...
mgr/dashboard: iSCSI: Limit members to 1 group
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-04-24 13:41:03 +02:00
Lenz Grimmer
3deb4f61ad
Merge pull request #27722 from rhcs-dashboard/39434-prometheus-replace-whitespaces
...
mgr/prometheus: replace whitespaces in metrics' names
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-04-24 13:38:14 +02:00
Lenz Grimmer
54a7cea965
Merge pull request #27678 from tspmelo/wip-iscsi-discovery-read
...
mgr/dashboard: Fix iSCSI Discovery user permissions
2019-04-24 13:31:50 +02:00
Lenz Grimmer
98d5e47f87
Merge pull request #27609 from tspmelo/wip-iscsi-form-warn
...
mgr/dashboard: Fix iSCSI target form warning
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-04-24 13:29:46 +02:00
Mykola Golub
536166b45b
Merge pull request #27720 from dillaman/wip-39407
...
rbd-mirror: clear out bufferlist prior to listing mirror images
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-24 13:00:52 +03:00
Kefu Chai
41ccb0926d
denc: use scope_guard to close(fd)
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 16:26:07 +08:00
Kefu Chai
779419a745
crush,msg: silence -Wsign-compare warnings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 16:26:07 +08:00
Kefu Chai
17c15fb8be
denc: allow DencDumper to dump OOB buffer
...
if encoder encodes buffers into the bufferlist directly, the
contiguous_appender's out_of_band_offset would be greater than zero, in
that case, we should dump the bufferlist passed to appender instead of
just looking at the [pre_pos, post_pos).
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 16:26:07 +08:00
Kefu Chai
6159476e4a
denc: rewrite DENC_DUMP_{PRE,POST} using template
...
* for better readability
* for better debugging experience
* so we can `friend` it in a class in a follow-up change
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 16:26:07 +08:00
Xie Xingguo
78bcae1d6b
Merge pull request #27719 from xiexingguo/wip-crush-node-flags
...
mon/OSDMonitor: crush node flags - two fixes; add tests
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-24 08:44:08 +08:00
Casey Bodley
83ab6aac2a
Merge pull request #26107 from alimaredia/wip-dpp-rgw-put-obj-processor
...
rgw: log refactoring for putobj_processor
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-04-23 15:50:07 -04:00
Ali Maredia
f92a071e18
rgw: log refactoring for AtomicObjProcessor complete
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-04-23 15:07:37 -04:00
Sage Weil
760cb2222f
Merge PR #27628 into master
...
* refs/pull/27628/head:
common: optimize check_utf8
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-04-23 13:08:29 -05:00
Sage Weil
f7ceac90d1
Merge PR #27702 into master
...
* refs/pull/27702/head:
osd/PG: fix last_complete re-calculation on splitting
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-23 13:06:52 -05:00
Sage Weil
fd3c323ffd
Merge PR #27691 into master
...
* refs/pull/27691/head:
os/bluestore: fix out-of-bound access in bmap allocator.
os/bluestore: reproduce out-of-bound access for bmap allocator
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-23 13:06:15 -05:00
Sage Weil
aa4adf8cc4
Merge PR #27707 into master
...
* refs/pull/27707/head:
common/util: handle long lines in /proc/cpuinfo
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-04-23 13:05:44 -05:00
Patrick Donnelly
707ae12a29
Merge PR #27537 into master
...
* refs/pull/27537/head:
mds: better output of 'ceph health detail'
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-04-23 10:53:52 -07:00
Patrick Donnelly
97d6e9948e
Merge PR #27511 into master
...
* refs/pull/27511/head:
mds: fix SnapRealm::resolve_snapname for long name
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-04-23 10:52:41 -07:00
Patrick Donnelly
f1defa179a
Merge PR #27077 into master
...
* refs/pull/27077/head:
test: check listattr for snapshot btime entry
test: extend LibCephFS.Xattrs test
client: remove unused vxattr length helpers
client: fix _listxattr() vxattr buffer length calculation
test: add libcephfs snap.btime xattr test
client: add ceph.snap.btime vxattr
mds: carry snapshot creation time with InodeStat
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-04-23 10:50:49 -07:00
Casey Bodley
a487a86342
Merge pull request #27725 from theanalyst/perf-counter-names
...
rgw: sync counters: drop spaces from counter names
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2019-04-23 12:48:55 -04:00
Abhishek Lekshmanan
97fb4eeae0
rgw: sync counters: drop spaces from counter names
...
Since this might break modules like prometheus and general json processing tools
aren't too happy with spaces.
Fixes: https://tracker.ceph.com/issues/39434
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-04-23 17:29:44 +02:00
alfonsomthd
843802f43e
mgr/prometheus: replace whitespaces in metrics' names
...
Fixes: https://tracker.ceph.com/issues/39434
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-04-23 16:20:47 +02:00
Jason Dillaman
15c7294312
Merge pull request #27703 from tchaikov/wip-rbd-replay-denc
...
rbd_replay: call the member decode() explicitly
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-23 10:07:26 -04:00
Lenz Grimmer
ce2c91f989
mgr/dashboard: Clean up TableComponent tests and code ( #26784 )
...
mgr/dashboard: Clean up TableComponent tests and code
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-04-23 15:54:23 +02:00
Alfredo Deza
7ab6a39005
tools: pin the version of breathe that works with Python2
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-04-23 09:09:09 -04:00
Kefu Chai
3ca9bba4ef
rbd_replay: call the member decode() explicitly
...
otherwise, the one defined using WRITE_RAW_ENCODER is called instead.
so in this change, rename the the member function which happens to have
the same signature with
decode(type &v, ::ceph::bufferlist::const_iterator& p)
where `type` is `__u8`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-23 20:33:13 +08:00
Jason Dillaman
7c5dcf63f3
rbd-mirror: clear out bufferlist prior to listing mirror images
...
The second call to list mirrored images will fail deep within the
msgr code due to a "bad crc in data" error.
Fixes: http://tracker.ceph.com/issues/39407
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-23 08:24:52 -04:00
Jason Dillaman
b7c7a4f39e
Merge pull request #27521 from trociny/wip-rbd-remove-clone_v2-parent
...
librbd: optionally move parent image to trash on remove
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-23 08:11:38 -04:00
Jason Dillaman
0834078e77
Merge pull request #27484 from majianpeng/rbd-nbd
...
rbd-nbd: sscanf return 0 mean not-match
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-23 08:11:07 -04:00
Sage Weil
67fadc711a
doc/rados/operations/devices: document device failure prediction
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-23 07:10:53 -05:00
Casey Bodley
2542abc0bb
Merge pull request #27697 from cbodley/wip-rgw-bucket-list-unordered
...
rgw: cls_bucket_list_unordered lists a single shard
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-04-23 08:07:13 -04:00
Sage Weil
b9865ad800
osd: make use of pg history and past_intervals in pg_create2 messages
...
If we get a mismatched epoch and past_intervals, error out early, or else
we'll end up asserting later in the PastIntervals code.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-23 07:03:47 -05:00