docker nova_libvirt can't start without libvirt.log

Bug #1855253 reported by YU CHENGDE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
YU CHENGDE
Ussuri
Fix Released
Low
YU CHENGDE

Bug Description

Brief Description
-----------------
  If you delete the libvirtd.log in /var/lib/docker/volumes/kolla_logs/_data/libvirt docker
  nova_libvirt won't able to boot up after restarting.

Steps to Reproduce
------------------
  1. delete the "libvirtd.log" in /var/lib/docker/volumes/kolla_logs/_data/libvirt.
  2. docker stop nova_compute.
  3. docker restart nova_libvirt.
  4. The issue happens.

Reference
------------------
  Please refer docker log as attached file.

Expected Behavior
------------------
  No matter the log existed or not, nova_libvirt should be able to restart normally.

Environment
------------------
  Broswer: Chrome 77.0.3865.120
  OS: macOS Mojave 10.14.6
  kolla-ansible version: stable/master
  Openstack version: master
  Openstack deployed system: Centos Linux version 3.10.0-1062.1.2.el7.x86_64

Revision history for this message
YU CHENGDE (chant) wrote :
Changed in kolla:
assignee: nobody → YU CHENGDE (chant)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/697605

Changed in kolla:
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/697605
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=6c2a2f536e071cf7dde74ae9b914a9c2f6323435
Submitter: Zuul
Branch: master

commit 6c2a2f536e071cf7dde74ae9b914a9c2f6323435
Author: yuchengde <yu.chengde@99cloud.net>
Date: Fri Dec 6 00:30:20 2019 +0800

    Let nova-libvirt restarting be independent of libvirtd.log

    Modify nova-libvirt extend_start.sh for preventing docker boot fail if there is no libvirtd.log file in libvirt folder.

    Change-Id: If1df41fb07b90b6020a60e3f987d51f5a9792bca
    Closes-Bug: 1855253

Changed in kolla:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.