VMware Cloud Community
hejgard
Contributor
Contributor

vRA 7.2 - vRO 7.2 Action getApplicableNetworks failed: 403 on Action getReservationsForUserAndComponent

Thanks to bdadmin for raising 'getApplicableNetworks retrieves more than Business Group networks' on 16-Mar-2017 15:39 and thanks to poorem who answered on 18-Mar-2017 18:25 , a very good example for select network at provisioning time, thanks.

______________________

Using out of the box vRO 7.2 'getApplicableNetworks' who calls 'getReservationsForUserAndComponent' or poorem's modified version both fail with 403 in my vRA 7.2 system.

'403 FORBIDDEN Your authentication credentials do not provide sufficient access to the resource.' is the only lead I have.

All other Actions and Workflows works fine communicating with VCACCAFE:VCACHost connection , it is only 'getReservationsForUserAndComponent' that fail with 403.

Looking at the script in getReservationsForUserAndComponent:

________________________________________________________________________________________________________________________

// get reservation filtered by sub tenants

var reservationFilter = getReservationFilterForSubTenants(subTenants);

var reservations = [];

if (reservationFilter) {

    reservations = reservationService.getAllReservations(reservationFilter).getContent();    <===== This call fail with http 403

}

return reservations

________________________________________________________________________________________________________________________

vRO's vRA Plugin use AD authentication and all other workflows/Actions works fine.

Anyone have an idea of what it is don't get right here ?

Tags (1)
0 Kudos
1 Reply
hejgard
Contributor
Contributor

Issue sorted out. To query vRA Reservations from a vRO Action, the AD service account used in vRO by the vRA plugin, must have access to the vRA Fabric Groups

0 Kudos