Bug 858295 - imagefactory needs to be sure libvirtd is running
Summary: imagefactory needs to be sure libvirtd is running
Keywords:
Status: CLOSED EOL
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: imagefactory
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.0.0
Assignee: Ian McLeod
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-18 15:26 UTC by Giulio Fidente
Modified: 2020-03-27 20:03 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:03:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Giulio Fidente 2012-09-18 15:26:15 UTC
Description of problem:
the imagefactory service starts but builds fail if libvirtd is stopped

Version-Release number of selected component (if applicable):
imagefactory-1.0.2-1.el6cf

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 18:31:03 UTC
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 18:14:19 UTC
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.