Ricardo Marques
c797fed2a8
mgr/dashboard: Trim IQN on iSCSI target form
...
Fixes: https://tracker.ceph.com/issues/43027
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-11-27 13:09:00 +00:00
Sebastian Wagner
7a801cb13f
mgr/ssh: Disable host labels.
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:49:02 +01:00
Kefu Chai
0abd3f4a11
Merge pull request #31896 from rsevero/missing_virtualenv
...
doc: add missing virtualenv for build-doc
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-27 20:48:40 +08:00
Tim Serong
0eaa7710c0
mgr/orchestrator: use finalize to set TrivialReadCompletion result
...
This is needed to correctly set the state of the completion, so that
Completion.has_result returns true. Without this, _orchestrator_wait()
will spin forever if given a TrivialReadCompletion.
Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:39:12 +01:00
Sebastian Wagner
7b95f0316d
mgr/orchestrator: add pretty_print()
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:39:11 +01:00
Sebastian Wagner
e58885dc98
mgr/ssh: Fix Promises
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:39:11 +01:00
Sebastian Wagner
30437ba2eb
import typing optionally
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
431e801f89
Fix testing error
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
cf38941628
mgr/deepsea: Fixed DeepSeaReadCompletion arguments
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
65a9c9aa6d
mgr/orchestrator: fix tests
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
07121b9b4f
make check fixes
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
310f5090ab
mgr/orchstrator: Removed all type anotations incompatible to Python 2
...
* Reduce mypy's type checking capability
* Remove useful code documentation
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
a74d57bcb2
doc/orchestrator: Adapted to new Completions
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
de0c198932
mgr/orchestrator: add cancel
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
6abc9e95bd
qa/orchestrator: Adapt teuthology test to new completions
...
Also: Adapt mgr/test_orchestrator to new completions
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
d15aba9039
mgr/deepsea: Adapt to new orchestrator completions
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
5191e82a88
mgr/ansible: Adapt to new orchestrator completions
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
f3ea1f18e2
mgr/ssh: Adapt ssh orch to new Completions interface
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Sebastian Wagner
bf552615f2
mgr/rook: Adapt to new completions
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:35:24 +01:00
Sebastian Wagner
7a432a0225
mgr/orchestrator: Introduce composable completions
...
Also:
* unify Read and Write completions
* Distinguish should_wait and is_finished
* Removed `all_hosts` parameter to `osd_create`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:35:24 +01:00
Sebastian Wagner
8fa14ad3b8
mgr/orchestrator: rename wait() -> process()
...
Because wait() should actually not wait!
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:35:24 +01:00
Kefu Chai
f16d664749
Merge pull request #31904 from tchaikov/wip-crimson-stop-msgr-after-stopping-osd
...
crimson: stop osd before stopping messengers
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-11-27 19:46:42 +08:00
Volker Theile
c82901632f
mgr/dashboard: Remove unused variable
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-27 12:12:55 +01:00
Volker Theile
2ad2763469
mgr/dashboard: Rename pipe list -> join
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-27 11:33:33 +01:00
Adam Kupczyk
d4f2f81822
bluestore: tiny tracepoints improvement
...
Fixed reversed (-) latency, synchronized all 'elapsed' times to seconds, transitioned to mono_clock.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-11-27 11:21:09 +01:00
Kefu Chai
642f68159e
crimson: stop osd before stopping messengers
...
so we can drain all pending tasks referencing messenger before
destroying it, otherwise they will be using a already-stopped
messenger when they are still alive.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-27 17:35:20 +08:00
Yan, Zheng
eb57c3b6f2
doc: add description for fuse_disable_pagecache
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/16300
2019-11-27 14:44:44 +08:00
Jos Collin
4c67888ad8
qa/tasks: Fixed AttributeError: can't set attribute
...
Fixes: https://tracker.ceph.com/issues/42636
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-11-27 08:30:58 +05:30
Jos Collin
003550c493
qa/tasks: drop/update name from Thrasher
...
* Dropped name setter and property from Thrasher base class
* Updated each Thrasher class with a name attribute
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-11-27 08:27:04 +05:30
Patrick Donnelly
22a9a28e28
Merge PR #31756 into master
...
* refs/pull/31756/head:
pybind / cephfs: remove static typing in LibCephFS.chown
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 15:53:48 -08:00
Patrick Donnelly
4dfb610b5c
mgr: fix debug typo
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 15:44:37 -08:00
Sage Weil
4e9f6c2205
Merge PR #31828 into master
...
* refs/pull/31828/head:
mgr/orchestrator: include container_image in 'service ls' output
ceph-daemon: include container_image_name and container_image_id in 'ls' output
common/options: default to ceph/ceph:latest-master-devel (for now)
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-26 16:18:44 -06:00
Sage Weil
b62e23aaa6
Merge PR #31854 into master
...
* refs/pull/31854/head:
mgr/orchestrator_cli: print table for 'host ls'
mgr/ssh: populate labels
mgr/orchestrator: add 'labels' property to InventoryNode
mgr/ssh: add/remove labels
mgr/orchestrator: orchestrator host label {add,rm}
mgr/ssh: add explicit host list
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-26 16:18:28 -06:00
Sage Weil
e062af5bd0
Merge PR #31864 into master
...
* refs/pull/31864/head:
osd/PeeringState: clear LAGGY and WAIT states on exiting Started
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2019-11-26 16:17:51 -06:00
Sage Weil
5aa2eca166
Merge PR #31865 into master
...
* refs/pull/31865/head:
cls/rbd: improve efficiency of mirror image status queries
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-11-26 16:17:05 -06:00
Sage Weil
9b6c850fab
Merge PR #31866 into master
...
* refs/pull/31866/head:
osd/SnapMirror: no need to record purged_snaps every epoch
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-11-26 16:16:33 -06:00
Patrick Donnelly
16a1deb5b3
mgr: drop session with Ceph daemon when not ready
...
If the mgr is waiting on daemon metadata from the mons, it has no
DaemonState associated with the daemon yet. If we try to process this
MgrOpen, the metadata sent by the daemon (like its config) will not be
recorded.
Fixes: https://tracker.ceph.com/issues/43037
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 13:10:30 -08:00
Patrick Donnelly
9b71bbee55
mgr: improve debug message information
...
Connection pointer is not helpful.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 13:05:44 -08:00
Patrick Donnelly
cfba8bb562
mds: remove unnecessary debug warning
...
Other message types are expected with MonClient and MgrClient.
Fixes: https://tracker.ceph.com/issues/43036
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 12:19:14 -08:00
Rodrigo Severo
c4d5144611
doc: missing virtualenv for build-doc
...
The install deps command recommended by admin/build-doc doesn't install virtualenv which is required by admin/build-doc.
After manually installing virtualenv, admin/build-doc runned without issues.
Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2019-11-26 16:01:54 -03:00
Patrick Donnelly
f1e3fec83d
Merge PR #27467 into master
...
* refs/pull/27467/head:
cephfs-shell: add snapshot management
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 09:47:40 -08:00
Nathan Cutler
ba3f31612e
Merge pull request #31871 from smithfarm/wip-43021
...
doc: mention --namespace option in rados manpage
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2019-11-26 18:42:58 +01:00
Michael Fritch
3560f60307
ceph-daemon: seek relative to the start of file
...
python3 only allows seeks relative to the start of a text file
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-26 09:55:52 -07:00
Sage Weil
763cbc6edb
mgr/orchestrator: name rgw by client.rgw.$realm.$zone[.$id]
...
Specify both the realm and zone when provisioning rgws.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 10:26:25 -06:00
Nathan Cutler
4353b5548e
doc: mention --namespace option in rados manpage
...
Fixes: https://tracker.ceph.com/issues/43021
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-26 15:39:42 +01:00
Sage Weil
a182cce805
ceph-daemon: user-friendly exception/error messages
...
We don't want tracebacks for most error conditions in ceph-daemon.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 08:08:07 -06:00
Sage Weil
f06366836f
mgr/orchestrator_cli: print table for 'host ls'
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 08:01:26 -06:00
Sage Weil
1d2b1bfa30
mgr/ssh: populate labels
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 08:01:26 -06:00
Sage Weil
b5484710c9
mgr/orchestrator: add 'labels' property to InventoryNode
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 08:01:26 -06:00
Sage Weil
42a95e03d0
mgr/ssh: add/remove labels
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-26 07:31:06 -06:00