stackhpc / stackhpc/ansible-role-libvirt-vm

Failure to start VM on CentOS 8 with console log enabled due to SELinux

Open
#56 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jinja
Stars
135
Forks
73
Avg merge
4d 22h
Merged PRs (30d)
1

Description

The console log directory defaults to /var/log/libvirt-consoles/. On CentOS 8 with SELinux enabled this causes VMs to fail to start, since virtlogd can't access the log file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the role's configuration for the console log directory and investigate VM startup with SELinux enabled on CentOS 8. Reproduce the failure using the /var/log/libvirt-consoles/ default; done means the VM starts successfully and virtlogd can access the console log.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, centos
Domain
infrastructure, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.