cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edison su (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5581) KVM - Network down - CPVM after being HA'ed remains in "Alert" state.
Date Fri, 03 Jan 2014 20:15:51 GMT

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

edison su commented on CLOUDSTACK-5581:
---------------------------------------

It;s an agent sync issue. 
There are two threads try to update  v-48-MyTestVM state:
one thread is console proxy agent connecting back to mgt server, due to console proyx VM restarted
during HA, this thread will update agent state as UP
another thread is the ping timeout, mgt server found console proxy agent is behind of ping,
then start a thread to investigate its state, mgt server will send a ping command to hypervisor,
unfortunately, at that time, the console proxy vm is already up and running, so the ping command
will succeed, then mgt server will regard this agent as "disconnected", as it's behind of
ping and console proxy host is up, so mgt server will mark the console proxy agent as "alert".

Not sure, Kelven's vm sync will solve the issue or not.

> KVM - Network down - CPVM after being HA'ed remains in "Alert" state. 
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5581
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5581
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: Build from 4.3
>            Reporter: Sangeetha Hariharan
>            Assignee: edison su
>            Priority: Critical
>             Fix For: 4.3.0
>
>         Attachments: kvm-hostdisconnect.rar
>
>
> KVM - Network down - CPVM after being HA'ed remains in "Alert" state.
> Steps to reproduce the problem:
> Set up - Advanced zone with 2 Rhel 6.3 hosts in cluster.
> Deploy ~10 Vms.
> Simulate network disconnect on the host ( ifdown em1)
> Host gets marked as "Down" and all the Vms (including CPVM) gets HA-ed to the other host.
> CPVM (v-48-MyTestVM ) after being HA'ed remains in "Alert" state.
> mysql>  select id,name,status , removed from host;
> +----+---------------------------+--------------+---------------------+
> | id | name                      | status       | removed             |
> +----+---------------------------+--------------+---------------------+
> |  1 | Rack3Host13.lab.vmops.com | Up           | NULL                |
> |  2 | Rack3Host14.lab.vmops.com | Up           | NULL                |
> |  3 | v-1-VM                    | Disconnected | 2013-12-17 22:55:12 |
> |  4 | s-35-MyTestVM             | Up           | 2013-12-19 19:40:20 |
> |  5 | v-48-MyTestVM             | Alert        | NULL                |
> |  6 | s-62-MyTestVM             | Up           | NULL                |
> +----+---------------------------+--------------+---------------------+
> 6 rows in set (0.00 sec)
> Note - I am able to view the console proxy view of the user Vms.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message