Bug 1253103 - system's old disk records are not properly deleted when they change
Summary: system's old disk records are not properly deleted when they change
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 21.0
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-13 01:09 UTC by Dan Callaghan
Modified: 2015-08-26 06:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-26 06:17:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2015-08-13 01:09:28 UTC
The latest version of beaker-system-scan has changed the value of the "model" column for disks in some cases (see bug 1247464 about that).

A system which previously had two disk rows:

Disks
Model 	Size 	Logical sector size 	Physical sector size
HP 73.4G ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes
HP 73.4G ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes 

was updated to have two new disks with different models, which should have been:

Disks
Model 	Size 	Logical sector size 	Physical sector size
ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes
ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes 

but instead we get:

Disks
Model 	Size 	Logical sector size 	Physical sector size
HP 73.4G ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes
ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes
ST373453LC 	73.41 GB / 68.37 GiB 	512 bytes 	512 bytes 

Beaker is failing to correctly delete the old rows when they are removed from the uploaded inventory data.

Comment 2 Dan Callaghan 2015-08-20 00:55:34 UTC
http://gerrit.beaker-project.org/4358

Comment 4 Dan Callaghan 2015-08-21 05:17:19 UTC
Steps to verify:
1. Run a hardware scan on a system with more than one disk (click Scan on Hardware Details tab).
2. Check that the correct disks are shown on the Hardware Details tab after the scan finishes successfully. There should be not extra disks shown.

Comment 8 Dan Callaghan 2015-08-26 06:17:16 UTC
Beaker 21.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.