Mykola Golub
023759c7c1
Merge pull request #20124 from dillaman/wip-devstack
...
qa/workunits/rbd: switch devstack to pike release
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-26 07:41:00 +02:00
Mykola Golub
a2210912a5
Merge pull request #20105 from dillaman/wip-22791
...
librbd: force removal of a snapshot cannot ignore dependent children
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-26 07:32:41 +02:00
Jason Dillaman
7638a207d5
Merge pull request #19320 from vshankar/rbd-mirror-image-map-policy-test
...
test/rbd-mirror: image map policy test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 22:00:13 -05:00
Jason Dillaman
da7314568e
Merge pull request #19974 from shun-s/wip-accelerate-rbd-snap-create-rm-speed
...
librbd: cache last index position to accelerate snap create/rm
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 21:59:48 -05:00
Jason Dillaman
6253490445
Merge pull request #19996 from Songweibin/wip-rbd-deep-cp
...
rbd: add deep cp CLI method
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 21:59:31 -05:00
Rubab-Syed
25ecfbd9cf
mgr/dashboard: performance counter browsers
...
Signed-off-by: Rubab-Syed <rubab.syed21@gmail.com>
2018-01-26 05:20:21 +05:00
Jason Dillaman
7ff1e0bc21
qa/workunits/rbd: switch devstack to pike release
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 18:44:20 -05:00
Patrick Donnelly
19b56486db
Merge PR #20060 into master
...
* refs/pull/20060/head:
ceph-debug-docker.sh: allow specifying branch sha1
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-25 14:52:17 -08:00
Jason Dillaman
fcc58ecfeb
librbd: force removal of a snapshot cannot ignore dependent children
...
Fixes: http://tracker.ceph.com/issues/22791
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 17:13:12 -05:00
Orit Wasserman
0699129f52
Revert "rgw: reshard should not update stats when linking new bucket instance"
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2018-01-25 17:43:37 +02:00
Kefu Chai
52bf90bb10
Merge pull request #20047 from jcsp/wip-prometheus-qa
...
qa: add new prometheus test to rados/mgr suite
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:43:07 +08:00
Casey Bodley
c42f7632b3
Merge pull request #19596 from qrGitHub/wip-rgw-lc-scheduleNextStartTime
...
rgw: optimize next start time for lifecycle
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2018-01-25 10:19:21 -05:00
Kefu Chai
50136330fc
Merge pull request #20077 from smithfarm/wip-spdk-fast-forward
...
spdk: update submodule to more recent upstream
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:02:21 +08:00
Chang Liu
3bae319536
mon: remove health service
...
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-01-25 22:46:58 +08:00
Kefu Chai
6f725e76d5
cmake: build Boost.python with specified version of python
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-25 22:26:10 +08:00
John Spray
474828ddfc
Merge pull request #19235 from jcsp/wip-mgr-can-run
...
mgr: improved module loading for error reporting etc
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 11:23:36 +00:00
Song Shun
d04ed348a1
librbd: fix snap create/rm may taking long time
...
fix snap create/rm may taking long time
http://tracker.ceph.com/issues/22716
Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2018-01-25 18:51:16 +08:00
Nathan Cutler
34cc708c0d
Merge pull request #19122 from smithfarm/wip-lowmem-builder
...
build/ops: rpm: set build parallelism based on available memory
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-01-25 09:36:39 +01:00
Sage Weil
21a3955e7f
mon: fix structure of 'features' command
...
We are dumping an array of objects all called "group"--we need an array
here, not an object (dict) section.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-25 01:32:45 -06:00
Yan, Zheng
0b1e515d1c
osdc/ObjectCacher: don't merge TX buffer heads
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-01-25 13:31:33 +08:00
Yan, Zheng
cc4c6dcc2f
osdc/ObjectCacher: fix off-by-one error in bh_write_commit()
...
Fixes: https://tracker.ceph.com/issues/22741
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-01-25 10:25:55 +08:00
tangwenjun
3ebb5cc7c6
os/bluestore.cc: no need to fsync when failed to write label
...
Signed-off-by: tangwenjun <tang.wenjun3@zte.com.cn>
2018-01-25 09:16:59 +08:00
Nathan Cutler
e020ec3343
build/ops: cmake: do not guard certain tools with WITH_TESTS
...
As a follow-up to d7b493a710
we need to stop guarding
ceph-osdomap-tool
ceph-monstore-tool
with WITH_TESTS because they have been moved out of the ceph-test package.
(N.B. ceph-kvstore-tool was also moved out of ceph-test, but apparently never
had the guard.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:57 +01:00
Nathan Cutler
d048cb2cd8
build/ops: rpm: let ctest benefit from memory calculation
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:57 +01:00
Nathan Cutler
0cf627b4e3
build/ops: rpm: override %_smp_mflags if not enough memory
...
Sometimes the build machine has lots of processor cores and not enough
memory to successfully build Ceph on all of them at once. Calculate
how many parallel build processes we can sustain with the memory we
have and set a lower build parallelism if necessary. Never exceed
the value set by %_smp_mflags even if memory is aplenty.
Credits to Tomáš Chvátal for the original idea and implementation.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:56 +01:00
Nathan Cutler
353ff67780
build/ops: rpm: fix Group for rados-objclass-devel subpackage
...
Fixes RPMLINT warning "non-standard-group Development/Libraries"
Also, the Group: line is only needed for SUSE so put it in an appropriate
distro conditional.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:50 +01:00
Casey Bodley
15e0630b42
Merge pull request #19384 from ivancich/wip-rgw-lazy-cache-put-on-excl-create
...
rgw: do not update all gateway caches upon creation of system obj w/ exclusive flag
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-24 15:43:58 -05:00
John Spray
b3e6b8e1e2
qa: always dump corrupt messages in rados/upgrade
...
Previously only a service with debug_ms>=1 would dump
corrupt messages: in an upgrade test we're *alway*
interested in a corrupt message.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
John Spray
9999ddf67b
mgr: refactor get_modules/list_modules
...
list_modules is really about searching for them
on disk, so it's now probe_modules and private.
Both methods now return values instead of populating
an argument, since when called they were always writing into
a newly constructed container.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
John Spray
191cce74e1
doc: note new mgr module error codes
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
John Spray
6eb5c636dd
mon: expose can_run flag in module ls
+ mgr dump
...
Enable people to see can_run failures and the explanatory
messages (telling them about a missing dependency)
before trying to enable a module.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
John Spray
d9a47181c4
mgr: add health checks for failed modules
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
f95b079c21
qa/mgr: add test for command execution errors
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
834bc27940
mgr: load command definitions earlier
...
...and for all modules, not just the active ones.
This enables us to give better feedback to the user
when they try and use a command from a disabled module,
and also fixes the race between enabling a module and
trying to use its commands.
Fixes: http://tracker.ceph.com/issues/21683
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
712ad57d09
mgr: evaluate can_run
method on modules
...
...and transmit the result to the monitor in
our beacon.
Fixes: http://tracker.ceph.com/issues/21502
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
6a8da7ca73
mgr: load all modules (not just active ones)
...
This is to enable us to learn more about the module
before it is enabled, such as whether its can_run method
return true.
We can also use this to enable loading a module's
commands before it is enabled, to give the user
a better response when they try to use a command
belong to a module that is not loaded.
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
Andrew Schoen
f852f640bf
Merge pull request #20054 from ceph/wip-rm22619
...
ceph-volume: dmcrypt support for lvm
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-01-24 18:22:56 +01:00
Nathan Cutler
290d9094d6
build/ops: rpm: introduce _remote_tarball_prefix macro
...
With this macro, we can use a single Source0 line for all supported distros.
RH/CentOS/Fedora needs the prefix, while SUSE builds in the OBS use a local
tarball.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 17:16:26 +01:00
sysrich
2305bf06f8
build/ops: rpm: use %_fillupdir macro in openSUSE/SLES
...
Replace references to /var/adm/fillup-templates with new %_fillupdir macro
Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1069468
Signed-off-by: Richard Brown <rbrown@suse.com>
2018-01-24 17:16:26 +01:00
Nathan Cutler
dd08d17fdf
build/ops: rpm: reconstruct SUSE bconds
...
Disable java build completely. Enable lttng build on SLES only, and only for
certain architectures.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 17:16:26 +01:00
myoungwon oh
d848bc8a7d
src/test/osd/RadosModel: modify SetCunk to support two pool
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-24 19:44:32 +09:00
myoungwon oh
14fab80911
src/test/osd/RadosModel: modify SetRedirect to support two pool
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-24 19:43:43 +09:00
myoungwon oh
067cc5846b
src/test/osd/RadosModel: add two pool test
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-24 19:38:13 +09:00
Sage Weil
1c2ac30803
Merge pull request #20083 from liewegas/wip-msgr2-goals
...
doc/dev/msgr2.rst: a few notes on protocol goals
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-01-24 04:22:38 -06:00
Shangzhong Zhu
05c496d444
mds: set higher priority for some perf counters
...
Fixes: http://tracker.ceph.com/issues/22776
Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
2018-01-24 15:23:35 +08:00
songweibin
0551029242
rbd: add deep cp CLI method
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-24 09:04:33 +08:00
Yuan Zhou
40cddc1781
rgw: allow beast frontend to listen on specific IP address
...
This patch allows the beast frontend to listen on a specific
IP address rather than *. e.g., with below configuration:
rgw frontends = beast port=1.2.3.4:8080
rgw server will listen on 1.2.3.4 only.
Fixes: http://tracker.ceph.com/issues/22778
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2018-01-24 08:30:32 +08:00
Sage Weil
73934df3b0
doc/dev/msgr2.rst: a few notes on protocol goals
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-23 17:40:43 -06:00
Jason Dillaman
aa017678a7
librados: getter for min compatible client versions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 14:35:25 -05:00
Jason Dillaman
c553f00c5f
osd/OSDMap: expose require_min_compat_client variable
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 14:27:52 -05:00