Bug 955602

Summary: dns nsupdate plugin throws undefined exception on failure to update.
Product: OKD Reporter: Mark Lamourine <mlamouri>
Component: PodAssignee: Mark Lamourine <mlamouri>
Status: CLOSED EOL QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.xCC: bleanhar, dpal, jialiu, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-25 06:37:54 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 Mark Lamourine 2013-04-23 11:55:52 UTC
Description of problem:

When the openshift-origin-dns-nsupdate plugin fails to update DNS due to incorrect credentials, the exception raised does not exist.

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


How reproducible:

Run openshift origin broker using nsupdate plugin with incorrect credentials.
Attempt update of DNS (register/deregister application)


Steps to Reproduce:
1.
2.
3.
  
Actual results:

Undefined Constant DnsException

Expected results:

Failed to update DNS for <hostname>


Additional info:

The correct exception is OpenShift::DNSException

Comment 1 Mark Lamourine 2013-04-23 11:56:37 UTC
Demonstrated by Lynn Root yesterday.

Comment 2 Mark Lamourine 2013-04-29 17:51:22 UTC
Patch in PR2269: https://github.com/openshift/origin-server/pull/2269

Comment 3 Brenton Leanhardt 2013-05-15 20:15:51 UTC
*** Bug 961799 has been marked as a duplicate of this bug. ***

Comment 4 Brenton Leanhardt 2013-05-16 17:48:40 UTC
I'm not entirely sure which team tests fixes for Origin bugs but this issue has been fixed.