1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00
Commit Graph

88526 Commits

Author SHA1 Message Date
Kefu Chai
03c7bee4ee deb,rpm: python-cephfs should depend on python-ceph-argparse
python-ceph-argparse is required by ceph_volume_client.py. hence we do
need list it as a dependency of python-cephfs.

Fixes: http://tracker.ceph.com/issues/24919
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25 20:53:50 +08:00
Kefu Chai
8d8099b73e rpm: Revert "build/ops: rpm: python3-ceph-argparse only if Python 2 available"
This reverts commit c0b7aab381.

python3-ceph-argparse is required by ceph_volume_client.py. hence we do
need it as a dependency of python3-cephfs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25 15:22:16 +08:00
Kefu Chai
b35823cbbc deb,rpm: python-cephfs should depend on python-rados
in `cephfs.pyx` we `cimport rados`, and in
LibCephFs.create_with_rados(), Rados.cluster is accesssed without GIL,
so we need to import the rados module for cephfs to ensure that it's
safe to access this attribute without GIL.

dh_python2 and dh_python3 cannot fill ${python:Depends} and
${python3:Depends} with this dependency, so we need to set it
explicitly.

Fixes: http://tracker.ceph.com/issues/24918
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25 15:22:16 +08:00
Gregory Farnum
b8f079a653
Merge pull request from batrick/mds-state-dot
doc: add mds state transition diagram

Reviewed-by: Greg Farnum <gfarnum@redhat.com> 
Reviewed-by:  Alfredo Deza <adeza@redhat.com>
2018-07-24 14:22:08 -07:00
Matt Benjamin
b0f18b99b3
Merge pull request from fullerdj/wip-djf-24544
rgw: change default rgw_thread_pool_size to 512
2018-07-24 16:39:17 -04:00
Patrick Donnelly
41f7062e25
mds: remove ascii art version of mds state diagram
Now refer to the user documentation. Any updates should go there!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-24 13:17:25 -07:00
Patrick Donnelly
6962b4eb9b
doc: create mds state documentation
Fixes: http://tracker.ceph.com/issues/22989

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-24 13:17:21 -07:00
Yuri Weinstein
44b9132481
Merge pull request from joke-lee/wip-rgw-postobjloc
rgw: return valid Location element, PostObj

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-07-24 09:19:47 -07:00
Yuri Weinstein
c439e31913
Merge pull request from tianshan/fix_index_suggest_ut_fail
rgw: continue enoent index in dir_suggest

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-07-24 09:18:01 -07:00
Yuri Weinstein
d5e6d91131
Merge pull request from trociny/wip-24898
librbd: ensure exclusive lock acquired when removing sync point snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-24 09:17:11 -07:00
Yuri Weinstein
af1372dff7
Merge pull request from tchaikov/wip-tools-rbd-cleanup
tools/rbd: assert(g_ceph_context) not g_conf

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-24 09:16:50 -07:00
Lenz Grimmer
a4ec7f5f22
Merge pull request from votdev/hide_progress_bar
mgr/dashboard: Hide progress bar in case of an error
2018-07-24 17:40:43 +02:00
Andrew Schoen
2a19da9ede
Merge pull request from alfredodeza/wip-ansible-26
ceph-volume tests/functional use Ansible 2.6

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-24 14:22:35 +00:00
Mykola Golub
95ce595757
Merge pull request from dillaman/wip-25000
librbd: deep-copy should not write to objects that cannot exist

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-07-24 16:43:13 +03:00
John Spray
061ffa508e
Merge pull request from jcsp/wip-mgrmodule-none-docs
mgr: improve docs for MgrModule methods
2018-07-24 10:36:44 +01:00
John Spray
b4eb58dfb2
Merge pull request from wido/mgr-metadata-none
mgr: Ignore daemon if no metadata was returned

Reviewed-by: John Spray <john.spray@redhat.com>
2018-07-24 10:35:44 +01:00
John Spray
0a6cc2faa6
Merge pull request from theanalyst/wip-device-py3
mgr: devicehealth: dont error on dict iteritems

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-07-24 10:28:37 +01:00
John Spray
1d4e71ff1b
Merge pull request from jcsp/wip-mgr-intermodule
mgr: enable inter-module calls

