do not allow lauch of instances with memory less than 512
Bug #1317181 reported by
Dafna Ron
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: | added: api |
Changed in nova: | |
status: | New → Triaged |
status: | Triaged → Opinion |
importance: | Undecided → Wishlist |
To post a comment you must log in.
[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-1af85c743f 09 ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- + 07T16:33: 00Z | STS:task_ state | None | SRV-ATTR: host | puma32. scl.lab. tlv.redhat. com | fd5a-48b0- 8fdb-e3e684efe7 a3) | fa4a8c2cd793ff0 56a9ae39dbddceb d683fee1f6b | SRV-ATTR: instance_ name | instance-0000001a | USG:launched_ at | 2014-05- 07T16:33: 00.000000 | SRV-ATTR: hypervisor_ hostname | puma32. scl.lab. tlv.redhat. com | 4119-4d54- b62e-1af85c743f 09 | USG:terminated_ at | None | cb29312b8bede97 8a | 07T16:32: 54Z | fa39df71b3037cc d6 | volumes: volumes_ attached | [] ...
+------
| Property | Value |
+------
| status | ACTIVE |
| updated | 2014-05-
| OS-EXT-
| OS-EXT-
| key_name | None |
| image | two (014f76a0-
| hostId | 6bd25fb14bba890
| OS-EXT-STS:vm_state | active |
| OS-EXT-
| OS-SRV-
| OS-EXT-
| flavor | Dafna_cli1 (92) |
| id | 8ff3a219-
| security_groups | [{u'name': u'default'}] |
| OS-SRV-
| user_id | 81c761b68ebb423
| name | dafna |
| created | 2014-05-
| tenant_id | 5502ab8e099843c
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| novanetwork network | 192.168.32.3 |
| os-extended-