Casey Bodley
19fb77e217
Merge pull request #20016 from cbodley/wip-18885
...
rgw: log unlink_instance mtime as object's mtime
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-05 16:44:37 -05:00
Andrew Schoen
3052010a80
ceph-volume: adds the simple dmcrypt_plain and dmcrypt_luks tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-05 14:21:29 -06:00
Andrew Schoen
2ee70bf2d1
ceph-volume: fix ceph-volume simple scan help menu test
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-05 13:53:13 -06:00
Matt Benjamin
80a58a477d
Merge pull request #20145 from linuxbox2/rgwf-deref-readdir-off
...
rgw_file: avoid evaluating nullptr for readdir offset
2018-02-05 14:22:48 -05:00
Casey Bodley
41229b47ed
Merge pull request #20188 from cbodley/wip-rgw-frontend-multimap
...
rgw: beast frontend can listen on multiple endpoints
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 13:52:04 -05:00
Casey Bodley
705e505049
Merge pull request #20013 from cbodley/wip-rgw-auth-skew
...
rgw: share time skew check between v2 and v4 auth
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 13:51:43 -05:00
Casey Bodley
ae0557255f
Merge pull request #20017 from cbodley/wip-22248
...
rgw: unlink deleted bucket from bucket's owner
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-05 13:50:48 -05:00
Casey Bodley
720a759401
Merge pull request #20120 from cbodley/wip-22797
...
rgw: fix for empty query string in beast frontend
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-05 13:49:13 -05:00
Orit Wasserman
19b430fe5b
Merge pull request #20038 from oritwas/wip-rgw-22742
...
rgw: bucket resharding should not update bucket ACL or user stats
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-05 20:02:06 +02:00
Jason Dillaman
244617c645
Merge pull request #20295 from trociny/wip-test_deep_copy_clone
...
test/pybind/rbd: skip test_deep_copy_clone if layering not enabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 12:26:44 -05:00
Jason Dillaman
ec51c53d22
cls/rbd: tweak handling for moving snapshots to trash namespace
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:36:33 -05:00
Kefu Chai
2277a10279
cmake: fix the include dir for building boost::python
...
the "includes" directories are separated by spaces not semicolons.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-06 00:36:26 +08:00
Jason Dillaman
57559a47f6
qa/workunits/rbd: force use of v1 clone when testing orphan
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
fb62296f6e
rbd-mirror: image deleter now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
01198184db
osd/OSDCap: rbd-read-only profile now permits use of clone class methods
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
2501bb8e73
test/librbd: fix negative test cases for clone
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
e22db4ec76
librbd: snapshot remove request now handles clone v2
...
The state machine was converted to the current style and the
final removal of the snapshot was delayed until the end to
permit the retry of a previously failed snapshot removal.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
a3b2d82c24
librbd: flatten request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
67ddd53488
librbd: flatten operation should detach child first
...
That will permit the flatten operation to be replayed if there
is an issue.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
380d7bce50
librbd: remove request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b84319f3a4
librbd: helper state machine for detaching children for v1/v2 clones
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
ffdf44358e
librbd: list children now includes v2 clones
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
fe2fe0c46b
librbd: clone request now handles clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
e3cd2c756f
librbd: removed child cleanup from failed clone
...
This logic is already included in the remove image state machine
and will be executed when the clone is deleted post-failure.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
0f3a216e76
test/librados_test_stub: added 'get_min_compatible_client' API
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
5a82c27619
common/options: added override for RBD clone format handling
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b98727ecbe
cls/rbd: removing an in-use snapshot should move it to the trash
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
b0b1c44826
cls/rbd: new cls methods for handling clone v2
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:12:00 -05:00
Jason Dillaman
3589809b7b
cls/rbd: add child reference counter to snapshot
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
1a90ff5a79
cls/rbd: restrict snapshot rename to user-generated snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
dc3fe8d2a7
cls/rbd: helper method for iterating over all image snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
65239d64a5
cls/rbd: fix incorrect error log upon success
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
afc9274e63
rbd: resolve names of snapshot namespaces
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
e69ca3a01a
librbd: new trash snapshot namespace
...
Snapshots will be moved to the trash if they are still in-use
by clones when deleted.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Jason Dillaman
e1f994225b
librbd: separate clone v2 op feature bit for parent/child
...
librbd needs to be able to handle the case when flattening a v2 clone
that is also a v2 parent of other images.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-05 11:11:59 -05:00
Radoslaw Zarzynski
8aa80288a8
common: introduce md_config_cacher_t.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 16:03:55 +01:00
Casey Bodley
58755200cf
Merge pull request #20309 from pritha-srivastava/wip-rgw-roles-error-codes
...
rgw: Reinstating error codes mapping for Roles.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-05 10:03:54 -05:00
Kefu Chai
00a7323694
Merge pull request #20316 from smithfarm/wip-doc-log
...
doc: log-and-debug: fix default value of "log max recent"
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-05 22:53:34 +08:00
Kefu Chai
0274a46225
osd: pass ops_blocked_by_scrub() to requeue_scrub()
...
less nesting levels, and less repeatings.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-05 22:14:44 +08:00
Piotr Dałek
9c9347beac
common/config: limit calls to normalize_key_name
...
It's not the most expensive thing in that module, but it's redundant
in _get_val, as it's later done also in _get_val_generic. And it's
still expensive.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2018-02-05 14:56:33 +01:00
Sage Weil
d9fd076960
osd/PG: pass scrub priority to replica
...
If we are scrubbing with high priority on the primary, pass that along
to the replica so that it can schedule its scrub work accordingly.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 07:10:54 -06:00
Nathan Cutler
2855c30cdf
doc: log-and-debug: fix default value of "log max recent"
...
Doc says 1000000, but the real figure is two orders of magnitude less:
Option("log_max_recent", Option::TYPE_INT, Option::LEVEL_ADVANCED)
.set_default(500)
.set_daemon_default(10000)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-02-05 13:53:05 +01:00
John Spray
66c7832c33
Merge pull request #20229 from zhsj/fix-dashboard-prefix
...
pybind/mgr/dashboard: fix duplicated slash in html href
Reviewed-by: John Spray <john.spray@redhat.com>
2018-02-05 13:07:33 +01:00
Gu Zhongyan
7004b35f71
osd/OSDMap: misleading message in print_oneline_summary()
...
The output scared people as showing so many osds were full/nearfull
Improve the output to make the message clearer
Fixes: http://tracker.ceph.com/issues/22350
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-02-05 18:53:24 +08:00
huanwen ren
7060a6a710
common: Sign in early SIGHUP signal
...
Contains the following process:
ceph-mon ceph-mgr ceph-mds ceph-fuse radosgw.
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-02-05 18:42:17 +08:00
songweibin
c56f718d94
rbd: do not show title if there is no group snapshot
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-05 18:20:35 +08:00
Yan, Zheng
27b1ca076e
qa: adjust cephfs full test for kclient
...
Fixes: http://tracker.ceph.com/issues/22886
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-05 18:00:57 +08:00
Pritha Srivastava
d60766103d
rgw: Reinstating error codes mapping for Roles.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2018-02-05 15:20:10 +05:30
Kefu Chai
53c3b4496f
test/admin_socket_output: switch to std::experimental::filesystem
...
so we don't need to compile boost::filesystem anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-05 17:12:19 +08:00
Kefu Chai
27473626f7
Merge pull request #20114 from cethikdata/ceph-disk-lock
...
ceph-disk: reduce the scope of activate_lock.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-05 14:10:49 +08:00