Commit Graph

45024 Commits

Author SHA1 Message Date
Jason Dillaman
f4feee2f9d ceph.spec.in: add new tracepoint probe shared libraries
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-14 12:06:47 -04:00
Jason Dillaman
4a5305e416 lttng: move tracepoint probes to dynamic libraries
LTTng-UST initializes itself at program load, which means it is
currently always enabled.  This can lead to issues with SElinux
and AppArmor which might restrict access to the necessary device
files.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-14 12:06:46 -04:00
Jason Dillaman
638738fff1 Revert "common, global: use lttng ust functions for handling fork-like calls"
This reverts commit 811898912f3e43d7312efe5d06c496e1e7e22fa4.
2015-10-13 12:16:48 -04:00
Sage Weil
6315a397b4 Merge pull request #6237 from ceph/wip-13458
rgw: location constraints should return api name

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-13 11:20:45 -04:00
Alfredo Deza
cff675b287 Merge pull request #6245 from liewegas/wip-setuptools
debian/control: python-setuptools is a build dependency

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2015-10-13 08:41:30 -04:00
Sage Weil
036d36f4ff debian/control: python-setuptools is a build dependency
cd ./ceph-detect-init ; python setup.py build
Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    from setuptools import setup
ImportError: No module named setuptools

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 08:37:40 -04:00
Sage Weil
8e59595ffc doc/release-notes: 9.1.0
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 08:24:11 -04:00
Yehuda Sadeh
03078bab6e rgw: location constraints should return api name
Fixes: #13458
The S3 location constraints request should return the api name,
not the region name.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-12 11:55:40 -07:00
Josh Durgin
7f80bfc3c0 Merge pull request #6220 from dreamhost/wip-pybind-rados-omap-binary
pybind/rados: Fix binary omap values.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 20:02:17 -04:00
Robin H. Johnson
68c722c897 pybind/rados, get_omap_vals: Fix pydoc type.
pydoc type for filter_prefix did not match code.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:29:15 -07:00
Robin H. Johnson
5a6e762f6b test: pybind/test_rados: add binary data.
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:29:15 -07:00
Robin H. Johnson
db03d3027f pybind/rados: Fix binary omap values.
The prior code caused binary omap values to be discarded. This fixes
them to use the same model as the xattr iterator, and correctly return
binary data as python strings, eg:
'object_prefix': '\x15\x00\x00\x00rbd_data.449d2ae8944a'

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:28:55 -07:00
Samuel Just
691d5535ea Merge pull request #6193 from athanatos/wip-13240
ReplicatedPG::maybe_handle_cache: do not promote before checking full

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-09 16:16:27 -07:00
Sage Weil
1e017ef63d Merge pull request #6190 from SUSE/wip-drop-my-conf-opt
ceph.spec.in: drop MY_CONF_OPTS

Reviewed-by: Ken Dreyer, <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2015-10-09 16:34:25 -04:00
Radoslaw Zarzynski
5b9c326106 rgw: fix wrong etag calculation during POST on S3 bucket.
Fixes: #11241
Backport: infernalis, hammer, firefly
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 742906ab5e)
2015-10-09 13:34:05 -07:00
Sage Weil
4b7cf9ce83 Merge pull request #6183 from ceph/wip-fix-selinux-man-page
Fix selinux man page

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2015-10-09 16:33:48 -04:00
Sage Weil
093af4277b Merge pull request #6191 from SUSE/wip-concentrate-buildrequires
ceph.spec.in: move BuildRequires out of subpackages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-10-09 16:33:14 -04:00
Sage Weil
031b41b5d9 Merge pull request #6184 from dillaman/wip-13372-infernalis
librbd: invalidate object map on error even w/o holding lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 16:31:43 -04:00
Haomai Wang
cbf36ad0df LibRBD: Adjust correct op latency scope
Op latency need to cover from queuing to finishing op.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Jason Dillaman <jdillaman@redhat.com>
2015-10-09 16:28:12 -04:00
Jason Dillaman
4fdc703e84 librados_test_stub: prevent interleaving of operations
It was possible for unrelated ops to interleave within a different
transaction for a given object.

Fixes: #13313
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 16:26:10 -04:00
Casey Bodley
45c8a928a9 Merge pull request #6044 from ceph/wip-12958
rgw: orphan tool shouldn't clean up head objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2015-10-09 12:32:51 -04:00
Yehuda Sadeh
030f697d19 rgw: orphan tool shouldn't clean up head objects
Fixes: #12958

Head objects are mutable, so removing them can race with object removal
and a later recreation, so we might end up cleaning them up when we don't
need to.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-09 12:31:48 -04:00
Kefu Chai
010836d059 Merge pull request #6187 from SUSE/wip-13317-infernalis
doc: remove mention of --lazy-remove from radosgw-admin manpage

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-09 15:48:49 +08:00
Kefu Chai
84faaa42c6 Merge pull request #6211 from SUSE/wip-dead-bool
CephxServiceHandler.cc: fix get_auth conditional

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-09 14:47:40 +08:00
Nathan Cutler
7250db62cb CephxServiceHandler.cc: fix get_auth conditional
The KeyServer class has a public method get_auth() that returns a boolean
value. This value is being checked here - fix the conditional so it triggers
when get_auth() returns false.

http://tracker.ceph.com/issues/9756 References: #9756

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-10-09 06:28:34 +02:00
Josh Durgin
61d24d9d96 Merge pull request #6194 from dillaman/wip-13220-infernalis
rbd-replay-prep and rbd-replay improvements

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-08 16:20:05 -04:00
Samuel Just
1a2689f8d7 ReplicatedPG::maybe_handle_cache: do not promote before checking full
Otherwise, ops with need_promote() can order past ops without it
causing an rgw write sequence like:

writefull 0~0
writefull 0~512kb
write 512kb~512kb

to reorder to

writefull 0~0 -- delayed: full
writefull 0~512kb -- delayed: full
write 512kb~512kb -- promote and execute
writefull 0~0 -- execute
writefull 0~512kb -- execute

Fixes: 13240
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-10-08 11:23:13 -07:00
Jason Dillaman
e0d8cb1283 tests: removed obsolete rbd_replay test cases
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-08 13:28:43 -04:00
Jason Dillaman
c2a83d0b51 ceph-dencoder: new rbd_replay trace file types
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-08 13:27:01 -04:00
Jason Dillaman
3ecdae8388 rbd-replay: added version control to trace output file
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-08 13:21:29 -04:00
John Spray
10bd1cac20 Merge pull request #6116 from jcsp/wip-cephfs-direntry
pybind/cephfs: fix DirEntry helpers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-08 12:08:31 +01:00
Sage Weil
6b94b41401 Merge pull request #6188 from liewegas/wip-13395
os/FileStore: kludge sloppy hammer temp objects into temp collection

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-10-08 00:07:43 -04:00
Jason Dillaman
646e50a771 rbd-replay-prep: added --verbose command line option
This new command-line will dump all the processed events as they
are extracted from the trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 16:51:06 -04:00
Jason Dillaman
98f513a113 rbd-replay-prep: stream events to the prep file
Avoid building the entire prep event history in memory before
attempting to write the prepped trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 16:34:56 -04:00
Jason Dillaman
65fb1b86cb rbd-replay-prep: simplify IO dependency calculation
Only track read-after-write and write-after-write IO dependencies
via the associated write completions.  All IO events after a write
completion are considered to be dependent and can be pruned down
to at most the number of concurrent IOs.  This reduces the prep
time from a simple 'rbd bench-write' from over 4 hrs down to seconds.

Fixes: #13378, #13384
Backport: hammer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 16:34:55 -04:00
Jason Dillaman
4f436e1080 rbd-replay: improve error messages
Fixes: #13221
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 15:41:23 -04:00
Jason Dillaman
b5b4a9dd6b rbd-replay-prep: support new read/write APIs
Added support for read2, write2, aio_read2, and aio_write2 APIs.

Fixes: 13325
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 15:41:23 -04:00
Jason Dillaman
a1e99f06a7 rbd-replay-prep: avoid using assert statements on user inputs
Fixes: #13220
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-07 15:41:23 -04:00
Gregory Farnum
1a421975bc Merge pull request #6170 from jcsp/wip-spurious-warning
mds: avoid emitting cap warnings before evicting session

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-07 10:52:04 -07:00
Gregory Farnum
d73c0998bb Merge pull request #6128 from jcsp/wip-snapserver-crash
mds: fix SnapServer crash on deleted pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-07 10:51:39 -07:00
Greg Farnum
05b0c7816e Merge branch 'wip-yrf-fix1' of git://github.com/H3C/ceph into infernalis
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-07 10:47:21 -07:00
Greg Farnum
6aac312240 Merge branch 'wip-13256' of git://github.com/ukernel/ceph into infernalis
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-07 10:45:36 -07:00
John Spray
858059ed01 qa: avoid using sudo in fsstress
This test required root in order to copy its built
binary into /usr (presumably to avoid rebuilding it).

That's not really a good thing anyway because there's
no guarantee that a binary in that path is the binary
we wanted, so just run the thing straight out of /tmp.  The
build is really quick anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-07 10:44:43 -07:00
Daniel Gryniewicz
52ef6175c7 Merge pull request #6186 from ceph/wip-12913-2
cls_rgw: fix bucket listing when dealing with invisible entries
2015-10-07 13:09:59 -04:00
Sage Weil
e049de34c8 os/FileStore: kludge sloppy hammer temp objects into temp collection
When we are running with a mixed hammer cluster, hammer primaries
will generate temp object names that are sloppy.  Make sure we still
put them into the temp collection.

Note that this isn't a problem on write because the primary (hammer)
OSD generated the transaction and explicitly specified a temp
collection; it's only transactions we do on our own with the sloppy
temp ghobject_t that trip over this.

Fixes: #13395
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-07 11:49:25 -04:00
Nathan Cutler
5a11d7618e ceph.spec.in: move python-sphinx BuildRequires to the right section
These belong in the section for distro-conditional dependencies.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-10-07 17:47:14 +02:00
Nathan Cutler
96aabe7610 ceph.spec.in: move BuildRequires out of subpackages
Since the main package and all the subpackages are built in the
same environment, concentrate all the BuildRequires in the main
package.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-10-07 17:47:14 +02:00
Nathan Cutler
d258bf5852 ceph.spec.in: drop MY_CONF_OPTS
http://tracker.ceph.com/issues/13402 Fixes: #13402

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-10-07 17:32:27 +02:00
Sage Weil
1d4df5d331 Merge pull request #6185 from liewegas/wip-13382
osd/PG: fix generate_past_intervals

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-10-07 11:06:09 -04:00
Sage Weil
7e8432a259 Merge pull request #6182 from liewegas/wip-13379
mon: do not remove proxied sessions

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-10-06 20:51:33 -04:00