← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1630463] [NEW] The limit of the flavor extra_spec (value) size is too short

 

Public bug reported:

The maximum size of the flavor extra_spec value is 255 character [1], but this is not always enough.
If I create a new flavor and I want to set the metadata, it is possible that there is not enough "space" (The metadata does not fit in the db record)
E.g.: I change the metadata -in dashboard. I select all x86:[A-Z] opstions from CIM Processor Allocation Setting › Instruction Set Extension available metadata (They are longer than 255 character). When I want to save the changes, it does not allow this. (Error: Unable to edit the flavor extra specs and Error: Unable to update metadata)


[1] : https://github.com/openstack/nova/blob/9c89e07d17b5eb441682e3b8fad8b270f37f7015/nova/db/sqlalchemy/api_models.py#L206

** Affects: nova
     Importance: Undecided
     Assignee: Béla Vancsics (vancsics)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Béla Vancsics (vancsics)

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

Title:
  The limit of the flavor extra_spec (value) size is too short

Status in OpenStack Compute (nova):
  New

Bug description:
  The maximum size of the flavor extra_spec value is 255 character [1], but this is not always enough.
  If I create a new flavor and I want to set the metadata, it is possible that there is not enough "space" (The metadata does not fit in the db record)
  E.g.: I change the metadata -in dashboard. I select all x86:[A-Z] opstions from CIM Processor Allocation Setting › Instruction Set Extension available metadata (They are longer than 255 character). When I want to save the changes, it does not allow this. (Error: Unable to edit the flavor extra specs and Error: Unable to update metadata)

  
  [1] : https://github.com/openstack/nova/blob/9c89e07d17b5eb441682e3b8fad8b270f37f7015/nova/db/sqlalchemy/api_models.py#L206

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


Follow ups