Commit Graph

105450 Commits

Author SHA1 Message Date
Sage Weil
51ecc1b922 qa/tasks: ceph-daemon -> cephadm throughput var names and comments
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:09 -06:00
Sage Weil
7d63071d4e mgr/ssh,qa/tasks/ceph2: fix mode to be cephadm-package (vs root)
At the same time align the option names with ceph2.py, yay.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:09 -06:00
Sage Weil
caf95211c0 mgr/ssh: rename option ceph_daemon_path -> cephadm_path
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:09 -06:00
Sage Weil
c8750b7066 files,rpm,deb: rename ceph-daemon -> cephadm
This is just renaming the files and adjusting the packages.  Lots of
cleanup to do still.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:09 -06:00
Neha
4960f579a2 osd/PeeringState.cc: skip peer_purged when discovering all missing
We hit a couple of bugs because in discover_all_missing() we send
pg_query to an OSD that was marked stray and already got purged. This results
in a state machine crash on the purged OSD. Fix this by skipping any
purged peers.

Fixes: https://tracker.ceph.com/issues/41317
Fixes: https://tracker.ceph.com/issues/40963
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-11 23:56:33 +00:00
Sage Weil
a5b3037050 Merge PR #32189 into master
* refs/pull/32189/head:
	mgr/orchestrator_cli: set type for 'orchestrator' option

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-11 15:49:04 -06:00
Sage Weil
a2af551872 Merge PR #32157 into master
* refs/pull/32157/head:
	ceph-daemon: fix pod stop

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-12-11 15:48:47 -06:00
Sebastian Wagner
e8b40e607b python-common: Also test mgr/test_orchestrator/dummy_data.json
Make sure, `pybind/mgr/test_orchestrator/dummy_data.json` is not getting out of date.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-12-11 22:34:03 +01:00
Patrick Donnelly
6456f5ab9a
common: handle return value from read(2)
Fixes: https://tracker.ceph.com/issues/43266
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 12:06:14 -08:00
Sage Weil
e6c5554759 mgr/orchestrator_cli: set type for 'orchestrator' option
If we don't specify the type, the mgr_module.py will str() the default
value, turning it into "None", breaking the self-test.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 12:26:10 -06:00
Patrick Donnelly
2216c63ed5
Merge PR #31729 into master
* refs/pull/31729/head:
	qa: reduce cache size further
	mds: obsoleting 'mds_cache_size'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:44:27 -08:00
Patrick Donnelly
70c6043fbc
Merge PR #31718 into master
* refs/pull/31718/head:
	mds: Reorganize class members in ScrubStack header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:42:18 -08:00
Patrick Donnelly
390661b40e
Merge PR #31717 into master
* refs/pull/31717/head:
	mds: Reorganize class members in ScrubHeader header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:41:27 -08:00
Patrick Donnelly
2399be4a70
Merge PR #31716 into master
* refs/pull/31716/head:
	mds: Reorganize class members in ScatterLock header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:40:25 -08:00
Patrick Donnelly
e15e0ef871
Merge PR #31635 into master
* refs/pull/31635/head:
	mds: Reorganize class members in RecoveryQueue header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:39:27 -08:00
Patrick Donnelly
e241f773e6
Merge PR #31597 into master
* refs/pull/31597/head:
	mds: Reorganize class members in OpenFileTable header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:37:54 -08:00
Patrick Donnelly
a645994d75
Merge PR #30201 into master
* refs/pull/30201/head:
	qa/tasks: remove subvolume, subvolumegroup and their snapshots with --force
	qa/tasks: Fix the commands success
	qa/tasks: Fix raises that doesn't re-raise

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:36:49 -08:00
Sage Weil
3398379af8 Merge PR #32178 into master
* refs/pull/32178/head:
	qa/standalone/test_ceph_daemon.sh: disable adoption for the moment

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-11 11:10:42 -06:00
Alfonso Martínez
07a08aacea mgr/dashboard: fix RGW subuser auto-generate key.
Fixes: https://tracker.ceph.com/issues/43263
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-12-11 17:53:01 +01:00
Jason Dillaman
64b9e69d2b
Merge pull request #32176 from idryomov/wip-doc-fancy-striping
doc: clarify support for rbd fancy striping

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-11 11:35:42 -05:00
Patrick Donnelly
be58eb0a8d
Merge PR #32163 into master
* refs/pull/32163/head:
	qa: fix output check to not be sensitive to debugging

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2019-12-11 06:24:13 -08:00
Nathan Cutler
e80d14a176 ceph.spec.in: move distro-conditional deps to dedicated section
Post e92cb7a033 cleanup. Restore previous
structure of "distro-conditional make check dependencies" section.

Fixes: https://tracker.ceph.com/issues/43171
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-12-11 15:17:13 +01:00
Nathan Cutler
7afafc060a
Merge pull request #32083 from smithfarm/wip-42612
rpm: add rpm-build to SUSE-specific make check deps

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-11 15:14:31 +01:00
Volker Theile
f17de368ea mgr/test_orchestrator: Add dummy data
Add a JSON file containing dummy data for testing the orchestrator.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-12-11 15:06:58 +01:00
Sage Weil
e5e41c443d Merge PR #32160 into master
* refs/pull/32160/head:
	doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-12-11 08:06:40 -06:00
