O3L 2.1.1: Deployment Fails: TASK: [horizon | Creating Horizon database user and setting permissions]

(Doc ID 2159246.1)

Last updated on NOVEMBER 23, 2017

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 2.1.1 to OpenStack 2.1.1 [Release ODOS2]
Information in this document applies to any platform.

Symptoms

Error while trying to deploy:

TASK: [horizon | Creating Horizon database user and setting permissions] ******
fatal: [o3l-control2.in.oracle.com] => Failed to template {{ database.stdout.find('localhost | SUCCESS => ') != -1 and (database_user_create.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}: an unexpected type error occurred. Error was expected string or buffer

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
o3l-compute1.in.oracle.com : ok=57 changed=35 unreachable=0 failed=0
o3l-control1.in.oracle.com : ok=250 changed=188 unreachable=0 failed=1
o3l-control2.in.oracle.com : ok=250 changed=195 unreachable=0 failed=1
tstp2-3.in.oracle.com : ok=57 changed=35 unreachable=0 failed=0

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/deploy.py", line 66, in take_action
verbose_level)
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/actions.py", line 89, in deploy
playbook.run()
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/playbook.py", line 139, in run
raise e
CommandError: ERROR: Command failed. :

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms