You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Phillips (JIRA)" <ji...@apache.org> on 2013/06/27 21:38:19 UTC
[jira] [Commented] (JCLOUDS-154) key [openstack-nova] not in the
list of providers or apis: {}"
[ https://issues.apache.org/jira/browse/JCLOUDS-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694989#comment-13694989 ]
Andrew Phillips commented on JCLOUDS-154:
-----------------------------------------
What is your value for "provider"? And what is the exception you are getting?
> 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