← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279590] [NEW] Enforce length checking for instance name field in update instance

 

Public bug reported:

There is an allowed maximum length for instance name, while current code
doesn't check / restrict the instance name field when update an
instance.

One question regarding this issue is what number should be used for the
max_length: current code in create instance is using 80 as the
max_length, while back end seems to be using 255, as shown in the error
message below:

RESP BODY: {"badRequest": {"message": "Server name has more than 255
characters.", "code": 400}}

Would be really appreciate if somebody can help clarify this. Thanks.

** Affects: horizon
     Importance: Undecided
     Assignee: Yuanhui Liu (liuyu)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Yuanhui Liu (liuyu)

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

Title:
  Enforce length checking for instance name field in update instance

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  There is an allowed maximum length for instance name, while current
  code doesn't check / restrict the instance name field when update an
  instance.

  One question regarding this issue is what number should be used for
  the max_length: current code in create instance is using 80 as the
  max_length, while back end seems to be using 255, as shown in the
  error message below:

  RESP BODY: {"badRequest": {"message": "Server name has more than 255
  characters.", "code": 400}}

  Would be really appreciate if somebody can help clarify this. Thanks.

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


Follow ups

References