> +         .addHeader("X-Auth-Token", authToken)
> +         .payload(payloadFromStringWithContentType(
> +                  "{\"os-getVNCConsole\":{\"type\":\"novnc\"}}",
> +                  "application/json"))
> +         
> .endpoint("https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/3456/";
> +               + "servers/" + serverId + "/action")
> +         .build();
> +
> +      HttpResponse getConsoleResponse = 
> HttpResponse.builder().statusCode(200)
> +         .message("HTTP/1.1 200 OK")
> +         .payload(payloadFromResourceWithContentType("/vnc_console.json",
> +                  "application/json; charset=UTF-8")).build();
> +
> +      NovaApi api = 
> requestsSendResponses(keystoneAuthWithUsernameAndPasswordAndTenantName,
> +            responseWithKeystoneAccess, extensionsOfNovaRequest, 
> extensionsOfNovaResponse,
> +            getConsole, getConsoleResponse);

The regions in keystoneAuthResponse.json are az-1.region-a.geo-1, 
az-2.region-a.geo-1 and az-3.region-a.geo-1. In the line you mention, zoneId 
becomes "az-1.region-a.geo-1", and passed as argument in the 
`novaApi.getConsolesExtensionForZone(zoneId)`. Nevertheless I have tried a 
valid zone instead of "RegionTwo" but I get the same exception always.


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r12159303

Reply via email to