]> 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)
committerAdam King <adking@redhat.com>
Thu, 3 Feb 2022 14:58:03 +0000 (09:58 -0500)
commit0e96f744b2fc9e0796a8913cd092ca24b9090f07
tree8bd1960859ef59e3946f4ae30ac0a91ada15d6a2
parent46cfcc7bf6bd0eae947c78ca86d9ad3df5d8138e
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