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 <no...@github.com> on 2014/04/15 02:05:20 UTC
[jclouds-karaf] Using ServiceMix bundles for JSch and sshj agentproxy
deps (#43)
Follow-up to 094f698f. See
* https://issues.apache.org/jira/browse/SMX4-1728
* https://issues.apache.org/jira/browse/SMX4-1729
You can merge this Pull Request by running:
git pull https://github.com/jclouds/jclouds-karaf use-servicemix-features
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds-karaf/pull/43
-- Commit Summary --
* Using ServiceMix bundles for JSch and sshj agentproxy deps
-- File Changes --
M feature/src/main/resources/feature.xml (5)
M pom.xml (11)
-- Patch Links --
https://github.com/jclouds/jclouds-karaf/pull/43.patch
https://github.com/jclouds/jclouds-karaf/pull/43.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Many thanks for the testing, @nacx! In that case, I'd suggest that we merge this PR and then wait for [SMX4-1749](https://issues.apache.org/jira/browse/SMX4-1749) to be released before following up with a PR to replace the `wrap:mvn...` bit.
OK with merging this?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42148225
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
Yes it does. It has its own persistent credential store which is configured by default.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41268017
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Reopened #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Thanks, @iocanel! My question perhaps wasn't clear. I understand that we need to list transitive deps _in the feature.xml_ - I was wondering whether we also need to list them _in the POM_. E.g. the three jsch-agentproxy deps we list in `feature.xml` are all brought in by **one** dep in the POM. Is that OK, or should we have one entry in the POM _per_ entry in `feature.xml`.
And the Guava stuff was resolved, by the way - stupid stale deps in the repo ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40707085
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #62](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/62/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40435325
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
Yes you can do that and its pretty straight forward.
Just create the compute service using the commands and then it should work just as you described.
Here's a small example:
features:install jclouds-commands
features:install jclouds-aws-ec2
jclouds:compute-service-create --provider ec2 (u pass credentials as options or as env vars).
jclouds:node-create --name aws-ec2 --adminAccess --os-family AMZN_LINUX karaf
jclouds:node-runscript -d uptime us-east-1/i-0ab8455a (this will just run the uptime command)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41271380
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
Currently there is no implementation of a persistent credential store (it was deprecated because the semantics of the old `InputStreamMap` weren't correct, and the persistent credential store was also removed. See [JCLOUDS-294](https://issues.apache.org/jira/browse/JCLOUDS-294)). Does karaf persist the credentials locally? If not I think we won't be able to test this right now...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41267760
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Looks like there's a bug in [SMX4-1728](https://issues.apache.org/jira/browse/SMX4-1728) - the published bundle tries to import `com.jcraft.jsch` when it really only needs `com.jcraft.jsch.agentproxy`.
This PR will need to go on hold until that's fixed.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40677031
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #892](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/892/) UNSTABLE
Looks like there's a problem with this pull request
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40437799
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
@demobox: It is both ok and required to also list the transitive dependencies. The goal of the feature xml is to list all runtime dependencies of that particular feature. The flag dependency = true is a good idea to be used when listing dependencies of that particular feature (but not the core artefacts).
Regarding your question about where/why its trying to find guava versions, the answer is that to start a bundle the framework tries to resolve requirements (e.g. check that a package in the given range is found). In case of failure the bundle that tries to import the missing package is listed. I can see you had errors with chef for example trying to import guava in the range 16 - 17.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40706708
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds-karaf-pull-requests #70 UNSTABLE
Still stale deps here. This should be good. Let's try once more...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40681813
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds » jclouds-karaf #892 UNSTABLE
DEV@cloud is happy (just Checkstyle complaining) but here we have some [test failures](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/org.apache.jclouds.karaf$itests/894/testReport/).
Trunk is not happy at present anyway, though, so we need to do something about that first.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40499677
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds-karaf-pull-requests #71 UNSTABLE
Whee! No [test failures](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/org.apache.jclouds.karaf$itests/71/testReport/)! Just Checkstyle complaining now.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40705787
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
IIRC there is a command in karaf to run a script on a node. Don't know the details of how it is used but it should allow us to test the agent-proxy stuff.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40929189
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Closed #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
PS: @nacx @iocanel ssh-agent support should work _already_, even without this PR. If you can get it to work, it would be great if you could check whether it works _with_ this PR, too. Thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41348861
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
The agent-proxy stuff can be tested by:
* Using a password protected ssh key to access the node (the key must be added to the ssh-agent in advance, otherwise jclouds won't be able to authenticate as the key is encrypted).
* Or installing the key (password protected or not) in the node and accessing it *without* providing the credentials. If the key is added to the ssh-agent, authentication should succeed.
I summarized these tests in the agent-proxy PR. Anyway, I'll be give it a try tonight/tomorrow and share the results here if you don't beat me to test it!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40929064
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> I don't see any reason why we should have those dependencies in the pom.xml
You mean the transitive ones, I guess? The "main" one needs to be in there so we can use `<bundle dependency="true">`, no? Or should we even skip that and simply use `<bundle>`?
Sorry, noob questions here! ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40746012
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #899](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/899/) UNSTABLE
Looks like there's a problem with this pull request
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40548545
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #71](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/71/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40684294
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
@demobox: I don't see any reason why we should have those dependencies in the pom.xml
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43?utm_campaign=website&utm_source=sendgrid.com&utm_medium=email#issuecomment-40742630
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
+1
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42163489
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds-karaf-pull-requests #63 UNSTABLE
> jclouds » jclouds-karaf #895 UNSTABLE
Having a few issues with Karaf trunk right now that seem to be related to stale deps. Will kick this again once that seems to have been fixed.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40529058
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #926](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/926/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42154476
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds-karaf-pull-requests #68 UNSTABLE
> jclouds » jclouds-karaf #903 UNSTABLE
Weird. DEV@cloud is [happy now](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/68/testReport/) (only Checkstyle problems), but BuildHive is [unable to find the bundles](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/org.apache.jclouds.karaf$itests/903/testReport/).
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40623905
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
I've been looking at this, but I think at the moment karaf only supports password authentication to run commands.
https://github.com/jclouds/jclouds-karaf/blob/master/commands/src/main/java/org/jclouds/karaf/commands/compute/RunScriptBase.java#L82-L109
Apart from the `runscript` command, I think there's no other that requires credentials to access the node, so I don't know if we can test this right now.
We could open a new PR to add a "ssh key" parameter si authentication can be done using the key, but I have very limited knowledge of how karaf works. Perhaps @iocanel can help and/or explain if there is any limitation in using key auth.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41255754
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
@nacx: Do you have any idea how to _test_ the agentproxy stuff via Karaf?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40705813
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Closed #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#event-117825424
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #70](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/70/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40681528
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #68](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/68/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40608705
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
@iocanel: ping? Happy Easter, by the way! ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40901641
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Reopened #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
Sorry for the delay; it's been a crazy week! Finally I've had some time to test this and it works :)
I've compiled your pull request and then the CLI, and I've run the following test with it:
* Created a new node in DigitalOcean with a newly generated (and password-protected) key. I created it from the DigitalOcean console, to make sure the credentials were not in the jclouds credential store.
```shell
nacx@maqui:~$ ssh-keygen -f /tmp/karaf-key
(... imported the key in DigitalOcean and manually created the node ...)
nacx@maqui:~$ jclouds node list --provider digitalocean
[id] [location] [hardware] [group] [status]
1585252 nyc2 66 karaf-ssh RUNNING
```
* Tried to run a command on the node using the CLI, without providing the password:
```shell
nacx@maqui:~$ jclouds node runscript --provider digitalocean -u root -d uptime 1585252
[id] [location] [hardware] [group] [status]
1585252 nyc2 66 karaf-ssh RUNNING
Operating System: ubuntu x64 13.10
Configured User: n/a
Public Address: 107.170.136.7
Private Address:
Image Id: 3101918
<< problem applying options to node(1585252):
org.jclouds.rest.AuthorizationException: (root:rsa[ssh-agent]@107.170.136.78:22) (root:rsa[ssh-agent]@107.170.136.78:22) error acquiring {hostAndPort=107.170.136.78:22, loginUser=root, ssh=null, connectTimeout=60000, sessionTimeout=60000} (not retryable): Exhausted available authentication methods
```
* Added the key to the ssh-agent and executed the same command again (also without a password):
```shell
nacx@maqui:~$ ssh-add /tmp/karaf-key
nacx@maqui:~$ jclouds node runscript --provider digitalocean -u root -d uptime 1585252
[id] [location] [hardware] [group] [status]
1585252 nyc2 66 karaf-ssh RUNNING
Operating System: ubuntu x64 13.10
Configured User: n/a
Public Address: 107.170.136.78
Private Address:
Image Id: 3101918
Node:1585252 Output: 16:37:39 up 3 min, 1 user, load average: 0.10, 0.06, 0.03
```
So it works. Great job @demobox!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42144630
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
@nacx Ping? Just wondering if anyone has had a chance to look at this?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42106193
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #909](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/909/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40686383
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #72](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/72/) FAILURE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42153592
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #63](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/63/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40514166
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> jclouds-karaf-pull-requests #66 UNSTABLE
Some [internal failures](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/66/testReport/) here:
```
java.rmi.NotBoundException: 57010a6b-49ec-442f-800b-02bcb550999c
```
Will definitely need to run this again.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40591212
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ioannis Canellos <no...@github.com>.
@nacx: For nodes that have been created from karaf using node-create there is no need for password authentication.
If I remember correctly the credentials are persisted using the configured credential store and are reused when using runscript.
Now for nodes that haven't been created using jclouds-karaf it would be really nice to have an option to specify an "ssh key".
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41258999
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> @@ -434,8 +434,6 @@ limitations under the License.
> <feature version='${project.version}'>jclouds-blobstore</feature>
> <feature version='${project.version}'>jclouds-management</feature>
> <bundle dependency='true'>mvn:net.schmizz/sshj/${sshj.version}</bundle>
> - <!-- not currently available as bundles - see https://issues.apache.org/jira/browse/SMX4-1728 and SMX4-1729 -->
> - <bundle>wrap:mvn:com.jcraft/jsch.agentproxy.jsch/${jsch.agentproxy.version}</bundle>
> <bundle>wrap:mvn:com.jcraft/jsch.agentproxy.sshj/${jsch.agentproxy.version}</bundle>
> <bundle dependency='true'>mvn:com.jcraft/jsch.agentproxy.connector-factory/${jsch.agentproxy.version}</bundle>
> <bundle dependency='true'>mvn:com.jcraft/jsch.agentproxy.usocket-nc/${jsch.agentproxy.version}</bundle>
@iocanel: what's the recommended practice here? This dep is not listed _explicitly_ in the POM, but it **is** a dep of the project as it's a transitive dep of connector-factory (which _is_ listed in the POM).
Is it better to list any dependency that appears here (i.e. a `<bundle dependency='true'>` entry) as an explicitly dependency in the POM, or is it OK to use entries here to refer to transitive deps that are not mentioned in the POM?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43/files#r11718293
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
Cool. The test I'd like to run is the following:
* Create a node with the `--adminAccess` parameter. This should copy my user's SSH keys to the node.
* Run a script on a node *without* providing the credentials, and *without* Karaf providing them. I just want to run a script without authenticating against the node.
This will proof that the authentication fallbacks to the ssh-agent and it is taking care of the auth. Can I do this? Will I have to clear the persistent credential store in Karaf? If so, how can I do that? :)
Thanks @iocanel !
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41269323
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-karaf-pull-requests #66](https://jclouds.ci.cloudbees.com/job/jclouds-karaf-pull-requests/66/) UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40546289
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #907](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/907/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40681603
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
> IIRC there is a command in karaf to run a script on a node. Don't know the details of how it is used
> but it should allow us to test the agent-proxy stuff.
OK, I'll give that a try. Thanks, @nacx!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40940284
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #895](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/895/) UNSTABLE
Looks like there's a problem with this pull request
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40512851
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
OK, let's see what happens if we go back to wrapping jsch-agentproxy-sshj and skip jsch-agentproxy-jsch entirely.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40679592
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-karaf #903](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-karaf/903/) UNSTABLE
Looks like there's a problem with this pull request
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-40610554
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Closed #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Reopened #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Committed to [master](https://git-wip-us.apache.org/repos/asf?p=jclouds-karaf.git;a=commit;h=5c44a94788475dc0cc33de51cdf35e02e9a51dcd)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42187580
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Ignasi Barrera <no...@github.com>.
+1!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-42159397
Re: [jclouds-karaf] Using ServiceMix bundles for JSch and sshj
agentproxy deps (#43)
Posted by Andrew Phillips <no...@github.com>.
Closed #43.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43