Enthusiast
Enthusiast

Adding a Storage Selection Drop-Down in vRA 7

Hi, all

I would like to create a dynamic menu using custom property so that customers can select storage when they request a catalog.

However, the deployment fails when the catalog is requested.

I'd appreciate it if you could look at the screenshot below and let me know what I'm wrong.

Property Definition.PNGStorage path.PNG

Property Group.PNGReservation.PNG

Design Canvas.PNG

Deploy Catalog.PNG

Error Message.PNG

The following component requests failed: i8.x2large_vDC. Allocation request [Composition RequestId: [ae23ae82-f790-478f-a4e1-1795629b50f0], CompTypeId: [Infrastructure.CatalogItem.Machine.Virtual.vSphere], BlueprintId: [i8_2xlarge_vDC], CompId: [i8.x2large_vDC], BlueprintRequestId: [fd94afec-d8ed-4a22-97bb-a5ccfd8f1373], RootCafeRequestId: [3e3ffec8-9108-45bc-ab4e-f0e319ec0fea], SubtenantId: [0898a5a9-0cd6-4999-b37a-3ded558bd80b]] with binding id [80109387-c336-4d12-9b94-297f2cdddd40] failed with [Infrastructure service provider error: A server error was encountered. Error requesting machine. Allocate reservation operation failed. . Error: AllocateStorageReservationService: Machine c6f065ba-d5f7-4985-ba67-4f3d9aa264a8: Cannot allocate storage request for data stores ds:///vmfs/volumes/5d24454c-da5609a8-c7be-48df37447f50/ on reservation vDC_Reservation. ].

Many Thanks !

0 Kudos
2 Replies
Hot Shot
Hot Shot

I believe you need to add the datastore name and not the URL in the custom property. Just took a look on a dump of a machine custom property set:

"VirtualMachine.Disk0.Storage": "DEMO_DATA01"

0 Kudos
Enthusiast
Enthusiast

Set Storage Path to the value listed in Reservation and it worked properly.

Thank you for your answers !   : )

0 Kudos