| Summary: | When an appliance doesn't have access to the internet, domain display name causes a failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | mkanoor | ||||
| Component: | Automate | Assignee: | mkanoor | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.7.0 | CC: | cpelland, jhardy, mkanoor, obarenbo, simaishi, tfitzger | ||||
| Target Milestone: | GA | Keywords: | TestOnly | ||||
| Target Release: | 5.8.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | automate:git | ||||||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1396210 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-06-12 17:47:05 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1396210 | ||||||
| Attachments: |
|
||||||
stack trace [----] F, [2016-11-02T14:38:56.727582 #3087:3ff66f32c5a8] FATAL -- : Error caught: [MiqException::MiqUnreachableError] Failed to resolve address for gitlab.cloudforms.lab.eng.rdu2.redhat.com: nodename nor servname provided, or not known /Users/madhukanoor/devsrc/manageiq/app/models/git_repository.rb:96:in `rescue in repo_block' /Users/madhukanoor/devsrc/manageiq/app/models/git_repository.rb:94:in `repo_block' /Users/madhukanoor/devsrc/manageiq/app/models/git_repository.rb:86:in `update_repo' /Users/madhukanoor/devsrc/manageiq/app/models/git_repository.rb:15:in `refresh' /Users/madhukanoor/devsrc/manageiq/app/models/git_repository.rb:23:in `branch_info' /Users/madhukanoor/devsrc/manageiq/lib/miq_automation_engine/models/miq_ae_domain.rb:145:in `latest_ref_info' /Users/madhukanoor/devsrc/manageiq/lib/miq_automation_engine/models/miq_ae_domain.rb:153:in `display_name' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_node_builder.rb:271:in `node_with_display_name' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_node_builder.rb:116:in `block in <class:TreeNodeBuilder>' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_node_builder.rb:178:in `instance_exec' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_node_builder.rb:178:in `build' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_node_builder.rb:29:in `build' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:285:in `x_build_single_node' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:263:in `x_build_node' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:290:in `x_build_node_tree' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:218:in `block in x_build_tree' /Users/madhukanoor/.gem/ruby/2.2.2/gems/activerecord-5.0.0.1/lib/active_record/relation/delegation.rb:38:in `map' /Users/madhukanoor/.gem/ruby/2.2.2/gems/activerecord-5.0.0.1/lib/active_record/relation/delegation.rb:38:in `map' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:213:in `x_build_tree' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:151:in `build_tree' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder.rb:30:in `initialize' /Users/madhukanoor/devsrc/manageiq/app/presenters/tree_builder_ae_class.rb:7:in `initialize' /Users/madhukanoor/devsrc/manageiq/app/controllers/application_controller/feature.rb:28:in `new' /Users/madhukanoor/devsrc/manageiq/app/controllers/application_controller/feature.rb:28:in `build_tree' /Users/madhukanoor/devsrc/manageiq/app/controllers/application_controller.rb:2421:in `block in build_accordions_and_trees' /Users/madhukanoor/devsrc/manageiq/app/controllers/application_controller.rb:2421:in `collect' /Users/madhukanoor/devsrc/manageiq/app/controllers/application_controller.rb:2421:in `build_accordions_and_trees' Verified in 5.8.0.3.20170301174324_1e2e0c4. The domain is displayed properly. |
Created attachment 1216712 [details] Screen shot of the error Description of problem: Not all appliances in a zone might have access to the internet. When we display the domain name for a Git enabled domain, if there is no internet connection or the git server can't be reached we get an error Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Import a Git Domain into Automate 2. Server the connection to the GIT Server from the appliance (Disable VPN or some other trick) 3. List all the Automate Domains using Automate-> Explorer Actual results: Unexpected error encountered Expected results: The domain should be displayed properly Additional info: