Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 667927

Summary: set correct iwhd path
Product: [Retired] CloudForms Cloud Engine Reporter: Jan Provaznik <jprovazn>
Component: DistributionAssignee: Angus Thomas <athomas>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 0.3.1CC: athomas, clalance, deltacloud-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 13:49:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Provaznik 2011-01-07 10:11:24 UTC
Description of problem:
path for image warehouse in /etc/iwhd/conf.js is set to '.', an absolute path should be used (for example /var/lib/iwhd). With '.' when you run iwhd manually with verbose mode from some random dir or run /etc/init.d/iwhd restart then warehouse is started with bad path and you can get some internal server errors or save files to bad dir.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lalancette 2011-01-07 19:36:05 UTC
Yeah, this is definitely a problem.  There has been some talk from the iwhd developers about rejecting relative paths off-hand, but I don't think that's been implemented.  In any case, we should fix our configuration file to have absolute paths.

Chris Lalancette

Comment 2 Angus Thomas 2011-03-23 17:31:50 UTC
This was caused by the conf file which specifies the iwhd path being written by aeolus-configure.

Fox for BZ #689863 means that we'll use the config file from the iwhd file. That version sets the correct absolute path.

Comment 3 wes hayutin 2011-06-14 15:39:53 UTC
moving to on_qa for review

Comment 4 wes hayutin 2011-07-06 18:31:08 UTC
[root@hp-z400-01 ~]# cat /etc/iwhd/conf.js 
[
  {
    "name": "primary",
    "type": "fs",
    "path": "/var/lib/iwhd"
  }
]

[root@hp-z400-01 ~]# rpm -qa | grep iwhd
iwhd-0.96.1.9e86-1.el6.x86_64
[root@hp-z400-01 ~]#

Comment 5 wes hayutin 2011-08-01 19:54:47 UTC
release pending...

Comment 6 wes hayutin 2011-08-01 19:56:38 UTC
release pending...

Comment 8 wes hayutin 2011-12-08 13:49:01 UTC
perm close