Commit Graph

53448 Commits

Author SHA1 Message Date
Yehuda Sadeh
143e3c3174 Merge pull request #8945 from cbodley/wip-rgw-admin-output
radosgw-admin: added missing json output to some commands

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-10 11:36:08 -07:00
Yehuda Sadeh
88e10286b6 Merge pull request #8951 from ceph/wip-15745
rgw: handle stripe transition when flushing final pending_data_bl

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-10 11:18:25 -07:00
Yehuda Sadeh
7dbd6360e8 rgw: 'period delete' cleans up all period objectsReviewed-by: Yehuda Sadeh
rgw: 'period delete' cleans up all period objects

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-10 09:44:02 -07:00
Nathan Cutler
b3b3cc2631 Merge pull request #9045 from ceph/wip-selinux-noprio
rpm: Drop SELinux priority setting

Reviewed by: Nathan Cutler <ncutler@suse.com>
2016-05-10 18:36:57 +02:00
Douglas Fuller
4acca1ac43 test/rbd: document fsx option to keep data on success
Add documentation line for the -k option to fsx to retain data
on success.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2016-05-10 09:21:55 -07:00
Boris Ranto
7e606f29f4 rpm: Drop SELinux priority setting
Older versions of semodule binary that are in Centos/RHEL do not
support priority setting, dropping it.

Fixes: #15822
Signed-off-by: Boris Ranto <branto@redhat.com>
2016-05-10 18:21:50 +02:00
Sage Weil
8e05b3fa20 osd: instrument map cache hits and misses
In particular, note misses that are below the map cache lower
bound, and the average distance below that lb.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-10 12:06:47 -04:00
Josh Durgin
7fcb52d0d3 Merge pull request #8921 from dillaman/wip-15110
rbd-mirror: image sync needs to handle snapshot size and protection status

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>

Conflicts:
	src/test/librbd/test_mock_Journal.cc (moved and edited MockJournaler - trivial)
2016-05-10 08:10:24 -07:00
Josh Durgin
43b66f9721 Merge pull request #8937 from dillaman/wip-15642
librbd: client-side handling for incompatible object map sizes 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:58:26 -07:00
Josh Durgin
f5d38f099b Merge pull request #8958 from dillaman/wip-15750
librbd: constrain size of AioWriteEvent journal entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:57:20 -07:00
Josh Durgin
e0c57573a1 librbd: potential concurrent event processing during journal replayReviewed-by: Josh Durgin <jdurgin@redhat.com>
librbd: potential concurrent event processing during journal replay
2016-05-10 07:56:58 -07:00
Josh Durgin
9c43690c88 Merge pull request #8999 from dillaman/wip-15765
journal: incorrectly computed object offset within set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:56:36 -07:00
Josh Durgin
7131b77919 Merge pull request #9034 from dillaman/wip-rbd-cli-integration-test
test: update rbd integration cram test to remove format 1 warning

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-10 07:51:07 -07:00
Kefu Chai
25030b0436 cmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-10 21:50:17 +08:00
Jason Dillaman
85e325369f Merge pull request #9030 from trociny/wip-15771
librbd: fix get/list mirror image status API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-10 09:04:22 -04:00
Jason Dillaman
098038fad4 test: update rbd integration cram test to remove format 1 warning
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-10 08:33:13 -04:00
Mykola Golub
e6c709b3a8 rbd-mirror: fixup to get/list mirror image status API
- embed name and rbd_mirror_image_info_t into rbd_mirror_image_status_t;
- index image status list by image id to make 'start' work correctly;
- provide rbd_mirror_image_status_list_cleanup function.

Fixes: #15771
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-10 15:04:14 +03:00
Orit Wasserman
dee1bdf42a Merge pull request #8197 from H3C/wip-rgw-bugfixa
rgw:response information is error when geting token of swift account
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-10 13:57:05 +02:00
Ilya Dryomov
ee31a7f658 Merge pull request #8944 from vshankar/rbd-map-errno
rbd: helpful error message on map failure

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-10 11:02:20 +02:00
songbaisen
4cf4791ea1 crush: When consider rule size use the correct method.
Signed-off-by: song baisen <song.baisen@zte.com.cn>
2016-05-10 15:23:21 +08:00
Roi Dayan
4a8c2fcba0 make-debs.sh: avoid creating recursive conf dir
Before this commit when running make-debs.sh second time ln will create
the conf symlink inside already exisiting conf dir that was created
on the first tune.

Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-05-10 10:16:57 +03:00
Brad Hubbard
3ab5a660a4 log: Log.cc: Assign LOG_INFO priority to syslog calls
LOG_DEBUG prio messages are not logged by a default syslog
configuration so log at LOG_INFO instead.

