Re: [ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-24 Thread Numan Siddique
On Tue, Aug 20, 2019 at 8:26 PM Jaime Caamaño Ruiz wrote: > > > In regards to hugepages, I would probably stop using the system wide > > /dev/hugepages and instead setup a separate mount using hugeadm > > properly owned by the openvswitch user. Then we don't need a separate > > group setup for

Re: [ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-20 Thread Jaime Caamaño Ruiz
> In regards to hugepages, I would probably stop using the system wide > /dev/hugepages and instead setup a separate mount using hugeadm > properly owned by the openvswitch user. Then we don't need a separate > group setup for that and we don't interfere with the system. In regards to this, now

Re: [ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-20 Thread Jaime Caamaño Ruiz
> This is patch 4 of the series. Patch 1 takes care of adding ovn > specific run dirs (run, log, db dirs). > Can you please take a look at the series ? Sorry, I completely missed those. You can disregard much of what I said. > Is there a way to solve this issue ? If we run ovn services as >

Re: [ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-14 Thread Numan Siddique
On Wed, Aug 14, 2019 at 6:08 PM Jaime Caamaño Ruiz wrote: > Hello > > Some comments, that probably are due to me being confused checking the > new repo: > > Hi Jaime, This is patch 4 of the series. Patch 1 takes care of adding ovn specific run dirs (run, log, db dirs). Can you please take a

Re: [ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-14 Thread Jaime Caamaño Ruiz
Hello Some comments, that probably are due to me being confused checking the new repo: 1) > sed -i 's:\(.*su\).*:\1 ovn ovn:' %{_sysconfdir}/logrotate.d/ovn I dont see the file %{_sysconfdir}/logrotate.d/ovn included anywhere. Anyway, since OVN_USER_ID defaults to openvswitch:openvswitch,

[ovs-dev] [PATCH ovn 4/4] rhel: Run ovn services with the 'openvswitch' user

2019-08-13 Thread nusiddiq
From: Numan Siddique This patch could have created a new user 'ovn' for ovn services instead of using 'openvswitch' user. But this would require some amount of work and proper testing since the new user 'ovn' should be part of 'openvswitch' group (to access /var/run/openvswitch/db.sock.). If ovs