Cluster Error On Missing Volume Sizes Unoptimal

Bug #1369001 reported by Auston McReynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Auston McReynolds

Bug Description

if the volume is omitted for a cluster-create and CONF.volume_support = True

  $ trove cluster-create boof mongodb-2.6 2.6 --instance flavor_id=11 --instance flavor_id=11 --instance flavor_id=11

will return:

  ERROR: The volume size for each instance in a cluster must be the same. (HTTP 400)

this would be better as:

  ERROR: A volume size is required for each instance in the cluster. (HTTP 400)

"ERROR: The volume size for each instance in a cluster must be the same. (HTTP 400)" should only be returned if the volume is provided for all instances, it's just that the values don't match.

Changed in trove:
assignee: nobody → Auston McReynolds (amcrn)
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/121270

Changed in trove:
status: New → In Progress
Changed in trove:
milestone: none → juno-rc1
importance: Undecided → Medium
no longer affects: trove/juno
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Moving bugs that are Medium - Low importance out since they should not block the juno-rc1 release.

Changed in trove:
milestone: juno-rc1 → kilo-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/121270
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=8b9802413e007d7ce44328fcc32137e0f22bbe4c
Submitter: Jenkins
Branch: master

commit 8b9802413e007d7ce44328fcc32137e0f22bbe4c
Author: amcrn <email address hidden>
Date: Fri Sep 12 16:53:17 2014 -0700

    Cluster Error On Missing Volume Sizes Unoptimal

    if the volume size is omitted on an instance, and volume_support
    is true, then the error should indicate that the volume size
    is missing, vs. stating that the volume sizes don't match.

    Change-Id: I40c807313eaed4fb2f433da1c8a80089e01756fa
    Closes-Bug: #1369001

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-1 → 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.