[
https://issues.apache.org/jira/browse/CLOUDSTACK-8852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043407#comment-15043407
]
ASF subversion and git services commented on CLOUDSTACK-8852:
-------------------------------------------------------------
Commit 4849368c94f4c5d7e48beb92dba653bc97aa5ba5 in cloudstack's branch
refs/heads/master from [~bharat.kumar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4849368 ]
CLOUDSTACK-8852 Database shows that management server is UP when it is actually
stopped from the CCP GUI
This was happening as the stop method in clusterMnanagerImpl was not
getting callled. Added shutdown hooks to all sub contexts,
this enables spring to call the stop mehtods of the beans when management
server is shutting down.
Conflicts:
framework/spring/module/src/main/java/org/apache/cloudstack/spring/module/web/CloudStackContextLoaderListener.java
> 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)