okey i got solution..:) On Thu, Nov 20, 2014 at 11:25 AM, Alka Beniwal <beniwala...@gmail.com> wrote:
> Hi, > > When I am using openstack-cinder(1.8.1) with JCloud jars,it is working > fine but with > JCloud Source code files it is not working.NovaApi is working fine, when I > am using Cinder and neutron than I am getting following exception in run > time. > > Exception in thread "main" java.util.NoSuchElementException: key > [openstack-cinder] not in the list of providers or apis: > {apis=[openstack-nova, stub]} > > at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:173) > at JCloud.test.CinderClient.<init>(CinderClient.java:43) > at JCloud.test.CinderClient.main(CinderClient.java:25) > > Though i have added CinderApiMetadata to add cinder in list of APIs. > > > > > Any help is appreciated. > > > > > -- > Thanks, > Regards, > AB > >