cinder default zone breaks ec2 api

Bug #1053508 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Vish Ishaya

Bug Description

Setting the default zone of cinder to "cinder" breaks the ec2 api. This is because the ec2-api currently only talks to nova to get the list of zones, so it is imperative right now that cinder and nova have the same list of zones. They should therefore have the same defaults.

Example broken usage with the defaults:

☁ vishvananda@precise:~/devstack (master)$ euca-describe-availability-zones
AVAILABILITYZONE nova available
☁ vishvananda@precise:~/devstack (master)$ euca-create-volume -z nova -s 1
VOLUME vol-00000001 1 nova creating 2012-09-20T16:18:41.798189
☁ vishvananda@precise:~/devstack (master)$ euca-describe-volumes
VOLUME vol-00000001 1 nova error 2012-09-20T16:18:41.000000

Changed in cinder:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Vish Ishaya (vishvananda)
tags: added: folsom-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
milestone: none → folsom-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/13375
Committed: http://github.com/openstack/cinder/commit/d051ca9cdf828b1e47ef5158c4b83beb9484109e
Submitter: Jenkins
Branch: master

commit d051ca9cdf828b1e47ef5158c4b83beb9484109e
Author: Vishvananda Ishaya <email address hidden>
Date: Thu Sep 20 16:34:59 2012 +0000

    Set the default availability zone back to nova

    Currently nova and cinder have to have the same set of az's for
    the ec2 api to work properly. Therefore, set the default az for
    cinder to nova so they will match.

    Includes a hack to az to set cinder to nova to work around gate
    issues. The hack can be removed once the gate sets the zone to
    nova properly.

    Fixes bug 1053508

    Change-Id: I9c30ccc5c79b9c4e6c1ebeb3e80d0098e1ffbb11

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/13439

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (milestone-proposed)

Reviewed: https://review.openstack.org/13439
Committed: http://github.com/openstack/cinder/commit/78d12e86e792c14dc075221613e2838eea948005
Submitter: Jenkins
Branch: milestone-proposed

commit 78d12e86e792c14dc075221613e2838eea948005
Author: Vishvananda Ishaya <email address hidden>
Date: Thu Sep 20 16:34:59 2012 +0000

    Set the default availability zone back to nova

    Currently nova and cinder have to have the same set of az's for
    the ec2 api to work properly. Therefore, set the default az for
    cinder to nova so they will match.

    Includes a hack to az to set cinder to nova to work around gate
    issues. The hack can be removed once the gate sets the zone to
    nova properly.

    Fixes bug 1053508

    Change-Id: I9c30ccc5c79b9c4e6c1ebeb3e80d0098e1ffbb11
    (cherry picked from commit d051ca9cdf828b1e47ef5158c4b83beb9484109e)

Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: folsom-rc2 → 2012.2
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.