Ask Your Question
0

How To Modify Flavors (Instance Types)

asked 2011-05-07 14:27:12 -0500

graham-hemingway gravatar image

My instance types are the default right now:

m1.medium: Memory: 4096MB, VCPUS: 2, Storage: 40GB, FlavorID: 3, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.large: Memory: 8192MB, VCPUS: 4, Storage: 80GB, FlavorID: 4, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.tiny: Memory: 512MB, VCPUS: 1, Storage: 0GB, FlavorID: 1, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.xlarge: Memory: 16384MB, VCPUS: 8, Storage: 160GB, FlavorID: 5, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.small: Memory: 2048MB, VCPUS: 1, Storage: 20GB, FlavorID: 2, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB

I like this setup, but I want to tweak the memory and storage parameters a bit. Is there a nova-manage command to do this (other than "flavor delete" followed by "flavor create")? Can I just hack the DB table?

If not, can I put in an enhancement request for nova-manage to add an "alter" command to instance_type/flavor?

Cheers, Graham

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
0

answered 2011-05-08 02:25:43 -0500

graham-hemingway gravatar image

Thanks Everett Toews, that solved my question.

edit flag offensive delete link more
0

answered 2011-05-08 02:25:31 -0500

graham-hemingway gravatar image

Thanks Everett. I hope to work on this enhancement myself. Cheers, Graham

edit flag offensive delete link more
0

answered 2011-05-07 19:56:16 -0500

everett-toews gravatar image

1) Yes. That's probably the easiest/safest thing to do. 2) Yes. 3) I'd suggest adding a "bug" to https://bugs.launchpad.net/nova with the tag "feature-request".

Everett

On Sat, May 7, 2011 at 9:15 AM, Graham Hemingway < question156423@answers.launchpad.net > wrote:

Question #156423 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/156423 (https://answers.launchpad.net/nova/+q...)

Status: Answered => Open

Graham Hemingway is still having a problem: Everett,

Thanks for the answer, but I am looking for something a bit different than just [create|delete|list]. How do I alter an existing instance type?

1) Should I just delete then create? 2) Can I manually alter the DB table? 3) Could we add an "alter" or "update" command to nova-manage instance_type?

Thanks, Graham


You received this question notification because you are an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-05-07 15:14:06 -0500

graham-hemingway gravatar image

Everett,

Thanks for the answer, but I am looking for something a bit different than just [create|delete|list]. How do I alter an existing instance type?

1) Should I just delete then create? 2) Can I manually alter the DB table? 3) Could we add an "alter" or "update" command to nova-manage instance_type?

Thanks, Graham

edit flag offensive delete link more
0

answered 2011-05-07 14:52:36 -0500

everett-toews gravatar image

The command you're looking for is

nova-manage instance_type [create|delete|list]

Everett

On Sat, May 7, 2011 at 8:30 AM, Graham Hemingway < question156423@answers.launchpad.net > wrote:

New question #156423 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/156423 (https://answers.launchpad.net/nova/+q...)

My instance types are the default right now:

m1.medium: Memory: 4096MB, VCPUS: 2, Storage: 40GB, FlavorID: 3, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.large: Memory: 8192MB, VCPUS: 4, Storage: 80GB, FlavorID: 4, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.tiny: Memory: 512MB, VCPUS: 1, Storage: 0GB, FlavorID: 1, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.xlarge: Memory: 16384MB, VCPUS: 8, Storage: 160GB, FlavorID: 5, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB m1.small: Memory: 2048MB, VCPUS: 1, Storage: 20GB, FlavorID: 2, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB

I like this setup, but I want to tweak the memory and storage parameters a bit. Is there a nova-manage command to do this (other than "flavor delete" followed by "flavor create")? Can I just hack the DB table?

If not, can I put in an enhancement request for nova-manage to add an "alter" command to instance_type/flavor?

Cheers, Graham


You received this question notification because you are an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-05-07 14:27:12 -0500

Seen: 1,214 times

Last updated: May 08 '11