]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: show error message if private registry credentials not provided
authorMelissa Li <melissali@redhat.com>
Wed, 23 Mar 2022 15:38:37 +0000 (11:38 -0400)
committerAdam King <adking@redhat.com>
Tue, 3 May 2022 00:48:33 +0000 (20:48 -0400)
commit285a80a96a3b74569bc1ab994577347b78cabeac
tree4e72222b56dff71f6b5ff50ec6652d8a9cb0a0ae
parent78b66e26db106697378f475eed1ec80e26e370aa
cephadm: show error message if private registry credentials not provided

Raise UnauthorizedRegistryError in `_pull_image` if user tries to pull from a private registry without authentication, handle error in `command_bootstrap`, `commond_adopt`, `command_pull`

Fixes: https://tracker.ceph.com/issues/55015
Signed-off-by: Melissa Li <melissali@redhat.com>
(cherry picked from commit 4de0803ba893abf341ab634d1382208370de7c98)
src/cephadm/cephadm