-
Notifications
You must be signed in to change notification settings - Fork 33
Feature Request: Add Additional Disks to Existing Machine #106
Comments
Hello guys, Just facing the same issue .. there is no way I can add a new disk in time of requesting by using vra7 provider (version 3.0.0). /***********************************************************/ resource_configuration { deployment_configuration = { /***********************************************************/ ERROR Message es:\r\n\u001b[31m\n\u001b[1m\u001b[31mError: \u001b[0m\u001b[0m\u001b[1mReference to undeclared resource\u001b[0m\n\n\u001b[0m on enrique_2012R2_with_disk_d.tf line 22, in resource "vra7_deployment" "_2012R2_with_disk_d":\n 22: \u001b[4mVirtualMachine.Disk1\u001b[0m.Size = "20"\n\u001b[0m\nA managed resource "VirtualMachine" "Disk1" has not been declared in the root\nmodule.\n\u001b[0m\u001b[0m\n\u001b[31m\n\u001b[1m\u001b[31mError: \u001b[0m\u001b[0m\u001b[1mReference to undeclared resource\u001b[0m\n\n\u001b[0m on _2012R2_with_disk_d.tf line 23, in resource "vra7_deployment" "enrique_2012R2_with_disk_d":\n 23: \u001b[4mVirtualMachine.Disk1\u001b[0m.Letter = "D"\n\u001b[0m\nA managed resource "VirtualMachine" "Disk1" has not been declared in the root\nmodule.\n\u001b[0m\u001b[0m\n"} Is there anything I am doing wrong? Thanks a lot for the anwers |
Hi @encrom For day0 provisioning you need to provide these virtual machine properties under the virtual machine resource_configuration section like this
What is describe in this feature request is different. Today day2 actions are limited in the vra7 provider, like adding disk. hope this helps a bit! |
hey @hobovirtual Thanks a lot for answering. This is my particular situation always refering about the day0 actions. I have tested as you said and a new errors shows that I assume is about some kind of configuration on the vRA itself. [Cannot add 2 disks for Component KAU_W2012R2. Maximum number of volumes is set at 1.] Should I assume this is something about the vRA configuration or even about the Blueprint configuration? Thanks a lot for the answers. bests! |
Just to point that everything works fine now. Thanks a lot for the quick answer. Bests, |
hi @hobovirtual via api my templet look like same as mention https://github.com/vmware/terraform-provider-vra7/blob/master/website/docs/r/BasicSingleMachine.yaml "disks": [ I tried using |
@ankujuniyal Even I'm facing the same issue. I need to increase storage for existing mount paths. |
hi @ankujuniyal i don't work much with vra7 anymore, but couple of things to note here
If you share your manifest we could maybe point out what should be modified to make it work for you :) thanks! |
Hi @hobovirtual I'm trying to increase storage for the existing How can I increase mounted paths storage for a new deployment |
Hi @sabhi66 This is currently not supported in the current provider, i just revised this issue and this is the feature request for disk “day2” actions ;) I will let @Prativa20 or @markpeek discuss if this is coming.... Thanks! |
Hi @hobovirtual Thanks for the update |
@sabhi66 @hobovirtual I even try with Day1 action but didn't find storage on request at VRA side. resource "vra7_deployment" "vm" { deployment_configuration = { Is there any way i can see catalog schema requested to VRA on terrafrom side as i don't have vra admin access so cant see logs on other side. |
vRA 7.x version
vRA 7.6
Terraform version
Terraform v0.14.5
terraform-provider-vra7 plugin version
2.0.1
Describe the bug
When adding an additional disk to an existing machine, the terraform plan shows the disks will be created however nothing is actually added to the machine. Team which manage vRA7 platform saw no parameters in our terraform reconfigure request which stated additional disks needed adding.
Raising this feature request as per #99 (comment).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Allow the addition of disks to an existing machine.
The text was updated successfully, but these errors were encountered: