]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomgr: balancer: fixed mistype "AttributeError: 'Logger' object has no attribute 'err'" 20130/head
Konstantin Shalygin [Fri, 26 Jan 2018 11:31:20 +0000 (18:31 +0700)]
mgr: balancer: fixed mistype "AttributeError: 'Logger' object has no attribute 'err'"

Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
7 years agoMerge pull request #19922 from Rubab-Syed/performance_counter_browser
John Spray [Fri, 26 Jan 2018 11:05:28 +0000 (11:05 +0000)]
Merge pull request #19922 from Rubab-Syed/performance_counter_browser

mgr/dashboard: performance counter browsers

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20009 from Liuchang0812/fix-22727
Kefu Chai [Fri, 26 Jan 2018 07:30:11 +0000 (15:30 +0800)]
Merge pull request #20009 from Liuchang0812/fix-22727

mon: do not use per_pool_sum_delta to show recovery summary

Reviewed-by: Varada Kari <varada.kari@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20048 from jcsp/wip-22096
Kefu Chai [Fri, 26 Jan 2018 07:28:02 +0000 (15:28 +0800)]
Merge pull request #20048 from jcsp/wip-22096

mon: fix mgr using auth_client_required policy

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19994 from runsisi/wip-objecter-cleanup
Kefu Chai [Fri, 26 Jan 2018 06:36:28 +0000 (14:36 +0800)]
Merge pull request #19994 from runsisi/wip-objecter-cleanup

objecter: minor cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19651 from yanghonggang/master
Kefu Chai [Fri, 26 Jan 2018 06:34:11 +0000 (14:34 +0800)]
Merge pull request #19651 from yanghonggang/master

mon/OSDMonitor.cc: fix expected_num_objects interpret error

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20124 from dillaman/wip-devstack
Mykola Golub [Fri, 26 Jan 2018 05:41:00 +0000 (07:41 +0200)]
Merge pull request #20124 from dillaman/wip-devstack

qa/workunits/rbd: switch devstack to pike release

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20105 from dillaman/wip-22791
Mykola Golub [Fri, 26 Jan 2018 05:32:41 +0000 (07:32 +0200)]
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>
7 years agoMerge pull request #19320 from vshankar/rbd-mirror-image-map-policy-test
Jason Dillaman [Fri, 26 Jan 2018 03:00:13 +0000 (22:00 -0500)]
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>
7 years agoMerge pull request #19974 from shun-s/wip-accelerate-rbd-snap-create-rm-speed
Jason Dillaman [Fri, 26 Jan 2018 02:59:48 +0000 (21:59 -0500)]
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>
7 years agoMerge pull request #19996 from Songweibin/wip-rbd-deep-cp
Jason Dillaman [Fri, 26 Jan 2018 02:59:31 +0000 (21:59 -0500)]
Merge pull request #19996 from Songweibin/wip-rbd-deep-cp

rbd: add deep cp CLI method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/dashboard: performance counter browsers 19922/head
Rubab-Syed [Tue, 9 Jan 2018 23:32:42 +0000 (04:32 +0500)]
mgr/dashboard: performance counter browsers

Signed-off-by: Rubab-Syed <rubab.syed21@gmail.com>
7 years agoqa/workunits/rbd: switch devstack to pike release 20124/head
Jason Dillaman [Wed, 24 Jan 2018 16:28:19 +0000 (11:28 -0500)]
qa/workunits/rbd: switch devstack to pike release

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #20060 into master
Patrick Donnelly [Thu, 25 Jan 2018 22:52:17 +0000 (14:52 -0800)]
Merge PR #20060 into master

* refs/pull/20060/head:
ceph-debug-docker.sh: allow specifying branch sha1

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agolibrbd: force removal of a snapshot cannot ignore dependent children 20105/head
Jason Dillaman [Wed, 24 Jan 2018 19:40:56 +0000 (14:40 -0500)]
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>
7 years agoMerge pull request #20047 from jcsp/wip-prometheus-qa
Kefu Chai [Thu, 25 Jan 2018 15:43:07 +0000 (23:43 +0800)]
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>
7 years agoMerge pull request #19596 from qrGitHub/wip-rgw-lc-scheduleNextStartTime
Casey Bodley [Thu, 25 Jan 2018 15:19:21 +0000 (10:19 -0500)]
Merge pull request #19596 from qrGitHub/wip-rgw-lc-scheduleNextStartTime

