Kefu Chai
ac56a202fd
qa/standalone: extract delete_pool()
...
some tests, like osd-backfill-stats.sh are using delete_pool(), but
they don't have this function defined. and this function is defined
in standalone tests separately, so would be simpler if we can
consolidate them in ceph-helper.sh.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 15:40:28 +08:00
Kefu Chai
bf5cb2e10e
Merge pull request #20618 from tchaikov/wip-systemd-deb-env
...
cmake,deb: install system units using cmake
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-02-28 14:42:34 +08:00
Kefu Chai
054d0c54f8
Merge pull request #20602 from gregsfortytwo/wip-23141-rotational
...
os/bluestore: correctly check all block devices to decide if journal is_rotational
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-28 09:35:17 +08:00
Kefu Chai
55b4662216
Merge pull request #20595 from jcsp/wip-23037
...
mgr: die on bind() failure
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:33:33 +08:00
Kefu Chai
a14754f1eb
Merge pull request #20593 from tchaikov/wip-23121
...
ceph-objectstore-tool: don't destroy SnapMapper until the txn is completed
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-02-28 09:31:07 +08:00
Kefu Chai
1b8ad4a94e
Merge pull request #20540 from ovh/bp-optracker-cleanup
...
common/OpHistory: move insert/cleanup into separate thread
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:29:10 +08:00
Kefu Chai
ab8e4dcaac
Merge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not-exist
...
mgr: prometheus: Don't crash on OSDs without metadata
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-02-28 09:27:53 +08:00
Kefu Chai
d574e82d5c
Merge pull request #20530 from wido/issue-23078
...
common/dns_resolv.cc: Query for AAAA-record if ms_bind_ipv6 is True
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:25:16 +08:00
Kefu Chai
0b376581d7
Merge pull request #20394 from liewegas/wip-pg-log-size
...
osd: min_pg_log_entries == max == pg_log_dups_tracked
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-28 09:24:08 +08:00
Kefu Chai
971e3c321b
Merge pull request #20290 from rzarzynski/wip-common-subsystemmap
...
core: make the main dout() paths faster and more maintanable
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:23:01 +08:00
Kefu Chai
430c3ca78b
Merge pull request #20273 from adamemerson/wip-any-singleton-will-do
...
common: Switch singletons to use immobile_any and cleanups
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:21:41 +08:00
Kefu Chai
3b77d35151
Merge pull request #20528 from tchaikov/wip-22462
...
mon: add MMonHealth back
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-28 09:18:36 +08:00
Kefu Chai
5320a134e0
Merge pull request #20415 from wumingqiao/wip-fallocate
...
filestore: include <linux/falloc.h>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 09:17:36 +08:00
Alfredo Deza
9de0b60819
Merge pull request #20620 from ceph/wip-rm23140
...
ceph-volume: adds raw device support to 'lvm list'
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-27 16:42:47 -05:00
Mykola Golub
c3038c5cbc
Merge pull request #20599 from dillaman/wip-librbd-devstack-tempest
...
qa/workunits/rbd: switch devstack tempest to 17.2.0 tag
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-27 20:43:36 +02:00
Casey Bodley
375cba1d24
Merge pull request #20612 from fangyuxiangGL/com
...
rgw: download object might fail for local invariable uninitialized
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 13:32:01 -05:00
Yuri Weinstein
1731fa1d48
Merge pull request #19845 from fangyuxiangGL/escape
...
rgw: rework json/xml escape usage follow #19806
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 09:49:12 -08:00
Yuri Weinstein
ca666eef3c
Merge pull request #20352 from yehudasa/wip-22928
...
rgw: use explicit index pool placement
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-27 09:48:16 -08:00
Yuri Weinstein
00e0cd0b72
Merge pull request #20440 from cbodley/wip-qa-rgw-beast
...
qa/rgw: remove some civetweb overrides for beast testing
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2018-02-27 09:47:05 -08:00
Yuri Weinstein
9cafa7c275
Merge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel
...
rgw: Allow swift acls to be deleted.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-27 09:46:30 -08:00
fang yuxiang
f5d2a666ed
rgw: download object might fail for local invariable uninitialized
...
This is an omission in #20226
Fixes: http://tracker.ceph.com/issues/23146
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
2018-02-28 01:05:22 +08:00
Nathan Cutler
39837301d0
Merge pull request #20234 from smithfarm/wip-run-make-check
...
build/ops: run-make-check.sh: fix SUSE support
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-27 17:33:14 +01:00
Kefu Chai
4865831b91
cmake,deb: set EnvironmentFile using cmake
...
this change also fix the EnvironmentFile specified in rbdmap.service.
without this change EnvironmentFile in rbdmap.service is always
/etc/sysconfig/ceph even on debian derived distros. after this change,
this variable is /etc/default/ceph in rbdmap.service shipped by the deb
packages.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 00:23:48 +08:00
Kefu Chai
50707e7d62
debian: install system units using cmake
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 00:23:22 +08:00
Andrew Schoen
729ed7c98e
ceph-volume: if using lvm list on a device with many lvs, show them all
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-27 09:44:06 -06:00
Nathan Cutler
6a2bcea045
Merge pull request #20436 from smithfarm/wip-22999
...
install-deps.sh: set python2 %bcond by environment
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-27 16:19:36 +01:00
Casey Bodley
a3aa4d5b88
Merge pull request #20611 from Leeshine/wip-rgw-22080-1
...
rgw: create sync-module instance when radosgw-admin sync run
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-27 09:23:09 -05:00
Nathan Cutler
cbf50f0cbe
Merge pull request #20397 from tdb/fix/perms-ocf-rbd
...
rbd: resource agent needs to be executable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-02-27 14:59:46 +01:00
Jason Dillaman
8f45676ec3
Merge pull request #20577 from Songweibin/wip-group-rename
...
rbd: add group rename methods
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-27 08:28:08 -05:00
Nathan Cutler
fe028f89b6
install-deps.sh: set python2 %bcond by environment
...
If there is no /usr/bin/python2 we need to set %bcond_with python2.
Fixes: http://tracker.ceph.com/issues/22999
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-02-27 14:12:12 +01:00
Nathan Cutler
7d6e165bdd
Merge pull request #20434 from smithfarm/wip-22998
...
build/ops: install-deps.sh: pass --no-recommends to zypper
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-27 14:09:33 +01:00
Nathan Cutler
fba862df03
Merge pull request #20404 from smithfarm/wip-cmake-with-systemd
...
build/ops: change WITH_SYSTEMD default to ON
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-02-27 14:03:30 +01:00
Nathan Cutler
5200405bf0
build/ops: run-make-check.sh: fix SUSE support
...
Get /usr/bin/which from the right RPM.
Fixes: http://tracker.ceph.com/issues/22875
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-02-27 13:58:42 +01:00
Nathan Cutler
0fb78d1533
Merge pull request #20245 from smithfarm/wip-p2p-ripout
...
tests: cleanup: drop upgrade/jewel-x/point-to-point-x
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-27 13:53:17 +01:00
Nathan Cutler
93e99e7a27
Merge pull request #20138 from smithfarm/wip-recommend-chrony
...
build/ops: rpm: recommend chrony instead of ntp-daemon
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2018-02-27 13:48:52 +01:00
Jason Dillaman
64c215e3dd
Merge pull request #20551 from shun-s/wip-add-notify-name-print
...
rbd: output notifyOp request name when watching
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-27 07:47:05 -05:00
Radoslaw Zarzynski
360f823fac
log: prohibit negative values for debug_* configurables.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:48 +01:00
Radoslaw Zarzynski
de5efc8170
log: remove SubsystemMap::m_max_name_len.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:48 +01:00
Radoslaw Zarzynski
d13e071d28
ceph: switch to SubsystemMap::should_gather<SubV, LvlV>().
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:48 +01:00
Radoslaw Zarzynski
1a3e935774
core: resurrect the old check on dout's levels where possible.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:48 +01:00
Radoslaw Zarzynski
b265ed2955
core: hint the dout()'s message crafting as a cold code.
...
The idea is to:
1. Do not put the dout()'s crafting stuff on the hot, fall-through
path. Cheapest branches are those that are forward and never taken.
2. Move it to separated sections placed far away from the main path
to be more friendly to ICache and ITLB. That is, dout_impl constructs
a function now.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:48 +01:00
Radoslaw Zarzynski
d96bf57879
core: make SubsystemMap more statical and optimize should_gather().
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:47 +01:00
Radoslaw Zarzynski
5b3c5bbf49
osd: remove the PGLog::prefix_provider as it's always nullptr.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:47 +01:00
Radoslaw Zarzynski
8a668355a1
common: move subsys-dependant types to a dedicated header.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:47 +01:00
Radoslaw Zarzynski
b0f94c628b
core: dout checks ceph_subsys_* in compile time if possible.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-27 11:38:47 +01:00
Patrick Donnelly
c42015651e
Merge PR #19471 into master
...
* refs/pull/19471/head:
cephfs-journal-tool: support purge queue
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-27 02:22:45 -08:00
Patrick Donnelly
47ba679906
Merge PR #20412 into master
...
* refs/pull/20412/head:
mds/CDir: cleanup in the lookup_exact_snap()
mds/cdir: add CDir missing state
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-27 02:22:38 -08:00
Patrick Donnelly
e016a6bc57
Merge PR #20468 into master
...
* refs/pull/20468/head:
mds: fix check of underwater dentries
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-27 02:22:31 -08:00
Patrick Donnelly
9c45cdff5f
Merge PR #20489 into master
...
* refs/pull/20489/head:
common: omit short option for id in help for clients
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-02-27 02:22:25 -08:00
Patrick Donnelly
c66fcfae73
Merge PR #20547 into master
...
* refs/pull/20547/head:
mds: add uptime to MDS status
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-02-27 02:22:19 -08:00