Cinder is not being able to attach a volume from snapshot

Bug #1702922 reported by Arx Cruz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned
tripleo
Expired
Undecided
Unassigned

Bug Description

The following tempest tests are failing:

tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete
tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_create_ebs_image_and_check_boot
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_create_server_from_volume_snapshot
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern

All these tests fails because cinder isn't being able to attach a volume to a vm from snapshot.

Steps for these tests are:

* Create in Cinder some bootable volume importing a Glance image - Ok
* Boot an instance from the bootable volume - Ok
* Write content to the volume - Ok
* Delete an instance and Boot a new instance from the volume - Ok
* Check written content in the instance - Ok
* Create a volume snapshot while the instance is running - Ok
* Boot an additional instance from the new snapshot based volume - FAIL
* Check written content in the instance booted from snapshot - Not executed

Here's the log from /var/log/cinder/volume.log

http://paste.openstack.org/raw/614791/

This was caught today in the tripleo periodic master job running tempest. The error don't appear in the ocata periodic job.

Tags: ci
Changed in tripleo:
status: New → Triaged
milestone: none → pike-3
tags: added: ci
Revision history for this message
Attila Fazekas (afazekas) wrote :

Adding cinder, in the recent week(s) there were multiple issues with thin-lvm reverts/new fixes , so the root cause of this issue is likely in cider.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Appears to fail due to not being able to find the snapshot. Will have to investigate more.

Revision history for this message
Arx Cruz (arxcruz) wrote :

The snapshot is bein created, because during the test, I can issue cinder list --all-tenant and I can see the snapshot there... But after a while, it disappears..

Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
Emilien Macchi (emilienm) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
  Valid example: CONFIRMED FOR: FUTURE

Changed in tripleo:
importance: Medium → Undecided
status: Triaged → Expired
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.