osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: related to CLOUDSTACK-10310 Fix KVM reboot on storage issue need workaround


We maybe missing a bit of context here - are you using NFS as shared
storage in the cluster?

If so - are you certain you aren’t loosing connectivity to NFS primary
storage?

Please upload the agent.log to pastebin or similar site and share the link.



On Tue, May 15, 2018 at 3:13 AM hanumant borwandkar <
hanumant.borwandkar@xxxxxxxxx> wrote:

> Hi,
>
> We are using cloudstack inhouse with the version
>
> cloudstack-common-4.9.2.0-1.el7.centos.x86_64
> cloudstack-agent-4.9.2.0-1.el7.centos.x86_64
>
> But unfortunately sometime or after every few day compute host getting
> rebooted by cloudstack-agent and all VM running on that compute get
> affected.
>
> It seems that I m facing issue related to* CLOUDSTACK-10310 Fix KVM reboot
> on storage issue.*
>
> I tried to modify
> /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh
> as per github follows
>
> *  /usr/bin/logger -t heartbeat "kvmheartbeat.sh stopped cloudstack-agent
> because it was unable to write the heartbeat to the storage."*
> *  sync &*
> *  sleep 5*
> *  #echo b > /proc/sysrq-trigger*
> * service cloudstack-agent stop*
>
> But no improvement still compute getting rebooted .
>
> Can someone able to provide workaround or fix for this issue
>
> Regards,
> Hanumant Borwandkar
>