[JBoss JIRA] (JBIDE-24664) Server adapter: unusable if oc is not on the path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-24664:
------------------------------------------
[~rob.stryker] please add steps so that we and QE can replicate this.
> Server adapter: unusable if oc is not on the path
> -------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Labels: openshift_v3, server_adapter
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) Server adapter: unusable if oc is not on the path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24664:
-------------------------------------
Labels: openshift_v3 server_adapter (was: )
> Server adapter: unusable if oc is not on the path
> -------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Labels: openshift_v3, server_adapter
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) Server adapter: unusable is oc is not on the path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24664:
-------------------------------------
Summary: Server adapter: unusable is oc is not on the path (was: OC not on path makse OS-tools server adapter unusable)
> Server adapter: unusable is oc is not on the path
> -------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) Server adapter: unusable if oc is not on the path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24664:
-------------------------------------
Summary: Server adapter: unusable if oc is not on the path (was: Server adapter: unusable is oc is not on the path)
> Server adapter: unusable if oc is not on the path
> -------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) OC not on path makse OS-tools server adapter unusable
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-24664:
--------------------------------
Fix Version/s: 4.5.0.AM2
> OC not on path makse OS-tools server adapter unusable
> -----------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) OC not on path makse OS-tools server adapter unusable
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-24664:
--------------------------------
Priority: Critical (was: Major)
> OC not on path makse OS-tools server adapter unusable
> -----------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Priority: Critical
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) OC not on path makse OS-tools server adapter unusable
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Rob Stryker reassigned JBIDE-24664:
-----------------------------------
Assignee: Dmitrii Bocharov
> OC not on path makse OS-tools server adapter unusable
> -----------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Fix For: 4.5.0.AM2
>
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) OC not on path makse OS-tools server adapter unusable
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24664?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-24664:
-------------------------------------
https://github.com/openshift/openshift-restclient-java/pull/279
> OC not on path makse OS-tools server adapter unusable
> -----------------------------------------------------
>
> Key: JBIDE-24664
> URL: https://issues.jboss.org/browse/JBIDE-24664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.0.AM2
> Reporter: Rob Stryker
>
> The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
> Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
> This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (JBIDE-24664) OC not on path makse OS-tools server adapter unusable
by Rob Stryker (JIRA)
Rob Stryker created JBIDE-24664:
-----------------------------------
Summary: OC not on path makse OS-tools server adapter unusable
Key: JBIDE-24664
URL: https://issues.jboss.org/browse/JBIDE-24664
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.5.0.AM2
Reporter: Rob Stryker
The openshift rest client lib is not including the full path when calling ProcessBuilder. So process builder is being asked to run a command named "oc" without the full path to it. In such situation, the process builder (or the OS, not 100% sure which) will revert to searching the system path for the given command, and choose the one on the system path.
Since my machine does not have 'oc' on the system path, openshift tools cannot run the oc command, or publish.
This also blocks adoption of JBIDE-24236, which allows users to select different OC. On linux, the system path's OC will *always* be chosen, regardless of any user settings.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months