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

Validate host and network when looking for network #9361

Merged
merged 3 commits into from
Jun 5, 2020
Merged

Conversation

sylviamoss
Copy link
Contributor

If network is not specified host must be specified in order to find an available network. This PR adds validation and returns an error whenever it couldn't find a Network because both configs are not set.

Closes #9013
Closes #8817

@sylviamoss sylviamoss requested a review from a team as a code owner June 4, 2020 15:56
Copy link
Contributor

@SwampDragons SwampDragons left a comment

Choose a reason for hiding this comment

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

Looks like docs need to be regenerated but otherwise :shipit:

@codecov
Copy link

codecov bot commented Jun 5, 2020

Codecov Report

Merging #9361 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted Files Coverage Δ
builder/vsphere/clone/step_clone.go 9.58% <ø> (ø)
builder/vsphere/driver/vm.go 0.00% <0.00%> (ø)
builder/vsphere/iso/step_create.go 0.00% <ø> (ø)
packer/communicator.go 74.46% <0.00%> (-2.13%) ⬇️

@sylviamoss sylviamoss merged commit 1422085 into master Jun 5, 2020
@sylviamoss sylviamoss deleted the fix_9013 branch June 5, 2020 09:02
@sylviamoss sylviamoss added tech-debt Issues and pull requests related to addressing technical debt or improving the codebase builder/vsphere labels Jun 8, 2020
@ghost
Copy link

ghost commented Jul 6, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
builder/vsphere tech-debt Issues and pull requests related to addressing technical debt or improving the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vsphere-iso DRS cluster doesn't work Build 'vsphere-iso' errored: error creating vm: host '' not found
2 participants