Bug 1323739

Summary: Topology View does not seem to update objects
Product: Red Hat CloudForms Management Engine Reporter: ldomb
Component: UI - OPSAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED NOTABUG QA Contact: Dafna Ron <dron>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: fsimonce, hkataria, jhardy, kmorey, ldomb, mpovolny, nachandr, nstephan, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:ui
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-12 21:52:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Side by side picture none

Description ldomb 2016-04-04 15:00:38 UTC
Created attachment 1143372 [details]
Side by side picture

Description of problem:
I have a stale object of an image scan in the topology overview which does not show up on my management-infra project 

Version-Release number of selected component (if applicable):


5.5.2.4.20160127105142_395c086


How reproducible:
Not sure howto reproduce that as I am not sure why this is happening. 

Steps to Reproduce:
1.
2.
3.

Actual results:
Stale object in topology UI

Expected results:
Clean up failed containers

Additional info:
Check the img-scan failed which does not show up in the ose management infra

Comment 2 Federico Simoncelli 2016-04-07 16:28:08 UTC
Refresh of the entities takes place every few minutes. Did the additional pod go away in the end?

Comment 3 Federico Simoncelli 2016-04-07 16:30:15 UTC
Ah and btw it could be just a UI issue, have you tried to click the "Refresh" button at the top of the topology?

Comment 4 ldomb 2016-04-08 19:36:29 UTC
Its still there even I refresh

Comment 6 Federico Simoncelli 2016-04-12 21:31:30 UTC
(In reply to ldomb from comment #4)
> Its still there even I refresh

What's the status of your system now? Do you still see the difference in the two topology widgets?

If so, then can you give us the output of:

# oc get pods --all-namespaces


And please provide also the status of refresh of the container provider in ManageIQ.

In the main tabs follow "Containers" => "Providers" and then click on the relevant provider. In the "Status" summary it should tell you if it's properly refreshed (e.g. "Status" "Last Refresh: Success - 1 Minute Ago").

Thanks.

Comment 8 ldomb 2016-04-12 21:44:32 UTC
You can close the bug. As you can see the container is in error state so its correct. 

[root@osemaster ~]# oc get pods --all-namespaces
NAMESPACE          NAME                             READY     STATUS      RESTARTS   AGE
default            docker-registry-1-exny6          1/1       Running     8          21d
default            management-metrics-1-hda8b       1/1       Running     9          21d
default            router-1-lfi8h                   1/1       Running     8          21d
management-infra   manageiq-img-scan-6afea2ffbe91   0/1       Error       0          15d
mycakephp          cakephp-example-1-build          0/1       Completed   0          15d
mycakephp          cakephp-example-1-w2f8u          1/1       Running     5          15d
mydjango           django-psql-example-1-build      0/1       Completed   0          21d
mydjango           django-psql-example-1-pnuqp      1/1       Running     17         21d
mydjango           postgresql-1-vm0fq               1/1       Running     9          21d
mynodesjs          mongodb-1-3c1po                  1/1       Running     8          21d
mynodesjs          nodejs-mongodb-example-1-build   0/1       Completed   0          21d
mynodesjs          nodejs-mongodb-example-1-ke5hp   1/1       Running     9          21d
openshift-infra    hawkular-cassandra-1-f2qx9       1/1       Running     7          21d
openshift-infra    hawkular-metrics-160ne           1/1       Running     7          21d
openshift-infra    heapster-eszkv                   1/1       Running     32         21d
openshift-infra    metrics-deployer-pr2jb           0/1       Completed   0          21d