Commit Graph

109753 Commits

Author SHA1 Message Date
Sage Weil
9ea587142a Merge PR #33981 into octopus
* refs/pull/33981/head:
	doc/install: edits
	doc/cephadm: more edits
	doc/cephadm/install: edits
	doc/cephadm/adoption: improvements
	doc/cephadm/install: a few edits
	doc/cephadm/install: do not install ceph-common on host (by default)
	doc/cephadm: drop os recs link
	doc/cephadm/upgrade: improvements
	doc/cephadm/upgrade: document upgrade
	doc/cephadm/install: revamp install docs
	doc: reorganize cephadm docs
	doc/cephadm/administration: update docs on customizing SSH config
	doc/cephadm/administration: add a note about the 'removed' dir

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-18 09:45:16 -05:00
Ramana Raja
e3bf5e7c7b
Merge pull request #34018 from ajarr/octopus-subvolume-clone-cancel
mgr/volumes: add FS subvolume clone cancel

 Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-03-18 19:22:06 +05:30
Sage Weil
ee108d4395 qa/workunits/cephadm/test_cephadm: output file for pub key
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-18 08:44:10 -05:00
Sage Weil
610ec12ac2 Merge PR #33866 into octopus
* refs/pull/33866/head:
	mgr/cephadm: limit number of times check host is performed in the serve loop

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-18 08:14:19 -05:00
Sage Weil
a12b90da5d Merge PR #34005 into octopus
* refs/pull/34005/head:
	python-common: reduce output of ServiceSpec.to_json()
	python-common,mgr/cephadm: move assert_valid_host to service_spec
	mgr/cephadm: add HostAssignment.validate()

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-18 08:14:06 -05:00
Sage Weil
1e25680552 Merge PR #34013 into octopus
* refs/pull/34013/head:
	qa/workunits/cephadm/test_cephadm: --skip-monitoring-stack

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-18 08:13:56 -05:00
Igor Fedotov
85abb02ad7 os/bluestore: fix extent leak after main device expand.
To reproduce the issue one can expand device of 3,147,480,064 bytes to
4,147,480,064 using bluefs-bdev-expand command.
Subsequent fsck will detect the leakage.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-03-18 15:53:17 +03:00
Sebastian Wagner
d7a5edc521 mgr/cephadm: pytest: Enable SpecStore
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 13:44:49 +01:00
Sebastian Wagner
096542e1c0 mgr/orchestrator: add test for default implementation for apply()
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 13:44:49 +01:00
Sebastian Wagner
8fd7087042 python-common: validate ServiceSpec.service_type
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 13:44:49 +01:00
Sebastian Wagner
1a75c46df7 fixup mgr/cephadm: Fix ceph orch apply -i
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 13:44:49 +01:00
Kiefer Chang
31ad70d8f1 mgr/test_orchestrator: fix service filtering when using dummy data
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2020-03-18 20:10:36 +08:00
Kiefer Chang
4f2db7e60e mgr/dashboard: fix adding/removing host errors
Send a HostSpec instance to the Orchestrator when adding a host.

Also, to be consistent with other components:
- Reword from Add/Remove hosts to Create/Delete hosts
- Display a modal when there is no Orchestrator backend enabled

Fixes: https://tracker.ceph.com/issues/44664
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2020-03-18 20:10:28 +08:00
Jan Fajerski
d7753e3a02
Merge pull request #33787 from jan--f/c-v-prepare-slots
ceph-volume: prepare: use *-slots arguments for implicit sizing
2020-03-18 13:04:16 +01:00
Lenz Grimmer
921199b679
Merge pull request #33760 from tspmelo/wip-update-prettier
mgr/dashboard: Update prettier

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-03-18 12:24:00 +01:00
Sebastian Wagner
37f21075f8 mgr/dashbaord: orchestrator service: Revert wait_api_result to a single completion
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 11:03:20 +01:00
Sebastian Wagner
9c12b1b8d3 mgr/orchestrator: orch daemon add accepts a yaml
Fixes: https://tracker.ceph.com/issues/44622
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 11:03:20 +01:00
Sebastian Wagner
a66793034d mgr/cephadm: apply_drivegroups() returns a single Completion
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 11:03:20 +01:00
Sebastian Wagner
a44abb4b8a mgr/cephadm: remove trivial_result()
Replaced with `@trivial_completion`, otherwise
`self._apply()` would have needed to accept a list
of specs.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 11:03:19 +01:00
Sebastian Wagner
0127282201 mgr/cephadm: Fix ceph orch apply -i
* We had two implementations for `ceph orcha apply`
* Remove yaml pasing in `mgr/cephadm`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-18 11:02:55 +01:00
Kefu Chai
32bcb7964c
Merge pull request #34010 from grinapo/patch-1
doc/rbd: s/use use/use/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-18 16:27:30 +08:00
Mykola Golub
7f16137997
Merge pull request #33994 from dillaman/wip-librbd-poll-event-race
librbd: defer event socket completion until after callback issued

