← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1418994] [NEW] Project was disabled without doing explicit changes to it by user

 

Public bug reported:

Project was disabled without doing explicit changes to it by user.

Steps:
1. Login to Horizon as admin.
2. Create "TESTPROJECT" project.
3. Create "testuser" user (with TESTPROJECT as primary project).
4. Assign testuser into TESTPROJECT as "_member_" and "admin" roles.
5. Logout
6. Go to Identity -> Projects.
7. Click "Edit Project" or "Manage Members" menu for TESTPROJECT, Edit Project dialog will open.

8. Do nothing, just view. And then click "Save".

Got red error popups on page:
Error: Unauthorized: Failed to modify 0 project members and update project quotas.
Error: Unable to modify project "TESTPROJECT".
Error: Unauthorized: Unable to retrieve project list.

9. Logout. Now you can not login back as testuser: 
Unable to authenticate to any available projects.

10. Login back as admin. 
11. Go to Identity -> Projects. 
12. Look at row of TESTPROJECT, column "Enabled":
Enabled=False
Open "Edit Project" dialog. 
Checkbox "Enabled" is set OFF also.

Horizon and Keystone logs fragments attached.

Environment
Devstack:
os|distro=trusty
os|vendor=Ubuntu
os|release=14.04
git|cinder|master[2079b0f]
git|glance|master[8d21220]
git|heat|master[6d6e417]
git|heat-cfntools|master[a7ffb71]
git|heat-templates|master[35e6837]
git|horizon|master[680488d]
git|keystone|master[e54c323]
git|nova|master[422b22e]

Browser:  Chrome Version 40.0.2214.95 (64-bit)

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: horizon-core keystone

** Attachment added: "log_snippets.zip"
   https://bugs.launchpad.net/bugs/1418994/+attachment/4313885/+files/log_snippets.zip

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

Title:
  Project was disabled without doing explicit changes to it by user

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Project was disabled without doing explicit changes to it by user.

  Steps:
  1. Login to Horizon as admin.
  2. Create "TESTPROJECT" project.
  3. Create "testuser" user (with TESTPROJECT as primary project).
  4. Assign testuser into TESTPROJECT as "_member_" and "admin" roles.
  5. Logout
  6. Go to Identity -> Projects.
  7. Click "Edit Project" or "Manage Members" menu for TESTPROJECT, Edit Project dialog will open.

  8. Do nothing, just view. And then click "Save".

  Got red error popups on page:
  Error: Unauthorized: Failed to modify 0 project members and update project quotas.
  Error: Unable to modify project "TESTPROJECT".
  Error: Unauthorized: Unable to retrieve project list.

  9. Logout. Now you can not login back as testuser: 
  Unable to authenticate to any available projects.

  10. Login back as admin. 
  11. Go to Identity -> Projects. 
  12. Look at row of TESTPROJECT, column "Enabled":
  Enabled=False
  Open "Edit Project" dialog. 
  Checkbox "Enabled" is set OFF also.

  Horizon and Keystone logs fragments attached.

  Environment
  Devstack:
  os|distro=trusty
  os|vendor=Ubuntu
  os|release=14.04
  git|cinder|master[2079b0f]
  git|glance|master[8d21220]
  git|heat|master[6d6e417]
  git|heat-cfntools|master[a7ffb71]
  git|heat-templates|master[35e6837]
  git|horizon|master[680488d]
  git|keystone|master[e54c323]
  git|nova|master[422b22e]

  Browser:  Chrome Version 40.0.2214.95 (64-bit)

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


Follow ups

References