cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9503) The router script times out resulting in failure of deployment
Date Thu, 22 Sep 2016 15:23:21 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9503:
--------------------------------------------

Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1678#discussion_r80064597
  
    --- Diff: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtOvsCreateTunnelCommandWrapper.java
---
    @@ -40,14 +40,11 @@ public Answer execute(final OvsCreateTunnelCommand command, final
LibvirtComputi
             try {
                 if (!libvirtComputingResource.findOrCreateTunnelNetwork(bridge)) {
                     s_logger.debug("Error during bridge setup");
    -                return new OvsCreateTunnelAnswer(command, false,
    -                        "Cannot create network", bridge);
    +                return new OvsCreateTunnelAnswer(command, false, "Cannot create network",
bridge);
                 }
     
    -            libvirtComputingResource.configureTunnelNetwork(command.getNetworkId(), command.getFrom(),
    -                    command.getNetworkName());
    -
    -            final Script scriptCommand = new Script(libvirtComputingResource.getOvsTunnelPath(),
libvirtComputingResource.getTimeout(), s_logger);
    +            libvirtComputingResource.configureTunnelNetwork(command.getNetworkId(), command.getFrom(),
command.getNetworkName());
    +            final Script scriptCommand = new Script(libvirtComputingResource.getOvsTunnelPath(),
libvirtComputingResource.getTimeout().getMillis(), s_logger);
    --- End diff --
    
    Please consider adding an overridden version of the `Script(String, int, Logger)` constructor
that accepts `Duration` to encapsulate this type conversion.


> The router script times out resulting in failure of deployment
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9503
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9503
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.9.0
>         Environment: KVM, Xen
>            Reporter: Abhinandan Prateek
>            Assignee: Abhinandan Prateek
>             Fix For: 4.9.1.0
>
>
> When starting the virtual router in a shared network in advance zone the scripts on router
time out. This happen as there are several sub-commands that are consolidated in a single
command. The default timeout of 2 minutes is short.
> 2016-09-09 00:06:25,016 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-110:ctx-e8089ec7
job-5135/job-5137 ctx-c3a8da18) (logid:8aedea66) process hasn't exited
> 2016-09-09 00:06:25,016 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-110:ctx-e8089ec7
job-5135/job-5137 ctx-c3a8da18) (logid:8aedea66) Command: com.cloud.agent.api.Command failed
while starting virtual router
> 2016-09-09 00:06:25,016 INFO [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-110:ctx-e8089ec7
job-5135/job-5137 ctx-c3a8da18) (logid:8aedea66) The guru did not like the answers so stopping
VM[DomainRouter|r-3445-VM]
> —



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

Mime
View raw message