Sage Weil
01c0f429dd
test/mon/mkfs.sh: clean up kv_backend file
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
efc3510f12
mon/MonitorDBStore: remember kv backend type
...
If it is specified, use it; otherwise, go by the config
option.
Record the type when creating the store.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
0c0dc6a465
mon/MonitorDBStore: {read,write}_meta
...
These are lifted from ObjectStore.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
3f1dee1925
mon/MonitorDBStore: move backend instantiation out of ctor
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
be6279de2e
mon/MonitorDBStore: fix bug in dump output file
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Sage Weil
0ac671ece2
mon: remove bad rocksdb option
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:17 +02:00
Kefu Chai
7e8bfef44d
os/FileStore::sync_entry check for stop in after wait
...
there is chance that the sync_entry() gets signaled in the
WaitInterval(max_interval) call because of sync_cond.Signal() call after
"stop = true" in umount(), so without this change, sync_entry() will
continue wait until min_interval is reached. this forces umount() to
wait even it has called d_force_sync(), and hence slows down the
progress of umount(). so we need to check for `stop` if we are not
signalled because of `force_sync`.
Fixes: http://tracker.ceph.com/issues/15695
Reported-by: Haomai Wang <haomaiwang@gmail.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-06 13:44:16 +02:00
Boris Ranto
efe4e620bf
rpm: Fix SELinux relabel on fedora
...
The SELinux userspace utilities stopped providing versions when they
switched to CIL language. We need to use a different technique to
relabel the files.
Fixes : #15725
Signed-off-by: Boris Ranto <branto@redhat.com>
2016-05-06 13:44:16 +02:00
Abhishek Varshney
e6384c785b
rgw: introduce rgw_list_bucket_min_readahead parameter for bucket listing from rados
...
Signed-off-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
2016-05-06 13:44:16 +02:00
Radoslaw Zarzynski
4baf488edc
rgw: fix printing wrong X-Storage-Url in Swift's TempAuth.
...
If the option "rgw_swift_account_in_url" is being set to true,
both user and subuser IDs will be present in the X-Storage-Url
header generated by the implementation of Swift API's TempAuth.
This patch rectifies this behavior and makes that only the user
identifier will be placed there.
Fixes: http://tracker.ceph.com/issues/15667
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-06 13:44:16 +02:00
Nathan Cutler
71cbc832de
Test-enable XIO messenger and IB/RDMA support
...
Fixes: http://tracker.ceph.com/issues/15472
Signed-off-by: Lars Marowsky-Bree <lmb@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:16 +02:00
David Zafman
79669c4b06
rados, test: Restrict usage of --prefix in cleanup
...
As a precaution to using cleanup for mass deletion of other
objects, only allow --prefix which begins with "benchmark_data."
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
David Zafman
4e0b0d9a7e
test: Test rados cleanup command with and without --all
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
David Zafman
0aa29f3765
rados: Support --all for rados bench cleanup
...
Remove duplicate code in generate_object_name()
Need to handle multiple different pids during cleanup
Add same message from clean_up_slow() in clean_up()
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
David Zafman
2951cc3920
common: Fix ObjBencher clean_up when no prefix specified
...
By default remove all objects named benchmark_data_{hostname} when
there is no benchmark_last_metadata present.
Fixes: http://tracker.ceph.com/issues/15338
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
David Zafman
1976ee7fc2
test: Test rados ls with --all option
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
David Zafman
89edda8494
test: Find ceph command as CEPH_TOOL like rados command
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-06 13:44:16 +02:00
Sage Weil
266ccccccf
debian,rpm: add jq build dependency
...
Needed since db517ba917
.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 13:44:16 +02:00
Jason Dillaman
2ff51dabea
librbd: reduce log level for image format 1 warning
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-06 13:44:16 +02:00
Nathan Cutler
827edbae94
rpm: do a full make check when --with-tests is given
...
The check-local target tests the CLI tools only.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
0d75ab1854
rpm: drop sysvinit bits from relabel_files function
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
861e75d5ec
rpm: replace literal paths with RPM macros
...
The only place we should write out literal paths is in the RPM scriptlets,
and there only for things that are not installed by this package.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
c86e0021d6
rpm: drop udev/95-ceph-osd-alt.rules
...
This udev rules file was needed on older RHEL platforms, which are
unsupported as of jewel.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
1cf896cbb5
rpm: global replace $RPM_BUILD_ROOT with %{buildroot}
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
454fb72f78
rpm: put dependencies in alphabetical order
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
a53d932fc4
rpm: put /sbin/ldconfig into -p
...
This saves approximately 1 second per invocation.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
88cbe05701
rpm: drop sysvinit-specific dependencies
...
Obsolete in jewel and above.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
d77d10f345
rpm: move boost-random dependency to appropriate section
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
1ff78261b2
rpm: move unified python-sphinx build dependency
...
Now that the python-sphinx build dependency is unified, move it
to the proper section of the spec file.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
7d10503fef
rpm: drop dead conditionals
...
This commit drops conditionals that no longer serve any purpose, since
jewel and above do not support the distro versions they are checking for.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
f77015c1dc
rpm: drop python-argparse dependency
...
This was only necessary for older (now unsupported) distro versions.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
1893b863aa
rpm: drop _with_systemd
...
Ceph versions jewel and above only support systemd.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
d2bae7c496
rpm: drop init-ceph.in-fedora.patch
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
Nathan Cutler
1cefe40506
rpm: drop python_sitelib/sitearch conditional
...
This conditional was required to support older versions of RHEL/CentOS that are
no longer supported in infernalis and above.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-06 13:44:15 +02:00
David Zafman
a1372673d8
Fixes for list-inconsistent-*
...
Improve rados scrub output
Add epoch for future repair-read feature
Add testing of rados scrub output
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-05-04 10:07:50 -07:00
David Zafman
db517ba917
test: Add testing of new scrub commands in rados
...
Test list-inconsistent-pg
Test list-inconsistent-obj
Test inconsistent-snapset
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-04 10:03:23 -07:00
Kefu Chai
891082d0e4
Merge pull request #8916 from linuxbox2/xio-cmake
...
cmake: <UPPERCASED_NAME>_FOUND in Findxio.cmake
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-05 00:50:47 +08:00
Orit Wasserman
5f27957f10
Merge pull request #8768 from cbodley/wip-rgw-admin-zonegroup
...
radosgw-admin: add missing --zonegroup-id to usage
2016-05-04 16:46:02 +02:00
Gregory Farnum
b943e5937a
Merge pull request #8300 from jcsp/wip-standby-replay-reorg
...
mds: Fix standby replay MDS in upgrades and simplify standby replay logic (#15591 )
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-04 07:28:19 -07:00
Sage Weil
83f6e12427
Merge pull request #8550 from xiexingguo/xxg-wip-cls
...
objclass: honour do_osd_ops() results before going any further
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:28:44 -04:00
Sage Weil
e1dd16f471
Merge pull request #8367 from Yan-waller/yj-wip-utthrottle
...
test/throttle: reassign the value of 'delay' in ThrottleTest.get
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-04 09:28:31 -04:00
Sage Weil
c990345989
Merge pull request #8392 from dachary/wip-virtualenv-jewel
...
Makefile-env.am: set a default for CEPH_BUILD_VIRTUALENV (part 3)
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2016-05-04 09:27:58 -04:00
Sage Weil
a2892a482d
Merge pull request #8439 from ErwanAliasr1/evelu-file-leak
...
tests: Delete temporary files created by ceph_objectstore_tool.py
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:27:25 -04:00
Sage Weil
61773e9739
Merge pull request #8632 from xiexingguo/xxg-wip-deepscrub
...
osd: fix be_deep_scrub() can't catch omap error
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-04 09:26:47 -04:00
Sage Weil
5e80d97688
Merge pull request #8742 from majianpeng/bluestore-wal-transaction
...
os/bluestore: record released extents into bluestore_wal_transaction_t.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:26:30 -04:00
Sage Weil
449f81eede
Merge pull request #8763 from wjwithagen/patch-10
...
os/filestore: Make sure str-pointer is not 0x0 when referenced
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-04 09:14:11 -04:00
Sage Weil
b84f9067d9
Merge pull request #8808 from wjin/fast_heartbeat
...
osd: fast dispatch heartbeat message
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:13:47 -04:00
Sage Weil
2c6b95eb70
Merge pull request #8811 from stiopaa1/log_includes
...
log: remove unnecessary includes from header file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:12:47 -04:00
Sage Weil
62a4264207
Merge pull request #8831 from wjin/clean
...
osd: clean heartbeat dispatch message
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:12:34 -04:00
Sage Weil
748fc66ebe
Merge pull request #8821 from aderumier/deb-fix-default-ceph-location
...
debian: fix /etc/default/ceph location
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-04 09:07:57 -04:00