[Openstack] keystone-manage error - Devstack Mitaka

Steve Martinelli s.martinelli at gmail.com
Wed Jan 25 14:29:00 UTC 2017


It could be that the newer (master) version of devstack laid down newer
requirements that were not cleaned up when switching to the mitaka branch.

On Wed, Jan 25, 2017 at 8:59 AM, Silvia Fichera <fichera.sil at gmail.com>
wrote:

> Thanks, it worked.
>
> It's strange because yesterday I tried all the steps in a VM downloading
> https://github.com/openstack-dev/devstack.git
> I've checked the branch and it was the master one.
> Than I did git checkout -b stable/mitaka
> and I had no problem (except the openstacksdk version that was 0.8.11 and
> I changed to 0.9.12).
> Thanks again
>
> Silvia
>
> 2017-01-25 14:37 GMT+01:00 Steve Martinelli <s.martinelli at gmail.com>:
>
>> sounds like you're using the master branch of devstack to install the
>> mitaka version of openstack, it is advised that you use the mitaka branch
>> of devstack to do that.
>>
>> $ https://github.com/openstack-dev/devstack.git -b stable/mitaka
>> $ cd devstack
>> $ <create your local.conf>
>> $ ./stack.sh
>>
>>
>> On Wed, Jan 25, 2017 at 8:20 AM, Silvia Fichera <fichera.sil at gmail.com>
>> wrote:
>>
>>> Hi
>>> I'm installing openstack using devstack (stable/mitaka) on ubuntu 16.04.
>>> I have this error:
>>>
>>> 2017-01-25 13:51:38.254 10397 INFO migrate.versioning.api [-] 96 ->
>>> 97...
>>> 2017-01-25 13:51:38.280 10397 INFO migrate.versioning.api [-] done
>>> +lib/keystone:init_keystone:513            [[ fernet == \p\k\i ]]
>>> +lib/keystone:init_keystone:513            [[ fernet == \p\k\i\z ]]
>>> +lib/keystone:init_keystone:518            [[ fernet == \f\e\r\n\e\t ]]
>>> +lib/keystone:init_keystone:519            rm -rf
>>> /etc/keystone/fernet-keys/
>>> +lib/keystone:init_keystone:520
>>> /usr/local/bin/keystone-manage --config-file /etc/keystone/keystone.conf
>>> fernet_setup
>>> 2017-01-25 13:51:38.810 10427 INFO keystone.token.providers.fernet.utils
>>> [-] [fernet_tokens] key_repository does not appear to exist; attempting to
>>> create it
>>> 2017-01-25 13:51:38.811 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Created a new key: /etc/keystone/fernet-keys/0
>>> 2017-01-25 13:51:38.811 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Starting key rotation with 1 key files: ['/etc/keystone/fernet-keys/0'
>>> ]
>>> 2017-01-25 13:51:38.811 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Current primary key is: 0
>>> 2017-01-25 13:51:38.811 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Next primary key will be: 1
>>> 2017-01-25 13:51:38.812 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Promoted key 0 to be the primary: 1
>>> 2017-01-25 13:51:38.812 10427 INFO keystone.token.providers.fernet.utils
>>> [-] Created a new key: /etc/keystone/fernet-keys/0
>>> +lib/keystone:init_keystone:522            rm -rf
>>> /etc/keystone/credential-keys/
>>> +lib/keystone:init_keystone:523
>>> /usr/local/bin/keystone-manage --config-file /etc/keystone/keystone.conf
>>> credential_setup
>>> usage: keystone-manage [bootstrap|db_sync|db_version|
>>> domain_config_upload|fernet_rotate|fernet_setup|mapping_purg
>>> e|mapping_engine|pki_setup|saml_idp_metadata|ssl_setup|token_flush]
>>> keystone-manage: error: argument command: invalid choice:
>>> 'credential_setup' (choose from 'bootstrap', 'db_sync', 'db_version',
>>> 'domain_config_upload', 'fernet_rotate', 'fernet_setup', 'mapping_purge',
>>> 'mapping_engine', 'pki_setup', 'saml_idp_metadata', 'ssl_setup',
>>> 'token_flush')
>>> +lib/keystone:init_keystone:1              exit_trap
>>> +./stack.sh:exit_trap:487                  local r=2
>>> ++./stack.sh:exit_trap:488                  jobs -p
>>> +./stack.sh:exit_trap:488                  jobs=
>>> +./stack.sh:exit_trap:491                  [[ -n '' ]]
>>> +./stack.sh:exit_trap:497                  kill_spinner
>>> +./stack.sh:kill_spinner:383               '[' '!' -z '' ']'
>>> +./stack.sh:exit_trap:499                  [[ 2 -ne 0 ]]
>>> +./stack.sh:exit_trap:500                  echo 'Error on exit'
>>> Error on exit
>>> +./stack.sh:exit_trap:501                  generate-subunit 1485348264
>>> 435 fail
>>> +./stack.sh:exit_trap:502                  [[ -z /opt/stack/logs ]]
>>> +./stack.sh:exit_trap:505
>>> /home/onossona/devstack/tools/worlddump.py -d /opt/stack/logs
>>> World dumping... see /opt/stack/logs/worlddump-2017-01-25-125139.txt
>>> for details
>>> +./stack.sh:exit_trap:511                  exit 2
>>>
>>> Could someone help me please?
>>> Thanks
>>>
>>> --
>>> Silvia Fichera
>>>
>>> _______________________________________________
>>> Mailing list: http://lists.openstack.org/cgi
>>> -bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi
>>> -bin/mailman/listinfo/openstack
>>>
>>>
>>
>
>
> --
> Silvia Fichera
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170125/5b7ac4b7/attachment.html>


More information about the Openstack mailing list