rgw: optimize next start time for lifecycle

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoMerge pull request #20077 from smithfarm/wip-spdk-fast-forward
Kefu Chai [Thu, 25 Jan 2018 15:02:21 +0000 (23:02 +0800)]
Merge pull request #20077 from smithfarm/wip-spdk-fast-forward

spdk: update submodule to more recent upstream

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19235 from jcsp/wip-mgr-can-run
John Spray [Thu, 25 Jan 2018 11:23:36 +0000 (11:23 +0000)]
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>
7 years agolibrbd: fix snap create/rm may taking long time 19974/head
Song Shun [Wed, 17 Jan 2018 01:32:45 +0000 (09:32 +0800)]
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>
7 years agoMerge pull request #19122 from smithfarm/wip-lowmem-builder
Nathan Cutler [Thu, 25 Jan 2018 08:36:39 +0000 (09:36 +0100)]
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>
7 years agobuild/ops: cmake: do not guard certain tools with WITH_TESTS 19122/head
Nathan Cutler [Fri, 24 Nov 2017 07:51:38 +0000 (08:51 +0100)]
build/ops: cmake: do not guard certain tools with WITH_TESTS

As a follow-up to d7b493a7108a68302bc0f48337bf3c253a720266 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>
7 years agobuild/ops: rpm: let ctest benefit from memory calculation
Nathan Cutler [Fri, 19 Jan 2018 07:02:42 +0000 (08:02 +0100)]
build/ops: rpm: let ctest benefit from memory calculation

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agobuild/ops: rpm: override %_smp_mflags if not enough memory
Nathan Cutler [Thu, 19 May 2016 18:03:29 +0000 (20:03 +0200)]
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>
7 years agobuild/ops: rpm: fix Group for rados-objclass-devel subpackage
Nathan Cutler [Mon, 27 Nov 2017 13:22:07 +0000 (14:22 +0100)]
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>
7 years agoMerge pull request #19384 from ivancich/wip-rgw-lazy-cache-put-on-excl-create
Casey Bodley [Wed, 24 Jan 2018 20:43:58 +0000 (15:43 -0500)]
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>
7 years agoqa: always dump corrupt messages in rados/upgrade 19235/head
John Spray [Wed, 24 Jan 2018 14:33:44 +0000 (09:33 -0500)]
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>
7 years agomgr: refactor get_modules/list_modules
John Spray [Thu, 14 Dec 2017 16:29:00 +0000 (11:29 -0500)]
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>
7 years agodoc: note new mgr module error codes
John Spray [Tue, 28 Nov 2017 18:05:57 +0000 (13:05 -0500)]
doc: note new mgr module error codes

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon: expose can_run flag in `module ls` + mgr dump
John Spray [Tue, 28 Nov 2017 13:57:28 +0000 (08:57 -0500)]
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>
7 years agomgr: add health checks for failed modules
John Spray [Mon, 27 Nov 2017 12:42:37 +0000 (07:42 -0500)]
mgr: add health checks for failed modules

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoqa/mgr: add test for command execution errors
John Spray [Thu, 23 Nov 2017 15:49:51 +0000 (10:49 -0500)]
qa/mgr: add test for command execution errors

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomgr: load command definitions earlier
John Spray [Thu, 23 Nov 2017 13:01:33 +0000 (08:01 -0500)]
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>
7 years agomgr: evaluate `can_run` method on modules
John Spray [Thu, 16 Nov 2017 21:30:39 +0000 (16:30 -0500)]
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>
7 years agomgr: load all modules (not just active ones)
John Spray [Thu, 16 Nov 2017 11:45:45 +0000 (06:45 -0500)]
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>
7 years agoMerge pull request #20054 from ceph/wip-rm22619
Andrew Schoen [Wed, 24 Jan 2018 17:22:56 +0000 (18:22 +0100)]
Merge pull request #20054 from ceph/wip-rm22619

