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

[BUG] Failed to add a SSD disk into an existing disk group of type of 'allflash' #2846

Closed
afeduohz opened this issue May 16, 2022 · 1 comment · Fixed by #2847
Closed

[BUG] Failed to add a SSD disk into an existing disk group of type of 'allflash' #2846

afeduohz opened this issue May 16, 2022 · 1 comment · Fixed by #2847

Comments

@afeduohz
Copy link
Contributor

Describe the bug
I want to add a new SSD disk naa.xxx to existing disk group of type all flash.
So I used vsan API methods.InitializeDiskMappings(ctx, roundTripper, req). But the task got failed, and shown me the error: 'A general system error occurred: Disk naa.xxx is an SSD and can not be used as a vSAN HDD.'

To Reproduce
Steps to reproduce the behavior:

  1. declare a request body
    req = &types.InitializeDiskMappings {
    This: ...,
    Spec: types.VimVsanHostDiskMappingCreationSpec {
    Host: host.Reference(),
    CacheDisks: []vim25types.HostScsiDisk{ ... },
    CapacityDisks: ...,
    CreationType: string(types.VimClusterVsanDiskGroupCreationTypeallflash)
    },
    }
  2. invoke the method to append disk
    res, err = methods.InitializeDiskGroups(ctx, roundTripper, req)
    ...
  3. wait for task completion
    Get response with error like above said: A general system error occurred: Disk naa.xxx is an SSD and can not be used as a vSAN HDD.

Expected behavior
The addition will be successful.

Affected version
v0.26.1

Screenshots/Debug Output
N/A

Additional context
VMware vCenter Server Appliance7.0.3-19600472
VMware ESXi7.0.3-19580434

@github-actions
Copy link
Contributor

Howdy 🖐   afeduohz ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

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

Successfully merging a pull request may close this issue.

1 participant