Could not find init script or upstart conf file for 'libvirt-bin'

Bug #1488517 reported by guillaume thouvenin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
Fix Committed
Medium
LMA-Toolchain Fuel Plugins

Bug Description

On MOS 7.0 with LMA 0.7, puppet failed to apply lma_collector-0.7/puppet/manifests/compute.pp with the following error:

# puppet apply --debug --modulepath=/etc/fuel/plugins/lma_collector-0.7/puppet/modules /etc/fuel/plugins/lma_collector-0.7/puppet/manifests/compute.pp
[...]
Error: /Stage[main]/Lma_collector::Logs::Libvirt/Service[libvirt-bin]: Could not evaluate: Could not find init script or upstart conf file for 'libvirt-bin'

It occurs because in MOS 7.0 the version of libvirt is 1.2.9-9~u14.04+mos2 that is build for mos7.0 and in this version the file /etc/init.d/libvirt-bin that is expected by puppet manifest has been renamed in /etc/init.d/libvirtd.

To fix the problem we need to check which file is available (/etc/init.d/libvirt-bin or /etc/init.d/libvirtd). Maybe the cleanest way is to do a fact that exposes this and use it in lma_collector-0.7/puppet/modules/lma_collector/manifests/logs/libvirt.pp for setting $libvirt_service.

Tags: lma
Changed in fuel-plugins:
assignee: nobody → LMA-Toolchain Fuel Plugins (mos-lma-toolchain)
Changed in fuel-plugins:
milestone: none → 7.0
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :
Changed in fuel-plugins:
status: Triaged → In Progress
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

Fixed on stable/0.7 too.

Changed in fuel-plugins:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.