[Ussuri] Auto shutdown VM

Lee Yarwood lyarwood at redhat.com
Mon Jan 4 09:44:48 UTC 2021


On 04-01-21 14:53:59, Deepa KR wrote:
> Hi All
> 
> Any suggestions highly appreciated.
> We are facing these issues very frequently now .

Can you pastebin the domain QEMU log from
/var/log/libvirt/qemu/$domain.log? That should detail why the domain is
crashing.

I'd also recommend reviewing the following docs from libvirt on how to
enable debug logs etc:

https://libvirt.org/kbase/debuglogs.html
 
> On Mon, Nov 23, 2020 at 10:03 AM Deepa KR <deepa.kr at fingent.com> wrote:
> > Hi
> >
> > Can see only  shutting down, reason=crashed in libvirt/qemu logs .Nothing
> > else .
> > Couldn't find anything else in neutron logs as well
> >
> >
> > On Wed, Nov 18, 2020 at 5:23 PM Deepa KR <deepa.kr at fingent.com> wrote:
> >
> >> Thanks for pointing out. Have 70 + vms and has issue with just 3 vms so i
> >> am really confused
> >>
> >> Sent from my iPhone
> >>
> >> On 18-Nov-2020, at 1:56 PM, rui zang <rui.zang at yandex.com> wrote:
> >>
> >> 
> >> [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] *Received unexpected
> >> event network-vif-unplugged-e97839a1-bbc4-4d26-af30-768ca3630ce9 for
> >> instance with vm_state active and task_state None.*
> >>
> >>
> >> Clearly the network virtual interface was somehow removed or unplugged.
> >> What you should look into is OVS or whatever the network solution you are
> >> using.
> >>
> >>
> >> 18.11.2020, 01:44, "Deepa KR" <deepa.kr at fingent.com>:
> >>
> >>  Hi All
> >>
> >> We have a Openstack setup with the *Ussuri Version* and I am *regularly
> >> facing auto shutdown of a few VMs (ubuntu16.04) randomly* .
> >> If I restart then the instance is back .
> >>
> >> From logs I was able to see the messages below .
> >>
> >>  WARNING nova.compute.manager [req-2a21d455-ac04-44aa-b248-4776e5109013
> >> 813f3fb52c434e38991bb90aa4771541 10b5279cb6f64ca19871f132a2cee1a3 - default
> >> default] [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] *Received
> >> unexpected event network-vif-unplugged-e97839a1-bbc4-4d26-af30-768ca3630ce9
> >> for instance with vm_state active and task_state None.*
> >>  INFO nova.compute.manager [-] [instance:
> >> 28cd861c-ef15-444a-a902-9cac643c72b5] VM Stopped (Lifecycle Event)
> >>  INFO nova.compute.manager [req-8261f607-4f1e-459d-85d4-e269694dd477 - -
> >> - - -] [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] *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.*
> >> syslog:Nov 13 07:01:07 fgshwbucehyp04 nova-compute[2680204]: 2020-11-13
> >> 07:01:07.684 2680204 WARNING nova.compute.manager
> >> [req-8261f607-4f1e-459d-85d4-e269694dd477 - - - - -] [instance:
> >> 28cd861c-ef15-444a-a902-9cac643c72b5] *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*
> >>   nova.compute.manager [req-8261f607-4f1e-459d-85d4-e269694dd477 - - - -
> >> -] [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] *Instance is already
> >> powered off in the hypervisor when stop is called.*
> >>  nova.virt.libvirt.driver [req-8261f607-4f1e-459d-85d4-e269694dd477 - - -
> >> - -] [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] *Instance already
> >> shutdown.*
> >>  nova.virt.libvirt.driver [-] [instance:
> >> 28cd861c-ef15-444a-a902-9cac643c72b5] *Instance destroyed successfully.*
> >>  nova.compute.manager [req-7a0a0d03-e286-42f0-9e36-38a432f236f3
> >> d9ca03b9d0884d51a26a39b6c82f02eb 304d859c43df4de4944ca5623f7f455c - default
> >> default] [instance: 28cd861c-ef15-444a-a902-9cac643c72b5] Get console output
> >>  nova.virt.libvirt.driver [-] [instance:
> >> 28cd861c-ef15-444a-a902-9cac643c72b5] *Instance destroyed successfully.*
> >>
> >> I searched a few blogs and forums but couldn't find a solution to it .
> >>
> >> Few mentioned to add s*ync_power_state_interval=-1 in *
> >> */etc/nova/nova.conf *.But understood that this will help only when nova
> >> stops vm.
> >> But in this case vm itself is shutting down (*Instance shutdown by
> >> itself. Calling the stop API*)
> >> Also no memory issue in VM nor the hypervisor.
> >> Also did apt-get upgrade .
> >>
> >> It would be great if anyone can shed light to this issue.
> >>
> >> Regards,
> >> Deepa K R
> >>
> >> Sent from my iPhone
> >>
> >>
> >
> > --
> >
> >
> > Regards,
> >
> > Deepa K R | DevOps Team Lead
> >
> >
> >
> > USA | UAE | INDIA | AUSTRALIA
> >
> >
> >
> 
> -- 
> 
> 
> Regards,
> 
> Deepa K R | DevOps Team Lead
> 
> 
> 
> USA | UAE | INDIA | AUSTRALIA




-- 
Lee Yarwood                 A5D1 9385 88CB 7E5F BE64  6618 BCA6 6E33 F672 2D76
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210104/bbceb707/attachment.sig>


More information about the openstack-discuss mailing list