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

Anthony Xu commented on CLOUDSTACK-4067:
----------------------------------------

status in mshost is not used, which might be wrong, the status in mshost_peer 
is correct, 

mysql> select * from mshost_peer;
+----+--------------+-------------+---------------+------------+---------------------+
| id | owner_mshost | peer_mshost | peer_runid    | peer_state | last_update    
     |
+----+--------------+-------------+---------------+------------+---------------------+
|  2 |            1 |           1 | 1375576853933 | Up         | 2013-08-04 
00:41:29 |
|  3 |            1 |           2 | 1375576869157 | Up         | 2013-08-04 
00:42:02 |
|  6 |            2 |           1 | 1375576853933 | Down       | 2013-08-05 
01:47:44 |
|  7 |            2 |           2 | 1375667237932 | Up         | 2013-08-05 
01:47:44 |
+----+--------------+-------------+---------------+------------+---------------------+
4 rows in set (0.00 sec)


                
> clustered MS -  service  cloudstack-management stop on 1  MS in cluster. 
> cluster DB still shows MS in Up state
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4067
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4067
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: clustered MS
> DB server           10.223.195.114
> MS1                   10.223.195.113
> MS2                   10.223.195.117
> 1. MS2:    service cloudstack-management stop
> 2. DB server:
> mysql> select * from mshost;
> +----+---------------+---------------+-----------------------+-------+----------------+----------------+--------------+---------------------+---------+-------------+
> | id | msid          | runid         | name                  | state | 
> version        | service_ip     | service_port | last_update         | 
> removed | alert_count |
> +----+---------------+---------------+-----------------------+-------+----------------+----------------+--------------+---------------------+---------+-------------+
> |  1 | 7662288766739 | 1375576853933 | asfmgmt.lab.vmops.com | Up    | 
> 4.2.0-SNAPSHOT | 10.223.195.117 |         9090 | 2013-08-05 02:39:33 | NULL   
>  |           1 |
> |  2 | 6655051826959 | 1375667237932 | asfmgmt.lab.vmops.com | Up    | 
> 4.2.0-SNAPSHOT | 10.223.195.113 |         9090 | 2013-08-05 03:11:50 | NULL   
>  |           0 |
>            Reporter: angeline shen
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.log.gz
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to