do not allow lauch of instances with memory less than 512

Bug #1317181 reported by Dafna Ron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

Bug Description

I can create a flavor with 1MB of memory and launch instances.

since as far as I know we do not have any computers that run on less than 512MB (even that is rare today) I am not sure allowing less than 512MB should be allowed.

Tags: api
Revision history for this message
Dafna Ron (dron-3) wrote :
Download full text (3.9 KiB)

[root@puma32 ~(keystone_admin)]# nova flavor-create Dafna_cli1 92 1 6 1
+----+------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+------------+-----------+------+-----------+------+-------+-------------+-----------+
| 92 | Dafna_cli1 | 1 | 6 | 0 | | 1 | 1.0 | True |
+----+------------+-----------+------+-----------+------+-------+-------------+-----------+

[root@puma32 ~(keystone_admin)]# nova show 8ff3a219-4119-4d54-b62e-1af85c743f09
+--------------------------------------+----------------------------------------------------------+
| Property | Value |
+--------------------------------------+----------------------------------------------------------+
| status | ACTIVE |
| updated | 2014-05-07T16:33:00Z |
| OS-EXT-STS:task_state | None |
| OS-EXT-SRV-ATTR:host | puma32.scl.lab.tlv.redhat.com |
| key_name | None |
| image | two (014f76a0-fd5a-48b0-8fdb-e3e684efe7a3) |
| hostId | 6bd25fb14bba890fa4a8c2cd793ff056a9ae39dbddcebd683fee1f6b |
| OS-EXT-STS:vm_state | active |
| OS-EXT-SRV-ATTR:instance_name | instance-0000001a |
| OS-SRV-USG:launched_at | 2014-05-07T16:33:00.000000 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | puma32.scl.lab.tlv.redhat.com |
| flavor | Dafna_cli1 (92) |
| id | 8ff3a219-4119-4d54-b62e-1af85c743f09 |
| security_groups | [{u'name': u'default'}] |
| OS-SRV-USG:terminated_at | None |
| user_id | 81c761b68ebb423cb29312b8bede978a |
| name | dafna |
| created | 2014-05-07T16:32:54Z |
| tenant_id | 5502ab8e099843cfa39df71b3037ccd6 |
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| novanetwork network | 192.168.32.3 |
| os-extended-volumes:volumes_attached | [] ...

Read more...

Tracy Jones (tjones-i)
tags: added: api
Revision history for this message
Thang Pham (thang-pham) wrote :

The cirros image can run with less than 512M. What about those? They are used by tempest and devstack. I do not believe nova should limit how much memory a flavor should have.

Michael Still (mikal)
Changed in nova:
status: New → Triaged
status: Triaged → Opinion
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.