Bug 961799

Summary: OpenShift::NsupdatePlugin::DnsException error is seen when creating app continuously
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: NodeAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2.0CC: bleanhar, libra-onpremise-devel, mlamouri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-15 20:15:51 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 Johnny Liu 2013-05-10 12:22:55 UTC
Description of problem:
Write a while loop to create app continuously, OpenShift::NsupdatePlugin::DnsException error will be thrown out.

Version-Release number of selected component (if applicable):
1.2/2013-05-09.2

How reproducible:
Always

Steps to Reproduce:
1. Write the following script to create app continuously.
#/bin/sh

start=1
end=6000

i=$start
while [ $i -le $end ]; do
    rhc app create app$i jbosseap-6.0 -p redhat -l jialiu
    ret=$?
    if [ X"$ret" != X"0"  ]; then
        break
    fi
    i=$(expr $i + 1)
done
2.
3.
  
Actual results:
Monitor script output till OpenShift::NsupdatePlugin::DnsException error is thrown out.

Expected results:
No such error is seen.

Additional info:

Comment 1 Johnny Liu 2013-05-10 12:24:16 UTC
<--snip-->
rhc app create app85 jbosseap-6.0 -p redhat -l jialiu 
Application Options
-------------------
  Namespace:  jialiu
  Cartridges: jbosseap-6.0
  Gear Size:  default
  Scaling:    no

Creating application 'app85' ... Unable to complete the requested operation due to: uninitialized constant OpenShift::NsupdatePlugin::DnsException.
Reference ID: 10258b13879662f9ff5e54a5d85fe31d
<--snip-->

Comment 3 Brenton Leanhardt 2013-05-10 20:07:50 UTC
Mark, would you mind taking a look at https://github.com/openshift/origin-server/pull/2430 ?

In the meantime, I'll see if I can figure out what the error actually is.

Comment 4 Brenton Leanhardt 2013-05-10 20:11:53 UTC
Actually CC'ing Mark. :)

Comment 5 Brenton Leanhardt 2013-05-15 20:15:51 UTC
I believe the error happens simply because of load.  However the the DnsExeption class was properly renamed to DNSException and fixed in Bug 955602.

*** This bug has been marked as a duplicate of bug 955602 ***

Comment 6 Johnny Liu 2013-05-16 10:25:08 UTC
I found this bug against 1.2/2013-05-09.2 puddle, the DnsExeption indeed is thrown out, maybe upstream has fixed it, but not addressed in 1.2/2013-05-09.2 puddle, so I do not think it should be closed as "DUPLICATE". 

Now I checked 1.2/2013-05-15.1 puddle, the patch is addressed, so I close it as "CURRENTRELEASE".