[Bug 1748123] Re: Policy "os_compute_api:os-server-usage":"rule:admin_or_owner" was deprecated for removal in 17.0.0
James Page
james.page at ubuntu.com
Thu Feb 8 09:59:47 UTC 2018
** Changed in: nova (Ubuntu)
Status: New => In Progress
** Changed in: nova (Ubuntu)
Assignee: (unassigned) => James Page (james-page)
** Changed in: nova (Ubuntu)
Milestone: None => ubuntu-18.02
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1748123
Title:
Policy "os_compute_api:os-server-usage":"rule:admin_or_owner" was
deprecated for removal in 17.0.0
Status in nova package in Ubuntu:
In Progress
Bug description:
Nova fails in autopkgtest
autopkgtest [15:24:49]: test nova-daemons: [-----------------------
/usr/lib/python2.7/dist-packages/oslo_policy/policy.py:623: UserWarning: Policy "os_compute_api:os-extended-volumes":"rule:admin_or_owner" was deprecated for removal in 17.0.0. Reason: Nova API extension concept has been removed in Pike. Those extensions have their own policies enforcement. As there is no extensions now, "os_compute_api:os-extended-volumes" policy which was added for extensions is not needed any more. Its value may be silently ignored in the future.
'reason': default.deprecated_reason
All other tests work well, only nova-daemon is affected
Testing in a Bionic container showed:
- 17.0.0~b3-0ubuntu3 "fails" but works
That means it actually works:
OK
OK
OK
OK
OK
root at bionic-test:~/nova-17.0.0~b3/debian/tests# echo $?
0
But due to lib changes in python the above warning pops out on stderr.
Since it doesn't have allow-stderr it fails.
This is NOT due to the libvirt or qemu uploads (tested, is the same
with old/new versions).
For now I'll add a badtest for now to avoid blocking everybody with
this false-positive of a autopkgtest, but I'd ask to adapt nova to
either add allow-stderr or update nova to handle the deprecation
correctly.
By the message it seems it really is something that changed in Pike
queens should have proper code for that I'd expect?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1748123/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list