]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa: krbd_msgr_segments.t: filter lvcreate output 22665/head
Ilya Dryomov [Thu, 21 Jun 2018 15:27:59 +0000 (17:27 +0200)]
qa: krbd_msgr_segments.t: filter lvcreate output

Some versions of lvm emit a log message

  Using default stripesize 64.00 KiB.

which fails the test.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge pull request #22470 from votdev/feature_24436
Lenz Grimmer [Thu, 21 Jun 2018 13:34:01 +0000 (15:34 +0200)]
Merge pull request #22470 from votdev/feature_24436

mgr/dashboard: Replace RGW proxy controller

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #22658 from joscollin/wip-doc-dashboard-numbers
Lenz Grimmer [Thu, 21 Jun 2018 13:21:12 +0000 (15:21 +0200)]
Merge pull request #22658 from joscollin/wip-doc-dashboard-numbers

doc: Fixed the wrong numbers in mgr/dashboard.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #22657 from ceph/wip-doc-grafana-formatting
Lenz Grimmer [Thu, 21 Jun 2018 13:19:27 +0000 (15:19 +0200)]
Merge pull request #22657 from ceph/wip-doc-grafana-formatting

doc/dashboard: fix formatting on Grafana instructions

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomgr/dashboard: Replace RGW proxy controller 22470/head
Volker Theile [Tue, 19 Jun 2018 11:19:10 +0000 (13:19 +0200)]
mgr/dashboard: Replace RGW proxy controller

Fixes: http://tracker.ceph.com/issues/24436
To fully support the role based authentication/authorization system it is necessary to replace the RGW proxy controller by separate controllers for RGW user and bucket.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agodoc: Fixed the wrong numbers in mgr/dashboard.rst 22658/head
Jos Collin [Thu, 21 Jun 2018 11:13:17 +0000 (16:43 +0530)]
doc: Fixed the wrong numbers in mgr/dashboard.rst

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agodoc/dashboard: fix formatting on Grafana instructions 22657/head
John Spray [Thu, 21 Jun 2018 10:31:19 +0000 (11:31 +0100)]
doc/dashboard: fix formatting on Grafana instructions

The whole list was in a code block, instead of just the snippets.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22608 from dillaman/wip-24410
Mykola Golub [Thu, 21 Jun 2018 08:02:25 +0000 (11:02 +0300)]
Merge pull request #22608 from dillaman/wip-24410

librbd: namespace create/remove/list support

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22628 from dmick/wip-cli-path
Dan Mick [Thu, 21 Jun 2018 02:10:25 +0000 (19:10 -0700)]
Merge pull request #22628 from dmick/wip-cli-path

src/ceph.in: dev mode: add build path to beginning of PATH, not end

7 years agoMerge PR #22585 into master
Sage Weil [Wed, 20 Jun 2018 20:07:19 +0000 (15:07 -0500)]
Merge PR #22585 into master

* refs/pull/22585/head:
osd: fix getting osd maps on initial osd startup

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22647 from yuriw/wip-yuriw-teuthology-master
Zack Cerza [Wed, 20 Jun 2018 19:52:34 +0000 (13:52 -0600)]
Merge pull request #22647 from yuriw/wip-yuriw-teuthology-master

qa/tests - added all supported distro

7 years agoMerge pull request #22648 from idryomov/wip-krbd-bump-lock-timeout
Ilya Dryomov [Wed, 20 Jun 2018 18:27:02 +0000 (20:27 +0200)]
Merge pull request #22648 from idryomov/wip-krbd-bump-lock-timeout

qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc/rbd: update man page 22608/head
Jason Dillaman [Wed, 20 Jun 2018 16:39:34 +0000 (12:39 -0400)]
doc/rbd: update man page

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20094 from rjfd/wip-msgr2-docs
Sage Weil [Wed, 20 Jun 2018 16:23:55 +0000 (11:23 -0500)]
Merge pull request #20094 from rjfd/wip-msgr2-docs

doc/dev/msgr2.rst: update of the banner and authentication phases

