Issue 96 in hybridfox: Instance types are hardcoded?

2 views
Skip to first unread message

hybr...@googlecode.com

unread,
Aug 13, 2011, 1:52:53 AM8/13/11
to hybr...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 96 by t...@tomfifield.net: Instance types are hardcoded?
http://code.google.com/p/hybridfox/issues/detail?id=96

Hi,

In OpenStack, for example, you can change the instance types exported (eg
http://ken.pepple.info/openstack/2011/03/03/Configurable-Instance-Types-For-OpenStack-Nova/).

However, I notice that in src/chrome/content/ec2ui/newinstancesdialog.js
the instance types appear to be hardcoded?

This means that if an OpenStack cloud is running non-standard instance
types, they won't show up. Or if 'default' types have been deleted, trying
to launch an instance with a deleted type will result in an error.

I don't know if the EC2 API actually has a call to get instance types, so
this might be unsolvable automatically :) Perhaps the ability for users to
modify the types in-GUI could be considered?

Right now I am working around this by manually updating the code with the
correct types and then sending that version to users.

What steps will reproduce the problem?
1. Configure an OpenStack cloud with non-standard instance types
2. Select an image and get to the New Instance dialog
3. Look at the list of instance types in the menu

What is the expected output? What do you see instead?
Hope to see the list of instance types supported by the cloud. Instead see
a default list.

What version of the product are you using? On what operating system?
Trunk

hybr...@googlecode.com

unread,
Aug 13, 2011, 2:00:54 AM8/13/11
to hybr...@googlegroups.com
Updates:
Status: Accepted
Owner: anandchi...@gmail.com

Comment #1 on issue 96 by anandchi...@gmail.com: Instance types are
hardcoded?
http://code.google.com/p/hybridfox/issues/detail?id=96

Thanks for reporting this issue

hybr...@googlecode.com

unread,
Jul 5, 2012, 4:48:44 AM7/5/12
to hybr...@googlegroups.com
Updates:
Status: OnHold

Comment #2 on issue 96 by anandchitravelu: Instance types are hardcoded?
http://code.google.com/p/hybridfox/issues/detail?id=96

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages