Comment 8 for bug 1576688

Revision history for this message
Timofey Durakov (tdurakov) wrote :

Futher investigation shows that /etc/puppet/modules/nova/manifests/migration/libvirt.pp doesn't work and this lines isn't applied to env:

file_line { '/etc/sysconfig/libvirtd libvirtd args':
        path => '/etc/sysconfig/libvirtd',
        line => 'LIBVIRTD_ARGS="--listen"',
        match => 'LIBVIRTD_ARGS=',
        tag => 'libvirt-file_line',
      }

which cause /etc/init/libvirtd.conf to fail importing '--listen' flag. There are 2 options to fix that:
1. make puppet script works properly
2. switch to usage /etc/defaul/libvirtd instead of /etc/sysconfig/libvirtd. In this case upstart should source it instead, and also switch to usage libvirtd_opts variable instead of LIBVIRTD_ARGS, as /etc/default/libvirtd defines libvirtd_opts.