[jbosstools-issues] [JBoss JIRA] (JBIDE-23862) Server adapter: if "oc" in preferences is set to path with a " " syncing fails
Andre Dietisheim (JIRA)
issues at jboss.org
Wed May 24 10:30:00 EDT 2017
[ https://issues.jboss.org/browse/JBIDE-23862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411386#comment-13411386 ]
Andre Dietisheim edited comment on JBIDE-23862 at 5/24/17 10:29 AM:
--------------------------------------------------------------------
Somehow the problem re-appeared when "oc rsync"-ing on mac:
* location is: {code}/Users/adietish/Downloads/oc binaries/ocp-3.4.1.1.2/oc{code}
* the cmd is the following array:
{code}
[/Users/adietish/Downloads/oc binaries/ocp-3.4.1.1.2/oc, rsync, --token=8aABbWhlwiFCP0VXTsGbliNrVKktMR1AVppub77ow9k, --server=https://192.168.64.2:8443, --insecure-skip-tls-verify=true, --exclude='.git', jboss-eap70-openshift-1-cvb5l:/opt/eap/standalone/deployments/, -n, barbapapa, /Users/adietish/Documents/jboss-workspaces/jbosstools-github/runtime-openshifty/.metadata/.plugins/org.jboss.ide.eclipse.as.core/barbapapa at jboss-eap70-openshift/deploy/]
{code}
The error in the logs is as follows:
{code}
!MESSAGE OpenShiftBinaryCapability process exited: Error: unknown command "binaries/ocp-3.4.1.1.2/oc" for "oc"
Run 'oc --help' for usage.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/io.c(453) [sender=2.6.9]
error: exit status 12
{code}
was (Author: adietish):
Somehow the problem re-appeared when "oc rsync"-ing on mac:
* location is: {code}/Users/adietish/Downloads/oc binaries/ocp-3.4.1.1.2/oc{code}
* the cmd is the following array:
{code}
[/Users/adietish/Downloads/oc binaries/ocp-3.4.1.1.2/oc, rsync, --token=8aABbWhlwiFCP0VXTsGbliNrVKktMR1AVppub77ow9k, --server=https://192.168.64.2:8443, --insecure-skip-tls-verify=true, --exclude='.git', jboss-eap70-openshift-1-cvb5l:/opt/eap/standalone/deployments/, -n, barbapapa, /Users/adietish/Documents/jboss-workspaces/jbosstools-github/runtime-openshifty/.metadata/.plugins/org.jboss.ide.eclipse.as.core/barbapapa at jboss-eap70-openshift/deploy/]
{code}
> Server adapter: if "oc" in preferences is set to path with a " " syncing fails
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23862
> URL: https://issues.jboss.org/browse/JBIDE-23862
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.3.Final
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: oc_binary, openshift_v3
> Fix For: 4.5.0.AM1
>
> Attachments: ProcessMain.java, error-in-rsync-for-macos.png
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list