ceph-volume: dmcrypt support for lvm

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agobuild/ops: rpm: introduce _remote_tarball_prefix macro
Nathan Cutler [Sat, 25 Nov 2017 17:45:58 +0000 (18:45 +0100)]
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>
7 years agobuild/ops: rpm: use %_fillupdir macro in openSUSE/SLES
sysrich [Sat, 25 Nov 2017 20:02:15 +0000 (21:02 +0100)]
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>
7 years agobuild/ops: rpm: reconstruct SUSE bconds
Nathan Cutler [Fri, 24 Nov 2017 05:58:40 +0000 (06:58 +0100)]
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>
7 years agoMerge pull request #20083 from liewegas/wip-msgr2-goals
Sage Weil [Wed, 24 Jan 2018 10:22:38 +0000 (04:22 -0600)]
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>
7 years agorbd: add deep cp CLI method 19996/head
songweibin [Thu, 18 Jan 2018 02:56:19 +0000 (10:56 +0800)]
rbd: add deep cp CLI method

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agodoc/dev/msgr2.rst: a few notes on protocol goals 20083/head
Sage Weil [Tue, 23 Jan 2018 23:40:43 +0000 (17:40 -0600)]
doc/dev/msgr2.rst: a few notes on protocol goals

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20010 from ceph/wip-rm22653
Alfredo Deza [Tue, 23 Jan 2018 19:24:55 +0000 (14:24 -0500)]
Merge pull request #20010 from ceph/wip-rm22653

ceph-volume: adds a --destroy flag to ceph-volume lvm zap

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume add lvm/encryption to the index 20054/head
Alfredo Deza [Mon, 22 Jan 2018 19:21:37 +0000 (14:21 -0500)]
doc/ceph-volume add lvm/encryption to the index

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man/ceph-volume add dmcrypt support
Alfredo Deza [Mon, 22 Jan 2018 17:11:32 +0000 (12:11 -0500)]
doc/man/ceph-volume add dmcrypt support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man/ceph-volume add docs for zap sub-command
Alfredo Deza [Mon, 22 Jan 2018 17:06:25 +0000 (12:06 -0500)]
doc/man/ceph-volume add docs for zap sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man/ceph-volume add docs for list sub-command
Alfredo Deza [Mon, 22 Jan 2018 17:03:18 +0000 (12:03 -0500)]
doc/man/ceph-volume add docs for list sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/dev/ceph-volume update internal LVM metadata information
Alfredo Deza [Mon, 22 Jan 2018 16:41:32 +0000 (11:41 -0500)]
doc/dev/ceph-volume update internal LVM metadata information

Includes dmcrypt information, and updated key names to reflect current
code

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add xenial filestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:12:52 +0000 (11:12 -0500)]
ceph-volume tests.functional add xenial filestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20020 from mikechristie/wip-doc-mnc-update-iscsi-client
Jason Dillaman [Tue, 23 Jan 2018 14:11:32 +0000 (09:11 -0500)]
Merge pull request #20020 from mikechristie/wip-doc-mnc-update-iscsi-client

doc: update ceph iscsi kernel and package info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18323 from thmour/thmour_rbdtrash
Jason Dillaman [Tue, 23 Jan 2018 13:35:51 +0000 (08:35 -0500)]
Merge pull request #18323 from thmour/thmour_rbdtrash

rbd: replace trash delay option, add rbd trash purge command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20014 from liewegas/wip-rbd-validate
Jason Dillaman [Tue, 23 Jan 2018 13:34:58 +0000 (08:34 -0500)]
Merge pull request #20014 from liewegas/wip-rbd-validate

common/options,librbd/Utils: refactor RBD feature validation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr: apply auth_service_required to client conns 20048/head
John Spray [Tue, 23 Jan 2018 12:43:12 +0000 (07:43 -0500)]
mgr: apply auth_service_required to client conns

Previously was using auth_cluster_required for all
connections, which meant that if someone had
disabled client cephx, they'd get BADAUTHORIZER
from their CLI when it tried to load mgr
command descriptions.

Disabling cephx on the admin CLI is odd, but the mon
tolerates it so the mgr should too.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoosdc: build MOSDOp message in Objecter::_send_op 19994/head
runsisi [Thu, 18 Jan 2018 02:22:57 +0000 (10:22 +0800)]
osdc: build MOSDOp message in Objecter::_send_op

it's more intuitive and consistent

Signed-off-by: runsisi <runsisi@zte.com.cn>
7 years agospdk: update submodule to more recent upstream 20077/head
Nathan Cutler [Tue, 23 Jan 2018 11:30:57 +0000 (12:30 +0100)]
spdk: update submodule to more recent upstream

