Bug 1314772

Summary: changes made by CLI
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Lubos Trilety <ltrilety>
Component: coreAssignee: Nishanth Thomas <nthomas>
core sub component: monitoring QA Contact: Martin Kudlej <mkudlej>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: mkudlej, sankarshan
Version: 2Keywords: TestBlocker
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhscon-ceph-0.0.23-1.el7scon.x86_64, rhscon-core-0.0.24-1.el7scon.x86_64, rhscon-ui-0.0.39-1.el7scon.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:31:11 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:
Embargoed:

Description Lubos Trilety 2016-03-04 12:45:28 UTC
Description of problem:
An object which is created by CLI is not shown on UI. Similar for changes and deletion. Objects changed/deleted by CLI remains same on UI.

Version-Release number of selected component (if applicable):
rhscon-ui-0.0.19-1.el7.noarch
rhscon-ceph-0.0.6-10.el7.x86_64
rhscon-core-0.0.8-9.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. create some pool and remove some existing one on UI
# rados mkpool test
# rados rmpool uipool0 uipool0 --yes-i-really-really-mean-it

2. check the pools on UI

Actual results:
There's no test pool present. uipool0 is still there.

Expected results:
The test pool will be listed and uipool0 should not be there any more.

Additional info:

Comment 3 Darshan 2016-05-13 11:33:32 UTC
This bug has been fixed as follows:

Whenever a new pool or osd is created/deleted from the CLI, calamari will emit events to USM server regarding the action. USM server will interpret this and query extra information about the new entity and add/delete it to/from DB. This in turn will be reflected in UI.

Comment 4 Martin Kudlej 2016-07-26 13:15:42 UTC
Tested with
ceph-ansible-1.0.5-31.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.36-1.el7scon.x86_64
rhscon-core-0.0.36-1.el7scon.x86_64
rhscon-core-selinux-0.0.36-1.el7scon.noarch
rhscon-ui-0.0.50-1.el7scon.noarch
and it works.