7 years agoqa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds 22648/head
Ilya Dryomov [Wed, 20 Jun 2018 16:22:36 +0000 (18:22 +0200)]
qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Avoid sporadic failures in combination with msgr-failures/many.yaml,
where assert_locked() might take over 10 seconds.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoqa/tests - added all supported distro 22647/head
Yuri Weinstein [Wed, 20 Jun 2018 16:16:16 +0000 (09:16 -0700)]
qa/tests - added all supported distro

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #22629 from dmick/master
John Spray [Wed, 20 Jun 2018 09:41:55 +0000 (10:41 +0100)]
Merge pull request #22629 from dmick/master

doc/mgr/plugins.rst: explain more about the plugin command protocol

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22528 from rjfd/wip-dashboard-fix-rest-controller
Lenz Grimmer [Wed, 20 Jun 2018 09:30:10 +0000 (11:30 +0200)]
Merge pull request #22528 from rjfd/wip-dashboard-fix-rest-controller

mgr/dashboard: restcontroller: minor improvements and bug fixes

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22609 from qwren/qat-decompress
Kefu Chai [Wed, 20 Jun 2018 02:06:28 +0000 (10:06 +0800)]
Merge pull request #22609 from qwren/qat-decompress

compressor: building error for QAT decompress

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/mgr/plugins.rst: explain more about the plugin command protocol 22629/head
Dan Mick [Tue, 19 Jun 2018 23:45:06 +0000 (16:45 -0700)]
doc/mgr/plugins.rst: explain more about the plugin command protocol

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agosrc/ceph.in: dev mode: add build path to beginning of PATH, not end 22628/head
Dan Mick [Tue, 19 Jun 2018 23:02:51 +0000 (16:02 -0700)]
src/ceph.in: dev mode: add build path to beginning of PATH, not end

The build/ executables go with the LD_LIBRARY_PATH and PYTHONPATH

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #21635 from yangdongsheng/qos_read_write
Jason Dillaman [Tue, 19 Jun 2018 21:32:15 +0000 (17:32 -0400)]
Merge pull request #21635 from yangdongsheng/qos_read_write

librbd: support bps throttle and throttle read and write seperately.

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22587 from trociny/wip-24545
Jason Dillaman [Tue, 19 Jun 2018 21:31:47 +0000 (17:31 -0400)]
Merge pull request #22587 from trociny/wip-24545

librbd: deep_copy: don't hide parent if zero overlap for snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22627 from ceph/rm-24456
Alfredo Deza [Tue, 19 Jun 2018 20:15:38 +0000 (16:15 -0400)]
Merge pull request #22627 from ceph/rm-24456

lvm: when osd creation fails log the exception

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agolvm: when osd creation fails log the exception 22627/head
Andrew Schoen [Tue, 19 Jun 2018 19:34:57 +0000 (14:34 -0500)]
lvm: when osd creation fails log the exception

Fixes: http://tracker.ceph.com/issues/24456
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #22509 from taodd/osdc-optimize
Jason Dillaman [Tue, 19 Jun 2018 19:04:36 +0000 (15:04 -0400)]
Merge pull request #22509 from taodd/osdc-optimize

osdc: optimize the code doing the BufferHead mapping

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #22596 into master
Sage Weil [Tue, 19 Jun 2018 18:51:09 +0000 (13:51 -0500)]
Merge PR #22596 into master

* refs/pull/22596/head:
os/bluestore: use vector instead of set for zombies
os/bluestore: reuse zombie OpSequencers by collection id
qa/suites/rados/objecstore/backends/objectstore: capture coredumps
os/bluestore: more debug output
os/bluestore: print cnode from _open_collections
os/bluestore: print cnode on fsck
qa/suites/rados/objecstore: preserve data dir for ceph_test_objecstore

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: use vector instead of set for zombies 22596/head
Sage Weil [Tue, 19 Jun 2018 12:15:53 +0000 (07:15 -0500)]
os/bluestore: use vector instead of set for zombies

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: reuse zombie OpSequencers by collection id
Sage Weil [Mon, 18 Jun 2018 12:32:08 +0000 (07:32 -0500)]
os/bluestore: reuse zombie OpSequencers by collection id

We can get a sequence that deletes and then recreates a collection where
the transaction removing the collection is delayed (due to pending IO on
its sequencer) but colleciton create is not (new sequencer).

Avoid any such reordering by recycling the old collection's sequencer if
the zombie_osr has not been reaped yet.

Fixes: http://tracker.ceph.com/issues/24550
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/objecstore/backends/objectstore: capture coredumps
Sage Weil [Mon, 18 Jun 2018 20:35:38 +0000 (15:35 -0500)]
qa/suites/rados/objecstore/backends/objectstore: capture coredumps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22606 from yuriw/wip-yuriw-crontab
Sage Weil [Tue, 19 Jun 2018 17:59:22 +0000 (12:59 -0500)]
Merge pull request #22606 from yuriw/wip-yuriw-crontab

qa/tests - added powercycle suite to run on weekly basis on master and mimic

7 years agoMerge pull request #22495 from taodd/osdc-bugfix
Jason Dillaman [Tue, 19 Jun 2018 16:10:38 +0000 (12:10 -0400)]
Merge pull request #22495 from taodd/osdc-bugfix

osdc: Fix the wrong BufferHead offset

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22570 from zy751713126/test_for_set_snap
Jason Dillaman [Tue, 19 Jun 2018 16:06:08 +0000 (12:06 -0400)]
Merge pull request #22570 from zy751713126/test_for_set_snap

pybind/rbd: add assert_raise in test set_snap

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22566 from liewegas/wip-rbd-table
Jason Dillaman [Tue, 19 Jun 2018 15:31:15 +0000 (11:31 -0400)]
Merge pull request #22566 from liewegas/wip-rbd-table

tools/rbd/action: align column headers left

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #22569 into master
Patrick Donnelly [Tue, 19 Jun 2018 14:13:30 +0000 (07:13 -0700)]
Merge PR #22569 into master

* refs/pull/22569/head:
qa/cephfs: add test for "dump inode"
mds: add dump inode command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agolibrbd: remove unused header 22587/head
Mykola Golub [Sat, 9 Dec 2017 15:10:10 +0000 (17:10 +0200)]
librbd: remove unused header

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: fix gmock warnings introduced after 9e5b87c
Mykola Golub [Tue, 19 Jun 2018 13:22:15 +0000 (16:22 +0300)]
librbd: fix gmock warnings introduced after 9e5b87c

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: deep_copy: update end_size only if zero interval caused truncate
Mykola Golub [Tue, 19 Jun 2018 12:05:27 +0000 (15:05 +0300)]
librbd: deep_copy: update end_size only if zero interval caused truncate

The problem shown up when stripping was used, and assembling a
nonexistent destination object from source objects, and one of these
objects existed and snap diff returned a zero interval. The non-zero
end_size in that case triggered invalid object map update.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: deep_copy: don't hide parent if zero overlap for snapshot
Mykola Golub [Sat, 16 Jun 2018 11:19:53 +0000 (14:19 +0300)]
librbd: deep_copy: don't hide parent if zero overlap for snapshot

Fixes: http://tracker.ceph.com/issues/24545
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #17414 from fangyuxiangGL/system
Casey Bodley [Tue, 19 Jun 2018 13:24:19 +0000 (09:24 -0400)]
Merge pull request #17414 from fangyuxiangGL/system

rgw: admin/user ops dump user 'system' flag

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #22604 from alfredodeza/wip-bluestore-config-ref
Alfredo Deza [Tue, 19 Jun 2018 13:03:42 +0000 (09:03 -0400)]
Merge pull request #22604 from alfredodeza/wip-bluestore-config-ref

doc/bluestore: data doesn't use two partitions (ceph-disk era)

Reviewed-by: Sage Weil sage@redhat.com
7 years agoMerge PR #22595 into master
Sage Weil [Tue, 19 Jun 2018 12:38:03 +0000 (07:38 -0500)]
Merge PR #22595 into master

* refs/pull/22595/head:
common/options: dump flags

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge PR #22582 into master
Sage Weil [Tue, 19 Jun 2018 12:37:39 +0000 (07:37 -0500)]
Merge PR #22582 into master

* refs/pull/22582/head:
mon: destroy-new -> purge-new
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge PR #22602 into master
Sage Weil [Tue, 19 Jun 2018 12:21:26 +0000 (07:21 -0500)]
Merge PR #22602 into master

* refs/pull/22602/head:
doc/releases/mimic: note lack of debian builds for mimic

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agogithubmap: update contributors
Sage Weil [Tue, 19 Jun 2018 12:21:25 +0000 (07:21 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22489 into master
Sage Weil [Tue, 19 Jun 2018 12:18:52 +0000 (07:18 -0500)]
Merge PR #22489 into master

* refs/pull/22489/head:
ceph-volume lvm.common use destroy-new, doesn't need admin keyring

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22343 into master
Sage Weil [Tue, 19 Jun 2018 12:07:55 +0000 (07:07 -0500)]
Merge PR #22343 into master

* refs/pull/22343/head:
qa/standalone remove ceph-disk from activate_osd helper
cmake: remove subman.sh tests
test remove ceph-disk directory
debian: remove ceph_detect_init python files from base
qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
debian: remove ceph-disk ceph-detect-init python files
rpm: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-osd and parttypeuuid udev rules
debian: remove ceph-osd and parttypeuuid udev rules
rpm: remove ceph-osd and parttypeuuid udev rules
ceph-helpers.sh: remove ceph-disk, set up osds directly
CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
upstart: remove ceph-disk activation call
doc/install add anchor for manual osd deployment in freebsd guide
doc/dev remove ceph-disk from freebsd guide, link to manual reference
doc/dev/config-key remove ceph-disk references
doc/dev remove ceph-disk.rst
doc/dev: change ceph-disk suite examples for ceph-deploy
doc/man_index: remove ceph-disk, ceph-detect-init refs
doc/install: remove ceph-disk from freebsd examples
doc/rados remove ceph-disk from man references
doc/man remove ceph-disk ref from ceph-volume-systemd
doc/man: update reference from ceph-disk to ceph-volume
doc/man: remove ceph-disk, ceph-detect-init from cmake
doc/man/ceph-volume remove doc reference to ceph-disk
doc/man: remove ceph-disk, ceph-detect-init
qa/suites: remove ceph-disk
qa/run-standalone.sh: remove requirement for ceph-detect-init virtualenv
qa/workunits: remove ceph-detect-init from rbdmapfile test
qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
qa/workunits: remove ceph-disk
build: remove ceph-disk from freebsd script
cmake: remove ceph-disk, ceph-detect-init tox tests
init-ceph: remove ceph-disk
cmake: remove top-level entries for ceph-disk, ceph-detect-init
debian: remove ceph-detect-init references
debian: remove ceph-disk references
src: remove ceph-detect-init tool
rpm: remove ceph-disk, ceph-detect-init from spec file
test: remove subman script
script: remove subman script
udev: remove parttypeuuid rules for ceph-disk
tool remove ceph-disk from ps-ceph.pl
upstart: remove ceph-disk conf file
systemd: remove ceph-disk from CMakeLists
systemd: remove ceph-disk service
udev: remove ceph-disk rules
src: remove ceph-disk tool

7 years agoMerge pull request #22622 from jcsp/wip-doc-mgr
John Spray [Tue, 19 Jun 2018 11:43:18 +0000 (12:43 +0100)]
Merge pull request #22622 from jcsp/wip-doc-mgr

doc/mgr: note need for module.py file in plugins

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #22600 from votdev/issue_24525_improvements
Lenz Grimmer [Tue, 19 Jun 2018 10:37:20 +0000 (12:37 +0200)]
Merge pull request #22600 from votdev/issue_24525_improvements

mgr/dashboard: Fix more layout issues in UI

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agodoc/mgr: note need for module.py file in plugins 22622/head
John Spray [Tue, 19 Jun 2018 09:18:05 +0000 (10:18 +0100)]
doc/mgr: note need for module.py file in plugins

This is kind of a kludgy thing but let's at least
document it!

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Fix layout issues in UI 22600/head
Volker Theile [Mon, 18 Jun 2018 16:15:10 +0000 (18:15 +0200)]
mgr/dashboard: Fix layout issues in UI

Improve the CSS3 selectors and use the margin-left values from 'btn-toolbar' Bootstrap.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agocompressor: building error for QAT decompress 22609/head
Qiaowei Ren [Tue, 19 Jun 2018 00:38:42 +0000 (08:38 +0800)]
compressor: building error for QAT decompress

The parameter of decompress changes from 'bufferlist::iterator' to
'bufferlist::const_iterator', but chis change miss class QatAccel,
and so the building could not be successful for QAT environment.

This patch fix this error with '-DWITH_QATZIP=ON'.

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
7 years agorbd: add namespace create/remove/ls actions
Jason Dillaman [Mon, 18 Jun 2018 22:36:11 +0000 (18:36 -0400)]
rbd: add namespace create/remove/ls actions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: add namespace create/remove/list API methods
Jason Dillaman [Fri, 15 Jun 2018 13:20:55 +0000 (09:20 -0400)]
librbd: add namespace create/remove/list API methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22480 from dzafman/wip-standalone
David Zafman [Mon, 18 Jun 2018 22:15:18 +0000 (18:15 -0400)]
Merge pull request #22480 from dzafman/wip-standalone

Fixes for standalone tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotest: run-standalone move aside cores found before testing starts 22480/head
David Zafman [Fri, 8 Jun 2018 22:31:35 +0000 (15:31 -0700)]
test: run-standalone move aside cores found before testing starts

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Fail immediately if some operations fail
David Zafman [Fri, 8 Jun 2018 22:27:06 +0000 (15:27 -0700)]
test: Fail immediately if some operations fail

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Fix standalone main usage
David Zafman [Fri, 8 Jun 2018 19:03:06 +0000 (12:03 -0700)]
test: Fix standalone main usage

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Fix some function desciptions
David Zafman [Fri, 8 Jun 2018 18:56:18 +0000 (11:56 -0700)]
test: Fix some function desciptions

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Put files in private test directory
David Zafman [Fri, 8 Jun 2018 18:45:18 +0000 (11:45 -0700)]
test: Put files in private test directory

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agodoc/releases/mimic: note lack of debian builds for mimic 22602/head
Sage Weil [Mon, 18 Jun 2018 19:14:03 +0000 (14:14 -0500)]
doc/releases/mimic: note lack of debian builds for mimic

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/tests - added powercycle suite to run on weekly basis on master and mimic 22606/head
Yuri Weinstein [Mon, 18 Jun 2018 19:56:18 +0000 (12:56 -0700)]
qa/tests - added powercycle suite to run on weekly basis on master and mimic

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agodoc/bluestore: data doesn't use two partitions (ceph-disk era) 22604/head
Alfredo Deza [Mon, 18 Jun 2018 19:21:50 +0000 (15:21 -0400)]
doc/bluestore: data doesn't use two partitions (ceph-disk era)

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoosd: fix getting osd maps on initial osd startup 22585/head
Paul Emmerich [Fri, 15 Jun 2018 22:45:26 +0000 (00:45 +0200)]
osd: fix getting osd maps on initial osd startup

Commit 89d0c357964ff28b83ac541c4d946f712a7bee47 introduced a check for
deleted pools that relies on getting an older osd map that might not be
available in some situations on OSDs starting up for the very first
time.

fixes https://tracker.ceph.com/issues/24423

Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
7 years agocls/rbd: add namespace_create/remove/list API methods
Jason Dillaman [Fri, 15 Jun 2018 13:20:12 +0000 (09:20 -0400)]
cls/rbd: add namespace_create/remove/list API methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agocls/rbd: add dir_state_set/asset methods
Jason Dillaman [Thu, 14 Jun 2018 21:25:16 +0000 (17:25 -0400)]
cls/rbd: add dir_state_set/asset methods

These new methods will be utilized to add protection for namespace
creation/removal

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/librados_test_stub: implement namespace support
Jason Dillaman [Mon, 18 Jun 2018 17:47:18 +0000 (13:47 -0400)]
test/librados_test_stub: implement namespace support

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22597 from votdev/bug_24525
Lenz Grimmer [Mon, 18 Jun 2018 15:22:01 +0000 (17:22 +0200)]
Merge pull request #22597 from votdev/bug_24525

mgr/dashboard: Fix layout issues in UI

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22416 from votdev/get_rgw_api_user_via_rest
Lenz Grimmer [Mon, 18 Jun 2018 15:17:33 +0000 (17:17 +0200)]
Merge pull request #22416 from votdev/get_rgw_api_user_via_rest

mgr/dashboard: Get user ID via RGW Admin Ops API

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoceph-volume lvm.common use destroy-new, doesn't need admin keyring 22489/head
Alfredo Deza [Fri, 8 Jun 2018 19:36:17 +0000 (15:36 -0400)]
ceph-volume lvm.common use destroy-new, doesn't need admin keyring

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agocommon/options: dump flags 22595/head
Sage Weil [Mon, 18 Jun 2018 12:01:24 +0000 (07:01 -0500)]
common/options: dump flags

Also document.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Add missing blanks to fix layout issue of various texts. 22597/head
Volker Theile [Mon, 18 Jun 2018 10:19:55 +0000 (12:19 +0200)]
mgr/dashboard: Add missing blanks to fix layout issue of various texts.

This behaviour starts to occur after switching to Angular 6.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22473 from Devp00l/wip-static-testbed-changes
Lenz Grimmer [Mon, 18 Jun 2018 08:48:41 +0000 (10:48 +0200)]
Merge pull request #22473 from Devp00l/wip-static-testbed-changes

mgr/dashboard: Removed unnecessary fake services from unit tests

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21850 from jan--f/add-monitoring-grafana-dash
John Spray [Mon, 18 Jun 2018 08:01:41 +0000 (09:01 +0100)]
Merge pull request #21850 from jan--f/add-monitoring-grafana-dash

add monitoring subdir and Grafana cluster dashboard

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #22521 from tchaikov/wip-cmake-seastar-cleanup
Kefu Chai [Sun, 17 Jun 2018 05:07:47 +0000 (13:07 +0800)]
Merge pull request #22521 from tchaikov/wip-cmake-seastar-cleanup

cmake: only build extra boost libraries only if WITH_SEASTAR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoqa/cephfs: add test for "dump inode" 22569/head
taodd [Sat, 16 Jun 2018 09:44:35 +0000 (17:44 +0800)]
qa/cephfs: add test for "dump inode"

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
7 years agoMerge PR #22583 into master
Sage Weil [Fri, 15 Jun 2018 20:29:23 +0000 (15:29 -0500)]
Merge PR #22583 into master

* refs/pull/22583/head:
test/objectstore/CMakefiles: fix unittest_alloc_bench build

Reviewed-by: Mark Nelson <mnelson@redhat.com>
7 years agoMerge pull request #21494 from theanalyst/rgw-reorder-auth
Casey Bodley [Fri, 15 Jun 2018 19:54:34 +0000 (15:54 -0400)]
Merge pull request #21494 from theanalyst/rgw-reorder-auth

rgw: have a configurable authentication order

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agotest/objectstore/CMakefiles: fix unittest_alloc_bench build 22583/head
Sage Weil [Fri, 15 Jun 2018 19:22:01 +0000 (14:22 -0500)]
test/objectstore/CMakefiles: fix unittest_alloc_bench build

Broken by 434589a3206aafe94de5a3b95b67eddb2cfc3bdb.  The add_ceph_unittest
helper does more than just add this to the list of tests--it also adjusts
linking and build options.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: more debug output
Sage Weil [Fri, 15 Jun 2018 19:13:14 +0000 (14:13 -0500)]
os/bluestore: more debug output

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: destroy-new -> purge-new 22582/head
Sage Weil [Fri, 15 Jun 2018 19:05:20 +0000 (14:05 -0500)]
mon: destroy-new -> purge-new

What we actually want is a purge, not a destroy.  Destroy leaves the OSD
ID in used and allows it to be recreated.  What ceph-volume wants is to
purge all trace of the failed OSD setup.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: fix NEW flag adjustment in destroy[-new]
Sage Weil [Fri, 15 Jun 2018 18:51:03 +0000 (13:51 -0500)]
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]

Only set the NEW flag if it isn't already set.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: print cnode from _open_collections
Sage Weil [Thu, 14 Jun 2018 19:15:20 +0000 (14:15 -0500)]
os/bluestore: print cnode from _open_collections

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: print cnode on fsck
Sage Weil [Fri, 15 Jun 2018 15:41:25 +0000 (10:41 -0500)]
os/bluestore: print cnode on fsck

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22577 from ErwanAliasr1/evelu-parallel
Kefu Chai [Fri, 15 Jun 2018 16:15:30 +0000 (00:15 +0800)]
Merge pull request #22577 from ErwanAliasr1/evelu-parallel

src/test: Using gtest-parallel to speedup unittests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21998 from p-na/osd-flags-wip
Lenz Grimmer [Fri, 15 Jun 2018 14:49:51 +0000 (16:49 +0200)]
Merge pull request #21998 from p-na/osd-flags-wip

mgr/dashboard: Add ability to list,set and unset cluster-wide OSD flags to the backend

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge PR #22340 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:31:34 +0000 (07:31 -0700)]
Merge PR #22340 into master

* refs/pull/22340/head:
doc: update description of mount options for cephfs

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agomgr/dashboard: Get user ID via RGW Admin Ops API. 22416/head
Volker Theile [Tue, 5 Jun 2018 10:03:16 +0000 (12:03 +0200)]
mgr/dashboard: Get user ID via RGW Admin Ops API.

The RGW API user id (set via 'ceph dashboard set-rgw-api-user-id <xxx>') is optional but the user ID is required internally for some situations. Because of that the user ID is requested via a RGW Admin Ops API call if it is not configured via CLI.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge PR #22464 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:05:40 +0000 (07:05 -0700)]
Merge PR #22464 into master

* refs/pull/22464/head:
mds: print dir decay counters on hit
DecayCounter: removed unused velocity
DecayCounter: remove unnecessary delta member
mds: use monotonic time for DecayCounter

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #22512 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:05:36 +0000 (07:05 -0700)]
Merge PR #22512 into master

* refs/pull/22512/head:
client: fix bug #24491 _ll_drop_pins may access invalid iterator

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agomds: print dir decay counters on hit 22464/head
Patrick Donnelly [Sat, 9 Jun 2018 19:34:00 +0000 (12:34 -0700)]
mds: print dir decay counters on hit

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoDecayCounter: removed unused velocity
Patrick Donnelly [Sat, 9 Jun 2018 04:15:58 +0000 (21:15 -0700)]
DecayCounter: removed unused velocity

It's not actually used anywhere and it's not accurate.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoDecayCounter: remove unnecessary delta member
Patrick Donnelly [Fri, 8 Jun 2018 22:02:17 +0000 (15:02 -0700)]
DecayCounter: remove unnecessary delta member

We can just add/sub to val directly (especially now that decay can be called on
a const DecayCounter).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomds: use monotonic time for DecayCounter
Patrick Donnelly [Fri, 8 Jun 2018 03:40:33 +0000 (20:40 -0700)]
mds: use monotonic time for DecayCounter

This commit has a few side-effects:
- Decaying the DecayCounter is more accurate, we do not need to "skip" decaying
  the counter if it's been less than a second since the last decay. The time
  delta is now at the granularity of the monotonic clock.
- Any check of the DecayCounter results in updating the current value, even
  const checks.
- DecayRate is now established when the DecayCounter is created. There's no longer
  a need to pass the DecayRate whenever interacting with the counter.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22357 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:02:02 +0000 (07:02 -0700)]
Merge PR #22357 into master

* refs/pull/22357/head:
common/DecayCounter: set last_decay to current time when decoding decay counter

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #22289 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:01:57 +0000 (07:01 -0700)]
Merge PR #22289 into master

* refs/pull/22289/head:
mds: put Capability in map container

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22266 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:01:52 +0000 (07:01 -0700)]
Merge PR #22266 into master

* refs/pull/22266/head:
client:  update inode fields according to issued caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22234 into master
Patrick Donnelly [Fri, 15 Jun 2018 14:01:48 +0000 (07:01 -0700)]
Merge PR #22234 into master

* refs/pull/22234/head:
mds: add magic to header of open file table

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoctest: Removing unittest_alloc_bench 22577/head
Erwan Velu [Fri, 15 Jun 2018 13:57:05 +0000 (15:57 +0200)]
ctest: Removing unittest_alloc_bench

unittest_alloc_bench is very cpu consuming and can take up to 20mn to
run. As per a discussion with the original author of this code, this
test is only about testing the performance while there is no validation
code in it.

To save time from people doing make check often or even the CI itself,
removing this test will save a lot of time while not reducing the test
coverage.

This commit is only removing the test from the make check but keep the
binary being compiled for those who want to run it manually.

Signed-off-by: Erwan Velu <erwan@redhat.com>
7 years agorun-make-check: enable WITH_GTEST_PARALLEL
Kefu Chai [Fri, 15 Jun 2018 06:00:46 +0000 (14:00 +0800)]
run-make-check: enable WITH_GTEST_PARALLEL

Signed-off-by: Kefu Chai <kchai@redhat.com>