Hi Apoorva,

That means the extension is not present in the service catalog returned by
Keystone, or at least it is not returned in the way jclouds expects it.

There have been recent changes to improve this. Could you try the latest
2.0.0-SNAPSHOT? This commit [1] might be relevant and possibly fix your
isssue.

I.

[1] https://github.com/jclouds/jclouds/pull/926
El 7/4/2016 2:20 a. m., "Apoorva Deshpande" <apoor...@tintri.com> escribió:

> Hello,
>
> I am trying following which is resulting in error, in case of Liberty
> release.
>
> Code:
> novaVolAttachApi = (VolumeAttachmentApi)
> novaApi.getVolumeAttachmentExtensionForZone( region ).get();
>
> Exception:
> java.lang.IllegalStateException: Optional.get() cannot be called on an
> absent value
>
>
> I am using jclouds 1.8 release jars and did not see this issue with Juno,
> Kilo.
> Above exception is seen against Liberty, Mitaka OpenStack clouds.
>
> Please let me know if you have encountered this issue.
>
> Thanks,
> Apoorva
>

Reply via email to