Commit Graph

92449 Commits

Author SHA1 Message Date
Nathan Cutler
fbea0e658a
Merge pull request #25223 from smithfarm/wip-rhel-8-py3
build/ops: rpm: RHEL 8 needs Python 3 build

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-11-27 00:53:30 +01:00
Nathan Cutler
6c6ae9e30d qa/workunits/rados/test_librados_build.sh: grab files from explicit git branch
Fixes: https://tracker.ceph.com/issues/37392
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-11-27 00:34:17 +01:00
Gregory Farnum
700ca354ac
Merge pull request #25215 from majianpeng/test_shared_cache_memory_leak
test_shared_cache: fix memory leak.
2018-11-26 09:50:39 -08:00
Tiago Melo
091bd4b5b4 mgr/dashboard: Add i18n validation script
This will check if there are new strings, validate them and ask the developer
to commit and fix those.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-26 17:43:54 +00:00
Sage Weil
630a36a509 Merge PR #24798 into master
* refs/pull/24798/head:
	fix python collections module warning for v3.7 and above

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-26 11:25:19 -06:00
Sage Weil
92dee26e88 Merge PR #25054 into master
* refs/pull/25054/head:
	test/objectstore: enable fsck when needed.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-26 11:24:58 -06:00
Kefu Chai
f97978e289
Merge pull request #25247 from wjwithagen/wjw-fix-linker
do_freebsd.sh: FreeBSD building needs the llvm linker

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-27 00:33:52 +08:00
Mykola Golub
d655863008
Merge pull request #25194 from dillaman/wip-36650
librbd: extend API to include parent/child namespaces and image ids

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-26 18:27:37 +02:00
Lenz Grimmer
3d7b3aa71e
Merge pull request #24831 from p-na/wip-pna-cleanup-fe
mgr/dashboard: Cleanup

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-26 16:31:37 +01:00
Sage Weil
c69358ce01 Merge PR #24732 into master
* refs/pull/24732/head:
	os/bluestore: fix missing assert->ceph_assert replacement.
	os/bluestore: add bluefs perf counters to track DB/WAL/Slow volume

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-26 09:21:22 -06:00
Sage Weil
d4cf2208aa Merge PR #24499 into master
* refs/pull/24499/head:
	common: reorder bl::iter to reduce its size from 40 to 32 on x86_64.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-11-26 09:20:39 -06:00
Sage Weil
779c08afad Merge PR #25248 into master
* refs/pull/25248/head:
	mgr: fix Clang warning on superfluous brackets

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-26 09:20:21 -06:00
Sage Weil
defd3b1e77 Merge PR #24949 into master
* refs/pull/24949/head:
	include/ceph_features: note kernel versions some features appear

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-26 08:33:52 -06:00
Sebastian Wagner
a3e6f569b4 ceph-volume: fix JSON output in inventory
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-11-26 14:22:12 +01:00
Kefu Chai
232437c518
Merge pull request #25225 from Aran85/sangfor-aff
mailmap,organization: Update sangfor affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-26 20:31:32 +08:00
Kefu Chai
e8895cef8f
Merge pull request #25150 from majianpeng/shared_cache_race_bug
common/shared_cache: fix racing issues

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-26 18:52:21 +08:00
Kefu Chai
0b37365dad
Merge pull request #25165 from hsiang41/mgr/diskprediction_cloud_global_config
mgr: Diskprediction cloud activate when config changes

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-26 18:51:29 +08:00
Kefu Chai
b7def6f797
Merge pull request #25105 from tchaikov/wip-ceph-mutex-common
common: Mutex -> ceph::mutex

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-26 18:49:12 +08:00
Kefu Chai
2c6aea1c16 tools/ceph-dencoder: conditionally link against mds
ceph-dencoder should not link against libmds if WITH_CEPHFS is OFF.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-26 18:13:28 +08:00
Zengran Zhang
2bd75e3221 mailmap,orgnization: Update sangfor affiliation
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
2018-11-26 17:03:14 +08:00
Lenz Grimmer
924c36dde5
Merge pull request #23834 from DikshaGodbole/wip-feature-24571
mgr/dashboard: Move Cluster/Audit logs from front page to dedicated Logs page

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-26 09:11:15 +01:00
Kefu Chai
107c1225c3 ceph_kvstorebench: include <errno.h> not asm-generic/errno.h
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-26 16:08:20 +08:00
Yehuda Sadeh
c98db4e4b8
Merge pull request #25239 from cbodley/wip-rgw-rados-aio-cleanup
rgw: remove unused aio helper functions

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-26 08:28:10 +02:00
Sage Weil
825930b79b Merge PR #17526 into master
* refs/pull/17526/head:
	qa/tasks/ceph_manager: avoid test_map_discontinuity stall with too few up osds

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-11-25 21:21:02 -06:00
Sage Weil
c9d275a0e2 Merge PR #21444 into master
* refs/pull/21444/head:
	qa: Replace 'ceph' with cluster name in restart()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-25 21:20:44 -06:00
