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

CreateVirtualDisk on a VSAN datastore fails #654

Closed
rickardrosen opened this issue Jan 9, 2017 · 2 comments
Closed

CreateVirtualDisk on a VSAN datastore fails #654

rickardrosen opened this issue Jan 9, 2017 · 2 comments

Comments

@rickardrosen
Copy link

I'm trying to create disks using terraform on a VSAN datastore but it fails:

A general system error occurred: Function not implemented

Diskspec sent is: Disk spec: &{{{} eagerZeroedThick lsiLogic} 10485760 []}

How can I create a disk on a VSAN datastore using govmomi?

@dougm
Copy link
Member

dougm commented Feb 21, 2017

What is the value of the CreateVirtualDisk() name param in this case? On vSAN, you can't create files at the top-level of the datastore, for example this will fail: [vsanDatastore] foo.vmdk

However, you can within a directory (aka vSAN namespace): [vsanDatastore] foo/bar.vmdk

You'll need to create the 'foo' directory in this case if it doesn't already exist.

@dougm
Copy link
Member

dougm commented Feb 28, 2017

Verified this while working on PR #672

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants