log messages around not having python-libguestfs installed need improvement

Bug #1240339 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Jon Grimm

Bug Description

Installing havana just now, I ran into some real strange errors about mounting problems.

Thanks to Michael Still, we figured out that this was because libguestfs was not installed it was falling back to do insecure mounts and failing.

A better log message about this fallback, alerting operators of the potential that they don't have appropriate dependencies installed would be appreciated by operators.

Tags: ops
Revision history for this message
Tom Fifield (fifieldt) wrote :

Example log with the fallback: http://paste.openstack.org/show/48534/

summary: - log messages around note having python-libguestfs installed need
+ log messages around not having python-libguestfs installed need
improvement
tags: added: ops
Joe Gordon (jogo)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Michael Still (mikal)
Changed in nova:
status: Confirmed → Triaged
Jon Grimm (jgrimm)
Changed in nova:
assignee: nobody → Jon Grimm (jgrimm)
Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/110655
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5be2e456c06bd35ff96066711ee4bbfd1cafe50a
Submitter: Jenkins
Branch: master

commit 5be2e456c06bd35ff96066711ee4bbfd1cafe50a
Author: Jon Grimm <email address hidden>
Date: Wed Jul 30 00:46:57 2014 +0000

    Improve logging when python-guestfs/libguestfs isn't working

    Bumped from debug to warn level, as most often refers to
    missing python-guestfs package or other libguestfs misconfiguration,
    and the fallback path is usually not desired.

    Closes-bug: 1240339
    Change-Id: I5d90a3ea109e79fe17221c001f94d49d599048ba

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.