← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1648424] Re: check hw:mem_page_size before set flavor_extra

 

The discussion in the patch is that a bigger standardization is required
here.

** Changed in: nova
       Status: New => Opinion

** Changed in: nova
   Importance: Undecided => Wishlist

-- 
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/1648424

Title:
  check hw:mem_page_size before set flavor_extra

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  newton code, this -1 is invalid

  [root@faydevnt ~] # nova flavor-create jitest 1000 1024 0 1
  +------+--------+-----------+------+-----------+------+-------+-------------+-----------+
  | ID   | Name   | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
  +------+--------+-----------+------+-----------+------+-------+-------------+-----------+
  | 1000 | jitest | 1024      | 0    | 0         |      | 1     | 1.0         | True      |
  +------+--------+-----------+------+-----------+------+-------+-------------+-----------+

  
  [root@faydevnt ~] # nova flavor-key 1000 set hw:mem_page_size=-1
  [root@faydevnt ~] 


  [root@faydevnt ~] # nova flavor-show 1000
  +----------------------------+----------------------------+
  | Property                   | Value                      |
  +----------------------------+----------------------------+
  | OS-FLV-DISABLED:disabled   | False                      |
  | OS-FLV-EXT-DATA:ephemeral  | 0                          |
  | disk                       | 0                          |
  | extra_specs                | {"hw:mem_page_size": "-1"} |
  | id                         | 1000                       |
  | name                       | jitest                     |
  | os-flavor-access:is_public | True                       |
  | ram                        | 1024                       |
  | rxtx_factor                | 1.0                        |
  | swap                       |                            |
  | vcpus                      | 1                          |
  +----------------------------+----------------------------+

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


References