> + .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);
Hi @pimenas, I think the issue is with the line:
String zoneId = getFirst(novaApi.getConfiguredZones(), "RegionTwo");
in the keystoneAuthResponse.json, what are the region names for compute? I
suspect that "RegionTwo" is not a valid region in that file.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r12158685