Bug 858295 - imagefactory needs to be sure libvirtd is running
imagefactory needs to be sure libvirtd is running
Status: NEW
Product: CloudForms Cloud Engine
Classification: Red Hat
Component: imagefactory (Show other bugs)
Unspecified Unspecified
medium Severity medium
: 2.0.0
: ---
Assigned To: Ian McLeod
: FutureFeature, Triaged
Depends On:
  Show dependency treegraph
Reported: 2012-09-18 11:26 EDT by Giulio Fidente
Modified: 2013-01-24 13:14 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Giulio Fidente 2012-09-18 11:26:15 EDT
Description of problem:
the imagefactory service starts but builds fail if libvirtd is stopped

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. yum install aeolus-all
2. aeolus-configure -p mock
3. service libvirtd stop
4. service imagefactory restart
5. build some .tpl
Actual results:
errors in imagefactory.log
Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

Expected results:
libvirtd is started when imagefactory starts

Additional info:
related to https://bugzilla.redhat.com/show_bug.cgi?id=839323
Comment 1 Mike Orazi 2012-09-18 14:31:03 EDT
I'd recommend that at most imagefactory gives a descriptive error when it fails because libvirtd isn't running.
Comment 2 Dave Johnson 2013-01-24 13:14:19 EST
Yeah, this just bit us again...  really like to see this sooner than later... bumping priority.

If you start imagefactory, it should check and start libvirt (if stopped)

Note You need to log in before you can comment on or make changes to this bug.