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

Replace old method of registration with global registration in robottelo #14034

Merged
merged 1 commit into from
May 13, 2024

Conversation

shweta83
Copy link
Contributor

Problem Statement

Robottelo is still using old method of registration using katello-ca certs which is deprecated.

Solution

With this PR, all the instances of old method of registration will be replaced with global registration.

Related Issues

@shweta83 shweta83 requested a review from a team as a code owner February 12, 2024 04:57
@shweta83 shweta83 marked this pull request as draft February 12, 2024 04:57
@shweta83 shweta83 force-pushed the remove_katello_ca_robottelo branch 3 times, most recently from adf8cd6 to 277ccca Compare February 27, 2024 15:39
@shweta83 shweta83 added CherryPick PR needs CherryPick to previous branches 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 labels Feb 27, 2024
Copy link

This pull request has not been updated in the past 45 days.

@github-actions github-actions bot added the Stale Stale issue or Pull Request label Apr 15, 2024
Copy link

This pull request is now being closed after stale warnings.

@github-actions github-actions bot closed this Apr 23, 2024
@shweta83 shweta83 reopened this Apr 23, 2024
@shweta83 shweta83 force-pushed the remove_katello_ca_robottelo branch 7 times, most recently from 5452229 to 37ea130 Compare April 23, 2024 13:34
@shweta83 shweta83 marked this pull request as ready for review April 23, 2024 13:34
@shweta83 shweta83 requested a review from a team as a code owner April 23, 2024 13:34
@github-actions github-actions bot removed the Stale Stale issue or Pull Request label Apr 24, 2024
@pondrejk pondrejk self-requested a review April 24, 2024 13:57
@shweta83 shweta83 requested a review from vsedmik May 2, 2024 06:43
Copy link
Member

@ogajduse ogajduse left a comment

Choose a reason for hiding this comment

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

ACK, one minor comment left.

tests/foreman/api/test_subscription.py Show resolved Hide resolved
Copy link
Contributor

@Griffin-Sullivan Griffin-Sullivan left a comment

Choose a reason for hiding this comment

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

Nothing here should impact Team Platform. Added some comments based on my opinion. Thanks for adding the changes!

tests/foreman/api/test_subscription.py Show resolved Hide resolved
Comment on lines 801 to 802
def api_register(self, target, **kwargs):
"""Register a content host using the API.
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like we could either name this something related to global registration like def globally_register or leave the name as is and update the description to mention global registration like Register a content host using Global Registration.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

globally register sounds odd but I can update the description of this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah it's not a great name that's why I thought at least the description 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to keep the name and extend docstring

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to this. Tying this in explicitly to global registration should make it more clear why this is the method being used going forward.

@shweta83 shweta83 force-pushed the remove_katello_ca_robottelo branch from 4aa4b71 to f14444c Compare May 13, 2024 14:22
@ogajduse ogajduse merged commit 9fb55a2 into SatelliteQE:master May 13, 2024
8 checks passed
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 4, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 5, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 5, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 5, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 5, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 5, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 6, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 6, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 11, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 11, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 11, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 11, 2024
shweta83 added a commit to shweta83/robottelo that referenced this pull request Jun 11, 2024
Gauravtalreja1 pushed a commit that referenced this pull request Jun 11, 2024
…in robotlelo (#15327)

Replace old method of registration with global registration in robottelo (#14034)
Gauravtalreja1 pushed a commit that referenced this pull request Jun 11, 2024
…in robottelo (#15329)

Replace old method of registration with global registration in robottelo (#14034)
Gauravtalreja1 pushed a commit that referenced this pull request Jun 11, 2024
…in robottelo (#15336)

Replace old method of registration with global registration in robottelo (#14034)
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants