[ https://issues.apache.org/jira/browse/JCLOUDS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ignasi Barrera resolved JCLOUDS-1156. ------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 > jclouds-cli fails to run compute service commands > ------------------------------------------------- > > Key: JCLOUDS-1156 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1156 > Project: jclouds > Issue Type: Bug > Components: jclouds-cli, jclouds-karaf > Affects Versions: 2.0.0 > Reporter: Andrew Phillips > Assignee: Ignasi Barrera > Fix For: 2.0.0 > > Attachments: MANIFEST.MF, > org.apache.servicemix.bundles.jsch-agentproxy-jsch-0.0.9_1.jar > > > Attempts to run commands such as {{jclouds> jclouds:compute-service-create > --provider aws-ec2 --identity foo --credential bar}} fail with exceptions > similar to: > {code} > 2016-08-17 22:38:39,950 | ERROR | a2-363af5a2b3c3) | configadmin > | ? ? | 5 - > org.apache.felix.configadmin - 1.8.0 | > [org.osgi.service.cm.ManagedServiceFactory, > org.jclouds.osgi.ProviderListener, org.jclouds.osgi.ApiListener, id=50, > bundle=51/mvn:org.apache.jclouds.karaf/services/2.0.0-SNAPSHOT]: Unexpected > problem updating configuration > org.jclouds.compute.30bd6f52-44bc-49c3-aaa2-363af5a2b3c3 > java.lang.NoClassDefFoundError: com/jcraft/jsch/agentproxy/ConnectorFactory > at java.lang.Class.getDeclaredConstructors0(Native Method) > ... > at com.google.inject.Guice.createInjector(Guice.java:95) > at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:404) > at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:327) > at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:614) > at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:594) > at org.jclouds.ContextBuilder.build(ContextBuilder.java:587) > at > org.jclouds.karaf.services.internal.ComputeServiceFactory.updated(ComputeServiceFactory.java:171) > at > org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:88)[5:org.apache.felix.configadmin:1.8.0] > at > org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1744)[5:org.apache.felix.configadmin:1.8.0] > at > org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[5:org.apache.felix.configadmin:1.8.0] > at java.lang.Thread.run(Thread.java:724)[:1.7.0_40] > Caused by: java.lang.ClassNotFoundException: > com.jcraft.jsch.agentproxy.ConnectorFactory not found by > org.apache.servicemix.bundles.jsch-agentproxy-jsch [38] > ... > {code} > See http://markmail.org/thread/ksrn6dwg57ldsctx for more details -- This message was sent by Atlassian JIRA (v6.3.4#6332)