[jbosstools-issues] [JBoss JIRA] (JBIDE-26084) Explorer: pods are show twice if they're controlled by an rc (no dc, no service)

Dmitrii Bocharov (JIRA) issues at jboss.org
Mon Jul 2 13:03:00 EDT 2018


    [ https://issues.jboss.org/browse/JBIDE-26084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599675#comment-13599675 ] 

Dmitrii Bocharov commented on JBIDE-26084:
------------------------------------------

the question here is how to find out that pod doesn't have services or replication controllers "above" it. What i think can work is to check "ownerReferences" field. I found out that it exists for pods that should be displayed under services and doesn't exist for pods that can be created using the description of https://issues.jboss.org/browse/JBIDE-25681. 
[~adietish] wdyt?
[~jcantrill] [~deads2k] it would be great to have your opinion too, as i haven't found any mention of the "ownerReferences" field in the Openshift 2 documentation

> Explorer: pods are show twice if they're controlled by an rc (no dc, no service)
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-26084
>                 URL: https://issues.jboss.org/browse/JBIDE-26084
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.6.0.AM2
>            Reporter: Andre Dietisheim
>            Assignee: Dmitrii Bocharov
>              Labels: explorer
>             Fix For: 4.6.0.Final
>
>         Attachments: eap-without-service-nor-deploymentconfig.json, image-2018-06-06-10-33-55-241.png
>
>
> steps:
> # EXEC: Create a new application via the following custom template [^eap-without-service-nor-deploymentconfig.json]
> # EXEC: look into OpenShift explorer and see where the pods for the application are shown
> Result:
> They're listed twice, once as pods on their own and a 2nd time as children for the replication controller (that the template creates)
>  !image-2018-06-06-10-33-55-241.png! 
> Also see the discussion in the PR Also see discussion for the corresponding [PR|https://github.com/jbosstools/jbosstools-openshift/pull/1748] for JBIDE-24979



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list