[
https://issues.jboss.org/browse/JBIDE-24482?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-24482:
-------------------------------------
Steps to Reproduce:
# ASSERT: have a CDK3/minishift binary that's renamed (this makes sure that it wont
inform about the docker registry making the tooling most likely fall back to an erroneous
default)
# ASSERT: have a CDK3/minishift server adapter
# ASSERT: make sure that you *DONT* have a connection to CDK3/minishift in the OpenShift
Explorer
# EXEC: launch CDK3/minishift server adapter
# ASSERT: in OpenShift explorer: a new connection to the CDK3/minishift is created
# EXEC: in OpenShift explorer: pick "Edit Connection..."
# ASSERT: connection wizard pops up
# EXEC: hit "Advanced >>" and inspect "Image Registry URL"
Result:
!image-2017-05-17-22-07-43-235.png!
The image registry URL that is unveiled is clearly wrong. It is
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/
Expected result:
the correct value for the docker registry can be fetched from minishift by doing (in
cmd-line):
{code}
./minishift openshift registry
{code}
In the current state of CDK3/minishift, where the docker registry is not publicly
reachable, the correct value that is reported is an internal IP:
{code}
172.30.1.1:5000
{code}
was:
# ASSERT: have a CDK3/minishift binary that's renamed (this makes sure that it wont
inform about the docker registry making the tooling most likely fall back to an erroneous
default)
# ASSERT: have a CDK3/minishift server adapter
# ASSERT: make sure that you *DONT* have a connection to CDK3/minishift in the OpenShift
Explorer
# EXEC: launch CDK3/minishift server adapter
# ASSERT: in OpenShift explorer: a new connection to the CDK3/minishift is created
# EXEC: in OpenShift explorer: pick "Edit Connection..."
# ASSERT: connection wizard pops up
# EXEC: hit "Advanced >>" and inspect "Image Registry URL"
Result:
!image-2017-05-17-22-07-43-235.png!
The image registry URL that is unveiled is clearly wrong. It is
https://hub.openshift.rhel-cdk.10.1.2.2.xip.io/
Expected result:
the correct value for the docker registry can be fetched from minishift by doing (in
cmd-line):
{code}
./minishift openshift registry
{code}
In the current state of CDK3/minishift, where the docker registry is not publicly
reachable the value that is reported is an internal IP:
{code}
172.30.1.1:5000
{code}
CDK server adapter: creates a connection with erroneous "Image
Registry URL"
----------------------------------------------------------------------------
Key: JBIDE-24482
URL:
https://issues.jboss.org/browse/JBIDE-24482
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdk
Affects Versions: 4.4.4.Final
Reporter: Andre Dietisheim
Assignee: Rob Stryker
Attachments: image-2017-05-17-22-07-43-235.png
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)