Bug 794936 - unable to launch i386 vsphere/rhevm instances
Summary: unable to launch i386 vsphere/rhevm instances
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: beta
Assignee: Scott Seago
QA Contact: wes hayutin
URL:
Whiteboard:
: 795489 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-17 23:44 UTC by wes hayutin
Modified: 2013-09-17 18:19 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cloud Engine hardware profile matching does not support 32-bit instances for this release. The workaround for running 32-bit OSes is for the user to create a Component Outline for a 64-bit instance that installs a 32-bit OS. In fact, this is precisely what will happen on clouds powered by RHEV-M and vSphere regardless of hardware profile. In a future release, we will allow users to create 32-bit Component Outlines and match them to 64-bit hardware profiles if there are no 32-bit profiles available.
Clone Of:
Environment:
Last Closed: 2013-09-17 18:19:09 UTC


Attachments (Terms of Use)
ss1 (141.81 KB, image/png)
2012-02-17 23:45 UTC, wes hayutin
no flags Details
ss2 (125.15 KB, image/png)
2012-02-17 23:46 UTC, wes hayutin
no flags Details
ss3 (171.98 KB, image/png)
2012-02-17 23:46 UTC, wes hayutin
no flags Details
ss4 (139.53 KB, image/png)
2012-02-17 23:47 UTC, wes hayutin
no flags Details

Description wes hayutin 2012-02-17 23:44:59 UTC
Description of problem:

I have a series of screenshots to help explain the issue..
I end up w/ an error..


Some component blueprints will not be launched:
Component blueprint cloud resource profile architecture (x86_64) doesn't match cloud resource profile architecture (i386).


I am unable to get hwp match just using i386.. but vsphere back end realm is reporting a match for x86_64,i386.
A user would think you could launch an i386 vsphere image

Properties
Name	 Unit	 Minimum Value
memory	 MB	 512
cpu	 count	 1
storage	 GB	 n/a
architecture	 label	 x86_64
Matching Provider Cloud Resource Profiles
Cloud Resource Provider Name	 Cloud Resource Profile Name	 Architecture	 Memory	 Storage	 Virtual CPU
mock	m1-large	 x86_64	 7680 - 15360	 850, 1024	 1 - 6
ec2-us-east-1	c1.xlarge	 x86_64	 7168	 1690	 20
ec2-us-west-1	c1.xlarge	 x86_64	 7168	 1690	 20
vsphere-default	default	 x86_64, i386	 512 - 2048		 1 - 4
rhevm-default	SERVER	 x86_64	 512 - 32768	 1 - 102400	 1 - 16


see screenshots..

Comment 1 wes hayutin 2012-02-17 23:45:35 UTC
Created attachment 564012 [details]
ss1

ss1

Comment 2 wes hayutin 2012-02-17 23:46:04 UTC
Created attachment 564013 [details]
ss2

ss2

Comment 3 wes hayutin 2012-02-17 23:46:31 UTC
Created attachment 564014 [details]
ss3

ss3

Comment 4 wes hayutin 2012-02-17 23:47:00 UTC
Created attachment 564015 [details]
ss4

ss4

Comment 5 wes hayutin 2012-02-17 23:48:41 UTC
given... I should be able to create a hwp profile on vsphere that is just i386.. still looking into that.

This issue originally reported by Rehana, cc'ing her on bug

Comment 6 Dave Johnson 2012-02-20 18:44:03 UTC
opened related bug 795489... which is for inability to create a i386 hardware profile

Comment 7 Hugh Brock 2012-02-20 19:44:47 UTC
Assigning to Scott, he's the only one who understands how this matching voodoo works.

Comment 8 Scott Seago 2012-02-21 16:19:24 UTC
From the screenshots, the HWP chosen ("default") is x86_64. The vSphere HWP matches either x86_64 or i386, but the user-specified "default" is x86_64, so when it matches vSphere, it chooses x86_64 on the back end.

In fact, looking at the error message:
  Component blueprint cloud resource profile architecture (x86_64) 
  doesn't match cloud resource profile architecture (i386).

it appears to be saying the same thing -- the "Component blueprint cloud resource profile architecture" seems to refer to the HWP associated with the assembly (component blueprint).

Try this again with an i386 front-end HWP.

Comment 9 James Laska 2012-02-21 18:18:00 UTC
(In reply to comment #8)
> Try this again with an i386 front-end HWP.

My understanding is that part of the problem is that none are created after running aeolus-configure.  Is it an expected that the customer would manually setup i386 Hardware profiles for i386 deployments?

Comment 10 Scott Seago 2012-02-21 19:42:17 UTC
I would expect that the admin would configure HWPs to meet their local needs. That said, it would make sense to me to make creation of an i386 HWP as an option for aeolus-configure if we expect a majority of customers to actually want to launch 32 bit instances.

Do we have any idea how important 32 bit instances are to customers?

Comment 13 Hugh Brock 2012-02-24 16:23:36 UTC
*** Bug 795489 has been marked as a duplicate of this bug. ***

Comment 14 Hugh Brock 2012-02-27 15:23:00 UTC
This issue should not block beta 2 -- we are in the midst of a PM discussion about whether it should even be dealt with for the product. Removing the blocker request.

Comment 15 Andy Smith 2012-03-08 15:32:27 UTC
My understanding is that if an Admin properly configures their HWPs, the system functionality will be as expected. This can be addressed in release notes/users docs. So, if that is a correct assumption, then I agree this should not be a blocker.

Comment 16 wes hayutin 2012-03-08 15:42:19 UTC
So .. this is moving to docs.. 
the nut and bolts are this..

We are going to document the procedure for building/pushing/launching i386 as a x386_64 instance using an x86-64 hwp

Comment 17 Hugh Brock 2012-03-08 15:48:27 UTC
I have documented the workaround for this issue and am moving it to 1.1.0. The correct fix, to modify hardware profile matching so that 32-bit images will match 64-bit hardware profiles on clouds which support that, is too invasive for this release.

Comment 18 Hugh Brock 2012-03-08 15:48:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cloud Engine hardware profile matching does not support 32-bit instances for this release. The workaround for running 32-bit OSes is for the user to create a Component Outline for a 64-bit instance that installs a 32-bit OS. In fact, this is precisely what will happen on clouds powered by RHEV-M and vSphere regardless of hardware profile. In a future release, we will allow users to create 32-bit Component Outlines and match them to 64-bit hardware profiles if there are no 32-bit profiles available.

Comment 20 Scott Seago 2012-08-28 03:57:28 UTC
Angus -- are we really saying that modifying matching rules here is in scope for 1.1? If so, this is probably best assigned to someone that's worked on the matching code lately, since that's changed so much.

Comment 21 Angus Thomas 2012-08-31 17:15:20 UTC
Given the short remaining time for new feature development in 1.1, modifying matching rules is not in scope for 1.1.

Comment 23 Scott Seago 2013-09-17 18:19:09 UTC
Closing as Cloud Engine is no longer maintained, and there is no 2.0 release planned.


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