Oracle Openstack 4.0.1: predeploy Check Reports Error: "Number of database nodes must be either one or an even number"

(Doc ID 2355780.1)

Last updated on FEBRUARY 08, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

Host predeploy check reports error:

$ kollacli host check all --predeploy
(snip)
TASK [mysqlcluster : Checking number of database nodes is one or even] *********
fatal: [o3l1.oracle.com]: FAILED! => {"msg": "Number of database nodes must be either one or an even number", "failed": true, "changed": false, "_ansible_no_log": false, "_ansible_delegated_vars": {"ansible_host": "localhost"}}

PLAY RECAP *********************************************************************
o3l1.oracle.com : ok=58 changed=0 unreachable=0 failed=0 ignored=0
o3l2.oracle.com : ok=7 changed=0 unreachable=0 failed=0 ignored=0
o3l3.oracle.com : ok=14 changed=0 unreachable=0 failed=0 ignored=0
o3l4.oracle.com : ok=57 changed=0 unreachable=0 failed=1 ignored=0
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/host.py", line 219, in take_action
.format(msg=job.get_error_message()))
CommandError: ERROR: Job failed:
Host: o3l1.oracle.com, Task: mysqlcluster : Checking number of database nodes is one or even, Status: failed, Message: Number of database nodes must be either one or an even number

Check host list:


$ kollacli host list
+--------------------------+----------------------------+
| Host | Groups |
+--------------------------+----------------------------+
| o3l1.oracle.com | [control,storage,database] |
| o3l3.oracle.com | [database] |
| o3l2.oracle.com | [control,network,database] |
| o3l4.oracle.com | [compute] |
+--------------------------+----------------------------+

 

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