← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490850] [NEW] No hostname validation in launch instance angularjs panel

 

Public bug reported:

Horizon Juno does not have hostname validation in AngularJS launch
instance form. For example, you can create a new instance with name:
"#3rtttt"

That name will cause problems when Nova try to handle, but Horizon allow
launch a new instance with a not valid hostname. A valid hostname is
specified in RFC1123 (http://tools.ietf.org/html/rfc1123).

This patch is quite similar to
https://bugs.launchpad.net/horizon/+bug/1458800 but the validation
happens in different layers. In my opinion, the same validation in those
two different layers is not a problem, meanwhile Horizon supports "basic
launch instance form" and the new AngularJS launch instance form.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  No hostname validation in launch instance angularjs panel

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon Juno does not have hostname validation in AngularJS launch
  instance form. For example, you can create a new instance with name:
  "#3rtttt"

  That name will cause problems when Nova try to handle, but Horizon
  allow launch a new instance with a not valid hostname. A valid
  hostname is specified in RFC1123 (http://tools.ietf.org/html/rfc1123).

  This patch is quite similar to
  https://bugs.launchpad.net/horizon/+bug/1458800 but the validation
  happens in different layers. In my opinion, the same validation in
  those two different layers is not a problem, meanwhile Horizon
  supports "basic launch instance form" and the new AngularJS launch
  instance form.

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


Follow ups