Bug 741803

Summary: iwhd crashes when creating bucket on RHEL 6.1
Product: [Retired] CloudForms Cloud Engine Reporter: Richard Su <rwsu>
Component: iwhdAssignee: Jim Meyering <meyering>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 19:55:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Richard Su 2011-09-27 23:37:02 UTC
Description of problem:

aeolus-configure shows

err: /Stage[main]/Aeolus::Profiles::Default/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns: change from notrun to 0 failed: /usr/bin/curl --proxy '' -X PUT http://localhost:9090/templates returned 52 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/iwhd.pp:79

iwhd.log shows

0 replication servers defined
Sep 27 18:31:38 iwhd[11535]: convert-provider: ITER key: name
Sep 27 18:31:38 iwhd[11535]: convert-provider: ITER key: type
Sep 27 18:31:38 iwhd[11535]: convert-provider: ITER key: path
Tue Sep 27 18:31:38 getaddrinfo("h]v^A") failed: Name or service not known
Sep 27 18:31:38 iwhd[11535]: server down, no metadata access
Sep 27 18:31:38 iwhd[11535]: key is _default and we don't care
Sep 27 18:31:38 iwhd[11535]: reconnection to localhost:27017 failed
terminate called after throwing an instance of 'mongo::SocketException'
  what():  socket exception

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

iwhd-0.98.15.z3-1.el6.x86_64
aeolus-conductor-0.4.0-0.20110926211134git1cc372b.el6.noarch
aeolus-conductor-daemons-0.4.0-0.20110926211134git1cc372b.el6.noarch
aeolus-conductor-doc-0.4.0-0.20110926211134git1cc372b.el6.noarch
aeolus-configure-2.0.2-4.20110923140029gitff33f9b.el6.noarch

How reproducible:

always

Steps to Reproduce:
1. yum install aeolus-all
2. aeolus-configure

Comment 1 wes hayutin 2011-09-28 16:39:23 UTC
making sure all the bugs are at the right version for future queries

Comment 3 Richard Su 2011-10-03 17:41:48 UTC
Re-mocked iwhd and the reported problem has gone away.

Comment 4 Jim Meyering 2011-10-03 19:08:30 UTC
Thanks for the report.
I'm glad the problem is not reproducible.

I suggest CLOSE/NOTABUG.

Comment 5 Aziza Karol 2011-10-11 06:20:44 UTC
The above error is not observed now.


aeolus-configure shows

Sun Oct 09 13:43:39 -0400 2011 /Stage[main]/Aeolus::Iwhd/Service[iwhd]/ensure (notice): ensure changed 'stopped' to 'running'
Sun Oct 09 13:43:39 -0400 2011 /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns (notice):   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Sun Oct 09 13:43:39 -0400 2011 /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns (notice):                                  Dload  Upload   Total   Spent    Left  Speed
Sun Oct 09 13:43:39 -0400 2011 /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns (notice): ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Sun Oct 09 13:43:39 -0400 2011 /Stage[main]/Aeolus::Profiles::Ec2/Aeolus::Create_bucket[aeolus]/Exec[create-bucket-aeolus]/returns (notice): executed successfully
Sun Oct 09 13:43:39 -0400 2011 Puppet (info): FileBucket adding {md5}75d10aa75d5abb0893682de8622f3061



iwhd.log shows:

0 replication servers defined
Oct 09 13:43:38 iwhd[4815]: convert-provider: ITER key: name
Oct 09 13:43:38 iwhd[4815]: convert-provider: ITER key: type
Oct 09 13:43:38 iwhd[4815]: convert-provider: ITER key: path
Oct 09 13:43:39 iwhd[4815]: key is _default and we don't care
Oct 09 13:53:50 iwhd[4815]: key is _default and we don't care
iwhd: templates: failed to create directory: File exists
Oct 09 13:54:00 iwhd[4815]: key is _default and we don't care
iwhd: templates: failed to create directory: File exists
0 replication servers defined
Oct 09 13:54:01 iwhd[5997]: convert-provider: ITER key: name
Oct 09 13:54:01 iwhd[5997]: convert-provider: ITER key: type
Oct 09 13:54:01 iwhd[5997]: convert-provider: ITER key: path
Oct 09 13:54:30 iwhd[5997]: key is _default and we don't care
iwhd: templates: failed to create directory: File exists
Oct 09 23:54:52 iwhd[5997]: meta_did_put(images,6d49718b-c3a8-41cb-aa73-c7f3f1451bdc,rhevm)
Oct 09 23:54:52 iwhd[5997]: now_str = 0b2429239ba4d341
Oct 09 23:54:52 iwhd[5997]: meta_did_put(builds,abbc08ba-8d3d-4cfd-bbc3-2b2e38c3f6aa,rhevm)
Oct 09 23:54:52 iwhd[5997]: now_str = 28b72f239ba4d341


[root@dell-pe1950-02 rheltempwes]# rpm -qa  | egrep 'conductor|iwhd|imagefactory|oz'
aeolus-conductor-0.5.0-0.20111007200330gite77b251.el6.noarch
imagefactory-jeosconf-ec2-rhel-0.1.0-1.el6.noarch
aeolus-conductor-doc-0.5.0-0.20111007200330gite77b251.el6.noarch
imagefactory-jeosconf-ec2-fedora-0.1.0-1.el6.noarch
iwhd-0.98.15.z3-2.el6.x86_64
rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.el6.noarch
oz-0.7.0-3.el6.noarch
aeolus-conductor-daemons-0.5.0-0.20111007200330gite77b251.el6.noarch
imagefactory-0.7.0-1.el6.noarch

Comment 7 errata-xmlrpc 2012-05-15 19:55:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0589.html