Bug 714286 - deployments using a us-west mapped realm start in ec2-us-east
Summary: deployments using a us-west mapped realm start in ec2-us-east
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Martyn Taylor
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 19:35 UTC by wes hayutin
Modified: 2011-12-08 14:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-05 15:39:34 UTC
Embargoed:


Attachments (Terms of Use)
ss (92.94 KB, image/png)
2011-06-17 19:35 UTC, wes hayutin
no flags Details

Description wes hayutin 2011-06-17 19:35:05 UTC
Created attachment 505338 [details]
ss

Description of problem:

realm-us-west New Realm Edit

 
Properties
Realm Details	
Realm Name	 realm-us-west
Realm Mapping
Add mapping to realm Add mapping to provider 
Realm 'realm-us-west' is mapped to providers:
 ec2-us-west-1


Processing DeploymentsController#create (for 10.11.8.203 at 2011-06-17 15:30:54) [POST]
  Parameters: {"commit"=>"Launch", "action"=>"create", "controller"=>"deployments", "deployment"=>{"name"=>"us-west-test", "frontend_realm_id"=>"2", "deployable_xml"=>"<deployable name=\"deployable03\">\r\n <description>deployable03-description</description>\r\n <assemblies>\r\n  <assembly name=\"frontend\" hwp=\"hwp1\">\r\n   <image id=\"23d19502-323d-4779-9440-1ff664e4f8cb\">\r\n   </image>\r\n  </assembly>\r\n </assemblies>\r\n</deployable>\r\n", "pool_id"=>"1"}}
universe = grid
executable = job_us-west-test_frontend_5
grid_resource = deltacloud http://localhost:3003/api
DeltacloudUsername = AKIAJ557U7P7OIHRV2EQ
DeltacloudPasswordFile = /var/lib/aeolus-conductor/jobs/job_us-west-test_frontend_5
DeltacloudImageId = ami-6a897e03
DeltacloudHardwareProfile = c1.xlarge
DeltacloudHardwareProfileMemory = 7168.0
DeltacloudHardwareProfileCPU = 20.0
DeltacloudHardwareProfileStorage = 1690.0
DeltacloudKeyname = us-east-1_1308332999_key_70260925314740
DeltacloudPoolFamily = 1
requirements = true
notification = never
queue
$? (return value?) is 0
Redirected to https://sgi-xe310-02.rhts.eng.bos.redhat.com/conductor/deployments/6
Completed in 1618ms (DB: 67) | 302 Found [https://sgi-xe310-02.rhts.eng.bos.redhat.com/conductor/deployments]

==> /var/log/aeolus-conductor/dbomatic.log <==
2011-06-17 15:30:56 DEBUG Checking for condor event log modification
2011-06-17 15:30:56 INFO EventLog modification event triggered, parsing log
2011-06-17 15:30:56 INFO EventLog modification event trigger completed, parsing finished - current position 12806

==> /var/log/aeolus-conductor/rails.log <==


Processing DeploymentsController#show (for 10.11.8.203 at 2011-06-17 15:30:56) [GET]
  Parameters: {"action"=>"show", "id"=>"6", "controller"=>"deploym


^C
[root@sgi-xe310-02 ~]# rpm -qa |  grep aeolus
aeolus-configure-2.0.1-0.el6.20110602110128git5cb9257.noarch
aeolus-conductor-0.3.0-0.el6.20110616211223git96e2d09.noarch
rubygem-aeolus-cli-0.0.1-1.el6.20110616211223git96e2d09.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110616211223git96e2d09.noarch
aeolus-all-0.3.0-0.el6.20110616211223git96e2d09.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110616211223git96e2d09.noarch
[root@sgi-xe310-02 ~]# 


Recreate:
1. create provider types us-east, west
2. create realms that map to each
3. create deployments
4. launch a deployment in us-west realm...

watch it launch in us-east

Comment 1 Mike Orazi 2011-06-23 13:29:59 UTC
Note from Chris:  This appears to be in the matching code prior to hitting condor to start the instance.

Comment 2 wes hayutin 2011-06-29 14:45:55 UTC
bugs are moved to on_qa when the fix is in a repository.
Dont see a git hash.. or comments from dev..

FAILS_QA

Comment 3 Martyn Taylor 2011-06-30 15:07:56 UTC
The fix has was pushed to testing repo around about 19-06-11.  This has been tested by Myself and Tomas and have both confirmed that the original error is now fixed.

Fixing Git Commit: ec6a51932ab23318868ae2d03bfdbd922e829eff

Last Tested Build Version:
aeolus-conductor-0.3.0-0.fc14.20110628135944git2a88782.noarch

Comment 4 Aziza Karol 2011-07-05 09:20:16 UTC
Deployments using a us-west mapped realm start in ec2-us-west. 

rails.log:

Processing DeploymentsController#create (for 10.65.201.138 at 2011-07-05 05:10:50) [POST]
  Parameters: {"commit"=>"Launch", "action"=>"create", "controller"=>"deployments", "deployment"=>{"name"=>"us_west", "frontend_realm_id"=>"2", "deployable_xml"=>"<deployable name=\"deply_west\">\r\n <description>This is an example deployment</description>\r\n <assemblies>\r\n  <assembly name=\"frontend1\" hwp=\"hwp1\">\r\n   <image id=\"f5ac3b3c-6479-47d8-87b3-915fda339ba6\">\r\n   </image>\r\n  </assembly>\r\n </assemblies>\r\n</deployable>\r\n\r\n", "pool_id"=>"1"}}
universe = grid
executable = job_us_west_frontend1_1
grid_resource = deltacloud http://localhost:3004/api
DeltacloudUsername = AKIAJRCPNVJYQBHCOBEA
DeltacloudPasswordFile = /var/lib/aeolus-conductor/jobs/job_us_west_frontend1_1
DeltacloudImageId = ami-a186d4e4
DeltacloudHardwareProfile = c1.xlarge
DeltacloudHardwareProfileMemory = 7168.0
DeltacloudHardwareProfileCPU = 20.0
DeltacloudHardwareProfileStorage = 1690.0
DeltacloudKeyname = aziza_west_1309848730_key_70052696092000
DeltacloudPoolFamily = 1
DeltacloudRealmId = us-west-1a
requirements = true
notification = never
queue
$? (return value?) is 0
Redirected to https://10.16.65.45/conductor/deployments/1
Completed in 3094ms (DB: 96) | 302 Found [https://10.16.65.45/conductor/deployments]



verified on:
[root@dell-pe860-01 log]# rpm -qa  | grep aeolus
aeolus-conductor-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-all-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-configure-2.0.1-0.el6.20110628141215gitb8aaf85.noarch
rubygem-aeolus-cli-0.0.1-1.el6.20110701204941gitd66e27c.noarch

Comment 5 wes hayutin 2011-07-05 15:04:12 UTC
removing ce-p2-beta

Comment 6 wes hayutin 2011-07-05 15:07:54 UTC
second attempt to remove ce-p2-beta

Comment 7 Shveta 2011-07-05 15:39:34 UTC
Not fixed.

*** This bug has been marked as a duplicate of bug 717646 ***

Comment 8 wes hayutin 2011-12-08 14:10:55 UTC
perm close


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