Bug 1126497
Summary: | kie-config-cli: problems connecting in on-line mode | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | jbride <jbride> |
Component: | Configuration | Assignee: | Maciej Swiderski <mswiders> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Lukáš Petrovický <lpetrovi> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0.0 | CC: | jbride, kverlaen, mbaluch, mswiders, pkralik, rzhang |
Target Milestone: | ER4 | ||
Target Release: | 6.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-07 16:47:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jbride@redhat.com
2014-08-04 15:15:27 UTC
looks like this script works fine so long as an ip address is specified when prompted for the location of the remote git system repository: ie: ssh://172.17.0.2:8001/system ..... connects and authenticates just fine. ssh://docker_bpms:8001/system .... bombs with the "URI not supported" exception. Looks like the the problem is using a DNS name rather than the ip address. pull request created for UberFire project: https://github.com/uberfire/uberfire/pull/76 PR was merged uberfire master: https://github.com/uberfire/uberfire/commit/be859bb7cabe263f1b0cd7c526c73b5974964750 BPMS 6.1.0 ER2: kie-config-cli.sh is not functional in ER2. Please, check this BZ when it is fixed. (In reply to Pavel Kralik from comment #5) > BPMS 6.1.0 ER2: > kie-config-cli.sh is not functional in ER2. Please, check this BZ when it is > fixed. should this BZ in "ASSIGNED" status? just confirmed it does work on master and 6.2.x so it should work as well on ER3. (In reply to Maciej Swiderski from comment #7) > just confirmed it does work on master and 6.2.x so it should work as well on > ER3. OK, Thanks for your check, Maciej! I will move them to ON_QA for verification again. kie-config-cli.sh does not work in BPMS 6.1.0.ER3. do you mind providing bit more information on what does not work there? Any errors on startup or... (In reply to Maciej Swiderski from comment #10) > do you mind providing bit more information on what does not work there? Any > errors on startup or... https://bugzilla.redhat.com/show_bug.cgi?id=1163840 Maciej, bz #1163840 referenced in comment #11 is not an issue anymore. This issue is still relevant though: [mbaluch@localhost bin]$ sh kie-config-cli.sh ******************************************************** ************* Welcome to Kie config CLI **************** ******************************************************** >>Please specify location of remote git system repository [ssh://localhost:8001/system] ssh://docker_bpms:8001/bpmsignalling >>Please enter username: jboss >>Please enter password: Exception in thread "main" java.lang.RuntimeException: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:219) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.newFileSystem(JGitFileSystemProvider.java:583) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:275) at org.kie.config.cli.command.impl.CloneGitRepositoryCliCommand.execute(CloneGitRepositoryCliCommand.java:70) at org.kie.config.cli.CmdMain.main(CmdMain.java:85) Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.uberfire.java.nio.fs.jgit.util.JGitUtil.cloneRepository(JGitUtil.java:198) ... 6 more Caused by: org.eclipse.jgit.errors.NotSupportedException: URI not supported: ssh:///jboss@null:-1/bpmsignalling at org.eclipse.jgit.transport.Transport.open(Transport.java:559) at org.eclipse.jgit.transport.Transport.open(Transport.java:433) at org.eclipse.jgit.transport.Transport.open(Transport.java:317) at org.eclipse.jgit.transport.Transport.open(Transport.java:287) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120) ... 9 more ----- One more question. Is the offline mode still supported? I'm getting connection refused if the server is no running. Tested on 6.1.0.ER4. Marek, I'll look into the failing command for cloning so moving this bz to assigned. for offline mode it is intended to be on shutdown server as it directly modifies bare git repo stored in .niogit. So the only way to use it is on same machine as the server that has direct access to .niogit folder with server being shutdown to avoid issues with wrong updates etc. Make sure that you use the offline switch and provide location of nougat folder. Marek, I believe the issue here is that you specify wrong repo as for kie-config-cli there must always be a system repo used as given in the initial hint. Could you please confirm that this is the issue? I'm forwarding the question to the reporter as I don't have access to the repository. Jeff - could you please answer Maciej's question? Thx. closing as part of bugzilla cleanup The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |