[Bug 944684] Re: Error installing keystone selecting dbconfig-common and sqlite3 as the backend

Steve Langasek 944684 at bugs.launchpad.net
Thu Oct 14 04:56:12 UTC 2021


The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: keystone (Ubuntu Precise)
       Status: Triaged => Won't Fix

-- 
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/944684

Title:
  Error installing keystone selecting dbconfig-common and sqlite3 as the
  backend

Status in keystone package in Ubuntu:
  Fix Released
Status in keystone source package in Precise:
  Won't Fix

Bug description:
  Dialog selections:

  select "configure database for keystone with dbconfig-common"
  select sqlite3 

  dpkg output:
  -----

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following NEW packages will be installed:
    keystone
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/14.9 kB of archives.
  After this operation, 126 kB of additional disk space will be used.
  ySelecting previously unselected package keystone.
  (Reading database ... 296043 files and directories currently installed.)
  Unpacking keystone (from .../keystone_2012.1~e4~20120203.1574-0ubuntu3_all.deb) ...
  Processing triggers for man-db ...
  Processing triggers for ureadahead ...
  Setting up keystone (2012.1~e4~20120203.1574-0ubuntu3) ...
  dbconfig-common: writing config to /etc/dbconfig-common/keystone.conf

  Creating config file /etc/dbconfig-common/keystone.conf with new version
  creating database keystone: success.
  verifying database keystone exists: success.
  SUCCESS: Role Admin created successfully.
  SUCCESS: Role Member created successfully.
  SUCCESS: Role KeystoneAdmin created successfully.
  SUCCESS: Role KeystoneServiceAdmin created successfully.
  SUCCESS: Role sysadmin created successfully.
  SUCCESS: Role netadmin created successfully.
  Traceback (most recent call last):
    File "/usr/bin/keystone-manage", line 35, in <module>
      keystone.manage2.main()
    File "/usr/lib/python2.7/dist-packages/keystone/manage2/__init__.py", line 107, in main
      exit(cmd.run(args))
    File "/usr/lib/python2.7/dist-packages/keystone/manage2/commands/sync_database.py", line 19, in run
      self.sync_database(version=args.version)
    File "/usr/lib/python2.7/dist-packages/keystone/manage2/commands/sync_database.py", line 15, in sync_database
      migration.db_sync(Command._get_connection_string(), version=version)
    File "/usr/lib/python2.7/dist-packages/keystone/backends/sqlalchemy/migration.py", line 168, in db_sync
      _version_control(sql_connection)
    File "/usr/lib/python2.7/dist-packages/keystone/backends/sqlalchemy/migration.py", line 157, in _version_control
      return versioning_api.version_control(sql_connection, repo_path)
    File "<string>", line 2, in version_control
    File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py", line 159, in with_engine
      return f(*a, **kw)
    File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 250, in version_control
      ControlledSchema.create(engine, repository, version)
    File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 139, in create
      table = cls._create_table_version(engine, repository, version)
    File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 180, in _create_table_version
      if not table.exists():
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/schema.py", line 549, in exists
      self.name, schema=self.schema)
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2274, in run_callable
      conn = self.contextual_connect()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2340, in contextual_connect
      self.pool.connect(), 
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 210, in connect
      return _ConnectionFairy(self).checkout()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 371, in __init__
      rec = self._connection_record = pool._do_get()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 758, in _do_get
      return self._create_connection()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 174, in _create_connection
      return _ConnectionRecord(self)
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 256, in __init__
      self.connection = self.__connect()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 316, in __connect
      connection = self.__pool._creator()
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 80, in connect
      return dialect.connect(*cargs, **cparams)
    File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 280, in connect
      return self.dbapi.connect(*cargs, **cparams)
  sqlalchemy.exc.OperationalError: (OperationalError) unable to open database file None None
  dpkg: error processing keystone (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   keystone
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: keystone 2012.1~e4~20120203.1574-0ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.93-0ubuntu2
  Architecture: amd64
  CheckboxSubmission: dd51e7fcfe82b504f848036cca204d88
  CheckboxSystem: 7e42599bda39ea7ff8b528272b6ef52b
  Date: Fri Mar  2 11:20:37 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64+mac (20111012)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm-color
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: keystone
  UpgradeStatus: Upgraded to precise on 2011-12-13 (79 days ago)

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




More information about the Ubuntu-openstack-bugs mailing list