Bug 1527209 - Nuage Networks provider does not handle empty AMQP details
Summary: Nuage Networks provider does not handle empty AMQP details
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Nobody
QA Contact: Gregor Berginc
URL:
Whiteboard:
Depends On:
Blocks: 1563358
TreeView+ depends on / blocked
 
Reported: 2017-12-18 20:09 UTC by Jerome Marc
Modified: 2023-11-01 23:34 UTC (History)
5 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1563358 (view as bug list)
Environment:
Last Closed:
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log for Nuage Networks provider when AMQP is not configured (1.24 MB, text/plain)
2017-12-18 20:09 UTC, Jerome Marc
no flags Details

Description Jerome Marc 2017-12-18 20:09:06 UTC
Created attachment 1369660 [details]
evm.log for Nuage Networks provider when AMQP is not configured

Description of problem:
The UI lets you create a Nuage Networks provider without specifying the AMQP details (which is set to AMQP by default with no values). Once saved (without AMPQ details), the Nuage Networks provider re-attempts to start a event monitoring thread every second (see evm log attached), for ever. This seems to cause issues, see below (Too many open files).

Restart every second:

[----] I, [2017-12-18T14:49:31.335468 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner#do_work) EMS [5a365c72735c8f00018e4722.labs.nuagex.io] as [admin] Event Monitor Thread gone. Restarting...
[----] I, [2017-12-18T14:49:31.335888 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner#start_event_monitor) EMS [5a365c72735c8f00018e4722.labs.nuagex.io] as [admin] Validating Connection/Credentials
[----] I, [2017-12-18T14:49:31.336098 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager#with_provider_connection) Connecting through ManageIQ::Providers::Nuage::NetworkManager: [ Network Manager]
[----] I, [2017-12-18T14:49:31.336615 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager.raw_connect) Connecting to Nuage VSD with url https://5a365c72735c8f00018e4722.labs.nuagex.io:8443/nuage/api/v4_0
[----] I, [2017-12-18T14:49:31.733034 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner#start_event_monitor) EMS [5a365c72735c8f00018e4722.labs.nuagex.io] as [admin] Starting Event Monitor Thread
[----] E, [2017-12-18T14:49:31.737913 #3407:4b40b78] ERROR -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner#start_event_monitor) EMS [5a365c72735c8f00018e4722.labs.nuagex.io] as [admin] Event Monitor Thread aborted because [Transport error]
[----] E, [2017-12-18T14:49:31.738104 #3407:4b40b78] ERROR -- : [MiqException::MiqHostError]: Transport error  Method:[block in method_missing]
[----] I, [2017-12-18T14:49:31.738243 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner#start_event_monitor) EMS [5a365c72735c8f00018e4722.labs.nuagex.io] as [admin] Started Event Monitor Thread

Too many files opened:

[----] I, [2017-12-18T14:58:01.077847 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager#with_provider_connection) Connecting through ManageIQ::Providers::Nuage::NetworkManager: [ Network Manager]
[----] I, [2017-12-18T14:58:01.078114 #3407:f5f140]  INFO -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager.raw_connect) Connecting to Nuage VSD with url https://5a365c72735c8f00018e4722.labs.nuagex.io:8443/nuage/api/v4_0
[----] E, [2017-12-18T14:58:01.078973 #3407:f5f140] ERROR -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager.connection_rescue_block) Error Class=Errno::EMFILE, Message=Failed to open TCP connection to 5a365c72735c8f00018e4722.labs.nuagex.io:8443 (Too many open files - getaddrinfo)
[----] E, [2017-12-18T14:58:01.079101 #3407:f5f140] ERROR -- : MIQ(ManageIQ::Providers::Nuage::NetworkManager.connection_rescue_block) Error Class=MiqException::MiqEVMLoginError, Message=Unexpected response returned from system: Failed to open TCP connection to 5a365c72735c8f00018e4722.labs.nuagex.io:8443 (Too many open files - getaddrinfo)



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jerome Marc 2017-12-18 20:11:39 UTC
Version-Release number of selected component (if applicable):
5.9.0.13.20171212214416_f4f190a

Comment 3 Dave Johnson 2017-12-18 20:45:23 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.


Note You need to log in before you can comment on or make changes to this bug.