]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Sun, 10 Jun 2018 18:37:56 +0000 (13:37 -0500)]
osd/Session: fix invalid iterator dereference in Sessoin::have_backoff()
If p is i->second.end(), we do want to back up a position, but we
shouldn't dereference p for p->first.
Fixes: http://tracker.ceph.com/issues/24486
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Jun 2018 19:21:37 +0000 (14:21 -0500)]
Merge PR #22485 into master
* refs/pull/22485/head:
qa: wait longer for osd to flush pg stats
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Sat, 9 Jun 2018 15:32:29 +0000 (11:32 -0400)]
Merge pull request #22415 from trociny/wip-24399
librbd: deep_copy: resize head object map if needed
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 9 Jun 2018 15:31:48 +0000 (11:31 -0400)]
Merge pull request #22444 from trociny/wip-24434
librbd: force 'invalid object map' flag on-disk update
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 9 Jun 2018 14:22:07 +0000 (22:22 +0800)]
Merge pull request #22456 from liewegas/wip-24373
osd/PG: reset PG on osd down->up; normalize query processing
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sat, 9 Jun 2018 14:00:47 +0000 (22:00 +0800)]
Merge pull request #22429 from liewegas/wip-osd-destroy-new
mon: add 'osd destroy-new' command that only destroys NEW osd slots
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Kefu Chai [Sat, 9 Jun 2018 13:59:46 +0000 (21:59 +0800)]
Merge pull request #22463 from liewegas/wip-bluefs-types
ceph-dencoder: add bluefs types
Reviewed-by: Erwan Velu <erwan@redhat.com>
Kefu Chai [Sat, 9 Jun 2018 12:38:49 +0000 (20:38 +0800)]
Merge pull request #22454 from tchaikov/wip-seastar-denc
common: add adaptor for seastar::temporary_buffer
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 9 Jun 2018 11:57:31 +0000 (19:57 +0800)]
Merge pull request #22471 from tchaikov/wip-debian/rules-cleanup
debian: drop '-DUSE_CRYPTOPP=OFF' from cmake options
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Sat, 9 Jun 2018 06:05:56 +0000 (14:05 +0800)]
Merge pull request #22478 from liewegas/wip-24452
osd/PG: create new PGs from activate in last_peering_reset epoch
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 9 Jun 2018 05:51:18 +0000 (13:51 +0800)]
qa: wait longer for osd to flush pg stats
it's the test_create_from_mon()'s counterpart of
38074726 .
Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
David Zafman [Sat, 9 Jun 2018 03:28:44 +0000 (20:28 -0700)]
Merge pull request #22428 from dzafman/wip-24396-fix
test: Use a file that should be on all OSes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 9 Jun 2018 01:45:08 +0000 (20:45 -0500)]
messages/MOSDPGScan: encode map_epcoh for query_epoch for pre-nautilus peers
Pre-nautilus OSDs do not create last_peering_reset reliably (due to not
having the previous commit's fix in place). Avoid breaking them during
an upgrade by encoding the map_epcoh in place of the query_epoch.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 8 Jun 2018 12:29:31 +0000 (07:29 -0500)]
osd/PG: create new PGs from activate in last_peering_reset epoch
If we create a new PG (e.g., a backfill target) in the current epoch, it
might be > last_peering_reset. That can lead to last_peering_reset on
the replica having a higher last_peering_reset than the primary's, which
can then lead to future messages, like pg_scan during backfill, being
ignored.
Fixes: http://tracker.ceph.com/issues/24452
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Fri, 8 Jun 2018 17:40:25 +0000 (13:40 -0400)]
Merge pull request #22462 from liewegas/wip-bluestore-no-meta-paths
os/bluestore: don't store/use path_block.{db,wal} from meta
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Fri, 8 Jun 2018 15:52:31 +0000 (15:52 +0000)]
Merge pull request #22426 from alfredodeza/wip-rm24020
ceph-volume expand on the LVM API to create multiple LVs at different sizes
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Fri, 8 Jun 2018 12:54:07 +0000 (08:54 -0400)]
ceph-volume util make chown links affect links as well as paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 8 Jun 2018 12:57:54 +0000 (08:57 -0400)]
ceph-volume lvm.activate chown bluestore symlinks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Fri, 8 Jun 2018 13:34:53 +0000 (08:34 -0500)]
os/bluestore: make bad symlink target error messages more informative
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 8 Jun 2018 13:22:45 +0000 (21:22 +0800)]
Merge pull request #22439 from shaba/devel/fix-rocksdb
cmake: fix find system rockdb
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 8 Jun 2018 13:18:03 +0000 (21:18 +0800)]
debian: drop '-DUSE_CRYPTOPP=OFF' from cmake options
cryptopp dependency was dropped in
a18f0589
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 16 Jan 2018 11:20:29 +0000 (19:20 +0800)]
test: add test for seastar denc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 16 Jan 2018 05:54:39 +0000 (13:54 +0800)]
denc: genenalize denc interface for seastar::temporary_buffer
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 25 May 2018 04:34:33 +0000 (12:34 +0800)]
denc: specialize for denc(const T&, size_t&, uint64_t)
otherwise GCC complains that 'unsigned long int' is not a class or
namespace when trying to materialize is_const_iterator_v<>. not sure why
SFINAE does not work here, though.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Sun, 8 Oct 2017 20:28:30 +0000 (16:28 -0400)]
test: add unit test for seastar buffer
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 20 Oct 2017 00:03:18 +0000 (20:03 -0400)]
buffer: add conversion operators for seastar types
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 8 Oct 2017 22:04:23 +0000 (18:04 -0400)]
buffer: add raw type for seastar buffers
new buffer_seastar.cc implements the buffer::raw types for seastar,
built in an object library outside of libcommon
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 3 Nov 2017 23:06:31 +0000 (19:06 -0400)]
buffer: move buffer::raw to new header
this allows new raw buffer types to live outside of buffer.cc, and
potentially outside of libcommon entirely
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 23 Feb 2018 06:45:10 +0000 (14:45 +0800)]
cmake: update for accomodate seastar
* add unit_test_framework for appease seastar's find_package() call,
even we don't build seastar's tests
* some seastar functions declare their return value like:
const size_t str_len(...). and GCC does not like the "const" in it.
so silence it
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Sun, 8 Oct 2017 18:46:26 +0000 (14:46 -0400)]
cmake: add WITH_SEASTAR option
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Thu, 24 May 2018 14:24:25 +0000 (22:24 +0800)]
seastar: add seastar as a submodule
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 8 Jun 2018 12:50:28 +0000 (20:50 +0800)]
Merge pull request #22430 from tchaikov/wip-find_package-oath
cmake: find liboath using the correct name
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
Mykola Golub [Tue, 5 Jun 2018 10:20:14 +0000 (13:20 +0300)]
librbd: deep_copy: resize head object map if needed
Fixes: http://tracker.ceph.com/issues/24399
Signed-off-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Fri, 8 Jun 2018 09:46:42 +0000 (11:46 +0200)]
Merge pull request #22453 from tspmelo/fix-pool-usage
mgr/dashboard: Fix pool usage not displaying on filesystem page
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Fri, 8 Jun 2018 06:11:02 +0000 (09:11 +0300)]
Merge pull request #22443 from dillaman/wip-doc-rbd-openstack
doc/rbd: corrected OpenStack Cinder permissions for Glance pool
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sage Weil [Thu, 7 Jun 2018 22:25:48 +0000 (17:25 -0500)]
Merge PR #22447 into master
* refs/pull/22447/head:
osd/OSDMap: fix pre-addrvec compat
mon/MgrMap: fix pre-addrvec compat
messages/MMgrBeacon: fix pre-addrvec compat
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 7 Jun 2018 13:33:46 +0000 (08:33 -0500)]
osd/PG: normalize query processing in Stray and ReplicaActive
A stray PG may end up in ReplicaActive if it is participating in backfill.
However, whether it is or isn't, we should treat queries the same.
Otherwise we end up with weird behaviors like:
- osd's stray pg moves to ReplicaActive (gets info+log from primary)
- osd goes down and back up
- primary restarts peering, request FULLLOG to find missing objects
- osd ignores FULLLOG because it is ReplicaActive and not Stray
Fixes: http://tracker.ceph.com/issues/24373
Reported-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 13:20:54 +0000 (08:20 -0500)]
osd/PG: move send_notify() into RecoveryCtx
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 12:07:19 +0000 (07:07 -0500)]
osd/PG: reset PG peering if osd transitions from down -> up
Consider a PG that is stray and ends up in ReplicaActive (because it is
participating as a recovery source). If it is marked down wrongly and
then comes back up, then the PG will not reset, because there was not
an interval change (the PG is not part of the up or acting sets).
This can leave the PG in an odd state, leading to questionable behavior.
(For example, a stray might be in ReplicaActive and then ignore some
types of query messages.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 18:46:29 +0000 (13:46 -0500)]
ceph-dencoder: add bluefs types
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 17:12:46 +0000 (12:12 -0500)]
os/bluestore: don't store/use path_block.{db,wal} from meta
This reverts most of
8d07fa5ad0772b4d979dc10695d230074d1f1e69 .
ceph-volume goes to great lengths to ensure that the symlinks in the
osd dir are accurate. Having these values here is an opportunity to
get them out of sync. And that can happen very easily if the initial
mkfs was performed using a /dev/sdX device name (which is unstable
across reboots). Even after ceph-volume corrects the symlink, bluestore
will continue to use the stale device path.
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Thu, 7 Jun 2018 15:09:33 +0000 (17:09 +0200)]
Merge pull request #22403 from ricardoasmarques/wip-http-401
mgr/dashboard: Login failure should return HTTP 400
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Andrew Schoen [Thu, 7 Jun 2018 14:47:21 +0000 (14:47 +0000)]
Merge pull request #22437 from alfredodeza/wip-cv-osd-destroy
ceph-volume tests destroy osds on monitor hosts
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Patrick Donnelly [Thu, 7 Jun 2018 13:06:56 +0000 (06:06 -0700)]
Merge PR #22445 into master
* refs/pull/22445/head:
doc: fix release notes on snapshot upgrades
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Alexey Shabalin [Thu, 7 Jun 2018 11:19:41 +0000 (14:19 +0300)]
cmake: fix find system rockdb
- fix path for version.h
- fix typo ROCKDB -> ROCKSDB
Signed-off-by: Alexey Shabalin <shaba@altlinux.org>
Tiago Melo [Thu, 7 Jun 2018 10:59:13 +0000 (11:59 +0100)]
mgr/dashboard: Fix pool usage not displaying on filesystem page
Reference to the template was undefined during the init of the component.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 7 Jun 2018 09:39:48 +0000 (17:39 +0800)]
Merge pull request #22451 from wwformat/wip-gcc7-aarch64
install-deps.sh: support install gcc7 in xenial aarch64
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yunchuan Wen [Thu, 7 Jun 2018 07:51:31 +0000 (15:51 +0800)]
install-deps.sh: support install gcc7 in xenial aarch64
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
Sage Weil [Thu, 7 Jun 2018 01:07:27 +0000 (20:07 -0500)]
osd/OSDMap: fix pre-addrvec compat
This was broken by
b47d9135d5345816037899cd1d12a5a20b54e6c1 . Old code
does not decode an addrvec as an addr.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 01:06:23 +0000 (20:06 -0500)]
mon/MgrMap: fix pre-addrvec compat
This was broken by
7f787704cdcd55df18d204c5251cdd6a3cedd604 . Old code
does not decode an addrvec as an addr.
Take the opportunity to remove the old_available_modules field.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Jun 2018 01:05:17 +0000 (20:05 -0500)]
messages/MMgrBeacon: fix pre-addrvec compat
This was broken by
7f787704cdcd55df18d204c5251cdd6a3cedd604 . Old code
doesn't not decode an addrvec as an addr.
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Wed, 6 Jun 2018 22:31:12 +0000 (15:31 -0700)]
Merge PR #22388 into master
* refs/pull/22388/head:
ceph-mds: Fix usage
doc: ceph-mds option updates
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 6 Jun 2018 22:27:19 +0000 (15:27 -0700)]
Merge PR #22338 into master
* refs/pull/22338/head:
doc: update toctree for add-remove-mds.rst
doc: create add/remove metadata server
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 6 Jun 2018 21:20:53 +0000 (14:20 -0700)]
doc: fix release notes on snapshot upgrades
Fixes: https://tracker.ceph.com/issues/24435
Introduced-by: d78dda7b812c63b5504f69e9df78bea4fbb37394.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Wed, 6 Jun 2018 20:48:07 +0000 (23:48 +0300)]
librbd: force 'invalid object map' flag on-disk update
when called by object_map::RefreshRequest. Since we really only open
the object map when we own the exclusive lock.
Fixes: http://tracker.ceph.com/issues/24434
Signed-off-by: Mykola Golub <mgolub@suse.com>
Alfredo Deza [Wed, 6 Jun 2018 15:37:21 +0000 (11:37 -0400)]
ceph-volume tests functional osd destroy on mons only for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Jason Dillaman [Wed, 6 Jun 2018 18:50:24 +0000 (14:50 -0400)]
doc/rbd: corrected OpenStack Cinder permissions for Glance pool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Wed, 6 Jun 2018 17:28:46 +0000 (19:28 +0200)]
Merge pull request #22282 from rjfd/wip-dashboard-api-docs
mgr/dashboard: Swagger-UI based Dashboard REST API page
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 17:20:44 +0000 (19:20 +0200)]
Merge pull request #22387 from votdev/missing_space_value_unit
mgr/dashboard: Print a blank space between value and unit
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Alfredo Deza [Wed, 6 Jun 2018 13:02:42 +0000 (09:02 -0400)]
ceph-volume tests/functional destroy filestore osds on the monitors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ricardo Dias [Thu, 3 May 2018 14:26:37 +0000 (15:26 +0100)]
mgr/dashboard: Swagger-UI based Dashboard REST API page
Fixes: http://tracker.ceph.com/issues/23898
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Wed, 6 Jun 2018 14:55:44 +0000 (22:55 +0800)]
Merge pull request #21279 from sungjunyoung/master
doc: erasure-code-jerasure: removed default section of crush-device-class
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Jun 2018 02:27:38 +0000 (10:27 +0800)]
cmake: find liboath using the correct name
we should reference liboath by the $name in Find${name}.cmake, also the
$name should be consistent when calling find_package_handle_standard_args().
in this change
* rename Findliboath.cmake to FindOATH.cmake to be consistent with other
find_package() moduless.
* use "OATH" in find_package_handle_standard_args() instead of "oath"
* set the interface properties for OATH::OATH, so the target linking
against it can reference its header directories and libraries automatically.
* remove the stale comment for find_package_handle_standard_args()
* set OATH_INCLUDE_DIRS and OATH_LIBRARIES to follow the convention of
find_package(), even they are not used directly in this project.
Reported-by: Erwan Velu <erwan@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Wed, 6 Jun 2018 12:59:34 +0000 (08:59 -0400)]
ceph-volume tests/functional destroy bluestore osds on the monitors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Volker Theile [Mon, 4 Jun 2018 11:06:30 +0000 (13:06 +0200)]
mgr/dashboard: Print a blank space between value and unit.
When displaying values with their unit a blank space must be shown between them, see #15 at https://physics.nist.gov/cuu/Units/checklist.html.
Signed-off-by: Volker Theile <vtheile@suse.com>
Ricardo Marques [Mon, 4 Jun 2018 20:26:44 +0000 (21:26 +0100)]
mgr/dashboard: Login failure should return HTTP 400
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 10:17:31 +0000 (12:17 +0200)]
Merge pull request #21644 from p-na/grafana-proxy
mgr/dashboard: Grafana proxy backend
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 10:14:48 +0000 (12:14 +0200)]
Merge pull request #21880 from votdev/upgrade_swimlane_datatable_angular_6
mgr/dashboard: Upgrade Swimlane's data-table
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 10:05:51 +0000 (12:05 +0200)]
Merge pull request #22386 from tspmelo/fix-24281
mgr/dashboard: Changed default value of decimal point to 1
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 10:04:23 +0000 (12:04 +0200)]
Merge pull request #22404 from ricardoasmarques/wip-optimize-rbd-edit
mgr/dashboard: Do not fetch pool list on RBD edit
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 6 Jun 2018 10:02:23 +0000 (12:02 +0200)]
Merge pull request #22409 from wido/mgr-dashboard-port
mgr/dashboard: Listen on port 8443 by default and not 8080
Reviewed-by: Kai Wagner <kwagner@suse.com>
Patrick Nawracay [Thu, 19 Apr 2018 07:29:41 +0000 (09:29 +0200)]
mgr/dashboard: Add Grafana proxy
Add the ability to connect the dashboard with a Grafana instance to
display graphs from Grafana incorporated into the dashboard.
Possible configuration options:
$ ceph dashboard set-grafana-api-host <host> # Default: 'localhost'
$ ceph dashboard set-grafana-api-port <port> # Default: 3000
$ ceph dashboard set-grafana-api-scheme <scheme> # Default: 'http'
The configuration can be checked using a GET request to the API endpoint
`/api/grafana/status`. It returns a JSON response in the following
format:
{
"available": False,
"message": "<error message>",
}
The message is not returned if Grafana is available.
The Grafana proxy is reachable through
`http(s)://<host>/api/grafana/proxy`.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Junyoung, Sung [Wed, 6 Jun 2018 06:51:42 +0000 (15:51 +0900)]
doc: erasure-code-jerasure: remove crush-device-class option's unused default
Signed-off-by: Junyoung Sung <junyoung.sung@navercorp.com>
Kefu Chai [Wed, 6 Jun 2018 00:57:19 +0000 (08:57 +0800)]
Merge pull request #22365 from tone-zhang/doc_spdk
doc: update the description for SPDK in bluestore-config-ref.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Jun 2018 00:33:20 +0000 (08:33 +0800)]
Merge pull request #22356 from tone-zhang/wip-bug-24371
spdk: fix ceph-osd crash when activate SPDK
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Jun 2018 00:30:23 +0000 (08:30 +0800)]
Merge pull request #22329 from bstillwell/transaction_code_comments_corrections
os: Minor fixes in comments describing a transaction
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 5 Jun 2018 22:30:14 +0000 (17:30 -0500)]
mon: add 'osd destroy-new' command that only destroys NEW osd slots
ceph-volume may run into a problem and want to clean up, but we do not
want to give it blanket access to the 'osd destroy' command. Instead,
make an 'osd destroy-new' that can only create new OSDs (ones that are
in the process of being created but have never booted yet).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Jun 2018 22:30:39 +0000 (17:30 -0500)]
mon/MonCap: allow 'osd destroy-new' with bootstrap-osd caps
This let's ceph-volume use the new command.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Jun 2018 21:25:28 +0000 (16:25 -0500)]
Merge PR #22371 into master
* refs/pull/22371/head:
doc/conf.py: fix man page build vs governance.rst
doc/governance: adjust title
doc/governance: fix link
doc/governance: edits and add user committee
doc/governance.rst: a few notes on ceph project governance
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Sage Weil [Tue, 5 Jun 2018 21:18:36 +0000 (16:18 -0500)]
doc/conf.py: fix man page build vs governance.rst
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Jun 2018 19:38:28 +0000 (14:38 -0500)]
doc/governance: adjust title
Signed-off-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Tue, 5 Jun 2018 18:47:45 +0000 (11:47 -0700)]
Merge pull request #22408 from wumingqiao/wip-pgscan-cleanup
messages/MOSDPGScan: fix initialization of query_epoch
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
David Zafman [Tue, 5 Jun 2018 18:01:37 +0000 (11:01 -0700)]
test: Use a file that should be on all OSes
Also, create temporary files in test specific dir and remove
Caused by:
154330fd68d952a4e1b972891f02b6dc9c355424
Signed-off-by: David Zafman <dzafman@redhat.com>
Boris Ranto [Tue, 5 Jun 2018 16:38:53 +0000 (18:38 +0200)]
Merge pull request #22420 from b-ranto/wip-mgr-fix-avg
mgr: expose avg data for long running avgs
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Jun 2018 16:09:44 +0000 (11:09 -0500)]
Merge pull request #22396 from liewegas/wip-24396
osd/PrimaryLogPG: fix on_local_recover crash on stray clone
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Mon, 4 Jun 2018 17:51:11 +0000 (12:51 -0500)]
osd/PrimaryLogPG: fix on_local_recover crash on stray clone
If there is a stray clone (one that does not appear in the SnapSet) and
we do any sort of recovery on it the OSD will crash. Log an error instead
but continue.
This addresses a problem where a cluster has both (1) an unexpected clone
and (2) the clone is not present on all replicas. Doing repair on that
PG will both not fix the unexpected clone and also cause the remaining
OSDs to crash trying to recover it.
Include a test.
Fixes: https://tracker.ceph.com/issues/24396
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 5 Jun 2018 16:05:56 +0000 (00:05 +0800)]
Merge pull request #21999 from myoungwon/wip-manifest-unset-op
osd, librados: add unset-manifest op
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 5 Jun 2018 16:03:43 +0000 (00:03 +0800)]
Merge pull request #22395 from liewegas/wip-24408
osd,mds: make 'config rm ...' idempotent
Reviewed-by: Erwan Velu <erwan@redhat.com>
Kefu Chai [Tue, 5 Jun 2018 15:59:50 +0000 (23:59 +0800)]
Merge pull request #21775 from Synesis-LLC/fix-23964
librados: fix buffer overflow for aio_exec python binding
Reviewed-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Mon, 4 Jun 2018 18:08:44 +0000 (14:08 -0400)]
ceph-volume api.lvm fallback to 1 part if none are define when creating lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 4 Jun 2018 18:04:52 +0000 (14:04 -0400)]
ceph-volume tests verify create_lvs behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 23 May 2018 13:23:40 +0000 (09:23 -0400)]
ceph-volume api.lvm default to null tags on lvs created
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 22 May 2018 20:06:01 +0000 (16:06 -0400)]
ceph-deploy api.lvm allow multiple lv creation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 22 May 2018 16:58:36 +0000 (12:58 -0400)]
ceph-volume api.lvm add a sizing method for VGs to calculate LV creation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 22 May 2018 16:57:19 +0000 (12:57 -0400)]
ceph-volume exceptions create an error for size allocations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 22 May 2018 12:29:16 +0000 (08:29 -0400)]
ceph-volume tests verify vg sizing behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 21 May 2018 17:35:57 +0000 (13:35 -0400)]
ceph-volume api.lvm force vgs to display units in 'g'
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Lenz Grimmer [Tue, 5 Jun 2018 15:02:58 +0000 (17:02 +0200)]
Merge pull request #22417 from tspmelo/fix-lint-error
mgr/dashboard: fix lint error
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Wido den Hollander [Tue, 5 Jun 2018 07:32:58 +0000 (09:32 +0200)]
mgr/dashboard: Listen on port 7000 by default and not 8080
Port 8080 is a common alternative HTTP port used for web traffic.
The dashboard however uses SSL (which can not be turned off) and for
that purpose we should either use 8443.
Historically the dashboard would run on port 7000 so to keep this backwards
compatibility the dashboard should bind again on TCP 7000.
Signed-off-by: Wido den Hollander <wido@42on.com>
Lenz Grimmer [Tue, 5 Jun 2018 14:27:24 +0000 (16:27 +0200)]
Merge pull request #22402 from ricardoasmarques/wip-stacktrace-optional
mgr/dashboard: Stacktrace is optional on 'js-error' endpoint
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>