Minimum requirements too low on oslo.log for keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Unassigned | ||
keystone (Ubuntu) |
Fix Released
|
Undecided
|
Corey Bryant |
Bug Description
After upgrading keystone from mitaka to newton-rc1 on Xenial I am getting this error:
$ keystone-manage db_sync
Traceback (most recent call last):
File "/usr/bin/
from keystone.cmd.manage import main
File "/usr/lib/
from keystone.cmd import cli
File "/usr/lib/
from keystone.cmd import doctor
File "/usr/lib/
from keystone.cmd.doctor import caching
File "/usr/lib/
import keystone.conf
File "/usr/lib/
from keystone.conf import default
File "/usr/lib/
deprecated_
AttributeError: type object 'deprecated' has no attribute 'NEWTON'
It seems due to the fact that the installed version of oslo.log is not updated properly:
python-oslo.log:
Installed: 3.2.0-2
Candidate: 3.16.0-
Version table:
3.
500 http://
500 http://
*** 3.2.0-2 500
500 http://
100 /var/lib/
But looking at the requirements.txt in stable/newton, even oslo.log>=1.14.0 is claimed to work.
Changed in keystone (Ubuntu): | |
status: | New → Triaged |
Changed in keystone: | |
status: | New → Confirmed |
Changed in keystone: | |
status: | Confirmed → Fix Released |
So looking at the tags in the oslo.log repo, it seems that keystone= stable/ newton needs to depend on oslo.log>=3.4.0 in order to work.