← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I can create a new server whose name is #3rtttt  even when I used 'nova'
CLI. Horizon can add a validation that nova applies, but it seems nova
has no check to prevent from using a name like #3rtttt in creating a
server. From this observation, we will reject this bug as Invalid. If
nova applies a validation on server name, feel free to open a new bug.

** Changed in: horizon
       Status: Incomplete => Invalid

** Changed in: horizon
     Assignee: Mateusz Kowalski (makowals) => (unassigned)

-- 
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):
  Invalid

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


References