stx-openstack: libvirt failling on Debian

Bug #1998630 reported by Thales Elero Cervi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Thales Elero Cervi

Bug Description

Brief Description
-----------------
The initial tests of stx-openstack on Debian, using the stx-libvirt image based on stx-debian failed. The libvirt pod fails to spawn (CrashLoopBackOff) and breaks the application apply process.

Severity
--------
Critical: stx-openstack can not be applied.

Steps to Reproduce
------------------
* Upload stx-openstack (Debian stx)
* Helm-override libvirt image to use a custom built stx-libvirt
* Apply stx-openstack

Expected Behavior
------------------
stx-openstack should apply successfully

Actual Behavior
----------------
stx-openstack apply fails

Reproducibility
---------------
Reproducible

System Configuration
--------------------
AIO-SX

Branch/Pull Time/Commit
-----------------------
master:
* starlingx/master/debian/monolithic/20221201T070000Z

+ https://review.opendev.org/c/starlingx/integ/+/866412

Last Pass
---------
N/Aq

Timestamp/Logs
--------------
  Normal Pulled 85m kubelet Successfully pulled image "registry.local:9001/tcervi/stx-libvirt:deb-test2" in 34.622330148s
  Warning Unhealthy 83m (x2 over 84m) kubelet Readiness probe failed:
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
  Normal Started 83m (x3 over 85m) kubelet Started container libvirt
  Normal Created 81m (x4 over 85m) kubelet Created container libvirt
  Warning Unhealthy 76m (x3 over 80m) kubelet Liveness probe failed:
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
  Normal Pulled 16m (x18 over 84m) kubelet Container image "registry.local:9001/tcervi/stx-libvirt:deb-test2" already present on machine
  Warning BackOff 102s (x296 over 83m) kubelet Back-off restarting failed container

Test Activity
-------------
Developer Testing

Workaround
----------
N/A

Changed in starlingx:
assignee: nobody → Thales Elero Cervi (tcervi)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/866411
Committed: https://opendev.org/starlingx/tools/commit/4f0c2cbde2b545228ceac21f31492a3c10f4d33f
Submitter: "Zuul (22348)"
Branch: master

commit 4f0c2cbde2b545228ceac21f31492a3c10f4d33f
Author: Thales Elero Cervi <email address hidden>
Date: Thu Dec 1 20:32:43 2022 -0300

    Add stx-libvirt build dependencies

    This change adds the packages required to be installed on our delivered
    stx-libvirt image. Therefore, when building the Docker image we can
    download these dependencies from our local repository.

    Test Plan:
    PASS - Run downloader -b -s
    PASS - Build stx-libvirt image

    Story: 2010072
    Task: 46974

    Partial-Bug: 1998630

    Signed-off-by: Thales Elero Cervi <email address hidden>
    Change-Id: I0468c19579c3c6101b23268a3820d91b597acd59

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/866412
Committed: https://opendev.org/starlingx/integ/commit/f06abbb557eb953d25454afa9e310ff8f2716313
Submitter: "Zuul (22348)"
Branch: master

commit f06abbb557eb953d25454afa9e310ff8f2716313
Author: Thales Elero Cervi <email address hidden>
Date: Thu Dec 1 20:25:00 2022 -0300

    Port stx-libvirt base image to stx-debian

    This change enables building the stx-libvirt Docker image within the
    Debian build framework. It is now based on stx-debian and
    following the new convention for StarlingX images.

    Test Plan:
    PASS - Build libvirt debian package
    PASS - Build stx-libvirt image
    PASS - Manually upload built image to a system, use helm-override to
           change the libvirt container image and apply stx-openstack
    PASS - Ensure the libvirt Pod successfully starts and is running
    PASS - Ensure libvirt Pod Liveness and Readiness probes are healthy

    Story: 2010072
    Task: 46974

    Closes-Bug: 1998630

    Depends-On: https://review.opendev.org/c/starlingx/tools/+/866411

    Signed-off-by: Thales Elero Cervi <email address hidden>
    Change-Id: I10112a0f1ab3a1f880ebc8b162c42b7b131d6aad

Changed in starlingx:
status: In Progress → Fix Released
tags: added: stx.8.0 stx.debian stx.distro.openstack
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
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.