← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1292316] [NEW] extra_specs should not allow a key '=123'

 

Public bug reported:

[root@controller ~]# nova flavor-key 21 set =984 =1231
[root@controller ~]# nova flavor-show 21
+----------------------------+------------------------------+
| Property                   | Value                        |
+----------------------------+------------------------------+
| name                       | m2.test4                     |
| ram                        | 512                          |
| OS-FLV-DISABLED:disabled   | False                        |
| vcpus                      | 1                            |
| extra_specs                | {u'': u'1231', u'nec1': u''} |
| swap                       | 512                          |
| os-flavor-access:is_public | True                         |
| rxtx_factor                | 1.0                          |
| OS-FLV-EXT-DATA:ephemeral  | 4                            |
| disk                       | 1                            |
| id                         | 21                           |
+----------------------------+------------------------------+

which indicates a key = NULL existing

** Affects: nova
     Importance: Undecided
     Assignee: jichencom (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichencom (jichenjc)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1292316

Title:
  extra_specs should not allow a key '=123'

Status in OpenStack Compute (Nova):
  New

Bug description:
  [root@controller ~]# nova flavor-key 21 set =984 =1231
  [root@controller ~]# nova flavor-show 21
  +----------------------------+------------------------------+
  | Property                   | Value                        |
  +----------------------------+------------------------------+
  | name                       | m2.test4                     |
  | ram                        | 512                          |
  | OS-FLV-DISABLED:disabled   | False                        |
  | vcpus                      | 1                            |
  | extra_specs                | {u'': u'1231', u'nec1': u''} |
  | swap                       | 512                          |
  | os-flavor-access:is_public | True                         |
  | rxtx_factor                | 1.0                          |
  | OS-FLV-EXT-DATA:ephemeral  | 4                            |
  | disk                       | 1                            |
  | id                         | 21                           |
  +----------------------------+------------------------------+

  which indicates a key = NULL existing

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1292316/+subscriptions


Follow ups

References