Fixes: #15808
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-05-10 16:44:44 +10:00
Mykola Golub
46bf727d43 rbd-mirror: avoid potential deadlock
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-10 08:55:13 +03:00
Mykola Golub
2fd6fdd3dc rbd-mirror: don't unregister asok commands if image replayer start failed
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-10 08:54:05 +03:00
xie xingguo
2b3d5686d7 mon/Monitor: use CEPH_MON_PORT for CRC output
The default monitor port will be changed from 6789 to 3300, which has
been assigned to us by IANA. So update this accordingly for better
tracing and understanding.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-10 12:19:44 +08:00
xie xingguo
ae5184ac07 mon/Monitor: fix memory leak
Fixes: http://tracker.ceph.com/issues/15793
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-10 12:19:20 +08:00
Jason Dillaman
fa91919c85 test: add missing header dependency for MockJournaler
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-09 18:25:39 -04:00
Yehuda Sadeh
c49c8bdf17 Merge pull request #8918 from ceph/wip-rgw-leak-3
rgw: fix memory leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 15:15:11 -07:00
Yehuda Sadeh
365e8334b4 rgw: RGWDataSyncStatusManager::finalize() cleanup
cleanup following code review

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 15:13:41 -07:00
Ali Maredia
2d5bb928d5 Merge pull request #9012 from cbodley/wip-cmake-freelist
cmake: add missing FreelistManager sources
2016-05-09 18:09:10 -04:00
Yehuda Sadeh
91f61d68bf rgw: RGWHTTPClient requests can unregister themselves early
No need to wait for req_state to complete anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:38:22 -07:00
Yehuda Sadeh
fa9566825c Merge pull request #9013 from cbodley/wip-rgw-test-mtime
test/rgw: enable mtime comparison in check_object_eq()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:37:48 -07:00
Yehuda Sadeh
3d8442effc rgw: move around sync_env.init()
call sync_env.init() even if we're initalized in RGWRemoteDataLog::init()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:41 -07:00
Yehuda Sadeh
1c876eb387 rgw: rados crs, explicit cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
7ada4df124 rgw: RGWHTTPManager, avoid referring to req_data->client when completing
this is past calling req_data->finish(), client can be destroyed by now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
2ca38dab07 rgw: civetweb_callback() refer to store inside lock
pe->store might change when reconfiguring

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
98433e589f rgw: RGWPeriodPusher, stop http manager explicitly
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
bdce81a2ae rgw: RGWHTTPManager, can call stop() more than once
destructor calls stop(), but it can be also called explicitly, if caller
wants to ensure requests are not being handled anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
d1ec31def7 rgw: RGWReadRESTResourceCR, fix refcounting
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
95162a4c1b rgw: RGWReadRemoteDataLogShardCR fix destructor
was missing destructor, constructor was broken

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
14cd44e084 rgw: RGWDataSyncStatusManager, cleanup if failing init
init can be called more than once, ended up with leaking some resources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
a3a3f4f588 rgw: rest crs, explicitly call cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:40 -07:00
Yehuda Sadeh
cb797d4fd7 rgw: more leaks fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:39 -07:00
Yehuda Sadeh
4442d1c19a rgw: drop a reference to http op
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:36:39 -07:00
Yehuda Sadeh
e1463adb8b Merge pull request #8766 from yehudasa/wip-15597
rgw: upgrade default zonegroup and set correct zone[group] id

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-09 14:23:50 -07:00
Yehuda Sadeh
d53ffbfe65 rgw: code cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-09 14:23:03 -07:00
Yehuda Sadeh
8ab94f39e3 Merge pull request #8772 from yehudasa/wip-15625
rgw: sync fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 14:13:11 -07:00
Casey Bodley
9d996c567d test/rgw: enable mtime comparison in check_object_eq()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 17:06:12 -04:00
Yehuda Sadeh
4a156662f8 Merge pull request #8880 from cbodley/wip-rgw-zonegroup-remove
radosgw-admin: add missing 'zonegroup remove'

Reviewed-by: Yehuda Sadeh <yehudasa@gmail.com>
2016-05-09 14:05:53 -07:00
Casey Bodley
5ba1b7b642 cmake: add missing FreelistManager sources
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-09 17:01:15 -04:00