[
https://issues.apache.org/jira/browse/CLOUDSTACK-8852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043410#comment-15043410
]
ASF subversion and git services commented on CLOUDSTACK-8852:
-------------------------------------------------------------
Commit 74e33dc5ae95e2546a1742c5029d13eb86704fe9 in cloudstack's branch
refs/heads/master from [~remibergsma]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=74e33dc ]
Merge pull request #840 from bvbharatk/CLOUDSTACK-8852
CLOUDSTACK-8852 Database shows that management server is UP when it iDatabase
shows that management server is UP when it is actually stopped.
This was happening as the stop method in clusterMnanagerImpl was not getting
callled. Added shutdown hooks to all spring 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
* pr/840:
CLOUDSTACK-8852 Database shows that management server is UP when it is
actually stopped from the CCP GUI
Signed-off-by: Remi Bergsma <[email protected]>
> 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)