Cast and Call methods for MongoDB clustering guest strategy are missing version cup, which leads to failure during provisioning

Bug #1408619 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Denis M.

Bug Description

Cast and Call methods for MongoDB clustering guest strategy are missing version cup, which leads to failure during provisioning

Call definition:

    def _call(self, method_name, timeout_sec, version, **kwargs):

Call consumption by guest strategy:

        return self._call("add_shard", guest_api.AGENT_HIGH_TIMEOUT,
                          replica_set_name=replica_set_name,
                          replica_set_member=replica_set_member)

        return self._call("add_members", guest_api.AGENT_HIGH_TIMEOUT,
                          members=members)

        return self._call("add_config_servers", guest_api.AGENT_HIGH_TIMEOUT,
                          config_servers=config_servers)

        return self._call("cluster_complete", guest_api.AGENT_LOW_TIMEOUT)

In all thins calls RPC version is missing

Denis M. (dmakogon)
Changed in trove:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Denis M. (dmakogon)
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/145748

Changed in trove:
status: Confirmed → In Progress
Denis M. (dmakogon)
Changed in trove:
milestone: none → kilo-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/145748
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=98a58d40f50cb363445c7f50423af7e5559a4d56
Submitter: Jenkins
Branch: master

commit 98a58d40f50cb363445c7f50423af7e5559a4d56
Author: Denis Makogon <email address hidden>
Date: Thu Jan 8 13:20:10 2015 +0200

    Fix MongoDB guest strategy implementation

    Reasons:
     - Cast and Call methods for MongoDB clustering
       guest strategy are missing RPC version cap, which
       leads to failure during provisioning.

    Changes
     - adding version cap to each guest call.

    Change-Id: Ie182a7eb4ed96400e50c0f33061a99de6275d9fc
    Closes-Bug: #1408619

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-2 → 2015.1.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.