nova-compute expects libvirtd group

Bug #1062336 reported by John Garbutt on 2012-10-05
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nova (Ubuntu)
High
Unassigned
Trusty
High
Unassigned

Bug Description

Had issues installing the nova-compute-xcp package.
It seems nova-compute relies on libvirtd group, but that doesn't exist when libvirt is not installed.

What I see is:

Setting up nova-compute-xcp (2012.2-0ubuntu3~cloud0) ...
Setting up nova-compute (2012.2-0ubuntu3~cloud0) ...
adduser: The group `libvirtd' does not exist.
dpkg: error processing nova-compute (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

Once group was present (I just installed libvirt-bin, while not really needed), it was OK:
Setting up nova-compute (2012.2-0ubuntu3~cloud0) ...
Adding user `nova' to group `libvirtd' ...
Adding user nova to group libvirtd
Done.

Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. Indeed, while some nova-compute-xyz
packages Depend on libvirt-bin, it doesn't seem nova-compute-xcp or
nova-compute itself does, yet the nova-compute.postinst.in assumes
that group libvirtd exists. So nova-compute.postinst.in should be
updated to accept that libvirtd group may not exist.

Changed in nova (Ubuntu):
importance: Undecided → High
status: New → Confirmed
James Page (james-page) on 2013-10-11
Changed in nova (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Won't Fix
James Page (james-page) wrote :

Fixed in b2 upload for icehouse/trusty.

Changed in nova (Ubuntu Trusty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers