Commit Graph

52377 Commits

Author SHA1 Message Date
Ali Maredia
2df1a66979 Merge pull request #8649 from dzafman/wip-test-cot-fix
test: Fix ceph-objectstore-tool test to run manually from src non-cmake
2016-04-21 13:24:04 -04:00
Sage Weil
b7afa78e22 Merge remote-tracking branch 'gh/jewel' 2016-04-21 07:39:36 -04:00
Sage Weil
692f2c8910 doc/release-notes: v10.2.0 jewel
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-21 07:39:25 -04:00
Boris Ranto
0c56bcaef6 Merge pull request #8667 from SUSE/wip-15549
rpm: refrain from installing systemd unit files twice

Reviewed-by: Boris Ranto <branto@redhat.com>
2016-04-21 08:17:55 +02:00
Sage Weil
eff74daf9c Merge pull request #8643 from ceph/wip-udev
udev: remove 60-ceph-partuuid-workaround-rules

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-04-20 15:09:30 -04:00
Nathan Cutler
6d3cbaa509 rpm: refrain from installing systemd unit files twice
These files are already installed by systemd/Makefile.am

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-20 19:04:33 +02:00
Casey Bodley
2dd8942c71 Merge pull request #8664 from theanalyst/doc/rgw/fix-multisite-zone
doc: multisite: fix json output for zone create
2016-04-20 10:33:05 -04:00
Jenkins Build Slave User
3a9fba20ec 10.2.0 2016-04-20 11:29:48 +00:00
Abhishek Lekshmanan
ec6ff4d5e8 doc: mutlisite: fix json output for zone create
creation of ``us-west`` was wrongly showing ``us-east-2`` output

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-20 12:53:55 +02:00
Casey Bodley
da8e779e1c Merge pull request #8658 from ceph/wip-cmake
cmake: Added CMAKE_CEPH_*_VIRTUALENV var to fix build
2016-04-19 16:39:26 -04:00
Ali Maredia
30e9609cc7 cmake: Added CMAKE_CEPH_*_VIRTUALENV var to fix build
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-04-19 16:37:45 -04:00
Yehuda Sadeh
4df5a57078 Merge pull request #8636 from ceph/wip-rgw-leak
rgw leaks fixes
2016-04-19 12:03:43 -07:00
Casey Bodley
cb9c1faae0 Merge pull request #8653 from theanalyst/doc/fix-multisite-pools
doc: rgw multisite, add pools section & minor cosmetic improvements
2016-04-19 09:35:31 -04:00
Yehuda Sadeh
f86f73f3f7 rgw: drop rest op reference in error path
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-19 06:11:09 -07:00
Abhishek Lekshmanan
88369e298b doc: rgw multisite, add pools section & minor cosmetic improvements
`Pool Configuration` was mentioned previously but didn't contain any
info, adding this section and minor cosmetic changes to a few headings
after looking at the html view.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-19 11:02:22 +02:00
David Zafman
5e8e03b4d0 test: Fix ceph-objectstore-tool test to run manually from src non-cmake
Fix init-ceph to handle it when CEPH_* values set

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-18 18:29:17 -07:00
Casey Bodley
c1520fd7ab Merge pull request #8564 from theanalyst/fix/15251
rgw_admin: improve period update errors
2016-04-18 18:20:52 -04:00
Abhishek Lekshmanan
7ca01d4ff7 rgw_admin: improve period update errors
If we do a period update on a realm with multiple masters, we fail
stating invalid argument, improving this to suggest that we have
actually errored out because of multiple master zg in a realm, and
printing both of these zonegroups. RGWPeriodMap::update takes
CephContext as an argument, so that we can use ldout. Also dropping the
error messages reporting invalid arguments on period.update() as these
are handled within the function itself whenever it manifests itself.

Fixes: http://tracker.ceph.com/issues/15251
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-04-18 22:46:53 +02:00
Casey Bodley
b525af07a8 Merge pull request #8645 from tchaikov/wip-fix-test.sh
test: set a default $CEPH_ROOT env variable
2016-04-18 13:02:22 -04:00
Kefu Chai
558863ad6d test: set a default $CEPH_ROOT env variable
in cf24535, we use $CEPH_ROOT to specify the $top_srcdir to unify
cmake and autotools, but this breaks ceph-qa-suite/tasks/workunit.py,
as it only clones the necessary qa/workunits directory, and does not
pass $CEPH_ROOT to the test scripts. so we need to set a default
$CEPH_ROOT if it is not set.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-04-19 00:19:07 +08:00
Sage Weil
9f77244b8e udev: remove 60-ceph-partuuid-workaround-rules
These were added to get /dev/disk/by-partuuid/ symlinks to work on
wheezy.  They are no longer needed for the supported distros (el7+,
jessie+, trusty+), and they apparently break dm by opening devices they
should not.

Fixes: http://tracker.ceph.com/issues/15516
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-18 09:16:02 -04:00
Samuel Just
985d3a552a Merge pull request #8612 from xiexingguo/xxg-wip-rpg
osd/ReplicatedPG: fix implementation of register_on_success()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by:  Sage Weil <sage@redhat.com>
2016-04-17 23:10:50 -07:00
Yehuda Sadeh
ea2c703287 rgw: clean async rest ops in calling cr
Need to drop a reference to the async rest op when done.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 18:37:25 -07:00
Yehuda Sadeh
2a1541809b rgw: drop async cr reference on simple cr completion
Added a new callback for simple cr that is called anyway when done. Then
drop the reference to the async operation there and not at the destructor.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 17:03:13 -07:00
Yehuda Sadeh
0a361d5989 rgw: RGWRealmWatcher::watch_restart() also unwatches watch
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 16:05:35 -07:00
Yehuda Sadeh
fe0f4bb596 rgw: stop cr manager in destructor
callers don't need to call it explicitly

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 16:05:31 -07:00
Sage Weil
27820f7f4d Merge pull request #8590 from liewegas/wip-jewel
doc/release-notes: jewel updates

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-17 09:25:52 -04:00
Sage Weil
d34d9b46a7 Merge pull request #8526 from dreamhost/wip-rgw-xmlns
rgw: Ensure xmlns is consistent on S3 responses.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2016-04-17 08:33:01 -04:00
Sage Weil
ed879885e1 Merge pull request #8563 from linuxbox2/rgw-file-unix
rgw: file unix
2016-04-17 08:32:20 -04:00
Sage Weil
b2f8df01c4 Merge pull request #8592 from zaitcev/wip-5073-multen-1
rgw: Add a test for multi-tenancy

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2016-04-17 08:32:05 -04:00
Sage Weil
eb281a2c96 Merge pull request #8597 from oritwas/wip-rgw-remove-bucket-instance
rgw: handle no current_period in is_syncing_bucket_meta

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 08:31:21 -04:00
Sage Weil
0859625dfe Merge pull request #8601 from jmunhoz/fix-aws4-unsigned-payload
rgw: aws4: handle UNSIGNED-PAYLOAD under header auth

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-17 08:30:38 -04:00
Sage Weil
f0e3b618d7 osd: fix noisy debug line
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:56:13 -04:00
Sage Weil
8f52169039 Merge pull request #8628 from SUSE/wip-ceph-common-pre-scriptlet
ceph.spec.in: terminate if statement in %pre scriptlet

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-16 08:54:57 -04:00
Nathan Cutler
61acd9d6dc doc/release-notes.rst: clarify ceph UID/GID assignment on SUSE
This patch attempts to describe the semantics by which the ceph UID/GID
is assigned on SUSE distros.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-16 08:52:56 -04:00
Nathan Cutler
b74a9dd13b doc/release-notes.rst: minor grammar and style corrections
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-16 08:52:56 -04:00
Sage Weil
b5d973fbe4 doc/release-notes: expand distro/arch section to include arm64 info
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:52:55 -04:00
Sage Weil
b2d9467ff3 doc/release-notes: more detail about the ext4 checks
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:52:55 -04:00
Sage Weil
ad77f45f8c doc/release-notes: include changes in rcs
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:52:55 -04:00
Sage Weil
a4ee2b708a doc/release-notes: clean up jewel notes
- add notes for the rc's
- move upgrade info up to 10.2.0 (draft)

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:52:52 -04:00
Sage Weil
451af760df doc/release-notes: fix rados scrub summary
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-16 08:50:31 -04:00
Nathan Cutler
3108c34d50 ceph.spec.in: terminate if statement in %pre scriptlet
One of the if statements in the ceph-common %pre scriptlet was not properly
terminated.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-16 13:48:03 +02:00
Orit Wasserman
f1f330ed05 Merge pull request #8620 from yehudasa/wip-rgw-region-fixes
rgw : region to zonegroup related fixes
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-04-16 10:06:51 +02:00
Sage Weil
266cfe1879 Merge pull request #8617 from liewegas/wip-15098
debian: start ceph-mon-all and ceph-osd-all on package install …

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
2016-04-15 21:22:57 -04:00
Sage Weil
42dd698221 Merge pull request #8613 from liewegas/wip-debug-map-trim
osd: some debug output for old osdmap trimming
2016-04-15 21:17:34 -04:00
Yehuda Sadeh
31e2bc0a84 common: typo-fix for osd_check_max_object_name_len_on_startup
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-04-15 16:48:34 -07:00
Pete Zaitcev
b19bac7c23 rgw: Add a test for multi-tenancy
This is a very rudimentary test for now. For one thing, it
only creates a tenantized user, but does not even try to run
the radosgw and access it with Boto. And it already has several
XXX tags. But baby steps.

Two areas of exising code had to be fixed up.

 - We forgot to patch an argument through in RGWcluster.rgw_admin()

 - We must not process the arguments of a command through eval(1)
   in test-rgw-call.sh. This causes a double-eval with the function
   x() in test-rgw-common.sh, and as a result arguments with spaces
   or dollars cannot be used. There is no way to escape or quote.
   But we need the dollar for the tenant!

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2016-04-15 16:46:56 -06:00
Robin H. Johnson
4e1f28290b common: typo-fix for osd_check_max_object_name_len_on_startup
Fixes a typo introduced in 02f5885114

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-04-15 15:27:44 -07:00
Sage Weil
052e16f79a Merge pull request #8560 from liewegas/wip-lfn-startup
osd: refuse to start if object name limits are not possible

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-04-15 17:16:45 -04:00
Sage Weil
a7a4d3619c Merge pull request #7984 from rldleblanc/wpq-starvation
common: WeightedPriorityQueue Re-Add Round Robin for Classes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Karol Mroz <kmroz@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-15 17:16:21 -04:00