When clicking a selected row, the row becomes unselected and the detail
component is hidden. Rearrange related tests by selecting the row only
once.
Fixes: https://tracker.ceph.com/issues/42671
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
* refs/pull/31440/head:
qa/standalone/test_ceph_daemon: Make container images configurable
qa/standalone/test_ceph_daemon: Allow running from root dir
qa/standalone/test_ceph_daemon: Fix hang when CEPH_DAEMON is not set
Reviewed-by: Sage Weil <sage@redhat.com>
* refs/pull/31385/head:
mgr/ssh: add 'osd rm'
mgr/ssh: keep inventory and service cache keys in sync
mgr/orchestrator_cli: fix 'service ls' table format
mgr/ssh: invalidate service state on create, remove, and service action
mgr/orchestrator: add invalidate() to OutdatableDictMixin
mgr/ssh: cache services
mgr/ssh: drop specialized _remove_{mds,mgr,rgw}
mgr/ssh: change inventory_cache_timeout to seconds (not minutes)
mgr/orchestrator: make wait poll every 1s (not 5s)
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Instead of hardcoding the images, make them configureable via
environment variables.
That way, downstream can use the script with custom images.
Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
When running test_ceph_daemon.sh from the root dir and not setting
$CEPH_DAEMON manually, the call hangs at:
$ ./qa/standalone/test_ceph_daemon.sh
[...]
+ for p in $PYTHONS
+ echo '=== re-running with python3 ==='
=== re-running with python3 ===
++ which python3
+ ln -s /usr/bin/python3 /tmp/tmp.6hneCsNMio/python
+ echo '#!/tmp/tmp.6hneCsNMio/python'
+ cat
Check that there is a ceph-daemon found before continue.
Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
Our host list is implicitly defined as the set of keys for the inventory
(and service) caches. Ensure they are in sync by unioning and inserting
any missing items.
Signed-off-by: Sage Weil <sage@redhat.com>
Instead of returning '0.0.0.0' the prometheus module returns the FQDN of
the host, as it is the case for '::'.
Fixes: https://tracker.ceph.com/issues/42664
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Instead of returning '0.0.0.0' the dashboard returns the FQDN of the
host, as it is the case for '::'.
Fixes: https://tracker.ceph.com/issues/42664
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
This package will replace htmlhint.
Some rules from the previous installed packages were not working that well.
This new package has more rules and seems to work better.
Signed-off-by: Tiago Melo <tmelo@suse.com>
As tox didn't exits before to run unit tests presented as doctests, the
included doctest hadn't failed before, because of it's wrong format.
I adjusted the format so that the doctest passes.
Fixes: https://tracker.ceph.com/issues/40363
Signed-off-by: Stephan Müller <smueller@suse.com>
* refs/pull/31420/head:
ceph-daemon: do not screw up line splitting
mgr/ssh: raise RuntimeError when ceph-daemon invocation fails
Reviewed-by: Michael Fritch <mfritch@suse.com>
When we log stdout and stderr, we were artificially adding line splits
due to reading 1024 bytes at a time and assuming it was aligned with a
newline.
Fix by keeping partial lines buffered and only log them once they are
complete (or the call finishes).
Signed-off-by: Sage Weil <sage@redhat.com>