Fedora Account System
Red Hat Associate
Red Hat Customer
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:
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.
https://github.com/ManageIQ/manageiq-providers-openstack/pull/264
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