-
Notifications
You must be signed in to change notification settings - Fork 919
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
Return error change iops limit on clone image disk. #396
Comments
There should be more detail in your hostd.log (see also: 'govc logs' command). Does the vmdk reside on a host local datastore? Are you able to make this change via the GUI client? |
Thank you for reply @dougm! Actually, I'm using this library from terraform provider. I want to deploy from virtual machine template is located external network storage and change its hard disk iops. Also, there is nothing problem to add another hard disk to deployed(= cloned) virtual machine with iops configuration. |
Attach some logs while provisioning vm from terraform. Here is my code;
And then get these logs on each
As you can see in this log, we clone vm from template, which has 500 iops. It is our default setting but sometime we want to change this iops to unlimited(-1). Then |
What about the hostd logs? As I mentioned: There should be more detail in your hostd.log (see also: 'govc logs' command). |
but I can find logs by
|
Hey @cinemaster @dougm Did you found the fix for this issue? I'm trying to do the same with disk size and iop and I'm having the same issue. Any idea? Regards |
Hi @eloycoto, I'm still facing this issue.... |
hey @dougm Any hint on this? Regards |
Not yet, I'll try to have a look in the next day or two. |
Hey @dougm About this, I'm trying to expand disk and make it bigger, I'm doing the following. Disk got resized but I'm getting error device 0. This is my code:
Thanks |
Hey @dougm, Any update on this? I tried today, but I can't find the problem :S Regards |
@eloycoto expanding a disk, likely a separate issue. I haven't had a chance to look at either yet. |
Hi @dougm ,
but still catch error (from host log)
And also I compare with vSphere client (from GUI) case.
It seem the hardware property, |
Looks like this might be fixed by e077bcf - without that change, Go's omitempty json tag would cause the UnitNumber with value 0 to not be sent over the wire. |
Hi @dougm, Thank you for reply! Thank you very match! |
Great news @cinemaster 👍 |
Hi
I'm trying change iops limit on created virtual machine which is cloned by image.
But it returns
Invalid operation for device '0'
.Any idea to solve this problem?
Here is my code;
The text was updated successfully, but these errors were encountered: