MongoDB create_admin_user not authorized

Bug #1485232 reported by Matthew Van Dijk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Matthew Van Dijk

Bug Description

During cluster creation the taskmanager attempts to run create_admin_user on the query router, but it fails as the connection is not authorized if security/authorization is enabled. This causes the cluster creation to fail.

Changed in trove:
status: New → In Progress
assignee: nobody → Matthew Van Dijk (mvandijk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/214183

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/214183
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=7352c70419ec29e0d026df069846e2fd00cb0404
Submitter: Jenkins
Branch: master

commit 7352c70419ec29e0d026df069846e2fd00cb0404
Author: Matt Van Dijk <email address hidden>
Date: Tue Aug 18 09:12:36 2015 -0400

    MongoDB create_admin_user not authorized

    During cluster creation the taskmanager attempts to run
    create_admin_user on the query router, but it fails as the connection is
    not authorized if security/authorization is enabled. This causes the
    cluster creation to fail.

    The fix is to pass the localhost as the host for the client, then reset
    it to the host address after.

    Change-Id: I95083d0981231bfd19e9646446c25d0b3f112b12
    Closes-bug: #1485232

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: none → liberty-3
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-3 → 4.0.0
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.