No foreign key relationships between projects, users and user-project associations
Bug #740344 reported by
Tushar Patil
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Naveed Massjouni |
Bug Description
I create a project "project1" and user "user1". After that I add the user "user1" to project "project1", this would add an entry in the table user_project_
I believe this also applies for rest of the foreign key references.
for e.g. instances-
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Naveed Massjouni (ironcamel) |
To post a comment you must log in.
I'm unable to reproduce the problem.
:~/openstack/trunk$ bin/nova-manage project add --project project1 --user jsmith nova.sqlite association; 372661| ||0|admin| defaultproj 569945| ||0|admin| project1 480300| ||0|jsmith| project1 nova.sqlite association; 372661| ||0|admin| defaultproj
:~/openstack/trunk$ sqlite3 lib/nova/
sqlite> select * from user_project_
2011-08-11 21:31:42.
2011-08-11 21:34:21.
2011-08-11 21:34:42.
:~/openstack/trunk$ bin/nova-manage project delete project1
:~/openstack/trunk$ sqlite3 lib/nova/
sqlite> select * from user_project_
2011-08-11 21:31:42.
sqlite>