aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaravanan KR <skramaja@redhat.com>2017-12-07 15:26:03 +0530
committerSaravanan KR <skramaja@redhat.com>2018-01-19 15:26:45 +0530
commit5a2e5d7f2a2e7f4039391923ca20f785490364d7 (patch)
treeb524b7d80150f405d81b820e0338eaf7ee617db5
parentdbbd4ef059f8e91e172d952ee1632632f8f14639 (diff)
downloadkolla-5a2e5d7f2a2e7f4039391923ca20f785490364d7.tar.gz
kolla-5a2e5d7f2a2e7f4039391923ca20f785490364d7.zip
Add the new user and group for OpenvSwitch 2.8 version
OvS2.8, by default in fedora/centos/rhel, run as openvswitch:openvswitch and when DPDK is enabled, it runs as openvswitch:hugetlbfs. Adding the new user and group to the config. Change-Id: I674cbd45e17906448dd54acfdf7a7059880b7278
-rwxr-xr-xkolla/common/config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index 081f6063e..292a3365e 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -974,6 +974,14 @@ USERS = {
'almanach-user': {
'uid': 42475,
'gid': 42475,
+ },
+ 'openvswitch-user': {
+ 'uid': 42476, # unused user
+ 'gid': 42476,
+ },
+ 'hugetlbfs-user': {
+ 'uid': 42477, # unused user, but we need the group for vhost socket
+ 'gid': 42477,
}
}