Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1085047

Summary: CSV export produces obsolete 'secret' column with no value, which fails to be imported
Product: [Retired] Beaker Reporter: andrew <alemay>
Component: web UIAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.16CC: aigao, asaha, dcallagh, ebaak, rmancy, xjia
Target Milestone: 0.16.2Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-28 23:00:37 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 andrew 2014-04-07 16:42:57 UTC
Description of problem: cvs will not import without error


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


How reproducible:100%


Steps to Reproduce:
Download csv
[s]$ head -n 1 system.csv >> beaker-system.csv
[s]$ cat system.csv | grep ibm-z10-02 >> beaker-system.csv 
Then upload 

Error Log
Error importing system on line 2: ibm-z10-02: Invalid secret None


Actual results: Errors


Expected results: no Errors


Additional info:

Comment 2 Dan Callaghan 2014-04-08 00:52:51 UTC
Expected result is actually: the CSV export should not contain a secret column (and it *definitely* shouldn't contain a secret column with no values, because that fails to import).

Comment 3 Dan Callaghan 2014-04-08 00:55:01 UTC
There is supposed to be a test which covers export-and-re-import, which should have caught this. So we need to figure out why that didn't happen.

Comment 4 Dan Callaghan 2014-04-08 01:45:28 UTC
Workaround is to delete the 'secret' column from the exported CSV before you re-import it.

Comment 5 Amit Saha 2014-04-08 01:50:55 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/3002/

"secret" column is not exported.

Comment 8 Dan Callaghan 2014-04-28 23:00:37 UTC
Beaker 0.16.2 has been released.