nova aggregate-create returns unclear error to user

Bug #1083353 reported by Joe Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Joe Gordon
Folsom
Fix Released
Medium
Joe Gordon

Bug Description

From devstack:

$ nova aggregate-create bob 1
ERROR: There was a conflict when trying to complete your request. (HTTP 409) (Request-ID: req-5751164d-8320-4441-80b2-6d1b0cb2d3ba)

In this case the error is due to an invalid zone

Changed in nova:
assignee: nobody → Joe Gordon (joe-gordon0)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/16935
Committed: http://github.com/openstack/nova/commit/4e43747037058522087e6eb71ef3bcce266d55cc
Submitter: Jenkins
Branch: master

commit 4e43747037058522087e6eb71ef3bcce266d55cc
Author: Joe Gordon <email address hidden>
Date: Mon Nov 26 22:55:19 2012 +0000

    Provide better error message for aggregate-create

    For an InvalidAggregateAction exception:
    Before: 'ERROR: There was a conflict when trying to complete your request (HTTP 409)'
    After: 'ERROR: Cannot perform action 'create_aggregate' on aggregate 'N/A'. Reason: invalid zone. (HTTP 400)'

    Fix bug 1083353

    Change-Id: I26e30059fe5bbc30eecc52cccec4eba2a57d00db

Changed in nova:
status: In Progress → Fix Committed
Joe Gordon (jogo)
tags: removed: folsom-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/17015

Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Joe Gordon (jogo)
tags: added: folsom-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/folsom)

Reviewed: https://review.openstack.org/17015
Committed: http://github.com/openstack/nova/commit/eff17b4b1888d3d56bb1ede59e382b8430e2afa9
Submitter: Jenkins
Branch: stable/folsom

commit eff17b4b1888d3d56bb1ede59e382b8430e2afa9
Author: Joe Gordon <email address hidden>
Date: Mon Nov 26 22:55:19 2012 +0000

    Provide better error message for aggregate-create

    For an InvalidAggregateAction exception:
    Before: 'ERROR: There was a conflict when trying to complete your request (HTTP 409)'
    After: 'ERROR: Cannot perform action 'create_aggregate' on aggregate 'N/A'. Reason: invalid zone. (HTTP 400)'

    docImpact

    Fix bug 1083353

    Change-Id: I26e30059fe5bbc30eecc52cccec4eba2a57d00db
    (cherry picked from commit 4e43747037058522087e6eb71ef3bcce266d55cc)

tags: added: in-stable-folsom
Mark McLoughlin (markmc)
Changed in nova:
milestone: grizzly-2 → 2012.2.3
status: Fix Released → Fix Committed
Mark McLoughlin (markmc)
Changed in nova:
milestone: 2012.2.3 → grizzly-2
status: Fix Committed → Fix Released
Mark McLoughlin (markmc)
tags: removed: folsom-backport-potential in-stable-folsom
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 2013.1
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.