Commit Graph

100308 Commits

Author SHA1 Message Date
Sebastian Wagner
ee6a415cbb mgr/rook: monkey-patch for CoreV1Api.list_node
`kubernetes.client.apis.core_v1_api.CoreV1Api#list_node` is
broken and needs a monkey patch. Might be related to
an incompatible k8s cluster version.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-31 10:15:38 +02:00
Sebastian Wagner
76b66d904d mgr/orchestrator: better format service ls
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-31 10:15:31 +02:00
Sebastian Wagner
676bde1741 mgr/rook: Implement fallback for CentOS 7
`kubernetes-client` requires `urllib3` > 1.15, but CentOS 7 ships 1.10

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-31 10:15:15 +02:00
Sebastian Wagner
29aeebb40f mgr/rook: Move KubernetesResource to rook_cluser.py
Use `KubernetesResource` as cache for pods, inventory maps and nodes.
This is required for the dashboard.

Also:
  properly return K8s nodes
  fix minor issues

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-31 09:59:36 +02:00
Paul Cuzner
00cfc5c402 mgr/rook: Add feature to gather k8s storageclass information
Provide ability to fetch or watch k8s resources,
and hold the resulting objects in a dict. A method
has been added to the rook module to allow other
mgr modules to fetch the state of specific k8s
resources.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2019-07-31 09:57:33 +02:00
Sage Weil
9cb6108eb7 Merge PR #29363 into master
* refs/pull/29363/head:
	qa/suites/multimds/basic/tasks/ceph_test_snapshots: disable RECENT_CRASH
	qa/suites/kcephfs/recovery/failover.yaml: disable RECENT_CRASH
	qa/suites/fs/multifs/tasks/failover.yaml: disable RECENT_CRASH

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-30 22:46:55 -05:00
Sage Weil
4e69c42872 Merge PR #29185 into master
* refs/pull/29185/head:
	os/bluestore: add tail length when caculating reserved buffer size
	os/bluestore: record next_offs when offset is not sequential.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-07-30 21:55:04 -05:00
Sage Weil
34a27a58ee Merge PR #29356 into master
* refs/pull/29356/head:
	pybind/mgr/restful: use dict.items() for py3 compatibility

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-07-30 21:54:36 -05:00
Josh Durgin
bf1e860b84
Merge pull request #29098 from liewegas/wip-unhexdump-c
src/script/unhexdump-C: script to reverse a 'hexdump -C' style hexdump

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-30 18:27:27 -07:00
Casey Bodley
99966b3e1e
Merge pull request #29394 from mkogan1/wip-rgw-bi-list-shard-id
rgw: add option to specify shard-id for "bi list" admin command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-07-30 15:16:56 -04:00
Patrick Donnelly
ad574171ca
Merge PR #29362 into master
* refs/pull/29362/head:
	Update nautilus release for 14.2.2
	Updated schedule with latest Nautilus release

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-30 11:40:56 -07:00
Patrick Donnelly
0f31e1e1fb
Merge PR #28239 into master
* refs/pull/28239/head:
	cephfs-shell: Add tox for testing with flake8

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-30 11:35:13 -07:00
Andrew Schoen
eb48959d2e
Merge pull request #29386 from alfredodeza/wip-rm40987
ceph-volume  simple: better detection when 'type' file is not present

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-07-30 13:33:40 -05:00
Varsha Rao
e90d58208d
cephfs-shell: Add tox for testing with flake8
Fixes: https://tracker.ceph.com/issues/39947
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-30 10:34:24 -07:00
Patrick Donnelly
6015ff4cf6
Merge PR #29331 into master
* refs/pull/29331/head:
	common: add comment about pod memory requests/limits

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-07-30 10:14:57 -07:00
Kefu Chai
32595268a3
Merge pull request #29161 from valentinbajrami/improve-grep-regex
src/script/check_commands.sh: fix grep regex class range

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-30 22:09:32 +08:00
Mark Kogan
b0f6946a85 rgw: add option to specify shard-id for "bi list" admin command
related to: https://tracker.ceph.com/issues/40700
Signed-off-by: Mark Kogan <mkogan@redhat.com>
2019-07-30 08:55:07 -04:00
Valentin Bajrami
02ebe3c344
src/script/check_commands.sh: fix grep regex class range
Correct the faulty regex class.

Signed-off-by: Valentin Bajrami <valentin.bajrami@gmail.com>
2019-07-30 11:14:20 +02:00
Sebastian Wagner
475159ec73
Merge pull request #28915 from sebastian-philipp/python-common-package-2
python-common:  Python common package

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-07-30 09:31:34 +02:00
Sebastian Wagner
3999238081
Merge pull request #27336 from SUSE/wip-orchestrator-deepsea-iscsi-ganesha
mgr/deepsea: return ganesha and iscsi endpoint URLs

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-30 09:13:25 +02:00
Jan Fajerski
60fe6eac74
Merge pull request #29387 from ceph/wip-ceph-volume-tests-no-dashboard
ceph-volume: when testing disable the dashboard
2019-07-30 08:23:59 +02:00
Kefu Chai
3169da7a1a
Merge pull request #29347 from smithfarm/wip-40974
rpm: improve ceph-mgr plugin package summaries

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-30 12:46:37 +08:00
Kefu Chai
bcd4ed6724
Merge pull request #29346 from smithfarm/wip-40973
rpm: fdupes in SUSE builds to conform with packaging guidelines

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-30 12:44:32 +08:00
Kefu Chai
227d1e9486
Merge pull request #29367 from tchaikov/wip-doc-crush-rule
doc/rados/operations: crush_rule is a name

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-07-30 09:28:08 +08:00
Kefu Chai
d59090afe0
Merge pull request #29368 from tchaikov/wip-40618
qa/tasks/mgr/test_progress.py: s/ev/new_event/

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-30 09:27:29 +08:00
Sage Weil
90f04775fc qa/suites/multimds/basic/tasks/ceph_test_snapshots: disable RECENT_CRASH
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-29 18:17:15 -05:00
Patrick Donnelly
3f3189b4d4
Merge PR #28804 into master
* refs/pull/28804/head:
	mds: delay exporting directory whose pin value exceeds max rank id

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-29 14:53:28 -07:00
Patrick Donnelly
ecf49c0820
Merge PR #29339 into master
* refs/pull/29339/head:
	client: don't report any vxattrs to listxattr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
2019-07-29 14:49:29 -07:00
Patrick Donnelly
7cec28542e
Merge PR #29304 into master
* refs/pull/29304/head:
	cephfs: avoid map been inserted by mistake

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-29 14:47:03 -07:00
Patrick Donnelly
7b59c02c87
Merge PR #29321 into master
* refs/pull/29321/head:
	Client: unlink dentry for inode with llref=0

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-07-29 14:45:44 -07:00
Andrew Schoen
7b7ff0d530 ceph-volume: when testing disable the dashboard
ceph-ansible has started enabling the dashboard by
default as of https://github.com/ceph/ceph-ansible/pull/4268

Disabling the dashboard gets us around needing to run
the grafana_server role which is required for the dashboard
and not needed for ceph-volume functional tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2019-07-29 15:25:19 -05:00
Patrick Donnelly
618c3576c0
Merge PR #29338 into master
* refs/pull/29338/head:
	qa: ignore expected MDS_CLIENT_LATE_RELEASE warning

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-07-29 13:10:02 -07:00
Patrick Donnelly
2a82081f77
Merge PR #28825 into master
* refs/pull/28825/head:
	qa: wait for kernel client death
	qa: use hard_reset to reboot kclient

Reviewed-by: David Galloway <dgallowa@redhat.com>
2019-07-29 13:08:29 -07:00
Alfredo Deza
e48ad3ab26 ceph-volume tests: ensure that better heuristics exist for objectstore detection
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-07-29 15:50:14 -04:00
Alfredo Deza
b6a449e2e3 ceph-volume simple.activate better detect bluestore/filestore when type is not found
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-07-29 15:46:48 -04:00
JuanJose "JJ" Galvez
e710657683 Update nautilus release for 14.2.2
Nautilus v14.2.2 added to releases

Signed-off-by: JuanJose Galvez <juanjose.galvez@gmail.com>
2019-07-29 18:13:25 +00:00
JuanJose "JJ" Galvez
ae836e38c1 Updated schedule with latest Nautilus release
Signed-off-by: JuanJose Galvez <juanjose.galvez@gmail.com>
2019-07-29 18:13:07 +00:00
Patrick Donnelly
65ee02da75
Merge PR #29374 into master
* refs/pull/29374/head:
	cephfs-shell: Fix flake8 line too long error
	cephfs-shell: Fix flake8 line break after binary operator error
	cephfs-shell: Fix flake8 continuation line over-indented for hanging indent error
	cephfs-shell: Fix flake8 missing whitespace around arithmetic operator error
	cephfs-shell: Fix multiple spaces after ':' flake8 error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-29 10:37:15 -07:00
Casey Bodley
2c242ed58f
Merge pull request #27780 from theanalyst/cls-timeindex-denc
cls: add timeindex types to ceph-dencoder

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-29 11:37:15 -04:00
Ricardo Dias
fa2508e215
Merge pull request #29182 from dcasier/mgr-dashboard-ganesha-fix-cephfs-name
mgr/dashboard: ganesha: Specify the name of the filesystem (create_path)

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-07-29 16:03:06 +01:00
Ricardo Marques
9479700df5
Merge pull request #29138 from Reperator/dashboard-pw-hash
mgr/dashboard: support setting password hashes

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-29 15:29:41 +01:00
Varsha Rao
98f369150c cephfs-shell: Fix flake8 line too long error
https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-29 17:15:35 +05:30
Varsha Rao
e8367831c0 cephfs-shell: Fix flake8 line break after binary operator error
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-29 17:15:35 +05:30
Varsha Rao
1e22b1e8d0 cephfs-shell: Fix flake8 continuation line over-indented for hanging indent error
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-29 17:15:35 +05:30
Varsha Rao
d036bb6030 cephfs-shell: Fix flake8 missing whitespace around arithmetic operator error
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-29 17:15:35 +05:30
Varsha Rao
49e6a1e394 cephfs-shell: Fix multiple spaces after ':' flake8 error
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-07-29 17:15:35 +05:30
Ricardo Marques
28a1e3cf79
Merge pull request #29272 from votdev/issue_40925
mgr/dashboard: Various UI issues related to CephFS

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-29 11:24:11 +01:00
Ricardo Marques
572d29c69e
Merge pull request #29216 from rafaelquint/configtest
mgr/dashboard: E2E test to verify Configuration editing functionality

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-29 11:09:04 +01:00
Ricardo Marques
29ceac2a8d
Merge pull request #29324 from adk3798/typepages
mgr/dashboard: Explicitly type page variables

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-07-29 11:01:16 +01:00
Ricardo Dias
a48f72032e
Merge pull request #29371 from bk201/wip-40971
mgr/dashboard: fix MDS counter chart is not displayed

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-07-29 10:52:56 +01:00