Comment 30 for bug 1543951

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

@rpodolyaka:
Roman, even if you was confused with this:

>>So we actually *do* have a dependency on libvirtd in nova-compute upstart script in 8.0:

Should we finally remove all SysVinit scripts for those services, which are using upstart from our packages?
List can be obtained using this script:
for p in $(dpkg -l | awk '/mos/ {print $2}'); do filelist=$(dpkg -L $p); upstrt_cnt=$(echo $filelist | grep '/etc/init/' | wc -l); sysv_cnt=$(echo $filelist $p | grep '/etc/init.d/'| wc -l); if [[ $upstrt_cnt -gt 0 && $sysv_cnt -gt 0 ]]; then echo "$p: $upstrt_cnt $sysv_cnt"; fi; done

And move all possible services to upstart?

At least on compute nodes these services are:
root@node-2:/etc/rc2.d# ll S20openvswitch-switch
lrwxrwxrwx 1 root root 28 Mar 16 14:35 S20openvswitch-switch -> ../init.d/openvswitch-switch*
root@node-2:/etc/rc2.d# ll S28libvirtd
lrwxrwxrwx 1 root root 18 Mar 16 14:38 S28libvirtd -> ../init.d/libvirtd*
root@node-2:/etc/rc2.d# ll S29libvirt-guests
lrwxrwxrwx 1 root root 24 Mar 16 14:38 S29libvirt-guests -> ../init.d/libvirt-guests*

It is also related to these bugs:
https://bugs.launchpad.net/mos/+bug/1507069
https://bugs.launchpad.net/fuel/+bug/1552017
https://bugs.launchpad.net/mos/+bug/1540648
https://bugs.launchpad.net/mos/+bug/1393512
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907152