Fix context/admin_context in nova/tests/test_db_api

Registered by Sergey Skripnick

Some methods in nova.db.sqlalchemy.api requires admin_context, some methods requires non admin context. Almost all tests in nova.tests.test_db_api uses admin_context, and there is no tests for context/admin_context difference. These tests should be implemented.

Blueprint information

Status:
Started
Approver:
Russell Bryant
Priority:
Undefined
Drafter:
Sergey Skripnick
Direction:
Needs approval
Assignee:
Sergey Skripnick
Definition:
Drafting
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Sergey Skripnick

Related branches

Sprints

Whiteboard

1. Use proper context/admin_context usage in nova.tests.test_db_api
2. Test if nova.db.sqlalchemy.api methods which requires admin_context, not working with non-admin context.

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy1. Use proper context/admin_context usage in nova.tests.test_db_api
2. Test if nova.db.sqlalchemy.api methods which requires admin_context, not working with non-admin context.

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)1. Use proper context/admin_context usage in nova.tests.test_db_api
2. Test if nova.db.sqlalchemy.api methods which requires admin_context, not working with non-admin context.

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy1. Use proper context/admin_context usage in nova.tests.test_db_api
2. Test if nova.db.sqlalchemy.api methods which requires admin_context, not working with non-admin context.

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.