stackhpc / stackhpc/ansible-role-libvirt-vm
Failure to start VM on CentOS 8 with console log enabled due to SELinux
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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