Bug 202487

Summary: Add Errata Severity field support to python backend errata Import
Product: [Retired] Red Hat Network Reporter: Pradeep Kilambi <pkilambi>
Component: RHN/BackendAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn415CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHN415 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-09 20:33:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 201890    

Description Pradeep Kilambi 2006-08-14 19:17:29 UTC
Description of problem:

The new severity field for errata stuff needs to be understood by the python
xmlrpc calls in the backend. Basically use the rhnErrata and rhnErrataSeverity
to consider severity seperate from synopsis and populate the db taking that into
account.
  
Actual results:
 dont see the severity field in rhnErrata being populated by errata tool.

Expected results:
 should see the severity field in rhnErrata being populated.

Comment 1 Pradeep Kilambi 2006-08-14 20:07:17 UTC
Added the capability where when we try to populate the errata it fills in the
severity_id field based on lookup in rhnErrataSeverity. Basically the changes
are in the importlib such that errata-tool will now send a seperate 'severity'
and we get the id from errataseverity table and insert into
rhnErrata.severity_id field

when we query the database we should see something like:


rhnuser@webdev> select severity_id from rhnErrata where id = 67398

SEVERITY_ID
-----------
          2

1 row selected (0.00 seconds)




Comment 2 Brandon Perkins 2006-10-02 14:40:09 UTC
Verified.  bugzilla_errata.submit_errata() method now sends the 'severity'
key/value pair in the hash to http://scripts.back-webqa.redhat.com/BUGZILLA/. 
Currently, this severity must be sent as lower-case only.  This should be fixed
in another bug.

Comment 3 Beth Nackashi 2006-10-26 18:06:28 UTC
moving from VERIFIED to RELEASE_PENDING since stage push is complete

Comment 4 Brandon Perkins 2006-11-09 20:33:32 UTC
closing -- current release.  RHN415 is now in production.