Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Server suddenly powered off

Need help with peripherals or devices?
Post Reply
Message
Author
hany.elsersawy
Posts: 3
Joined: 2019-09-02 07:18

[SOLVED] Server suddenly powered off

#1 Post by hany.elsersawy »

Hi,
I am having debian 8.10 server VM contains asterisk on KVM Openstack hypervisor. My problem is about every month it's suddenly powered off as you have unplugged the power source.
From the syslog last before poweroff:
==
Aug 29 14:17:47 svr02 core-system[3740]: UUID: 1567088267.623476 - [INFO][main] Call: Accepted - detail: Call Accepted
Aug 29 14:18:00 svr02 core-system[3785]: UUID: 1567088279.623480 - [INFO][main] Start script begin_call.php
Aug 29 14:18:00 svr02 core-system[3785]: UUID: 1567088279.623480 - [INFO][main] New Incoming call - CallerID: 500288087 - DID_called: 8343838 - Channel: SIP/trunk-sip-serv
er-0004c0ba
Aug 29 14:18:00 svr02 core-system[3785]: UUID: 1567088279.623480 - [INFO][main] Call: Accepted - detail: Call Accepted
Aug 29 14:18:01 svr02 CRON[3790]: (root) CMD (#/usr/bin/php /etc/scripts/schedule_action.php > /dev/null)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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8.4.2" x-pid="464" x-info="http://www.rsyslog.com"] start
==

OpenStack server logs:
==
2019-08-29 17:18:41.574 9460 INFO nova.compute.manager [-] [instance: 278eaa51-b252-4db4-b581-20a0d8a32490] VM Stopped (Lifecycle Event)
2019-08-29 17:18:41.750 9460 INFO nova.compute.manager [req-506e6af1-3937-409c-8161-358651e257ad - - - - -] [instance: 278eaa51-b252-4db4-b581-20a0d8a32490] During _sync_instance_power_state the DB power_state (1) does not match the vm_power_state from the hypervisor (4). Updating power_state in the DB to match the hypervisor.
2019-08-29 17:18:41.869 9460 WARNING nova.compute.manager [req-506e6af1-3937-409c-8161-358651e257ad - - - - -] [instance: 278eaa51-b252-4db4-b581-20a0d8a32490] Instance shutdown by itself. Calling the stop API. Current vm_state: active, current task_state: None, original DB power_state: 1, current VM power_state: 4
2019-08-29 17:18:42.031 9460 INFO nova.compute.manager [req-506e6af1-3937-409c-8161-358651e257ad - - - - -] [instance: 278eaa51-b252-4db4-b581-20a0d8a32490] Instance is already powered off in the hypervisor when stop is called
==
Could someone please advise if this is a bug or something incompatible with hypervisor or anything else.
Regards.
Last edited by hany.elsersawy on 2019-09-11 07:04, edited 1 time in total.

hany.elsersawy
Posts: 3
Joined: 2019-09-02 07:18

Re: Server suddenly powered off

#2 Post by hany.elsersawy »

Note that php files are related to asterisk software.
Thanks

hany.elsersawy
Posts: 3
Joined: 2019-09-02 07:18

Re: Server suddenly powered off

#3 Post by hany.elsersawy »

Dear All;
If anyone have faced this problem is due to Hypervisor old packages. Herein the hypervisor logs and the link for the bug on Redhat.
*********
warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
qemu-kvm: hw/char/serial.c:232: serial_xmit: Assertion `!(s->lsr & 0x40)' failed.
2019-08-29 14:18:26.558+0000: shutting down
2019-08-29 19:46:03.915+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.4 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2017-01-05-04:19:14, x86-034.build.eng.bos.redhat.com), qemu version: 2.6.0 (qemu-kvm-rhev-2.6.0-28.el7_3.6), hostname: compute01.sahaba.net
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-0000092b,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-105-instance-0000092b/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off -cpu Haswel
*********
Version on the new computes: 2.12.0-18
Version on the old computes: 2.6.0-28


https://access.redhat.com/solutions/3663811
Resolution
Upgrade to qemu-kvm-rhev-2.12 or newer.

Regards

Post Reply