DPDK: Validate if creation of vhost_sockets directory is still required in nova-libvirt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Saravanan KR |
Bug Description
Validate if creation of vhost_sockets directory is still required in nova-libvirt, if required, ensure the new group name (hugetlbfs) is updated to this directory
# qemu user on host will be cretaed by libvirt package install, ensure
# the qemu user created with same uid/gid as like libvirt package.
# These specific values are required since ovs is running on host.
# Once ovs with DPDK is containerized, we could modify this uid/gid
# to match with kolla config values.
- name: ensure qemu group is present on the host
group:
name: qemu
gid: 107
state: present
- name: ensure qemu user is present on the host
user:
name: qemu
uid: 107
group: qemu
state: present
shell: /sbin/nologin
- name: create directory for vhost-user sockets with qemu ownership
file:
path: /var/lib/
state: directory
owner: qemu
group: qemu
Changed in tripleo: | |
milestone: | none → queens-rc1 |
importance: | Undecided → High |
status: | New → Confirmed |
assignee: | nobody → Saravanan KR (skramaja) |
Changed in tripleo: | |
status: | Confirmed → Triaged |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Additional discussion on the BZ - https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1549938# c15
Need to set correct selinux type or use command restorecon to set correct types.