My Oracle Support Banner

O3L 2.1.1: Deployment Fails: TASK: [horizon | Creating Horizon database user and setting permissions] (Doc ID 2159246.1)

Last updated on AUGUST 20, 2018

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.


Error while trying to deploy:

TASK: [horizon | Creating Horizon database user and setting permissions] ******
fatal: [] => 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 ******************************************************************** : ok=57 changed=35 unreachable=0 failed=0 : ok=250 changed=188 unreachable=0 failed=1 : ok=250 changed=195 unreachable=0 failed=1 : ok=57 changed=35 unreachable=0 failed=0

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



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.