Package: keystone
Version: 2:18.0.0-1
Severity: important

Dear Maintainer,

> What led up to the situation?

I tried to "apt install keystone".

> What exactly did you do (or not do) that was effective (or ineffective)?

Prior to installing, the following was piped into
"debconf-set-selections":

| keystone keystone/configure_db boolean false
| keystone keystone/configure_db seen true
| keystone keystone/create-admin-tenant boolean true
| keystone keystone/create-admin-tenant seen true
| keystone keystone/admin-user string admin
| keystone keystone/admin-user seen true
| keystone keystone/admin-email string r...@debian.home.arpa
| keystone keystone/admin-email seen true
| keystone keystone/admin-password password admin
| keystone keystone/admin-password seen true
| keystone keystone/admin-password-confirm password admin
| keystone keystone/admin-password-confirm seen true
| keystone keystone/admin-role-name string admin
| keystone keystone/admin-role-name seen true
| keystone keystone/admin-tenant-name string admin
| keystone keystone/admin-tenant-name seen true
| keystone keystone/register-endpoint boolean true
| keystone keystone/register-endpoint seen true
| keystone keystone/endpoint-ip string debian.home.arpa
| keystone keystone/endpoint-ip seen true
| keystone keystone/endpoint-proto select http
| keystone keystone/endpoint-proto seen true
| keystone keystone/region-name string regionOne
| keystone keystone/region-name seen true     

> What was the outcome of this action?

Package "keystone" failed to with message:

| Setting up keystone (2:18.0.0-1) ...
| Synchronizing state of keystone.service with SysV service script with 
/lib/systemd/systemd-sysv-install.
| Executing: /lib/systemd/systemd-sysv-install enable keystone
| Sleeping 10 seconds to make sure the keystone daemon is up and running: 
10...9...8...7...6...5...4...3...2...1...0
| ===> Bootstraping tenants with 'keystone-manage bootstrap':
| Now doing: su keystone -s /bin/sh -c 'keystone-manage bootstrap 
--bootstrap-role-name admin --bootstrap-service-name keystone 
--bootstrap-region-id regionOne --bootstrap-admin-url 
http://debian.home.arpa:5000 --bootstrap-public-url 
http://debian.home.arpa:5000 --bootstrap-internal-url 
http://debian.home.arpa:5000'
| /etc/keystone/fernet-keys/ does not exist
| dpkg: error processing package keystone (--configure):
|  installed keystone package post-installation script subprocess returned 
error exit status 1
| Processing triggers for man-db (2.9.3-2) ...
| Processing triggers for systemd (246.6-2) ...
| Errors were encountered while processing:
|  keystone

Creating the directory (user/permission as described in [1]) and
attempting to continue installing results in:

| Setting up keystone (2:18.0.0-1) ...
| Synchronizing state of keystone.service with SysV service script with 
/lib/systemd/systemd-sysv-install.
| Executing: /lib/systemd/systemd-sysv-install enable keystone
| Sleeping 10 seconds to make sure the keystone daemon is up and running: 
10...9...8...7...6...5...4...3...2...1...0
| ===> Bootstraping tenants with 'keystone-manage bootstrap':
| Now doing: su keystone -s /bin/sh -c 'keystone-manage bootstrap 
--bootstrap-role-name admin --bootstrap-service-name keystone 
--bootstrap-region-id regionOne --bootstrap-admin-url 
http://debian.home.arpa:5000 --bootstrap-public-url 
http://debian.home.arpa:5000 --bootstrap-internal-url 
http://debian.home.arpa:5000'
| /etc/keystone/fernet-keys/ does not contain keys, use keystone-manage 
fernet_setup to create Fernet keys.
| dpkg: error processing package keystone (--configure):
|  installed keystone package post-installation script subprocess returned 
error exit status 1
| Errors were encountered while processing:
|  keystone

[1]: 
https://sources.debian.org/src/keystone/2:18.0.0-1/doc/source/admin/fernet-token-faq.rst/?hl=291#L291

Following the suggestion of running "keystone-manage fernet_setup" (as
"keystone" user) produced no output and exit code 0.  A subsequent
install attempt resulted in:

| Setting up keystone (2:18.0.0-1) ...
| Synchronizing state of keystone.service with SysV service script with 
/lib/systemd/systemd-sysv-install.
| Executing: /lib/systemd/systemd-sysv-install enable keystone
| Sleeping 10 seconds to make sure the keystone daemon is up and running: 
10...9...8...7...6...5...4...3...2...1...0
| ===> Bootstraping tenants with 'keystone-manage bootstrap':
| Now doing: su keystone -s /bin/sh -c 'keystone-manage bootstrap 
--bootstrap-role-name admin --bootstrap-service-name keystone 
--bootstrap-region-id regionOne --bootstrap-admin-url 
http://debian.home.arpa:5000 --bootstrap-public-url 
http://debian.home.arpa:5000 --bootstrap-internal-url 
http://debian.home.arpa:5000'
| dpkg: error processing package keystone (--configure):
|  installed keystone package post-installation script subprocess returned 
error exit status 1
| Errors were encountered while processing:
|  keystone

I am not sure how to proceed from here.

> What outcome did you expect instead?

A successfully installed package or some instructions how to proceed.


Thank you for maintaining "keystone".

Regards,
itd

Reply via email to