[jbosstools-issues] [JBoss JIRA] (JBIDE-22803) When OS projects are created and deleted, seems Openshift explorer restores non existing values

Dmitrii Bocharov (JIRA) issues at jboss.org
Mon Sep 19 15:06:00 EDT 2016


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

Dmitrii Bocharov commented on JBIDE-22803:
------------------------------------------

cc [~jcantrill]. Jeff, I want to ask you a question regarding deleting pods. 
When i delete only a pod through OS Explorer view, firstly WatchManager gets notified that it is changed (actually now it has deletionTimestamp and deletionGracePeriodSeconds) and then it is notified the second time that it is changed to null. 
However, when i delete the whole project, firstly i get the notification with deletionTimestamp and deletionGracePeriodSeconds, but i don't receive the second one with null.
That is why there is such an effect described in this JIRA. It is not actually deleted locally, while it is in OpenShift.
So the question is:  why don't we notified second about deleting pod (setting it to null), when we delete the whole project? 

> When OS projects are created and deleted, seems Openshift explorer restores non existing values
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22803
>                 URL: https://issues.jboss.org/browse/JBIDE-22803
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.1.AM2
>            Reporter: Jeff MAURY
>            Assignee: Dmitrii Bocharov
>              Labels: explorer, openshift, openshift_v3
>             Fix For: 4.4.x
>
>         Attachments: after application creation.png, after build finished.png, Openshift Web Console.png, screenshot-1.png
>
>
> EXEC: create an Openshift project
> EXEC: expand it
> EXEC: Create an application in this project (nodejs-example)
> ASSERT: wait for the pod to be available
> EXEC: delete the Openshit project
> EXEC: create an Openshift project (using the same name. You may have to repeat this step as you may got error that it still exists)
> EXEC: expand it
> EXEC: Create an application in this project (nodejs-example)
> EXEC: expand the nodejs-example node
> ASSERT: you should see 2 pods the old one and the build pod you just created: [^screenshot-1.png]



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list