Mark deprecated db calls as 'deprecated'

Bug #949652 reported by Andrew Bogott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned

Bug Description

Since project & user information is handled by keystone now, many functions in the Nova db api don't do much.

project_get()
project_create()
project_add_member()
etc.
user_get()
user_get_by_uid()
etc.

It would've saved me a bit of time tonight if those functions had warned me that they're deprecated. Someone should go through and paste LOG.warn(_('This function is deprecated in favor of keystone')) throughout.

(I'd just do it, but I don't understand the design well enough to paste accurately.)

Revision history for this message
Vish Ishaya (vishvananda) wrote :

Since these are all going to be removed as soon as folsom opens, I don't know that there is need to mark them all deprecated.

Changed in nova:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.