Bug 1510769
| Summary: | If the external network provider is unavailable CFME network provider throws unfriendly exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Mor <mkalfon> | ||||
| Component: | Providers | Assignee: | Martin Slemr <mslemr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.9.0 | CC: | alkaplan, cpelland, danken, gblomqui, jfrey, jhajyahy, jhardy, mgoldboi, mperina, myakove, obarenbo | ||||
| Target Milestone: | GA | Keywords: | TestOnly, UserExperience, ZStream | ||||
| Target Release: | 5.10.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1566570 (view as bug list) | Environment: | |||||
| Last Closed: | 2019-02-11 13:53:33 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | Openstack | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1566570 | ||||||
| Attachments: |
|
||||||
The bug is not ovirt-network-provider specific. The same will happen for the openstack network provider and I guess that for all the other network providers. This bug is specific for ovirt and openstack network providers only. New commit detected on ManageIQ/manageiq-providers-openstack/master: https://github.com/ManageIQ/manageiq-providers-openstack/commit/0bbc14470edc4ab6c26f887be952a4b77e9e8b1e commit 0bbc14470edc4ab6c26f887be952a4b77e9e8b1e Author: Martin Slemr <mslemr> AuthorDate: Tue Apr 3 08:39:23 2018 -0400 Commit: Martin Slemr <mslemr> CommitDate: Tue Apr 3 08:39:23 2018 -0400 Add Cloud network friendly message Unavailable provider: +/- Cloud Network returns friendly error Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1510769 app/models/manageiq/providers/openstack/helper_methods.rb | 2 + 1 file changed, 2 insertions(+) HI, I need help on verifying this bug: Which service should i stop ? (In reply to Jadh from comment #7) > HI, > > I need help on verifying this bug: > > Which service should i stop ? Is it enough to delete neutron service: openstack service neutron delete ? Hi Jadh, If you have RHV registered in CFME, you should stop ovirt-provider-ovn, else it should be the name of the services that runs the external network provider server. If you are using Neutron, you should simply stop the Neutron service. New commit detected on ManageIQ/manageiq-providers-openstack/master: https://github.com/ManageIQ/manageiq-providers-openstack/commit/0c34c37a6c636f9b5415469e2b06a65b4d951d20 commit 0c34c37a6c636f9b5415469e2b06a65b4d951d20 Author: Martin Slemr <mslemr> AuthorDate: Mon May 21 08:41:51 2018 -0400 Commit: Martin Slemr <mslemr> CommitDate: Mon May 21 08:41:51 2018 -0400 Friendly error message for HTTP 503 Handling HTML error responses from undercloud Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1566570 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1510769 app/models/manageiq/providers/openstack/helper_methods.rb | 10 + 1 file changed, 10 insertions(+) Verified on 5.10.0.3 |
Created attachment 1349302 [details] evm log Description of problem: When a registered ovirt-provider-ovn is unavailable and trying to create network through the CFME interface, it throws unfriendly UI message: "Unable to create Cloud Network "test123": undefined method `response' for #<Excon::Error::Socket:0x0000000d7053e8> Did you mean? respond_to?" Version-Release number of selected component (if applicable): CFME 5.9.0.5.20171102023815_209f732 How reproducible: 100% Steps to Reproduce: 1. Stop ovirt-provider-ovn service. 2. On the CFME console, try to create a network on the provider. Actual results: Unfriendly error message. Expected results: Message should be friendly. Additional info: