Bug 1240385 - [New] - Error thrown while running configure-gluster-nagios, but configuring succeeds
Summary: [New] - Error thrown while running configure-gluster-nagios, but configuring ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nagios-server-addons
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Ramesh N
QA Contact: RHS-C QE
URL:
Whiteboard:
Depends On:
Blocks: 1216951
TreeView+ depends on / blocked
 
Reported: 2015-07-06 18:25 UTC by RamaKasturi
Modified: 2016-04-13 06:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
When the configure-gluster-nagios command tries to get the IP Address and FLAGs for all network interfaces in the system, the following error appears: "ERROR:root:unable to get ipaddr/flags for <nic-name>: [Errno 99] Cannot assign requested address" when there is an issue while retrieving IP Address/Fags for a NIC." However, the command actually succeeded and configured the nagios correctly.
Clone Of:
Environment:
Last Closed: 2016-04-13 06:19:17 UTC
Embargoed:


Attachments (Terms of Use)

Description RamaKasturi 2015-07-06 18:25:21 UTC
Description of problem:
I see the following error while running configure-gluster-nagios on a physical machine.
Are you sure, you want to commit the changes? (Yes, No) [Yes]: Yes
Enter Nagios server address [rhs-client24.lab.eng.blr.redhat.com]:
ERROR:root:unable to get ipaddr/flags for eth2: [Errno 99] Cannot assign requested address
Cluster configurations synced successfully from host rhs-client24.lab.eng.blr.redhat.com
Do you want to restart Nagios to start monitoring newly discovered entities? (Yes, No) [Yes]:
Nagios re-started successfully

Version-Release number of selected component (if applicable):
nagios-server-addons-0.2.1-3.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install nagios-server-addons on a physical machine 
2. Now run configure-gluster-nagios -c <cluster_name> -H <hostname>
3.

Actual results:
Following error is displayed on the terminal ERROR:root:unable to get ipaddr/flags for eth2: [Errno 99] Cannot assign requested address

Expected results:
There should not be any errors.

Additional info:

Comment 2 Ramesh N 2015-07-07 04:17:14 UTC
I think there is some issue when there un-configured nics in the system. Looks like eth2 is not configured in this case. But nagios monitoring should work without any issue. Can u confirm that nagios monitoring works correctly though there is an error message in auto configuration?.

Comment 3 RamaKasturi 2015-07-07 05:56:52 UTC
eth2 is configured and ovirtmgmt bridge is created on that. Nagios monitoring works fine. But i see the error mentioned in the bug when i run configure-gluster-nagios.

Comment 4 Ramesh N 2015-07-07 06:26:42 UTC
I am not able to re-produce this issue. We are logging this error when we fail to retrive IP Address or FLAGs for a particular nic. In this we are not able to retrieve the IP Address/Flgas for the nic eth2.

Comment 6 monti lawrence 2015-07-22 21:08:29 UTC
Doc text is edited. Please sign off to be included in Known Issues.

Comment 7 Ramesh N 2015-07-24 11:06:00 UTC
doc text looks good. Approved.

Comment 8 Sahina Bose 2016-04-13 06:19:17 UTC
Since this seems more like a configuration issue with networks, and no impact to working nagios monitoring- closing this.
Please reopen if you think it is a necessary fix.


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