[
https://issues.apache.org/jira/browse/JCLOUDS-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694995#comment-13694995
]
Shankar commented on JCLOUDS-154:
---------------------------------
The exception :
Tenant name: 1d65d9f4915f909f6eb8bb247a7728f0, API error message: key
[openstack-nova] not in the list of providers or apis: {}, Root exception:
NoSuchElementException) : java.util.NoSuchElementException: key
[openstack-nova] not in the list of providers or apis: {}
the value for the provider is openstack-nova
> key [openstack-nova] not in the list of providers or apis: {}"
> --------------------------------------------------------------
>
> Key: JCLOUDS-154
> URL: https://issues.apache.org/jira/browse/JCLOUDS-154
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 1.6.0
> Environment: jclouds sdk version 1.6
> Openstack - Folsom
> maven
> Reporter: Shankar
> Labels: compute, openstack
>
> I get the an exception when I try to create a new context as below :
> ComputeServiceContext context =
> ContextBuilder.newBuilder(provider)
> .credentials(<username>, <password>)
> .endpoint(<endpoint>).modules(modules)
> .buildView(ComputeServiceContext.class);
> Not sure what is wrong - the parameter provider is correct & all other
> parameters are correct as well.
> I'm using maven with the following dependencies:
> <dependency>
> <groupId>org.jclouds.api</groupId>
> <artifactId>openstack-nova</artifactId>
> <version>1.6.0</version>
> </dependency>
> <dependency>
> <groupId>org.jclouds.driver</groupId>
> <artifactId>jclouds-slf4j</artifactId>
> <version>1.6.0</version>
> </dependency>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira