Commit Graph

103976 Commits

Author SHA1 Message Date
Ricardo Marques
1a9cd92d23 mgr/dashboard: RBD tests must use pools with power-of-two pg_num
Fixes: https://tracker.ceph.com/issues/42709

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-11-08 15:43:58 +00:00
Sage Weil
457b9560a3 Merge PR #31477 into master
* refs/pull/31477/head:
	ceph-daemon: unmount osd data dir during `adopt`

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-08 09:15:50 -06:00
Sage Weil
a5eb253105 Merge PR #31478 into master
* refs/pull/31478/head:
	ceph-daemon: add --skip-pull
	ceph-daemon: add explicit pull at bootstrap start

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-08 07:22:59 -06:00
Sage Weil
3e9a2d8065 Merge PR #31177 into master
* refs/pull/31177/head:
	doc: update with zone bucket and straw2 addition

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-08 07:22:05 -06:00
Sage Weil
ef97d90b95 Merge PR #31476 into master
* refs/pull/31476/head:
	ceph-daemon: make mon container privileged

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2019-11-08 07:11:20 -06:00
Sage Weil
60c891d48e ceph-daemon: add --skip-pull
It occurs to me there might be cases where the user *doesn't* want to pull
the latest image (e.g., because it is a partially disconnected enviroment,
and they know the image is already in the local registry).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-08 07:10:53 -06:00
Sage Weil
0b7956c6e5 Merge PR #31464 into master
* refs/pull/31464/head:
	ceph-daemon: help users find the shell/CLI too
	ceph-daemon: enable the dashboard during bootstrap
	ceph-daemon: add CLI helper to bootstrap

Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Kai Wagner <kwagner@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-08 07:08:46 -06:00
Jan Fajerski
037fe019b4
Merge pull request #31479 from rishabh-d-dave/cv-dd-sync
ceph-volume: use fsync for dd command
2019-11-08 14:01:29 +01:00
Jan Fajerski
01904346a9
Merge pull request #29041 from jan--f/c-v-too-small-disks-unavailable
ceph-volume: reject disks smaller then 5GB in inventory
2019-11-08 13:52:45 +01:00
Jason Dillaman
4a6c1ec14b
Merge pull request #31260 from trociny/wip-42405
rbd-mirror: removing non-primary trash snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-08 07:35:41 -05:00
Jason Dillaman
97db9473fc
Merge pull request #31188 from zy751713126/rbd_features
librbd: features converting bitmask and string API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-08 07:35:05 -05:00
Sebastian Wagner
1e9be56d49
Merge pull request #31457 from jschmid1/ssh_orch_dev_env
mgr/ssh: update ssh-orch bootstrap guide (Vagrantfile & docs)

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-08 13:20:49 +01:00
Lenz Grimmer
60406199b4
mgr/dashboard: do not show non-pool data in pool details (#31456)
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-08 11:36:22 +00:00
Lenz Grimmer
9880140ced
mgr/dashboard: Fix grafana dashboards (#31219)
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2019-11-08 11:08:11 +00:00
Lenz Grimmer
178ea7b854
Merge pull request #31189 from bk201/wip-42075
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-08 10:58:38 +00:00
Sebastian Wagner
3b31eea7fd
Merge pull request #31021 from sebastian-philipp/python-common-make-drive-selection
python-common: Add drive selection

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-08 11:20:50 +01:00
Rishabh Dave
060f54960c ceph-volume: use fsync for dd command
fsync makes sure that data and metadata is actually written to device
being zapped before finishing.

Fixes: https://tracker.ceph.com/issues/39156
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-08 12:34:27 +05:30
Sage Weil
0ee79e1a54 ceph-daemon: add explicit pull at bootstrap start
This is less confusing for users since the pull can be slow and the
uid/gid check is a weird thing to hang on for a long time.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 21:43:37 -06:00
Michael Fritch
e23ed6df5c
ceph-daemon: unmount osd data dir during adopt
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-07 17:13:18 -07:00
Sage Weil
ba6ab8ced7 ceph-daemon: make mon container privileged
libudev needs to be privileged in order to query the underlying hardware
devices, as reported by the 'ceph device ...' command set, and to scrape
smart metrics, etc.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 17:14:52 -06:00
Sage Weil
2eaa41748b ceph-daemon: help users find the shell/CLI too
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 16:20:23 -06:00
Sage Weil
fdfddb3aaa ceph-daemon: enable the dashboard during bootstrap
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 16:20:23 -06:00
Jason Dillaman
9d23144cbe
Merge pull request #31221 from weiyingze-git/patch
test: add test_remove_snap_ImageNotFound test case in remove snap part

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-07 15:25:03 -05:00
Casey Bodley
7f068cb5b7
Merge pull request #31414 from cbodley/wip-qa-rgw-more-crypto-backend
qa/rgw: use 'testing' kms backend for other rgw subsuites

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-11-07 14:15:29 -05:00
Sage Weil
5e8870da8f Merge PR #31398 into master
* refs/pull/31398/head:
	pybind/mgr/pg_autoscaler: implement shutdown method

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2019-11-07 10:58:46 -06:00
Sage Weil
5def1df5e8 Merge PR #31064 into master
* refs/pull/31064/head:
	test: Test balancer module commands
	mgr: Improve balancer module status
	mgr: Release GIL before calling OSDMap::calc_pg_upmaps()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-07 10:57:56 -06:00
Sage Weil
b7fb76e8a1 Merge PR #30976 into master
* refs/pull/30976/head:
	cmake: bump libceph-common SO version for compliance

Reviewed-by: Tim Serong <tserong@suse.com>
2019-11-07 10:55:59 -06:00
Jan Fajerski
34bd75a942 ceph-volume: reject disks smaller then 5GB in inventory
Volumes smaller than 5GB won't be created anyway. This also guards
against drives with size 0, as can happen in mdraid setups.

Fixes: http://tracker.ceph.com/issues/40776

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-11-07 17:10:54 +01:00
Sage Weil
147b576be4 Merge PR #31438 into master
* refs/pull/31438/head:
	mgr/ssh: implement blink_device_light

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-07 10:10:16 -06:00
Sage Weil
f0d399bc68 Merge PR #31462 into master
* refs/pull/31462/head:
	mgr/ssh: remove superfluous parameters

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-07 09:41:59 -06:00
Sage Weil
419965a52b Merge PR #31445 into master
* refs/pull/31445/head:
	ceph-daemon: set container_image during bootstrap

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-11-07 09:41:19 -06:00
Sage Weil
ff2e27ab30 ceph-daemon: add CLI helper to bootstrap
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 08:17:46 -06:00
Sage Weil
a9b5fa6303 mgr/ssh: implement blink_device_light
On my test box I get as far as

  NO_SUPPORT(153): SCSI VPD page 0x83 is not supported

because my hardware doesn't support this.  The same command works
on another box that does.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 07:56:23 -06:00
Sage Weil
1fc600c5e7 Merge PR #31443 into master
* refs/pull/31443/head:
	ceph-daemon: fix 'version' field for legacy `ls`

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-07 07:55:43 -06:00
Sage Weil
8f855389af Merge PR #31458 into master
* refs/pull/31458/head:
	ceph-daemon: Only run in the __main__ scope

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-07 07:55:14 -06:00
Sage Weil
60ddc4d97e ceph-daemon: set container_image during bootstrap
Set the new cluster's container_image to match the image we bootstrapped
with.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 07:51:11 -06:00
Sage Weil
992499c7bc Merge PR #31463 into master
* refs/pull/31463/head:
	ceph-daemon: switch default image

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-07 07:49:49 -06:00
Sage Weil
c19a797bb0 Merge PR #31448 into master
* refs/pull/31448/head:
	ceph-daemon: make 'ls' log less noisy

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2019-11-07 07:27:16 -06:00
Sage Weil
d98714cde3 ceph-daemon: switch default image
Use this until octopus is ready.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-07 07:25:48 -06:00
Joshua Schmid
c26218fd30 mgr/ssh: remove superfluous parameters
in _set_ssh_config and _clear_ssh_config

Signed-off-by: Joshua Schmid <jschmid@suse.de>
2019-11-07 13:44:20 +01:00
Lenz Grimmer
66222117c1
mgr/{dashboard,prometheus}: return FQDN instead of '0.0.0.0' (#31430)
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-07 12:18:39 +00:00
Joshua Schmid
c068fa1303 mgr/ssh: move and adapt documentation for ssh-orchestrator
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2019-11-07 12:45:50 +01:00
Lenz Grimmer
258c48c224
mgr/dashboard: Use htmllint (#30998)
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-07 11:42:09 +00:00
Lenz Grimmer
f7d731f849
mgr/dashboard: Set iSCSI disk WWN and LUN number from the UI (#31056)
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-07 11:11:31 +00:00
Thomas Bechtold
55541d3f86 ceph-daemon: Only run in the __main__ scope
That makes unit testing easier to setup because the code is not loaded
when ceph-daemon gets imported. Instead it is only loaded when
executed.
For that, the parser also moved to a function instead of being on
module level.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
2019-11-07 10:51:46 +01:00
Joshua Schmid
b014aae29f
mgr/ssh: adapt vagrantfile for ssh-orchestration bootstrap
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2019-11-07 10:23:58 +01:00
Sebastian Wagner
55240ea279
Merge pull request #31070 from sebastian-philipp/dashbaord-run-backend-zsh
mgr/dashboard: Fix zsh support in run-backend-api-tests.sh

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2019-11-07 10:17:33 +01:00
Alfonso Martínez
9db76caf8b mgr/dashboard: do not show non-pool data in pool details
Fixes: https://tracker.ceph.com/issues/42674
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-11-07 10:15:30 +01:00
Volker Theile
e8f1f0253a
mgr/dashboard: fix e2e test failure for OSDs (#31451)
mgr/dashboard: fix e2e test failure for OSDs

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-07 10:04:13 +01:00
zhengyin
b8ae4686af test/pybind: add features test case
add features_to_string and features_from_string test case

Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2019-11-07 15:45:56 +08:00