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

Fixes #37899 - Send proper EnvironmentDTO from hypervisors #11178

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

jeremylenz
Copy link
Member

@jeremylenz jeremylenz commented Oct 9, 2024

What are the changes introduced in this pull request?

Send Candlepin properly-formatted environment lists on consumer update, even for hosts with no content facet. Apparently hypervisors can hit this.

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Set up a virt-who hypervisor
(To fake it, I think you could also just take a regular host and delete its content facet but leave its subscription facet.)

Go to All Hosts > your hypervisor > Overview tab > System Purpose card
Attempt to set any syspurpose attribute.

You should no longer get an error.

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

I am able to set syspurpose attributes on hypervisor hosts now.
Perhaps unrelated, but the syspurpose card was missing until I edited it in the legacy UI.

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Issue was unrelated, ACK

@jeremylenz jeremylenz merged commit 8676485 into Katello:master Oct 11, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants