cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9649) In the management server log there is an error related to 0.0.0.0 IP address
Date Fri, 23 Dec 2016 12:23:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772730#comment-15772730
] 

ASF subversion and git services commented on CLOUDSTACK-9649:
-------------------------------------------------------------

Commit 746998d162d4adbc4ab13a6933d3cd1f678b0609 in cloudstack's branch refs/heads/4.9 from
[~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=746998d ]

Merge pull request #1811 from sudhansu7/CLOUDSTACK-9649

CLOUDSTACK-9649: In the management server log there is an error
ISSUE
============
In the management server log there is an error

2016-10-01 00:07:31,670 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-417:ctx-e8c89b3f strmg-esx-01,
cmd: GetRouterAlertsCommand) (logid:7beb3819) Command failed due to Exception: java.io.IOException
Message: There was a problem while connecting to 0.0.0.0:3922

In case of basic zone and VMWare ESXi host, the NIC 2 always gets 0.0.0.0 as IP address. Looks
like we are generating an error for connecting through this invalid IP.

2016-10-01 04:37:31,680 DEBUG [c.c.a.m.AgentManagerImpl] (RouterStatusMonitor-1:ctx-8880f9c8)
(logid:946838b8) Details from executing class com.cloud.agent.api.routing.GetRouterAlertsCommand:
Command failed due to Exception: java.io.IOException
Message: There was a problem while connecting to 0.0.0.0:3922

2016-10-01 04:37:31,680 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-8880f9c8)
(logid:946838b8) Unable to get alerts from router r-4-VM Command failed due to Exception:
java.io.IOException
Message: There was a problem while connecting to 0.0.0.0:3922

2016-10-01 04:37:31,682 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-913c7bae)
(logid:1b926a60) External devices stats collector is running...

Root Cause:
As Link local is not used in basic zone mode (vmware). 0.0.0.0 is just shown as a placeholder
address. In getRouterAlerts before sending GetRouterAlertsCommand added check for ip and skip
the command if ip is '0.0.0.0'.

* pr/1811:
  CLOUDSTACK-9649: In the management server log there is an error  related to 0.0.0.0 IP address

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


> In the management server log there is an error related to 0.0.0.0 IP address
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9649
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9649
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, VMware
>    Affects Versions: 4.9.0
>            Reporter: Sudhansu Sahu
>            Assignee: Sudhansu Sahu
>
> ISSUE
> ============
> In the management server log there is an error
> 2016-10-01 00:07:31,670 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-417:ctx-e8c89b3f
strmg-esx-01, cmd: GetRouterAlertsCommand) (logid:7beb3819) Command failed due to Exception:
java.io.IOException
> Message: There was a problem while connecting to 0.0.0.0:3922 
> In case of basic zone and VMWare ESXi host, the NIC 2 always gets 0.0.0.0 as IP address.
Looks like we are generating an error for connecting through this invalid IP.
> 2016-10-01 04:37:31,680 DEBUG [c.c.a.m.AgentManagerImpl] (RouterStatusMonitor-1:ctx-8880f9c8)
(logid:946838b8) Details from executing class com.cloud.agent.api.routing.GetRouterAlertsCommand:
Command failed due to Exception: java.io.IOException
> Message: There was a problem while connecting to 0.0.0.0:3922
> 2016-10-01 04:37:31,680 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-8880f9c8)
(logid:946838b8) Unable to get alerts from router r-4-VM Command failed due to Exception:
java.io.IOException
> Message: There was a problem while connecting to 0.0.0.0:3922
> 2016-10-01 04:37:31,682 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-913c7bae)
(logid:1b926a60) External devices stats collector is running...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message