mongodb bootstrap cluster not run

Bug #1820429 reported by Eric Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
Unassigned

Bug Description

Environment:
Ansible 2.7.8 (latest as of March 16, 2019)
CentOS 7.5.1804 on Kolla-Ansible deployment machine
Kolla-Ansible 7.0.2
Same issue exists in 8.0.0.0b1 since this file hasn't changed since 7.0.0

In the MongoDB handler here:
https://github.com/openstack/kolla-ansible/blob/a9def6ce4b19095e36de11d3cbe461067043054d/ansible/roles/mongodb/handlers/main.yml#L39

The "include_task" is not run, possibly due to this bug in Ansible:
https://github.com/ansible/ansible/issues/20493

So, the ReplicaSet is not created.

The attached patch file fixes the issue, but uses the deprecated "include" plugin, which is supposed to be replaced with include_task, but include_task doesn't work in handlers due to the Ansible bug. This is the only workaround I found.

Eric

Revision history for this message
Eric Miller (erickmiller) wrote :
Revision history for this message
Tom Fifield (fifieldt) wrote :

Unfortunately, this won't be fixed, since MongoDB support has been removed. Release note section below:

    In Victoria support for
    deploying MongoDB will be removed from Kolla Ansible. Note CentOS 8
    already lost support for MongoDB due to decisions made upstream.

    This affects Panko as it will no longer be possible to get automatic
    deployment of MongoDB database for it. However, the default, SQL,
    backend is and will be supported via MariaDB.

    MongoDB lost its position in OpenStack environment after
    controversial relicensing under their custom SSPL (Server Side
    Public License) which did not pass OSI (Open Source Initiative)
    validation.

Changed in kolla-ansible:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.