]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix nested shell quoting in cephadm e2e start-cluster 69116/head
authorAfreen Misbah <afreen@ibm.com>
Wed, 27 May 2026 00:07:38 +0000 (05:37 +0530)
committerAfreen Misbah <afreen@ibm.com>
Wed, 27 May 2026 00:07:38 +0000 (05:37 +0530)
commitae1fee05818e202287609ec1cbebd5f73ed4fd81
tree0d042ee641876d3a099c0f93a96b664f17d73b85
parentd6d88f70dd9e7f5f625fdaadba81ecdd3d159fa4
mgr/dashboard: fix nested shell quoting in cephadm e2e start-cluster

with_libvirt wraps commands in sg libvirt -c "$1", adding an extra
shell layer. Nested double quotes inside the outer double-quoted
string caused the argument to be split — with_libvirt received a
truncated $1, producing "Unterminated quoted string" on the remote
shell.

Drop the unnecessary inner double quotes around cephadm shell
arguments since cephadm shell accepts the command as separate args.
Use single quotes for the grep pattern inside the double-quoted
string so it survives the sg subshell.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh