Bug 977579

Summary: Broker does not honor --no-dns from rhc create-app
Product: OpenShift Online Reporter: Jhon Honce <jhonce>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.x   
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-06-25 18:33:38 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:
Attachments:
Description Flags
not using --no-dns
none
using --no-dns none

Description Jhon Honce 2013-06-25 00:06:27 UTC
Created attachment 764846 [details]
not using --no-dns

Description of problem:
When rhc create-app --no-dns is used the Broker should not require a DNS provider to create applications.

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

How reproducible:
Happens when DNS provided is unavailable

Steps to Reproduce:
1. DNS provider not available
2. rhc create-app --no-dns ruby001 -t ruby-1.9

Actual results:
#rhc create-app --no-dns ruby001 -t ruby-1.9
Application Options
-------------------
  Namespace:  honcenet
  Cartridges: ruby-1.9
  Gear Size:  default
  Scaling:    no

Creating application 'ruby001' ... Error communicating with DNS system.  If the problem persists please contact Red Hat support.

Expected results:
Successful creation of application. 

Additional info:

Comment 1 Jhon Honce 2013-06-25 00:07:14 UTC
Created attachment 764857 [details]
using --no-dns

Comment 2 Abhishek Gupta 2013-06-25 18:33:38 UTC
The --no-dns flag is for the CLI to not wait for the DNS to be available before returning from the app create operation. It does not have any impact the broker where the DNS registration is not optional. 

This is the current behavior. If DNS creation needs to be made optional, a feature request is required.