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

Fix ova deploy and tests #1221

Merged
merged 1 commit into from
Oct 2, 2020
Merged

Fix ova deploy and tests #1221

merged 1 commit into from
Oct 2, 2020

Conversation

bill-rich
Copy link
Contributor

Alloow datastore_id to be computed since it is not required for ovf deployment, and then run VM read at the end of creation.

@bill-rich bill-rich requested a review from a team October 2, 2020 06:38
@@ -7178,11 +7178,17 @@ resource "vsphere_virtual_machine" "vm" {
datacenter_id = data.vsphere_datacenter.rootdc1.id
host_system_id = data.vsphere_host.roothost1.id
wait_for_guest_net_timeout = 0
wait_for_guest_ip_timeout = 1
wait_for_guest_ip_timeout = 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we changing this? I'm concerned that it may surprise users depending on existing behaviour.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats just to help speed up the testing. Not all ovf/ova sources have vmware tools installed, so (along with speeding things up) I didn't want to get acc test failures based on that.

Copy link
Contributor

Choose a reason for hiding this comment

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

You are right, I shouldn't be reviewing code this early :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ha! And I shouldn't be submitting a PR this late!

Copy link
Contributor

@koikonom koikonom left a comment

Choose a reason for hiding this comment

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

LGTM

@bill-rich bill-rich merged commit f6156ba into master Oct 2, 2020
@bill-rich bill-rich deleted the b-ova_deploy_reads branch October 2, 2020 07:26
@ghost
Copy link

ghost commented Nov 2, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 2, 2020
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.

2 participants