← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1628883] [NEW] Minimum requirements too low on oslo.log for keystone

 

Public bug reported:

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/keystone-manage", line 6, in <module>
    from keystone.cmd.manage import main
  File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 32, in <module>
    from keystone.cmd import cli
  File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 28, in <module>
    from keystone.cmd import doctor
  File "/usr/lib/python2.7/dist-packages/keystone/cmd/doctor/__init__.py", line 13, in <module>
    from keystone.cmd.doctor import caching
  File "/usr/lib/python2.7/dist-packages/keystone/cmd/doctor/caching.py", line 13, in <module>
    import keystone.conf
  File "/usr/lib/python2.7/dist-packages/keystone/conf/__init__.py", line 26, in <module>
    from keystone.conf import default
  File "/usr/lib/python2.7/dist-packages/keystone/conf/default.py", line 180, in <module>
    deprecated_since=versionutils.deprecated.NEWTON,
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-0ubuntu1~cloud0
  Version table:
     3.16.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main amd64 Packages
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main i386 Packages
 *** 3.2.0-2 500
        500 http://mirror/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

But looking at the requirements.txt in stable/newton, even
oslo.log>=1.14.0 is claimed to work.

** Affects: keystone
     Importance: Undecided
         Status: New

** Affects: keystone (Ubuntu)
     Importance: Undecided
         Status: Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1628883

Title:
  Minimum requirements too low on oslo.log for keystone

Status in OpenStack Identity (keystone):
  New
Status in keystone package in Ubuntu:
  Triaged

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/keystone-manage", line 6, in <module>
      from keystone.cmd.manage import main
    File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 32, in <module>
      from keystone.cmd import cli
    File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 28, in <module>
      from keystone.cmd import doctor
    File "/usr/lib/python2.7/dist-packages/keystone/cmd/doctor/__init__.py", line 13, in <module>
      from keystone.cmd.doctor import caching
    File "/usr/lib/python2.7/dist-packages/keystone/cmd/doctor/caching.py", line 13, in <module>
      import keystone.conf
    File "/usr/lib/python2.7/dist-packages/keystone/conf/__init__.py", line 26, in <module>
      from keystone.conf import default
    File "/usr/lib/python2.7/dist-packages/keystone/conf/default.py", line 180, in <module>
      deprecated_since=versionutils.deprecated.NEWTON,
  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-0ubuntu1~cloud0
    Version table:
       3.16.0-0ubuntu1~cloud0 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main amd64 Packages
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main i386 Packages
   *** 3.2.0-2 500
          500 http://mirror/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  But looking at the requirements.txt in stable/newton, even
  oslo.log>=1.14.0 is claimed to work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1628883/+subscriptions


Follow ups