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

avoid the hosts populated by a constructed inventory to be removed #747

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

ivarmu
Copy link
Contributor

@ivarmu ivarmu commented Jan 3, 2024

What does this PR do?

avoid the hosts populated by a constructed inventory to be removed, the same way it is controlled for the smart inventories and the inventories that are defining inventory sources.

How should this be tested?

Automatic tests are not controlling this kind of scenarios.

Is there a relevant Issue open for this?

resolves #743

Other Relevant info, PRs, etc

N/A

Copy link
Collaborator

@Tompage1994 Tompage1994 left a comment

Choose a reason for hiding this comment

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

Makes sense to me. We will need a changelog created for this though please.

Also if you have time, adding to the CI would be useful here to test for this

@ivarmu
Copy link
Contributor Author

ivarmu commented Jan 3, 2024

Makes sense to me. We will need a changelog created for this though please.

Also if you have time, adding to the CI would be useful here to test for this

I agree... I'm thinking on how to introduce these tests...

@ivarmu ivarmu requested a review from Tompage1994 January 3, 2024 16:02
@djdanielsson djdanielsson merged commit 2ee3190 into redhat-cop:devel Jan 9, 2024
13 checks passed
@ivarmu ivarmu deleted the issue_743 branch March 27, 2024 07:06
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
…edhat-cop#747)

* avoid the hosts populated by a constructed inventory to be removed

* add tests for the hosts diff

* remove the hosts that are not present in the CI workflow
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
…edhat-cop#747)

* avoid the hosts populated by a constructed inventory to be removed

* add tests for the hosts diff

* remove the hosts that are not present in the CI workflow
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.

Controller host is removing/trying to remove constructed inventory hosts
3 participants