← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1762347] [NEW] [ocata] Logout on duplicated swift container name

 

Public bug reported:

"Create new container" form is validating name of the new container by
checking access on Swift backend with each character entered.

Lets create "new10" containter (when container with name "new" already
exists in different project)

Swift backend gets:

GET /swift/v1/AUTH_xxxxx/n/  HTTP/1.1" 400 0 - python-swiftclient-3.3.0
GET /swift/v1/AUTH_xxxxx/ne/  HTTP/1.1" 400 0 - python-swiftclient-3.3.0
GET /swift/v1/AUTH_xxxxx/new/  HTTP/1.1" 401 0 - python-swiftclient-3.3.0

Horizon gets 401 on this check, and does user logout.

It shouldn't have a place...


ENV:
Ocata
openstack-dashboard 3:11.0.4-0ubuntu1~cloud1
python-swiftclient 1:3.3.0-0ubuntu1~cloud0

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: horizon swift

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

Title:
  [ocata] Logout on duplicated swift container name

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  "Create new container" form is validating name of the new container by
  checking access on Swift backend with each character entered.

  Lets create "new10" containter (when container with name "new" already
  exists in different project)

  Swift backend gets:

  GET /swift/v1/AUTH_xxxxx/n/  HTTP/1.1" 400 0 - python-swiftclient-3.3.0
  GET /swift/v1/AUTH_xxxxx/ne/  HTTP/1.1" 400 0 - python-swiftclient-3.3.0
  GET /swift/v1/AUTH_xxxxx/new/  HTTP/1.1" 401 0 - python-swiftclient-3.3.0

  Horizon gets 401 on this check, and does user logout.

  It shouldn't have a place...

  
  ENV:
  Ocata
  openstack-dashboard 3:11.0.4-0ubuntu1~cloud1
  python-swiftclient 1:3.3.0-0ubuntu1~cloud0

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


Follow ups