Sage Weil
74b0bf872f Merge PR #25185 into master
* refs/pull/25185/head:
	auth/AuthSessionHandler: no handler if no session key

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-11-25 21:20:18 -06:00
Kefu Chai
fb93fda50f tests: add ubuntu 18.04 dockerfile
ubuntu bionic is an LTS release. while 17.04 is not. so move 17.04 to
18.04

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-26 11:19:36 +08:00
Willem Jan Withagen
3fc8b8f4f9 mgr: fix Clang warning on superfluous brackets
```
/home/jenkins/workspace/ceph-master/src/mgr/OSDPerfMetricTypes.h:105:19: warning: braces around scalar initializer [-Wbraced-scalar-init]
        d.regex = {d.regex_str.c_str()};
                  ^~~~~~~~~~~~~~~~~~~~~
1 warning generated.
```

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-25 16:18:16 +01:00
Willem Jan Withagen
6ef950e868 build: FreeBSD building needs the llvm linker
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-25 15:38:54 +01:00
Jason Dillaman
5dfe4f93d5 rbd: avoid usage of newly deprecated API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-25 07:59:41 -05:00
Jason Dillaman
ab74cc24eb rbd: expose optional namespace in parent/child image output
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-25 07:59:41 -05:00
Jason Dillaman
3d5f055a07 librbd: expand API to include namespaces and image ids
The get parent and list children methods now return a common
struct that includes the full pool details (including the
optional namespace). Additionally, a new image list method has
been added which includes both the name and id (of v2 images).

Fixes: http://tracker.ceph.com/issues/36650
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-25 07:59:40 -05:00
Mykola Golub
f89c75f184
Merge pull request #25206 from dillaman/wip-36622
pybind/rbd: add namespace helper API methods

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-25 10:56:21 +02:00
Changcheng Liu
ae5a294000 make-debs.sh: clean dir to avoid build deb packages error
Without this patch, it'll hit build error in the 2nd time.
Example:
make-deb.sh  #no error: first time
make-deb.sh  #hit error: second time

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2018-11-24 13:17:12 +08:00
Diksha Godbole
c8820b8b56 mgr/dashboard: Added new logs component
Added new Logs component and created a cluster->logs menu item. Moved the logs from the dashboard home page to the dedicated logs page.Additional comments resolved.Dropped Logs from health component.

Fixes: https://tracker.ceph.com/issues/24571
Signed-off-by: Diksha Godbole <diksha.godbole@gmail.com>
2018-11-23 19:02:31 +05:30
Lenz Grimmer
60d4fa608e
Merge pull request #25221 from tspmelo/wip-37354
mgr/dashboard: Fix test_remove_not_expired_trash qa test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-11-23 13:03:45 +01:00
Lenz Grimmer
dc8237e94d
Merge pull request #24757 from votdev/issue_36480
mgr/dashboard: Can't handle user editing when tenants are specified

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-23 12:36:26 +01:00
hsiang41
579c1778a3 mgr: Diskprediction_cloud action when config changes
Trigger diskprediction cloud action when receive notify configuration changed.

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
2018-11-23 17:28:50 +08:00
Kefu Chai
4e2cb89ff2
Merge pull request #25186 from tchaikov/wip-vive-le-make-install
cmake: do not pass unnecessary param to setup.py

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-11-23 09:30:28 +08:00
Jason Dillaman
1407693889
Merge pull request #25197 from iridescent-rsy/fix-typo
rbd-mirror,common: fix typos in logging messages and comments

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-22 10:51:45 -05:00
Jason Dillaman
f664422ff1
Merge pull request #25202 from trociny/wip-doc-rbd-qos
doc: describe RBD QoS settings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-11-22 10:50:54 -05:00
Jason Dillaman
ef634fd434 pybind/rbd: fix python3 runtime compatibility issues
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-22 09:49:53 -05:00
Nathan Cutler
7d03d522bc build/ops: rpm: RHEL 8 needs Python 3 build
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-11-22 14:31:54 +01:00
Jan Fajerski
ed05b163e7
Merge pull request #25182 from jan--f/mgr-prometheus-doc-mention-instance-label
doc/mgr/prometheus: readd section about custom instance labels
2018-11-22 14:29:43 +01:00
Sebastian Wagner
a7f1a24f8e
Merge pull request #25119 from sebastian-philipp/doc-orchestrator-cli-spec
doc/orchestrator: Integrate CLI specification into the documentation

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-11-22 13:59:34 +01:00
Tiago Melo
0f6e8e5f3d mgr/dashboard: Fix test_remove_not_expired_trash qa test
Fixes: http://tracker.ceph.com/issues/37354

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-22 11:39:24 +00:00
Lenz Grimmer
c881d63a69
Merge pull request #25144 from rhcs-dashboard/wip-37295-master
mgr/dashboard: Show pool dropdown for block-mgr

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-11-22 10:54:02 +01:00
Lenz Grimmer
ddd8250cdc
Merge pull request #25159 from tspmelo/wip-i18n-doc
mgr/dashboard: Update I18N documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-11-22 10:53:22 +01:00
Nathan Cutler
3fd4629662
Merge pull request #25181 from smithfarm/wip-37301
build/ops: rpm: stop install-deps.sh clobbering spec file Python build setting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2018-11-22 10:12:09 +01:00
Kefu Chai
c2612cf9db
Merge pull request #25205 from smithfarm/wip-37330
build/ops: do_cmake.sh: automate py3 build options for certain distros

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-22 16:53:13 +08:00