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

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

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

    https://github.com/apache/cloudstack/pull/840#discussion_r39823849
  
    --- Diff: 
framework/spring/lifecycle/src/main/java/org/apache/cloudstack/spring/lifecycle/CloudStackExtendedLifeCycle.java
 ---
    @@ -96,12 +96,13 @@ public void with(ComponentLifecycle lifecycle) {
         }
     
         public void stopBeans() {
    -        with(new WithComponentLifeCycle() {
    -            @Override
    -            public void with(ComponentLifecycle lifecycle) {
    -                lifecycle.stop();
    -            }
    -        });
    +            with(new WithComponentLifeCycle() {
    --- End diff --
    
    Fix double indentation.


> Cloudstack Database shows that management server is UP when it is actually 
> stopped 
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8852
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8852
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.6.0
>            Reporter: Bharat Kumar
>            Assignee: Bharat Kumar
>             Fix For: Future
>
>
> Stopped the cloudstack-management service on the CCP host
> Checked from the DB server using the command select * from mshost and it 
> shows the status is up
> mysql> select * from mshost;
> +----+-----------------+---------------+----------------------+-------+---------+---------------+--------------+---------------------+---------+-------------+
> | id | msid | runid | name | state | version | service_ip | service_port | 
> last_update | removed | alert_count |
> +----+-----------------+---------------+----------------------+-------+---------+---------------+--------------+---------------------+---------+-------------+
> | 1 | 108626471636843 | 1413421031361 | management.sunil.com | Up | 4.3.0.0 | 
> 10.104.12.210 | 9090 | 2014-10-16 01:14:21 | NULL | 0 |
> +----+-----------------+---------------+----------------------+-------+---------+---------------+--------------+---------------------+---------+-------------+
> 1 row in set (0.00 sec)
> Shut down the management server  and in the database still it shows the 
> status as ‘Up’.



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

Reply via email to