Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1365349

Summary: Duplicated service ids with different status are listed in services page after "mark" operation.
Product: Red Hat Enterprise Linux 7 Reporter: Wei Wang <weiwang>
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: NEW --- QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: anilsson, bugs, cshao, huiwa, huzhao, jscotka, leiwang, mvollmer, rbarry, yaniwang, ycui
Target Milestone: pre-dev-freezeKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1329957    
Attachments:
Description Flags
picture
none
log files none

Description Wei Wang 2016-08-09 03:21:33 UTC
Created attachment 1189009 [details]
picture

Description of problem:
Duplicated service ids with different status are listed in services page after "mark" operation.

Version-Release number of selected component (if applicable):
RHVH-7.2-20160804.0-RHVH-x86_64-dvd1.iso
imgbased-0.7.4-0.1.el7ev.noarch
cockpit-0.114-2.el7.x86_64
cockpit-ovirt-dashboard-0.10.6-1.3.4.el7ev.noarch


How reproducible:
100%
Not Regression bug
Keywords: UI

Steps to Reproduce:
1. Install RHVH-7.2-20160804.0-RHVH-x86_64-dvd1.iso (default ks file)
2. Login cockpit website hostIP:9090 with root account
3. Select "Services" page
4. Select "System Services"
5. Select one service which status is empty, e.g: serial-getty@.service
6. Input the hostname of host, then click "instantiate" button
7. Enable it , then click "Mark" option menu
8. Go back to services page, check the <service name>@<hostname>.service


Actual results:
Duplicated service ids with different status are listed in services page after "mark" operation.


Expected results:
Duplicated services id should not be displayed.



Additional info:

Comment 1 Wei Wang 2016-08-09 03:24:49 UTC
Created attachment 1189010 [details]
log files

Comment 2 Fabian Deutsch 2016-08-09 10:23:01 UTC
The image shows a template and an instance.

The instance should probably also include the device which it was instantiated for.

Comment 4 Dominik Perpeet 2016-08-09 11:37:46 UTC
Andreas, how should cockpit display this?