yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60990
[Bug 1660667] [NEW] placement API policy handling uses deprecated fields
Public bug reported:
When running tests of the placement API, the following deprecation
warnings are produced:
nova/api/openstack/placement/auth.py:74: DeprecationWarning: Property 'user' has moved to 'user_id' in version '2.6' and will be removed in version '3.0'
if ctx.user is None:
nova/api/openstack/placement/policy.py:63: DeprecationWarning: Property 'tenant' has moved to 'project_id' in version '2.6' and will be removed in version '3.0'
target = {'project_id': context.tenant,
nova/api/openstack/placement/policy.py:64: DeprecationWarning: Property 'user' has moved to 'user_id' in version '2.6' and will be removed in version '3.0'
'user_id': context.user}
We should fix this.
** Affects: nova
Importance: Medium
Status: Triaged
** Tags: placement scheduler
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1660667
Title:
placement API policy handling uses deprecated fields
Status in OpenStack Compute (nova):
Triaged
Bug description:
When running tests of the placement API, the following deprecation
warnings are produced:
nova/api/openstack/placement/auth.py:74: DeprecationWarning: Property 'user' has moved to 'user_id' in version '2.6' and will be removed in version '3.0'
if ctx.user is None:
nova/api/openstack/placement/policy.py:63: DeprecationWarning: Property 'tenant' has moved to 'project_id' in version '2.6' and will be removed in version '3.0'
target = {'project_id': context.tenant,
nova/api/openstack/placement/policy.py:64: DeprecationWarning: Property 'user' has moved to 'user_id' in version '2.6' and will be removed in version '3.0'
'user_id': context.user}
We should fix this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1660667/+subscriptions
Follow ups