VMware Cloud Community
APJ_vm
Enthusiast
Enthusiast

VRA 8.1 Incorrect Storage Profile selected

Hi 

I am trying to learn about VRA 8 and I am running into an issue where my deployment is not provisioning to the correct storage. This is a homelab so my setup is as follows. From a vsphere perspective I have 3 physical hosts, no DRS, HA or shared storage. Each host has it's own Datastore. Host1 runs all the VRA\VCSA infrastructure. Host2 and Host 3 are for VM deployment. 

From a VRA perspective, I have Host2 tagged as SITE:SITE1 and the Local datastore is also tagged SITE:SITE1. Host3 is tagged as SITE:SITE2 and the Local datastore is also tagged SITE:SITE2.I have 2 storage profiles. One is tagged for Site1 the other for Site2. The Site1 Profile is set to default. I have 2 cloud zones and 2 projects, each tagged for their respective sites. It would seem like the default storage profile always gets picked. 

How do a ensure the correct storage profile is selected for the associated site\project. Below is my blueprint. I have tried countless way to try make the blueprint select the correct storage and it never does. 

name: SITE-2
version: 4
formatVersion: 1
inputs:
  Host1IPAddress:
    type: string
    title: IPAddress
    default: 192.168.200.10
  Host2IPAddress:
    type: string
    title: IPAddress
    default: 192.168.200.11
  Host3IPAddress:
    type: string
    title: IPAddress
    default: 192.168.200.12
  Gateway:
    type: string
    title: Gateway
    default: 192.168.200.1
  Subnet:
    type: string
    title: Subnet
    default: 255.255.255.0
resources:
  S2-Host1:
    type: Cloud.vSphere.Machine
    properties:
      folderName: SITE-2
      storage:
        constraints:
          - tag: 'SITE:SITE2'
      image: NestedHost-Img
      flavor: NestedHost-FL
      ip: '${input.Host1IPAddress}'
      gateway: '${input.Gateway}'
      subnet: '${input.Subnet}'
      networks:
        - network: '${resource.Cloud_vSphere_Network_1.id}'
        - network: '${resource.Cloud_vSphere_Network_2.id}'
      constraints:
        - tag: 'SITE:SITE2'
  S2-Host2:
    type: Cloud.vSphere.Machine
    dependsOn:
      - S2-Host1
    properties:
      folderName: SITE-2
      storage:
        constraints:
          - tag: 'SITE:SITE2'
      image: NestedHost-Img
      flavor: NestedHost-FL
      ip: '${input.Host2IPAddress}'
      gateway: '${input.Gateway}'
      subnet: '${input.Subnet}'
      networks:
        - network: '${resource.Cloud_vSphere_Network_1.id}'
        - network: '${resource.Cloud_vSphere_Network_2.id}'
      constraints:
        - tag: 'SITE:SITE2'
  S2-Host3:
    type: Cloud.vSphere.Machine
    dependsOn:
      - S2-Host2
    properties:
      folderName: SITE-2
      storage:
        constraints:
          - tag: 'SITE:SITE2'
      image: NestedHost-Img
      flavor: NestedHost-FL
      ip: '${input.Host3IPAddress}'
      gateway: '${input.Gateway}'
      subnet: '${input.Subnet}'
      networks:
        - network: '${resource.Cloud_vSphere_Network_1.id}'
        - network: '${resource.Cloud_vSphere_Network_2.id}'
      constraints:
        - tag: 'SITE:SITE2'
  Cloud_vSphere_Network_2:
    type: Cloud.vSphere.Network
    properties:
      networkType: existing
      constraints:
        - tag: 'SITE:SITE2'
  Cloud_vSphere_Network_1:
    type: Cloud.vSphere.Network
    properties:
      networkType: existing
      constraints:
        - tag: 'SITE:SITE2'

 

 

Labels (2)
0 Kudos
0 Replies