-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The rhc-tooling is waiting for the namespace to propagate when it creates a domain:
https://github.com/openshift/os-client-tools/blob/master/express/bin/rhc-create-domain#L257
if !app_info.empty? && opt['namespace'] != user_info['user_info']['namespace'] # # Confirm that the host(s) exist in DNS # puts "Now your new domain name(s) are being propagated worldwide (this might take a minute)..." # Allow DNS to propogate sleep 15 app_info.each_key do |appname| fqdn = "#{appname}-#{opt['namespace']}.#{user_info['user_info']['rhc_domain']}" # Now start checking for DNS loop = 0 sleep_time = 2 while loop < RHC::MAX_RETRIES && !RHC::hostexist?(fqdn) sleep sleep_time loop+=1 puts " retry # #{loop} - Waiting for DNS: #{fqdn}" sleep_time = RHC::delay(sleep_time) end if loop >= RHC::MAX_RETRIES puts "Host could not be found: #{fqdn}" dns_success = false end end puts "You can use rhc-domain-info to view any url changes. Be sure to update any links" puts "including the url in your local git config: <local_git_repo>/.git/config" end if dns_success puts "Alteration successful." else puts "Alteration successful but at least one of the urls is still updating in DNS." end puts ""