← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2055271] [NEW] Detach volume from instance sometimes does not work well

 

Public bug reported:

Description
=============================
>From the Horizon UI perspective:
Detach volume from server, it shows success popup message, it starts detaching (detaching loading bar), it takes a few minutes, detaching is finished but the volume is still attached. (it is happening only sometimes)
Checked also status of Volume using OpenstackSDK and the Volume is still attached. So it is not only a Horizon issue.
See video in Logs & Configs part.

Steps to reproduce
==================
1) Create Instance
2) Create Volume
3) Created Volume -> Manage Attachments -> Attach volume to created instance.
4) Volume attached to Instance
5) Created Volume -> Manage Attachments -> Detach volume.

Expected result
===============
6) The volume should be Available again and not attached.

Actual result
=============
6) The volume is still in-use and attached to the instance.

Environment
===========
Zuul

Logs & Configs
==============
https://zuul.opendev.org/t/openstack/build/417f5e4266904ddab4aa7c3708fefbf9/logs

Video recording from test (0:29 success popup message and status set from "In-use" to "Detaching", 3:59 status set from "Detaching" to "In-use" again):
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_417/910378/1/check/horizon-integration-pytest/417f5e4/tox/test_reports/test_volumes.py%3A%3Atest_manage_volume_attachments%5Bnew_instance_demo0-1%5D/video.mp4

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  Description
  =============================
  From the Horizon UI perspective:
- Detach volume from server, it shows success popup message, it starts detaching (detaching loading bar), it takes a few minutes, detaching is finished but the volume is still attached. (it happening only sometimes)
+ Detach volume from server, it shows success popup message, it starts detaching (detaching loading bar), it takes a few minutes, detaching is finished but the volume is still attached. (it is happening only sometimes)
  Checked also status of Volume using OpenstackSDK and the Volume is still attached. So it is not only a Horizon issue.
+ See video in Logs & Configs part.
  
  Steps to reproduce
  ==================
  1) Create Instance
  2) Create Volume
  3) Created Volume -> Manage Attachments -> Attach volume to created instance.
  4) Volume attached to Instance
  5) Created Volume -> Manage Attachments -> Detach volume.
  
  Expected result
  ===============
  6) The volume should be Available again and not attached.
  
- 
  Actual result
  =============
  6) The volume is still in-use and attached to the instance.
  
  Environment
  ===========
  Zuul
  
  Logs & Configs
  ==============
  https://zuul.opendev.org/t/openstack/build/417f5e4266904ddab4aa7c3708fefbf9/logs
  
- 
  Video recording from test (0:29 success popup message and status set from "In-use" to "Detaching", 3:59 status set from "Detaching" to "In-use" again):
  https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_417/910378/1/check/horizon-integration-pytest/417f5e4/tox/test_reports/test_volumes.py%3A%3Atest_manage_volume_attachments%5Bnew_instance_demo0-1%5D/video.mp4

-- 
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/2055271

Title:
  Detach volume from instance sometimes does not work well

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  =============================
  From the Horizon UI perspective:
  Detach volume from server, it shows success popup message, it starts detaching (detaching loading bar), it takes a few minutes, detaching is finished but the volume is still attached. (it is happening only sometimes)
  Checked also status of Volume using OpenstackSDK and the Volume is still attached. So it is not only a Horizon issue.
  See video in Logs & Configs part.

  Steps to reproduce
  ==================
  1) Create Instance
  2) Create Volume
  3) Created Volume -> Manage Attachments -> Attach volume to created instance.
  4) Volume attached to Instance
  5) Created Volume -> Manage Attachments -> Detach volume.

  Expected result
  ===============
  6) The volume should be Available again and not attached.

  Actual result
  =============
  6) The volume is still in-use and attached to the instance.

  Environment
  ===========
  Zuul

  Logs & Configs
  ==============
  https://zuul.opendev.org/t/openstack/build/417f5e4266904ddab4aa7c3708fefbf9/logs

  Video recording from test (0:29 success popup message and status set from "In-use" to "Detaching", 3:59 status set from "Detaching" to "In-use" again):
  https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_417/910378/1/check/horizon-integration-pytest/417f5e4/tox/test_reports/test_volumes.py%3A%3Atest_manage_volume_attachments%5Bnew_instance_demo0-1%5D/video.mp4

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2055271/+subscriptions