cinder cross_az_attach uses instance AZ value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
MOS Nova | ||
4.1.x |
Won't Fix
|
Medium
|
MOS Nova | ||
5.0.x |
Won't Fix
|
Medium
|
MOS Nova | ||
5.1.x |
Won't Fix
|
Medium
|
MOS Nova | ||
6.0.x |
Fix Released
|
Medium
|
MOS Nova |
Bug Description
Upstream bug https:/
Steps to reproduce:
Boot 2 VMs:
nova boot ac-instance --flavor micro --image 6.5.1-latest --nic net id=neid
nova boot ac2-instance --flavor micro --image 6.5.1-latest --nic net-id=netid --availability-
Create volume in the same az:
$ cinder create 100 --availability-zone az1b
Attach to the instance with scheduler-picked az
$ nova volume-attach ac-instance bfdaf9f5-
ERROR (BadRequest): Invalid volume: Instance and volume not in same availability_zone (HTTP 400) (Request-ID: req-75fde250-
Attach to the instance with explicit az:
$ nova volume-attach ac2-instance bfdaf9f5-
+------
| Property | Value |
+------
| device | /dev/vdb |
| id | bfdaf9f5-
| serverId | 3f9b4366-
| volumeId | bfdaf9f5-
+------
tags: | added: nova |
description: | updated |
tags: | added: customer-found |
Roman, please specify which version is affected. I guess it is 5.x only, right?