Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #14864 +/- ##
=============================================
- Coverage 18.34% 4.08% -14.26%
=============================================
Files 5939 449 -5490
Lines 537819 38282 -499537
Branches 65941 7083 -58858
=============================================
- Hits 98638 1564 -97074
+ Misses 427960 36503 -391457
+ Partials 11221 215 -11006
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #14862
Fixes #14863
When a KVM host has no host object with the same name on the FlashArray, the host lookup crashes, which fails VM deployment outright, and attach fails with an error about revoking access that says nothing about the name. This makes the lookup return "not found" so the planner just skips that host, and attach now fails with a message that names the host and says the names must match.
Test:
Rename the array host object for one KVM host (
purehost rename b08-36 b08-36-fc), then deploy a VM and attach a volume to a VM on that host.Before: deploy crashes, attach error points at revoking access.
After: deploy on that host fails cleanly, deploy without a host lands on the other host, attach says what is wrong.
Also added unit tests for the host lookup.