Reviewed-by: Dehao Shang <dehao.shang@intel.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-18 10:08:25 +02:00
Peter Gervai
cb20e2bc89 doc/rbd: s/use use/use/
just a typo, really.

Signed-off-by: Peter Gervai <grin@grin.hu>
2020-03-18 15:44:16 +08:00
Venky Shankar
60105f6101 doc: document clone cancel command
Fixes: http://tracker.ceph.com/issues/44208
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:03:21 +05:30
Venky Shankar
ba4b9358e1 test: add clone cancel tests
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:03:17 +05:30
Venky Shankar
a427c7074c mgr/volumes: introduce "clone cancel" volume command
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:03:11 +05:30
Venky Shankar
89a16c7867 mgr/volumes: allow canceling a single asynchronous job for a volume
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:03:06 +05:30
Venky Shankar
2dc41ea2db mgr/volumes: helper for looking up a clone entry index
... this would be used when canceling a clone operation to
find the clone index for a given clone.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:02:56 +05:30
Venky Shankar
2f93b3beb4 mgr/volumes: periodically check if clone operations should be canceled
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:02:52 +05:30
Venky Shankar
9a0507acb6 mgr/volumes: periodically check if copy operations should be canceled
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:02:46 +05:30
Venky Shankar
ac9d697b1c mgr/volumes: introduce 'canceled' state in clone op state machine
When fetching the next execution state, -EINTR jumps to 'canceled'
state signifying a canceled (interrupted) operation. Also include
a helper routine to check if a given state machine is in initial
state.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:02:41 +05:30
Kefu Chai
293e8bdf6c ceph.spec.in: add build deps for Debug build of seastar
it's a regression introduced by
6158bcfdef, which dropped the change to
make Sanitizers optional

since we've switched from xenial to bionic. there is no need to disable
this anymore. we ran into an issue caused by the ancient linker shipped
by xenial before.

Fixes: https://tracker.ceph.com/issues/44658
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-18 11:02:23 +08:00
Sage Weil
7c19c1534b qa/suites/rados/verify/validater/valgrind: tolerate SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
baeb051910 qa/suites/rados/verify/validater/valgrind: less bluestore logging
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
4fda9d50f0 qa/suites/rados/verify/validater: increase heartbeat grace
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
0bd14ab080 Revert "qa/suites/rados/verify: debug_ms = 1, osd_heartbeat_grace = 60"
This reverts commit 4f742f200d.

This was in the wrong file.. see valgrind.yaml

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
12105ed9d7 Revert "qa/suites/rados/verify/validator/valgrind: debug refs = 5"
This reverts commit 65e81e6eb4.

This slows things down too much with valgrind.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
2183edcc65 ceph_test_watch_notify: try notify 10x if ALLOW_TIMEOUTS is set
See https://tracker.ceph.com/issues/44062

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
3a57e70028 ceph_test_rados_api_misc: ShutdownRace timeout if ALLOW_TIMEOUTS is set
See https://tracker.ceph.com/issues/44582

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 18:24:12 -05:00
Sage Weil
40a7bcea70 qa/suites/rados/verify: set ALLOW_TIMEOUTS for workunits
When running under valgrind (and thrashing) things can be slow.  Tell
tests in case they need to tolerate timeouts.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 18:24:12 -05:00
Sage Weil
2fafbffdc9 doc/install: edits
Based on review by Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
3830b632e6 doc/cephadm: more edits
Based on review by Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
63401694dd doc/cephadm/install: edits
Based on review from Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
ae944d6b5a doc/cephadm/adoption: improvements
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
cfe8eb7f5c doc/cephadm/install: a few edits
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
123eeaae07 doc/cephadm/install: do not install ceph-common on host (by default)
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
19d04cb7b9 doc/cephadm: drop os recs link
This mostly doesn't quite apply to cephadm because we use containers.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
d3075903cd doc/cephadm/upgrade: improvements
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
20cac050f1 doc/cephadm/upgrade: document upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
26f3624498 doc/cephadm/install: revamp install docs
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00