← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1499091] Re: Cannot create flavor with printable characters outside of 0xFFFF range

 

Ok, sorry, I realized I was doing all the utf8 math in my head wrong on
byte counting. And only just realized that we're only doing 2 byte utf
for names, which was not the intent.

Yes, we should support up to 3 byte utf8. However we do strict
validation on this, so this might require a microversion bump.

The UTF8 support has been so hit / miss in Nova to date that I think we
really need a spec for this to straighten out all the places where we
want to support utf8 from the user, and what lengths are required. Once
we have that we can make all the changes in 1 API microversion.

** Changed in: nova
       Status: Won't Fix => Confirmed

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

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

Title:
  Cannot create flavor with printable characters outside of 0xFFFF range

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  There are a lot of printable character outside of 0xFFFF range. With
  the current flavor validation check, it would only allow characters
  within the 0xFFFF range.

  For example, if we create a flavor with character like '𠀋' which is
  u'\U0002000B', it will fail with this error.

  HTTP exception thrown: Invalid input received: Flavor names can only
  contain printable characters and horizontal spaces.

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


References