VASA Provider: Unable to add flexvol to container_name based on inputs of svm and backing_volume because the flexvol is already attached to another container
Applies to
VASA Provider WebCLI
Issue
When provisioning a new VVOL datastore the following issue is seen:
- Container creation fails:
- In the vvolvp.log the following "flexvol is already attached to another container" exception is seen:
2020-12-11T18:06:51,459Z (ERROR) [] java.lang.Exception: Unable to add flexvol to container_name based on inputs of svm and backing_volume because the flexvol is already attached to another container via Utils.dumpStack()
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.offtap3.utils.Utils.dumpStackTrace(Utils.java:683)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.support.ErrorMapper.newStorageFaultException(ErrorMapper.java:371)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.persistence.exposed.ContainerStorageManager.addVServerToContainer(ContainerStorageManager.java:171)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.persistence.exposed.VvolEndpointMapper.addVServerToContainer(VvolEndpointMapper.java:851)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.api0_4.PublicService.containerAddStorage(PublicService.java:816)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.api0_4.PublicService$9.call(PublicService.java:4649)
2020-12-11T18:06:51,459Z (ERROR) [] at com.netapp.vasa.vvol.api0_4.PublicService$9.call(PublicService.java:4608)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-12-11T18:06:51,459Z (ERROR) [] at java.base/java.lang.Thread.run(Thread.java:835)
2020-12-11T18:06:51,459Z (ERROR) [] StorageFault Exception was thrown by , Unable to add flexvol to container_name based on inputs of svm and backing_volume because the flexvol is already attached to another container