From: Ian Jackson Subject: Re: [PATCH OSSTEST v3 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack Date: Wed, 30 Sep 2015 11:52:37 +0100 Message-ID: <22027.48885.73301.575868@mariner.uk.xensource.com> References: <1443455775-26131-1-git-send-email-anthony.perard@citrix.com> <1443455775-26131-2-git-send-email-anthony.perard@citrix.com> <1443601977.16718.152.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1443601977.16718.152.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Anthony PERARD , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH OSSTEST v3 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack"): > On Mon, 2015-09-28 at 16:56 +0100, Anthony PERARD wrote: > > + # OpenStack needs access to libvirt from a user. > > + target_cmd_root($ho, < > + cat >> /etc/libvirt/libvirtd.conf < > +unix_sock_group = "libvirt" > > +unix_sock_ro_perms = "0777" > > +unix_sock_rw_perms = "0770" > > +EOF > > +END > > One small nit on this, which is that it isn't idempotent, i.e. running this > step on the same host repeatedly (common in standalone mode) will keep > adding those lines to the conf file. > > If you care then possible solutions: I agree with Ian C that this is a nit. However, provided that libvirt doesn't mind if the lines are duplicated, I think this is tolerable. It will only occur in by-hand testing. Ian.