Jan Fajerski
2558b55b0e api/lvm: add get_lv_by_osd_id method
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-12-11 14:52:22 +01:00
Sage Weil
80cbe97e7b qa/standalone/test_ceph_daemon.sh: disable adoption for the moment
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 07:32:29 -06:00
Fabian Niepelt
ecde6cd619
ceph-volume: use correct extents when using db-devices and >1 osds_per_device
Actual data size depending on osds_per_device needs to be calculated here. Otherwise, if osds_per_device is greater than 1, ceph-volume will allocate 100% of the device to the first osd and then fail to create the LV for the second because the volume group is already full.

Fixes: https://tracker.ceph.com/issues/39442
Signed-off-by: Fabian Niepelt <f.niepelt@mittwald.de>
2019-12-11 14:19:14 +01:00
Thomas Bechtold
2ad13f5d48
Merge pull request #32161 from mgfritch/wip-cd-tox-warn
ceph-daemon: `imp` module  DeprecationWarning
2019-12-11 13:44:27 +01:00
Lenz Grimmer
d6e7f51070
mgr/dashboard: Disable cache for static files (#31018)
mgr/dashboard: Disable cache for static files

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-12-11 12:28:19 +00:00
Jan Fajerski
8087600d48 api/lvm: add deactivate method to Volume class
Simply calls lvchange -an to deactivate a logical volume.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-12-11 13:17:02 +01:00
Ilya Dryomov
abd20b5ca9 doc: clarify support for rbd fancy striping
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-12-11 12:41:09 +01:00
Radoslaw Zarzynski
b667e8629b crimson: make seastar::do_with() a friend of errorated futures.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-12-11 11:57:57 +01:00
Willem Jan Withagen
1c11275324 test/cls_rbd: include compat.h for ERESTART
Fixes:9328b402c2d471c7cfc34fa9414825bf2915e7a2
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-12-11 11:07:36 +01:00
Rishabh Dave
bcf32a1253 doc: mention multimds suite in dev guide
Fixes: https://tracker.ceph.com/issues/43222
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-12-11 10:14:47 +05:30
Rishabh Dave
2a28889be2 doc: clarify difference between fs and kcephfs suite
Fixes: https://tracker.ceph.com/issues/43220
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-12-11 10:14:47 +05:30
Kefu Chai
8e00a36d53
Merge pull request #32025 from tchaikov/wip-pick-address-silence-warning
common/pick_address.cc: silence GCC warning

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-11 12:08:10 +08:00
Sage Weil
628af7f226 Merge PR #32091 into master
* refs/pull/32091/head:
	common/config: update values when they are removed via mon

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-10 22:05:03 -06:00
Kefu Chai
b9225dfbc3 common/pick_address.cc: silence GCC warning
* use `string_view` instead of string
* use `auto` instead of `int` to silence the warning
* use `enum class` instead of plain `enum`
* do not specify the value of enum, as
  we don't care about it

this change silences following warning

```
../src/common/pick_address.cc: In function ‘int get_iface_numa_node(const string&, int*)’:
../src/common/pick_address.cc:517:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_type’ {aka ‘const long unsigned int’} [-Wsign-com\
pare]
  517 |   if (pos != string::npos ) {
      |       ~~~~^~~~~~~~~~~~~~~
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-11 10:04:16 +08:00
Kefu Chai
0e52da069b
Merge pull request #31839 from alimaredia/wip-s3-test-branch-refactor
qa: update s3-test download code for s3-test tasks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-12-11 09:28:58 +08:00
Patrick Donnelly
0448a31fcb
qa: fix output check to not be sensitive to debugging
The traceback would screw up the equality checks.

Also, use unittest asserts so we can easily see the assert values.

Fixes: https://tracker.ceph.com/issues/43247
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-10 16:45:09 -08:00
Sage Weil
79f7e6aeef Merge PR #31772 into master
* refs/pull/31772/head:
	qa/standalone/test_ceph_daemon.sh: clone corpus explicitly
	ceph-daemon: re-enable the OSD standalone test
	ceph-daemon: move standalone test tgz to corpus
	ceph-daemon: add ceph-daemon-adoption-corpus.git submodule

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-10 16:40:58 -06:00
Jason Dillaman
f6c18468ce
Merge pull request #30548 from trociny/wip-41557
rbd-mirror: snapshot mirror mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-10 16:41:28 -05:00
Patrick Donnelly
c4d9e8337d
Merge PR #31122 into master
* refs/pull/31122/head:
	mds: Reorganize class members in MDSTable header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-10 13:33:54 -08:00
Patrick Donnelly
0da6402e12
Merge PR #31253 into master
* refs/pull/31253/head:
	mds: Reorganize class members in Migrator header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-10 13:32:19 -08:00
Patrick Donnelly
39df21b940
Merge PR #31596 into master
* refs/pull/31596/head:
	mds: Reorganize class members in PurgeQueue header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-10 13:31:28 -08:00
Patrick Donnelly
59f641e295
qa: reduce cache size further
1M isn't low enough to trigger recall/trimming.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-10 13:24:50 -08:00
Michael Fritch
0504c3ed89
ceph-daemon: imp module DeprecationWarning
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-10 14:09:08 -07:00
Sage Weil
c50c17e755 doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-10 14:36:06 -06:00
Sage Weil
aa760fa501 Merge PR #32148 into master
* refs/pull/32148/head:
	doc/releases/nautilus: fix release notes (crash->device)

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2019-12-10 14:33:02 -06:00