Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cephadm: show error during bootstrap if private registry cred not provided #45589

Merged
merged 1 commit into from Apr 11, 2022

Conversation

melissa-kun-li
Copy link
Contributor

@melissa-kun-li melissa-kun-li commented Mar 23, 2022

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

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@melissa-kun-li melissa-kun-li requested a review from a team as a code owner March 23, 2022 15:46
src/cephadm/cephadm Outdated Show resolved Hide resolved
@melissa-kun-li melissa-kun-li force-pushed the bootstrap_registry_warning branch 2 times, most recently from 0b3cc21 to 5c38b42 Compare March 30, 2022 16:18
src/cephadm/cephadm Outdated Show resolved Hide resolved
@melissa-kun-li melissa-kun-li force-pushed the bootstrap_registry_warning branch 2 times, most recently from ab66ce0 to 672773a Compare April 6, 2022 16:42
Copy link
Contributor

@adk3798 adk3798 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, just a comment on the error message in the adoption case

src/cephadm/cephadm Outdated Show resolved Hide resolved
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>
@adk3798
Copy link
Contributor

adk3798 commented Apr 8, 2022

jenkins test make check

@adk3798
Copy link
Contributor

adk3798 commented Apr 11, 2022

http://pulpito.front.sepia.ceph.com/adking-2022-04-08_22:17:12-orch:cephadm-wip-adk-testing-2022-04-08-1434-distro-basic-smithi/

2 failures:

1 caused by https://tracker.ceph.com/issues/49287
workunits/cephadm/test_cephadm.sh failure caused by another PR in this run.

@adk3798 adk3798 merged commit aae28b1 into ceph:master Apr 11, 2022
@adk3798 adk3798 mentioned this pull request Apr 17, 2022
14 tasks
@adk3798 adk3798 mentioned this pull request Apr 27, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants