cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From remibergsma <...@git.apache.org>
Subject [GitHub] cloudstack pull request: write logfile just before rebooting the h...
Date Fri, 03 Apr 2015 19:47:35 GMT
GitHub user remibergsma opened a pull request:

    https://github.com/apache/cloudstack/pull/145

    write logfile just before rebooting the host

    As discussed with @wido @pyr and @nuxro added an extra log line.
    
    Tested it and it logs fine (tested to local disk) when syncing first:
    Apr  3 15:31:23 mcctest2 heartbeat: kvmheartbeat.sh system because it was unable to write
the heartbeat to the storage
    
    By the way, it did also log to the agent.log but this extra log has the benefit of ending
up in the system log so you'll probably find it easier there. Existing logs:
    2015-04-03 15:27:23,943 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 0
    2015-04-03 15:28:23,944 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 1
    2015-04-03 15:29:23,946 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 2
    2015-04-03 15:30:23,948 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 3
    2015-04-03 15:31:23,950 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 4
    2015-04-03 15:31:23,950 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout; reboot the host

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/remibergsma/cloudstack master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/145.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #145
    
----
commit 3671b66892e4219dfc66cd1185acefd9662f5a89
Author: Remi Bergsma <github@remi.nl>
Date:   2015-04-03T19:46:02Z

    write logfile just before rebooting the host
    
    As discussed with @wido @pyr and @nuxro added an extra log line.
    
    Tested it and it logs fine (tested to local disk) when syncing first:
    Apr  3 15:31:23 mcctest2 heartbeat: kvmheartbeat.sh system because it was unable to write
the heartbeat to the storage
    
    By the way, it did also log to the agent.log but this extra log has the benefit of ending
up in the system log so you'll probably find it easier there. Existing logs:
    2015-04-03 15:27:23,943 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 0
    2015-04-03 15:28:23,944 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 1
    2015-04-03 15:29:23,946 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 2
    2015-04-03 15:30:23,948 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 3
    2015-04-03 15:31:23,950 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout, retry: 4
    2015-04-03 15:31:23,950 WARN  [kvm.resource.KVMHAMonitor] (Thread-24:null) write heartbeat
failed: timeout; reboot the host

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message