On 01/16/2018 06:36 AM, Özhan Rüzgar Karaman wrote:
Hi Paul;
Ubuntu 16.04 has systemd installed and it directly controls libvirtd
process so if you add -d to /etc/default/libvirt-bin file libvirtd tries to
control to its self and then you have problem, you could not
stop/start/restart libvirtd service via systemd. Only adding -l flag to
libvirtd_opts is enough for Cloudstack.

We also make no change on /etc/init/libvirt-bin.conf file for 16.04

For Ubuntu 16.04 you need to add both -d and -l flags for
/etc/default/libvirt-bin
file.


Indeed! Mainly the -l flag is important to make libvirtd listen on TCP sockets which are required for live migration.

Wido

Thanks
Özhan

On Mon, Jan 15, 2018 at 11:34 PM, Paul Angus <paul.an...@shapeblue.com>
wrote:

Hey guys,

I'm no Ubuntu Guru, so I want to check that I have this right....

Our documentation says:
--------------------------
On Ubuntu: modify /etc/default/libvirt-bin
Add "-l" to the following line
libvirtd_opts="-d"
so it looks like:
libvirtd_opts="-d -l"
---------------------------

I've found on Ubuntu 16.04 that you seem to need:
/etc/default/libvirt-bin
to have:
libvirtd_opts="-l"

and
/etc/init/libvirt-bin.conf
to have:
env libvirtd_opts="-d -l"

Can anyone confirm/deny this and should it also be this way for Ubuntu
14.04 ?


If so I'll update the documentation...


cheers



Kind regards,

Paul Angus


paul.an...@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue





Reply via email to