This commit fast-forwards the SPDK submodule to upstream commit
93bd60e0de6b161567182d965239735bf467e85c to enable the py3-only build.
(Without said commit, SPDK configure script fails to find the python
interpreter in py3-only environment.)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agorbd trash: replace cli delay option, add rbd trash purge command 18323/head
Theofilos Mouratidis [Wed, 6 Dec 2017 12:39:18 +0000 (13:39 +0100)]
rbd trash: replace cli delay option, add rbd trash purge command

Replaced the delay argument for the trash move
command with a string acceptable by /bin/date, e.g.:

$ rbd trash move --pool foo --image bar --expires-in "2 weeks"

Added a "rbd trash purge" command that deletes any expired
image from the trash, has also a command to alter the current
expiration date with the "--older-than" argument which accepts
again a valid argument for /bin/date, e.g.:

$rbd trash purge mypool --older-than "2017-08-20"

There is also the "threshold" argument which tries to remove the
oldest trashed images (by deferment end time) until the pool space
is freed up to a percentage point, e.g.:

$ rbd trash purge mypool --threshold 0.9

If mypool uses 1GB it will try to remove trashed images until the
pool usage becomes equal to or lower than 900MB.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
7 years agoosdc: remove Objecter::kick_requests which is unused
runsisi [Thu, 18 Jan 2018 02:13:43 +0000 (10:13 +0800)]
osdc: remove Objecter::kick_requests which is unused

Signed-off-by: runsisi <runsisi@zte.com.cn>
7 years agoqa: assign prometheus ports during selftest 20047/head
John Spray [Mon, 22 Jan 2018 16:04:27 +0000 (16:04 +0000)]
qa: assign prometheus ports during selftest

This was throwing IOError("Port 9283 not free on '::'",)
when trying to serve, since merging https://github.com/ceph/ceph/pull/19744

It's because the standbys (on the same node as the active) are
now trying to listen too.

Fixes: https://tracker.ceph.com/issues/22755
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoqa: add new prometheus test to rados/mgr suite
John Spray [Mon, 22 Jan 2018 13:32:06 +0000 (13:32 +0000)]
qa: add new prometheus test to rados/mgr suite

Added in https://github.com/ceph/ceph/pull/19744

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20005 from jcsp/wip-mgr-minor
John Spray [Tue, 23 Jan 2018 10:17:50 +0000 (10:17 +0000)]
Merge pull request #20005 from jcsp/wip-mgr-minor

mgr: remove a few junk lines

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr: remove a few junk lines 20005/head
John Spray [Thu, 18 Jan 2018 13:25:40 +0000 (13:25 +0000)]
mgr: remove a few junk lines

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon: use pool_sum as param name in PGMapDigest::recovery_summary 20009/head
Chang Liu [Tue, 23 Jan 2018 07:39:56 +0000 (15:39 +0800)]
mon: use pool_sum as param name in PGMapDigest::recovery_summary

the param name of delta_sum of PGMapDigest::recovery_summary() is misleading too.
delta_sum fits the recovery_rate_summary() well, but not recovery_summary().

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agoMerge pull request #19988 from liewegas/wip-22673
Kefu Chai [Tue, 23 Jan 2018 07:48:11 +0000 (15:48 +0800)]
Merge pull request #19988 from liewegas/wip-22673

osd: only exit if *latest* map(s) say we are destroyed

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agorbd-mirror: image map policy tests 19320/head
Venky Shankar [Mon, 4 Dec 2017 06:30:22 +0000 (01:30 -0500)]
rbd-mirror: image map policy tests

Signed-off-by: Venky Shankar <vshankar@redhat.com>
7 years agoMerge pull request #20059 from ceph/wip-rm22427
Sage Weil [Tue, 23 Jan 2018 00:16:10 +0000 (18:16 -0600)]
Merge pull request #20059 from ceph/wip-rm22427

doc/ceph-volume OSD use the fsid file, not the osd_fsid

7 years agoMerge pull request #19979 from k0ste/prometheus_metadata
Sage Weil [Tue, 23 Jan 2018 00:15:34 +0000 (18:15 -0600)]
Merge pull request #19979 from k0ste/prometheus_metadata

