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

Refs #28924: Drop qpid client configuration used by older katello-qpid #336

Merged
merged 1 commit into from May 7, 2020

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Apr 27, 2020

In theory we can drop this, giving it a test first.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I'd be happy with this, but Travis would be happy if you also dropped the tests.

@ehelms
Copy link
Member Author

ehelms commented May 1, 2020

Cleared tests

@ehelms
Copy link
Member Author

ehelms commented May 1, 2020

Devel module updates:

theforeman/puppet-katello_devel#236

@@ -84,6 +84,7 @@
) {
include katello::params
include certs
include certs::qpid

class { 'certs::qpid_client':
Copy link
Member

Choose a reason for hiding this comment

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

You deleted this class but still include it here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I dropped katello::qpid_client. This one handles client certificates for Pulp effectively to talk to Qpid.

Copy link
Member

Choose a reason for hiding this comment

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

I shouldn't do reviews when I'm not fully awake ... I assumed the test failure was due to this

@ehelms
Copy link
Member Author

ehelms commented May 5, 2020

Finally got around to updating the tests.

@@ -100,6 +100,7 @@
) {
include katello::params
include certs
include certs::qpid
Copy link
Member

Choose a reason for hiding this comment

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

This feels odd to me. Why does Pulp need qpid server certificates? However, the same is done here. I don't think it's worth to clean that up given Pulp 2 will be going away.

@timogoebel @laugmanuel do you think this will be an issue in your split deployments?

Copy link
Member Author

Choose a reason for hiding this comment

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

Suppose Pulp itself does not need them, but they are only relevant when Pulp is involved so we need to ensure they get setup if Pulp is present for it's tasking system.

Copy link
Member

@ekohl ekohl May 7, 2020

Choose a reason for hiding this comment

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

I always thought certs::qpid were there to run a qpid server while certs::qpid_client were there to connect to a qpid server. Pulp only connects to a pulp server, so shouldn't this only use certs::qpid_client?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's true. So the confusing part is then why they were where they were in the first place. I'll update and drop this from here.

@ehelms ehelms merged commit 990b7d2 into theforeman:master May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants