Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi all, My Software devstack: all in one VM running Ubuntu. Returning error ResourceNotFoundException.

Hi,

I have been using devstack for few weeks now and stumbled on this issue which need to clear for my understanding..

I have configured devstack and I am able to create instance etc. Using the nova APIs I have am able to list-images etc. I can also do #nova availability-zone-list which returns

Name Status

nova Available

When I try to get the zones from jclouds

... ... ...

ComputeServiceContext context = ContextBuilder.newBuilder(provider) .credentials(username,password)

.endpoint(endpoint) .buildView(ComputeServiceContext.class);

compute = context.getComputeService(); nova = context.unwrap(); zones = nova.getApi().getConfiguredZones();

..... ..... .....

I get a ResourceNotFoundException..I have attached the complete details in the gist below..

My question is if I available-zone-list returns valid value, should I get the same from getConfiguredZones() and if yes, why does jclouds APIs returns ResourceNotFoundException.