[Bug 1588131] Re: package keystone 2:9.0.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Corey Bryant corey.bryant at canonical.com
Thu Jun 23 19:27:07 UTC 2016


Hi Tudor, Thanks for reporting this.  Is this an upgrade of keystone and
if so can you let me know what package version you're upgrade from?
That should help us recreate/triage this.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1588131

Title:
  package keystone 2:9.0.0-0ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in keystone package in Ubuntu:
  Confirmed

Bug description:
  Setting up keystone (2:9.0.0-0ubuntu1) ...
  2016-06-02 12:42:43.180 17865 CRITICAL keystone [-] KeyError: <VerNum(45)>
  2016-06-02 12:42:43.180 17865 ERROR keystone Traceback (most recent call last):
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
  2016-06-02 12:42:43.180 17865 ERROR keystone     sys.exit(main())
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 47, in main
  2016-06-02 12:42:43.180 17865 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 992, in main
  2016-06-02 12:42:43.180 17865 ERROR keystone     CONF.command.cmd_class.main()
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 371, in main
  2016-06-02 12:42:43.180 17865 ERROR keystone     migration_helpers.sync_database_to_version(extension, version)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 210, in sync_database_to_version
  2016-06-02 12:42:43.180 17865 ERROR keystone     _sync_common_repo(version)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 136, in _sync_common_repo
  2016-06-02 12:42:43.180 17865 ERROR keystone     init_version=init_version, sanity_check=False)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/migration.py", line 79, in db_sync
  2016-06-02 12:42:43.180 17865 ERROR keystone     migration = versioning_api.upgrade(engine, repository, version)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
  2016-06-02 12:42:43.180 17865 ERROR keystone     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "<decorator-gen-15>", line 2, in _migrate
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py", line 160, in with_engine
  2016-06-02 12:42:43.180 17865 ERROR keystone     return f(*a, **kw)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
  2016-06-02 12:42:43.180 17865 ERROR keystone     changeset = schema.changeset(version)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 82, in changeset
  2016-06-02 12:42:43.180 17865 ERROR keystone     changeset = self.repository.changeset(database, start_ver, version)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
  2016-06-02 12:42:43.180 17865 ERROR keystone     changes = [self.version(v).script(database, op) for v in versions]
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
  2016-06-02 12:42:43.180 17865 ERROR keystone     return self.versions.version(*p, **k)
  2016-06-02 12:42:43.180 17865 ERROR keystone   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 163, in version
  2016-06-02 12:42:43.180 17865 ERROR keystone     return self.versions[VerNum(vernum)]
  2016-06-02 12:42:43.180 17865 ERROR keystone KeyError: <VerNum(45)>
  2016-06-02 12:42:43.180 17865 ERROR keystone

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: keystone 2:9.0.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-87.133-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-87-generic i686
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: i386
  Date: Thu Jun  2 12:35:22 2016
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2013-12-05 (910 days ago)
  InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release i386 (20130820.2)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.12~ubuntu16.04.1
  SourcePackage: keystone
  Title: package keystone 2:9.0.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to xenial on 2016-06-02 (0 days ago)

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



More information about the Ubuntu-openstack-bugs mailing list