]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: validate that the constructed YumDnf baseurl is usable
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 20 Jan 2022 19:48:28 +0000 (14:48 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 20 Jan 2022 21:30:58 +0000 (16:30 -0500)
commitee71ff79a3b1ab11d42aa1f3860943367ece2081
tree59fba3fbfb949ec1d2e8426c4f7cc785235846af
parent266e3f466700a88bcea4de907d515d94ce914b4f
cephadm: validate that the constructed YumDnf baseurl is usable

If the inputs to the `cephadm add-repo` command would result in an
invalid URL for repo metadata fail the command early with a (somewhat)
helpful error.

Fixes: https://tracker.ceph.com/issues/46773
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm