Bug 741711

Summary: Conductor does not send deltacloud cpu hwp data when starting an iinstance
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Matt Wagner <matt.wagner>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, dajohnso, deltacloud-maint, dgao, matt.wagner, ssachdev
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: 2012-05-15 22:03:48 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 wes hayutin 2011-09-27 17:28:09 UTC
Description of problem:


./deltacloudd[21361]: 
Processing /api/instances (for 127.0.0.1 at Tue Sep 27 10:31:40 -0400 2011) [POST] [VSphere]
./deltacloudd[21361]: Parameters: {"name"=>"wesTEST05-frontend", "hwp_memory"=>"512", "image_id"=>"factory-image-24e51acc-afce-4eea-ad1c-889395fc1802", "realm_id"=>"datastore1", "keyname"=>"", "hwp_id"=>"default", "hwp_cpu"=>"", "hwp_storage"=>""}
./deltacloudd[21361]: Provider: 10.16.120.136
./deltacloudd[21361]: Authentication: Basic
./deltacloudd[21361]: Server: thin 1.2.11 codename Bat-Shit Crazy
./deltacloudd[21361]: Accept: application/xml
./deltacloudd[21361]: 


notice that hwp_cpu is empty..


[root@unused bin]# rpm -qa | grep aeolus
aeolus-conductor-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-all-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-doc-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110926211730git1cc372b.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch
aeolus-configure-2.0.2-4.20110926142838git5044e56.fc15.noarch
[root@unused bin]#

Comment 1 Matt Wagner 2011-09-27 19:06:04 UTC
Patch sent, but list archives are hours behind again so I can't link.

Comment 2 wes hayutin 2011-09-28 16:38:12 UTC
making sure all the bugs are at the right version for future queries

Comment 4 Matt Wagner 2011-10-07 15:29:31 UTC
Fixed in:

commit f1ec0e9377cb45230fb7d3af29211ee0cfc71011
Author: Matt Wagner <matt.wagner>
Date:   Tue Sep 27 13:05:41 2011 -0400

    HWPPs behave appropriately with nil FE value and range value for provider
    
    Resolves https://bugzilla.redhat.com/show_bug.cgi?id=741711
    
    If a front-end HWP has a nil value and the back-end value is a range,
    HardwareProfile.generate_override_property_values will now return
    the back-end's "value" paramter instead of the nil value from the
    front-end property.

Comment 5 wes hayutin 2011-10-11 14:25:06 UTC
verified in 0.4.0 build

Comment 6 wes hayutin 2011-10-11 14:28:49 UTC
taking off tracker

Comment 8 errata-xmlrpc 2012-05-15 22:03:48 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-0583.html