I'm seeing this exact error on a fresh install (after calling destroy and cleaning up ceph) using train:
TASK [keystone : Initialise fernet key authentication] ************************************************************************************************************************************************************************************************************************
FAILED - RETRYING: Initialise fernet key authentication (10 retries left).
FAILED - RETRYING: Initialise fernet key authentication (9 retries left).
fatal: [n5.smcstaff.org]: FAILED! => {"msg": "The conditional check 'fernet_create.stdout.split()[2] == 'SUCCESS' or fernet_create.stdout.find('Key repository is already initialized') != -1' failed. The error was: error while evaluating conditional (fernet_create.stdout.split()[2] == 'SUCCESS' or fernet_create.stdout.find('Key repository is already initialized') != -1): list object has no element 2"}
NO MORE HOSTS LEFT ************************************************************************************************************************************************************************************************************************************************************
I'm seeing this exact error on a fresh install (after calling destroy and cleaning up ceph) using train: ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ****** create. stdout. split() [2] == 'SUCCESS' or fernet_ create. stdout. find('Key repository is already initialized') != -1' failed. The error was: error while evaluating conditional (fernet_ create. stdout. split() [2] == 'SUCCESS' or fernet_ create. stdout. find('Key repository is already initialized') != -1): list object has no element 2"}
TASK [keystone : Initialise fernet key authentication] *******
FAILED - RETRYING: Initialise fernet key authentication (10 retries left).
FAILED - RETRYING: Initialise fernet key authentication (9 retries left).
fatal: [n5.smcstaff.org]: FAILED! => {"msg": "The conditional check 'fernet_
NO MORE HOSTS LEFT ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *******
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *
localhost : ok=5 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
n1.smcstaff.org : ok=5 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
n2.smcstaff.org : ok=5 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
n4.smcstaff.org : ok=152 changed=86 unreachable=0 failed=0 skipped=72 rescued=0 ignored=1
n5.smcstaff.org : ok=168 changed=99 unreachable=0 failed=1 skipped=70 rescued=0 ignored=1