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

Create rke2 cluster, setting Registries does not take effect #6472

Closed
kingsd041 opened this issue Jul 25, 2022 · 2 comments
Closed

Create rke2 cluster, setting Registries does not take effect #6472

kingsd041 opened this issue Jul 25, 2022 · 2 comments
Assignees
Milestone

Comments

@kingsd041
Copy link

Setup

  • Rancher version: v2.6.6
  • Browser type & version: Chrom 103.0.5060.134 (x86_64)

Describe the bug

Create rke2 cluster, setting Registries does not take effect
To Reproduce

  1. Create a custom rke2 cluster
  2. Navigate to Cluster Configuration--Registries and select Configure advanced containerd mirroring and registry authentication options
  3. Add Registry
  4. Create a Http Basic Auth Secret, set the correct username/password
  5. Create cluster
  6. Then edit the cluster and view the parameters of the Registries

Result
The value of Authentication is None

Expected Result

The Http Basic Auth Secret I created when I created the cluster should be selected

Screenshots

auth

@catherineluse
Copy link
Contributor

Note for QA: This issue seems to be only reproducible for custom RKE2 clusters, not node pool clusters.

@catherineluse catherineluse added this to the v2.6.7 milestone Jul 25, 2022
@sowmyav27 sowmyav27 added the team/area2 Hostbusters label Jul 26, 2022
@slickwarren slickwarren self-assigned this Jul 26, 2022
@zube zube bot added the QA/S label Jul 28, 2022
@sowmyav27 sowmyav27 assigned thaneunsoo and unassigned slickwarren Jul 29, 2022
@thaneunsoo
Copy link

Test Environment:

Rancher version: v2.6-head 2587e6a
Rancher cluster type: HA
Docker version: 20.10

Downstream cluster type: RKE2


Reproduction:

Reproduced using the following steps:

  1. Create a custom rke2 cluster
  2. Navigate to Cluster Configuration--Registries and select Configure advanced containerd mirroring and registry authentication options
  3. Add Registry
  4. Create a Http Basic Auth Secret, set the correct username/password
  5. Create cluster
  6. Then edit the cluster and view the parameters of the Registries

Result - Reproduced
The value of Authentication is None
image.png

Testing:

Tested this issue with the following steps:

  1. Create a custom rke2 cluster
  2. Navigate to Cluster Configuration--Registries and select Configure advanced containerd mirroring and registry authentication options
  3. Add Registry
  4. Create a Http Basic Auth Secret, set the correct username/password
  5. Create cluster
  6. Then edit the cluster and view the parameters of the Registries

Result - Pass
The value of Authentication now preserves the authentication created while provisioning custom cluster.
image.png

@zube zube bot closed this as completed Jul 29, 2022
@zube zube bot removed the [zube]: Done label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants