← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461776] [NEW] Error messages are encoded to HTML entity

 

Public bug reported:

If you pass min_disk as -1 to the image create command, then it show
following error message on the command prompt.

$ glance image-create --name test --container-format bare --disk-format raw --file <filename> --min-disk -1
400 Bad Request: Invalid value '-1' for parameter 'min_disk': Image min_disk must be &gt;= 0 ('-1' specified). (HTTP 400)

The above error message will be rendered correctly in the browser but it
is not readable on the command prompt.

** Affects: glance
     Importance: Undecided
     Assignee: Ankit Agrawal (ankitagrawal)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Ankit Agrawal (ankitagrawal)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1461776

Title:
  Error messages are encoded to HTML entity

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  If you pass min_disk as -1 to the image create command, then it show
  following error message on the command prompt.

  $ glance image-create --name test --container-format bare --disk-format raw --file <filename> --min-disk -1
  400 Bad Request: Invalid value '-1' for parameter 'min_disk': Image min_disk must be &gt;= 0 ('-1' specified). (HTTP 400)

  The above error message will be rendered correctly in the browser but
  it is not readable on the command prompt.

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


Follow ups

References