availability zone ignored when creating volume

Bug #803654 reported by Jo
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Zadara Storage

Bug Description

pre-requisite:
Run the commands as admin

Steps to reproduce:
1. create a volume on a host
euca-run-instances -k <keypair> -z <zone>:<host> <image_id>
2. euca-describe-volumes <vol_id>
3. verify

Actual:
The zone is ignored

Expected:
Volume should be created on the zone/host specified

Revision history for this message
Vish Ishaya (vishvananda) wrote :

Somehow we lost the parameter in the volume api to specify a zone. This should be added back in.

Changed in nova:
status: New → Confirmed
importance: Undecided → High
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → diablo-4
Revision history for this message
Do Dinh Thang (thangdd-it49) wrote :

it's also ignored when start up an instance.
euca-run-instances ami-00000002 -k mykey -t m1.tiny --availability-zone=zoneone

please fix this error soon.

Revision history for this message
Vish Ishaya (vishvananda) wrote : Re: [Bug 803654] availability zone ignored when creating volume

if you are use:
--scheduler_driver=nova.scheduler.zone.ZoneScheduler
you should be able to create an instance with an availability zone.
and with
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
if you are an admin you can specify a specific host for an instance with --availability-zone=nova:<hostname>

Vish

On Aug 22, 2011, at 3:21 AM, Do Dinh Thang wrote:

> it's also ignored when start up an instance.
> euca-run-instances ami-00000002 -k mykey -t m1.tiny --availability-zone=zoneone
>
> please fix this error soon.
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https://bugs.launchpad.net/bugs/803654
>
> Title:
> availability zone ignored when creating volume
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> pre-requisite:
> Run the commands as admin
>
> Steps to reproduce:
> 1. create a volume on a host
> euca-run-instances -k <keypair> -z <zone>:<host> <image_id>
> 2. euca-describe-volumes <vol_id>
> 3. verify
>
> Actual:
> The zone is ignored
>
> Expected:
> Volume should be created on the zone/host specified
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/803654/+subscriptions

Revision history for this message
Do Dinh Thang (thangdd-it49) wrote :

thanks Vish. In my case, I choice to use SimpleScheduler and that solved my problem.

Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → diablo-rbp
Revision history for this message
Vish Ishaya (vishvananda) wrote :

I believe this was fixed in the vsa branch that went in.

Changed in nova:
status: Confirmed → Fix Committed
assignee: nobody → Zadara Storage (zadara)
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-rbp → 2011.3
status: Fix Committed → Fix Released
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.