mgr: prometheus: set metadata metrics value to '1' (#22717).

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #19980 from k0ste/prometheus_latency
Sage Weil [Tue, 23 Jan 2018 00:14:12 +0000 (18:14 -0600)]
Merge pull request #19980 from k0ste/prometheus_latency

mgr: prometheus: added osd commit/apply latency metrics (#22718).

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19986 from tchaikov/wip-denc-size-t-featured
Sage Weil [Mon, 22 Jan 2018 23:51:34 +0000 (17:51 -0600)]
Merge pull request #19986 from tchaikov/wip-denc-size-t-featured

denc: should check element's type not 'size_t'

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #20028 from mogeb/steady-clock-rados
Sage Weil [Mon, 22 Jan 2018 23:51:02 +0000 (17:51 -0600)]
Merge pull request #20028 from mogeb/steady-clock-rados

rados: use WaitInterval()'s return value instead of manual timing

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20044 from tchaikov/wip-22419
Sage Weil [Mon, 22 Jan 2018 23:50:07 +0000 (17:50 -0600)]
Merge pull request #20044 from tchaikov/wip-22419

osd: update store with options after pg is created

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20032 from liewegas/wip-name-shadowing
Sage Weil [Mon, 22 Jan 2018 23:49:09 +0000 (17:49 -0600)]
Merge pull request #20032 from liewegas/wip-name-shadowing

mon/OSDMonitor: rename outer name declaration to avoid shadowing

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20015 from cbodley/wip-crypto--
Sage Weil [Mon, 22 Jan 2018 23:48:20 +0000 (17:48 -0600)]
Merge pull request #20015 from cbodley/wip-crypto--

crypto: remove cryptopp library

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20029 from tchaikov/wip-osx-build
Sage Weil [Mon, 22 Jan 2018 23:48:00 +0000 (17:48 -0600)]
Merge pull request #20029 from tchaikov/wip-osx-build

osdc,os,osd: fix build on osx

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #20046 from tchaikov/wip-22711
Sage Weil [Mon, 22 Jan 2018 23:46:30 +0000 (17:46 -0600)]
Merge pull request #20046 from tchaikov/wip-22711

test: reduce the chance to have degraded PGs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc: fix ceph-iscsi-config version number 20020/head
Mike Christie [Mon, 22 Jan 2018 23:08:55 +0000 (17:08 -0600)]
doc: fix ceph-iscsi-config version number

Signed-off-by: Mike Christie <mchristi@redhat.com>
7 years agodoc/ceph-volume OSD use the fsid file, not the osd_fsid 20059/head
Alfredo Deza [Mon, 22 Jan 2018 20:16:40 +0000 (15:16 -0500)]
doc/ceph-volume OSD use the fsid file, not the osd_fsid

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-debug-docker.sh: allow specifying branch sha1 20060/head
Patrick Donnelly [Mon, 22 Jan 2018 20:11:06 +0000 (12:11 -0800)]
ceph-debug-docker.sh: allow specifying branch sha1

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph-volume tests.functional add xenial bluestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:12:40 +0000 (11:12 -0500)]
ceph-volume tests.functional add xenial bluestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add dmcrypt support in tox.ini
Alfredo Deza [Fri, 19 Jan 2018 16:08:25 +0000 (11:08 -0500)]
ceph-volume tests.functional add dmcrypt support in tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add centos7 filestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 16:03:58 +0000 (11:03 -0500)]
ceph-volume tests.functional add centos7 filestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add centos7 bluestore tests for dmcrypt
Alfredo Deza [Fri, 19 Jan 2018 15:45:32 +0000 (10:45 -0500)]
ceph-volume tests.functional add centos7 bluestore tests for dmcrypt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add util.prepare unit tests
Alfredo Deza [Fri, 19 Jan 2018 14:58:36 +0000 (09:58 -0500)]
ceph-volume tests add util.prepare unit tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add fixture helpers for call and run
Alfredo Deza [Fri, 19 Jan 2018 14:58:18 +0000 (09:58 -0500)]
ceph-volume tests add fixture helpers for call and run

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util allow prepare module to work with encryption keys
Alfredo Deza [Thu, 18 Jan 2018 21:37:00 +0000 (16:37 -0500)]
ceph-volume util allow prepare module to work with encryption keys

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.activate allow encryption setups for luks
Alfredo Deza [Thu, 18 Jan 2018 21:22:06 +0000 (16:22 -0500)]
ceph-volume lvm.activate allow encryption setups for luks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare allow encryption setups for luks
Alfredo Deza [Thu, 18 Jan 2018 21:19:26 +0000 (16:19 -0500)]
ceph-volume lvm.prepare allow encryption setups for luks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume process allow silencing output on file logging for sensitive data
Alfredo Deza [Thu, 18 Jan 2018 19:46:42 +0000 (14:46 -0500)]
ceph-volume process allow silencing output on file logging for sensitive data

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util create a helper module for encryption
Alfredo Deza [Thu, 18 Jan 2018 19:29:53 +0000 (14:29 -0500)]
ceph-volume util create a helper module for encryption

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common add dmcrypt flag
Alfredo Deza [Tue, 16 Jan 2018 14:02:31 +0000 (09:02 -0500)]
ceph-volume lvm.common add dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume create an encryption doc explaining dmcrypt workflows
Alfredo Deza [Thu, 11 Jan 2018 14:02:03 +0000 (09:02 -0500)]
doc/ceph-volume create an encryption doc explaining dmcrypt workflows

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19960 from gohighsec/default_bluestore
Alfredo Deza [Mon, 22 Jan 2018 19:42:58 +0000 (14:42 -0500)]
Merge pull request #19960 from gohighsec/default_bluestore

