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

Bug 1231327

Summary: DRAC driver fails to detect job completed with errors
Product: Red Hat OpenStack Reporter: Imre Farkas <ifarkas>
Component: openstack-ironicAssignee: Imre Farkas <ifarkas>
Status: CLOSED ERRATA QA Contact: Toure Dunnon <tdunnon>
Severity: unspecified Docs Contact:
Priority: high    
Version: DirectorCC: athomas, calfonso, christopher_dearborn, ifarkas, mburns, mlopes, ohochman, rrosa, yeylon
Target Milestone: gaKeywords: OtherQA, Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ironic-2015.1.0-9.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the DRAC driver in OpenStack Bare Metal Provisioning (Ironic) incorrectly recognized the job status 'completed with errors' as an 'in-progress' status. Consequently, `get_boot_device` and `set_boot_device` tasks failed, as they require that no in-progress jobs be present. This update addresses this issue by adding 'completed with errors' to the list of completed statuses. As a result, `get_boot_device` and `set_boot_device` tasks will proceed even if there is a 'completed with errors' job on the DRAC card.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:26:22 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:
Bug Depends On:    
Bug Blocks: 1238779    

Description Imre Farkas 2015-06-12 17:09:14 UTC
Description of problem:
The DRAC driver considers configuration jobs that have completed with errors as still running, and throws an exception when a new job is submitted.

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


How reproducible:
This was reported upstream, and I have not personally reproduced the issue.

Steps to Reproduce:
1. Submit a job to a drac that completes with errors (not sure how to make a job complete with errors)
2. Submit another job

Actual results:
ironic throws an error saying that another running configuration job exists.

Expected results:
ironic should accept the job

Additional info:

Comment 3 Imre Farkas 2015-06-12 17:10:46 UTC
Patch already merged upstream: https://review.openstack.org/#/c/189409/

Comment 13 errata-xmlrpc 2015-08-05 13:26:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548