Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Add host.Status and new Host CR validation. #351

Merged
merged 2 commits into from
Sep 16, 2021
Merged

Conversation

jortel
Copy link
Contributor

@jortel jortel commented Sep 15, 2021

Ensure host.Status on both vSphere and RHV host resources in the REST API.
Add a new Host CR validation to report the when a Host CR references a real host that does not have a "green" status.
Also, changed the InMaintenance condition to be Critical instead of Warn because if the real host is in maintenance or does not have a green status, we don't want to connect through the host for migration.

@sonarcloud
Copy link

sonarcloud bot commented Sep 15, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
15.9% 15.9% Duplication

@jortel jortel marked this pull request as ready for review September 15, 2021 22:38
@jortel jortel merged commit 5e9337f into kubev2v:main Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants