cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhansu7 <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1811: CLOUDSTACK-9649: In the management server log...
Date Fri, 02 Dec 2016 15:01:24 GMT
GitHub user sudhansu7 opened a pull request:

    https://github.com/apache/cloudstack/pull/1811

    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'.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudhansu7/cloudstack CLOUDSTACK-9649

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1811.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1811
    
----
commit c3f082eb785a35017156251a2d13b5735060fe9a
Author: Sudhansu <sudhansu.sahu@accelerite.com>
Date:   2016-12-02T10:19:08Z

    CLOUDSTACK-9649: In the management server log there is an error
     related to 0.0.0.0 IP address
    
    Added guest ip of VR as control ip for a Basic zone with VMware.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message