]
Andre Dietisheim commented on JBIDE-21307:
------------------------------------------
[~maxandersen] in the particular case you ran into it's a bug in the oc binary, no
error is spit out, you would simply have no idea why it fails unless you are aware that
your version is outdated and buggy.
Server Adapter: ensure oc binary that's used for rsync is
v1.1.1+
-----------------------------------------------------------------
Key: JBIDE-21307
URL:
https://issues.jboss.org/browse/JBIDE-21307
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.0.Beta1
Reporter: Andre Dietisheim
Labels: oc_binary, openshift_v3, server_adapter
Fix For: 4.3.1.CR1
Because of
https://github.com/openshift/origin/issues/6109 publishing with the server
adapter (which does a oc rsync behind the scenes) only properly works with oc v1.1.1.
Versions below require the user to manually
{code}
oc login --server=<server that we publish to> --token=...
{code}
We should check the version and warn if the user is using an oc that is older than this.
the changelog of oc in [
v1.1.1|https://github.com/openshift/origin/releases/tag/v1.1.1]
states the following refering to the issue:
{quote}
Support some of the global rsync flags on oc rsync for displaying progress information -
not supported on all rsync backends (like tar)
{quote}