Reviewed-by: Tim Serong <tserong@suse.com>
2018-07-24 10:25:59 +01:00
Lenz Grimmer
cdfd7b42ee
Merge pull request from tspmelo/wip-remove-karma
mgr/dashboard: Remove karma packages

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-07-24 11:09:48 +02:00
Lenz Grimmer
66580fce05
Merge pull request from tspmelo/wip-angular-cmake
mgr/dashboard: Remove angular build progress logs during cmake

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-07-24 11:03:34 +02:00
Nathan Cutler
688aac3f40
Merge pull request from smithfarm/wip-example-no-boost
example/librados: remove dependency on Boost system library

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-24 09:58:23 +02:00
Josh Durgin
3f01b63888
Merge pull request from tchaikov/wip-docker-test-cleanup
test/docker-test-helper.sh: move "cp .git/HEAD" out of loop

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-23 17:38:41 -07:00
Gregory Farnum
5699a241ff
Merge pull request from alfredodeza/wip-lvm-docs
ceph-volume: expand on why ceph-disk was replaced

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2018-07-23 16:52:12 -07:00
Yuri Weinstein
19c1a77bf9
Merge pull request from dillaman/wip-24909
osd: do not treat an IO hint as an IOP for PG stats

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-07-23 14:52:02 -07:00
Dan Mick
0366f4fd12
Merge pull request from smithfarm/wip-4640
doc/man: mention import and export commands in rados manpage
2018-07-23 14:18:15 -07:00
John Spray
4fddb181de doc/mgr: add docs for missing functions
Some functions had docstrings but were
not linked into plugins.rst, some needed
more text added.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-07-23 22:02:51 +01:00
Alfredo Deza
c0e7e8254e doc/ceph-volume expand on the ceph-disk replacement reasons
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-23 16:22:37 -04:00
Alfredo Deza
0b37258035 doc/ceph-volume reference the new ceph-disk-replacement section
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-23 16:22:13 -04:00
Alfredo Deza
4f48ceab97 ceph-volume tests/functional use testinfra latest for ansible 2.6
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-23 14:16:41 -04:00
Nathan Cutler
392c3fed5d doc/man: mention import and export commands in rados manpage
Fixes: http://tracker.ceph.com/issues/4640
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-23 19:23:33 +02:00
Alfredo Deza
9570864dd6 ceph-volume tests/functional use Ansible 2.6
The ceph-ansible project now refuses to use 2.4 even though it works
with that version

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-23 10:18:34 -04:00
Tiago Melo
b85d3c6920 mgr/dashboard: Remove karma packages
Since we are no longer using karma for the frontend unit tests, we will remove
all the related packages and configurations.

This includes the removal of the phantomjs package.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-23 14:04:43 +01:00
Nathan Cutler
a2dcee6ce3
Merge pull request from smithfarm/wip-24800
doc: use :command: for subcommands in ceph-bluestore-tool manpage

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-07-23 12:41:06 +02:00
Tiago Melo
74230edfe4 mgr/dashboard: Remove angular build progress logs during cmake
Currently Angular CLI is polluting the jenkins logs, by inserting a new line
each time the build process is updated.
With this change Angular CLI will only output the necessary information about
the start and end of the build.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-23 11:20:04 +01:00
Volker Theile
95c63a45b6 mgr/dashboard: Hide progress bar in case of an error
- Enhance datatable to handle loading errors.
- Add warning panel component
- Modify the icon of the error panel component
- Use cd-[info|warning|error]-panel in the cd-view-cache component

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-07-23 11:53:51 +02:00
Kefu Chai
c4731ec64e
Merge pull request from tchaikov/wip-cmake-cleanups
cmake: cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-23 00:33:32 +08:00
Nathan Cutler
88d3cfdb1e
Merge pull request from smithfarm/wip-backport-script
script: new ceph-backport.sh script

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-22 09:28:27 +02:00
Kefu Chai
98c3b1944a
Merge pull request from smithfarm/wip-22558
build/ops: rpm: provide files moved from ceph-test …

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-22 15:23:36 +08:00
Kefu Chai
6a93437310 tools/rbd: assert(g_ceph_context) not g_conf
see also 813cd5d591

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-22 13:01:54 +08:00
Kefu Chai
b254095801 cmake: extract ceph-dencoder related stuff out
let's modularize the cmake file piecemeal.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-22 10:01:14 +08:00
Kefu Chai
be300380ce cmake: Finddpdk: add dpdk::${component} libs
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-22 09:55:23 +08:00
Nathan Cutler
e836b004fc
Merge pull request from smithfarm/wip-24017
tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash

Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-21 20:24:26 +02:00
Nathan Cutler
ed76f04c68 example/librados: remove dependency on Boost system library
109e6022be introduced "-lboost_system" into
example/librados/Makefile but the Boost system library is no longer required
to compile and link hello_world.cc.

Fixes: http://tracker.ceph.com/issues/25054
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-21 12:22:49 +02:00
Nathan Cutler
2555524f1f tests: upgrade/luminous-x: whitelist REQUEST_SLOW for rados_mon_thrash
Fixes: http://tracker.ceph.com/issues/25051
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-21 11:31:20 +02:00
Nathan Cutler
341d985673 build/ops: rpm: provide files moved from ceph-test
d7b493a710 moved three binaries from the
ceph-test package to other packages, causing trouble with upgrades in
test lab environments (users typically do not install the ceph-test
package).

While the original upgrade troubles have already been addressed, RPM
has a "Provides" mechanism for easing the pain, so it makes sense to
use it.

Fixes: http://tracker.ceph.com/issues/22558
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-21 10:14:02 +02:00
Patrick Donnelly
4f882f0405
Merge PR into master
* refs/pull/23139/head:
	mds: avoid using g_conf().get_val<...>(...) in hot path

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-20 20:54:33 -07:00
Patrick Donnelly
9dcbe8c33e
Merge PR into master
* refs/pull/22977/head:
	qa/tasks/cephfs: add test for discontinuous mdsmap
	mds: handle discontinuous mdsmap

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-20 20:53:06 -07:00
Patrick Donnelly
bc678b4e3d
Merge PR into master
* refs/pull/23022/head:
	mds: health warning for slow metadata IO

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-20 20:27:17 -07:00
Patrick Donnelly
c7fe1e11e9
Merge PR into master
* refs/pull/23063/head:
	mds: increase debug level for dropped client cap msg

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-07-20 20:23:12 -07:00
Patrick Donnelly
0a4959318e
Merge PR into master
* refs/pull/23062/head:
	mds: dump recent events on respawn

Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-20 20:18:11 -07:00