Simplex - Fail to start VM in system without apparmor model

Bug #1821699 reported by hutianhao27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
hutianhao27

Bug Description

Title
-----
Simplex - Fail to start VM in system without apparmor model.

Brief Description
--------
when deploying simplex in system without apparmor model, it’s failing to start VM.

Severity
--------
Low on Simplex: can’t start VM

Steps to Reproduce
------------------
Follow up https://docs.starlingx.io/installation_guide/latest/simplex.html, it’s failing to start VM for every installation attempt in system without apparmor model.

Expected Behavior
------------------
Start VM successfully.

Actual Behavior
----------------
Can’t start VM.

Reproducibility
---------------
100%

System Configuration
--------------------
Simplex

Branch/Pull Time/Commit
-----------------------
CENGN Master ISO: http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_build/outputs/iso/

Timestamp/Logs
--------------
Here is a console output:
Formatting '/var/lib/libvirt/images/simplex-controller-0-0.img', fmt=qcow2 size=644245094400 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Formatting '/var/lib/libvirt/images/simplex-controller-0-1.img', fmt=qcow2 size=214748364800 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Formatting '/var/lib/libvirt/images/simplex-controller-0-2.img', fmt=qcow2 size=214748364800 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Domain simplex-controller-0 defined from vms/simplex-controller-0.xml

error: Failed to start domain simplex-controller-0
error: unsupported configuration: Unable to find security driver for model apparmor

hutianhao27 (hutianhao)
Changed in starlingx:
assignee: nobody → hutianhao27 (hutianhao)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-tools (master)

Fix proposed to branch: master
Review: https://review.openstack.org/647682

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on stx-tools (master)

Change abandoned by hutianhao27 (hu.tianhao@99cloud.net) on branch: master
Review: https://review.openstack.org/647682

Ghada Khalil (gkhalil)
tags: added: stx.tools
Changed in starlingx:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-tools (master)

Reviewed: https://review.openstack.org/647682
Committed: https://git.openstack.org/cgit/openstack/stx-tools/commit/?id=77c5b2f37d7aac1da799b8a740aa8204a9e6e236
Submitter: Zuul
Branch: master

commit 77c5b2f37d7aac1da799b8a740aa8204a9e6e236
Author: hutianhao <hu.tianhao@99cloud.net>
Date: Tue Mar 26 08:32:16 2019 +0000

    Modify install_packages.sh for system without apparmor model

    Add apparmor model to install_packages.sh for deploying simplex
    in system without apparmor model.

    Closes-Bug: 1821699

    Change-Id: Ia3dc596be53376822c6d9639ea9b506a9a5d178e
    Signed-off-by: hutianhao <hu.tianhao@99cloud.net>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Added stx.2.0 label since this is the release that includes the fix

tags: added: stx.2.0
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.