[PKG-Openstack-devel] Bug#767574: Bug#767574: keystone: Does not install : dpkg: error processing package keystone (--configure):

Mike Dupont jamesmikedupont at googlemail.com
Sat Nov 1 13:03:41 UTC 2014


I purged and deleted the installation, also removed all open stack
stuff (as before there was no other open stack modules running)
It does not tell me what modules it require to run, so obviously it
cannot run. that might be a minor bug in the dependancies. otherwise I
get a proper error message. these open stack modules are so
interdependant. Where do I get the token and what modules are needed
to test keystone on its own?

root at mdupont-Aspire-7750G:~# aptitude install -t experimental keystone
python-keystone
The following NEW packages will be installed:
  keystone
0 packages upgraded, 1 newly installed, 0 to remove and 2096 not upgraded.
Need to get 0 B/69.5 kB of archives. After unpacking 314 kB will be used.
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package keystone.
(Reading database ... 283730 files and directories currently installed.)
Preparing to unpack .../keystone_2014.2-1_all.deb ...
Unpacking keystone (2014.2-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up keystone (2014.2-1) ...
PKG-Openstack now calling: dbc_go keystone configure
usermod: no changes
dbconfig-common: writing config to /etc/dbconfig-common/keystone.conf

Creating config file /etc/dbconfig-common/keystone.conf with new version
granting access to database keystonedb for keystone at localhost: success.
verifying access for keystone at localhost: success.
creating database keystonedb: success.
verifying database keystonedb exists: success.
dbconfig-common: flushing administrative password
2014-11-01 08:01:02.895 4680 WARNING keystone.cli [-] keystone-manage
pki_setup is not recommended for production use.
Sleeping 5 seconds to make sure the keystone daemon is up and running:
5...4...3...2...1...0
Upgrading db... Creating tenants... Unable to establish connection to
http://127.0.0.1:35357/v2.0/users
Unable to establish connection to http://127.0.0.1:35357/v2.0/tenants
Unable to establish connection to http://127.0.0.1:35357/v2.0/OS-KSADM/roles
Unable to establish connection to http://127.0.0.1:35357/v2.0/OS-KSADM/roles
Unable to establish connection to http://127.0.0.1:35357/v2.0/OS-KSADM/roles
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id:
expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id:
expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id:
expected one argument
usage: keystone tenant-update [--name <tenant_name>]
                              [--description <tenant-description>]
                              [--enabled <true|false>]
                              <tenant>
keystone tenant-update: error: too few arguments
Registering keystone endpoint...Unable to establish connection to
http://192.168.2.2:35357/v2.0/OS-KSADM/services
Unable to establish connection to
http://192.168.2.2:35357/v2.0/OS-KSADM/services/
done!

On Sat, Nov 1, 2014 at 7:44 AM, Mike  Dupont
<jamesmikedupont at googlemail.com> wrote:
> udo apt-get install -t experimental keystone
> ....
> The following NEW packages will be installed:
>   keystone
> 0 upgraded, 1 newly installed, 0 to remove and 2097 not upgraded.
> Need to get 69.5 kB of archives.
> After this operation, 314 kB of additional disk space will be used.
> Get:1 http://ftp.debian.org/debian/ experimental/main keystone all
> 2014.2-1 [69.5 kB]
> Fetched 69.5 kB in 1s (40.2 kB/s)
> debconf: delaying package configuration, since apt-utils is not installed
> Selecting previously unselected package keystone.
> (Reading database ... 283521 files and directories currently installed.)
> Preparing to unpack .../keystone_2014.2-1_all.deb ...
> Unpacking keystone (2014.2-1) ...
> Processing triggers for man-db (2.6.7.1-1) ...
> Setting up keystone (2014.2-1) ...
> PKG-Openstack now calling: dbc_go keystone configure
> dpkg: error processing package keystone (--configure):
>  subprocess installed post-installation script returned error exit status 10
> Errors were encountered while processing:
>  keystone
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> On Sat, Nov 1, 2014 at 6:54 AM, Mike  Dupont
> <jamesmikedupont at googlemail.com> wrote:
>> Hi there, I will rerun it, did not get an error message. Am using
>> mysql i thought.
>> mike
>>
>> On Sat, Nov 1, 2014 at 6:31 AM, Thomas Goirand <thomas at goirand.fr> wrote:
>>> On Sat Nov   1 2014 09:42:35 AM MSK, James Michael DuPont <JamesMikeDuPont at googlemail.com> wrote:
>>>
>>>> Package: keystone
>>>> Version: 2014.2-1
>>>> Severity: normal
>>>>
>>>> dpkg: error processing package keystone (--configure):
>>>
>>> Did you make a mistake when copy/pasting the error?
>>> It doesn't appear...
>>>
>>> Also, I wouldn't advise to use postgress. Everyone
>>> uses MySQL or Galera.
>>>
>>> Thomas
>>>
>>
>>
>>
>> --
>> James Michael DuPont
>> Member of Free Libre Open Source Software Kosova http://www.flossk.org
>> Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
>
>
>
> --
> James Michael DuPont
> Member of Free Libre Open Source Software Kosova http://www.flossk.org
> Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com



-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com



More information about the Openstack-devel mailing list