yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84806
[Bug 1909120] [NEW] n-api should reject requests to detach a volume when the compute is down
Public bug reported:
Description
===========
At present requests to detach volumes from instances on down computes are accepted by n-api but will never be acted upon if the n-cpu service hosting the instance is down.
n-api should reject such requests with a simple 409 HTTP conflict.
Steps to reproduce
==================
* Attempt to detach a volume from an instance residing on a down compute.
Expected result
===============
Request rejected by n-api
Actual result
=============
Request accepted but never completed
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Master
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt + QEMU/KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
N/A
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
** Affects: nova
Importance: Undecided
Assignee: Lee Yarwood (lyarwood)
Status: New
** Tags: api cinder volumes
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1909120
Title:
n-api should reject requests to detach a volume when the compute is
down
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
At present requests to detach volumes from instances on down computes are accepted by n-api but will never be acted upon if the n-cpu service hosting the instance is down.
n-api should reject such requests with a simple 409 HTTP conflict.
Steps to reproduce
==================
* Attempt to detach a volume from an instance residing on a down compute.
Expected result
===============
Request rejected by n-api
Actual result
=============
Request accepted but never completed
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://docs.openstack.org/releases/
Master
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt + QEMU/KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
N/A
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1909120/+subscriptions
Follow ups