doc: update man page to explain ceph-volume support bluestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20034 from linuxbox2/wip-rgw-altlatchfix
Matt Benjamin [Mon, 22 Jan 2018 18:50:39 +0000 (13:50 -0500)]
Merge pull request #20034 from linuxbox2/wip-rgw-altlatchfix

rgw_file: alternate fix deadlock on lru eviction

7 years agoMerge pull request #20030 from tchaikov/wip-doc-cxx11
Sage Weil [Mon, 22 Jan 2018 16:49:14 +0000 (10:49 -0600)]
Merge pull request #20030 from tchaikov/wip-doc-cxx11

doc/dev/cxx: add C++11 ABI related doc

7 years agoMerge pull request #19708 from qrGitHub/wip-rgw-unused-variable4
Casey Bodley [Mon, 22 Jan 2018 15:16:03 +0000 (10:16 -0500)]
Merge pull request #19708 from qrGitHub/wip-rgw-unused-variable4

rgw: drop unused variable bucket_instance_ids

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18717 from shinobu-x/sk_mgr_daemonserver_using_get_val
John Spray [Mon, 22 Jan 2018 14:30:26 +0000 (14:30 +0000)]
Merge pull request #18717 from shinobu-x/sk_mgr_daemonserver_using_get_val

mgr/DaemonServer.cc: [Cleanup] Change to using  get_val template function

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19362 from myoungwon/wip-manifest-rados-op-promote
Sage Weil [Mon, 22 Jan 2018 14:21:24 +0000 (08:21 -0600)]
Merge pull request #19362 from myoungwon/wip-manifest-rados-op-promote

osd, librados: add a rados op (TIER_PROMOTE)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20045 from shangzhong/doc-cephfs-multimds
John Spray [Mon, 22 Jan 2018 14:20:40 +0000 (14:20 +0000)]
Merge pull request #20045 from shangzhong/doc-cephfs-multimds

doc: redundant "cephfs" when set the "allow_multimds"

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agomon: fix mgr using auth_client_required policy
John Spray [Mon, 22 Jan 2018 13:42:20 +0000 (13:42 +0000)]
mon: fix mgr using auth_client_required policy

This caused mgr daemons to fail to authenticate
when auth_client_required was set to something
different to auth_cluster_required.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19744 from jan--f/mgr-prometheus-standby-mondown
John Spray [Mon, 22 Jan 2018 13:29:48 +0000 (13:29 +0000)]
Merge pull request #19744 from jan--f/mgr-prometheus-standby-mondown

pybind/mgr/prometheus: add StandbyModule and handle failed MON cluster

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agotest: reduce the chance to have degraded PGs 20046/head
Kefu Chai [Mon, 22 Jan 2018 12:42:48 +0000 (20:42 +0800)]
test: reduce the chance to have degraded PGs

in test_mon_osd_misc(), there is good chance that the cluster chooses
to use an unbalanced weight because of the data distribution at that moment.
but this setting could prevent the CRUSH from choosing enough number of
OSDs for test_mon_cephdf_commands(), where 32 PGs are to be created. so
it's more likely that the CRUSH fails to pick enough OSDs for all PGs.
that's why we have a curr_object_copies_rate = 0.5.

so, in this change, pg=pgp=1 is specified for the new pool.

Fixes: http://tracker.ceph.com/issues/22711
Signed-off-by: Kefu Chai <kchai@redhat.com>