Migration of volume fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Jeegn Chen |
Bug Description
This is related to EMC VNX driver (EMCCLIFCDriver). Migration of volume during deployment fails with this error :
2014-10-24 07:37:03.648 3859 INFO cinder.
2014-10-24 07:37:03.680 3859 INFO cinder.
2014-10-24 07:37:53.783 3859 INFO cinder.
2014-10-24 07:38:13.656 3859 INFO cinder.
2014-10-24 07:38:14.464 3859 WARNING cinder.exception [req-04a4fad2-
2014-10-24 07:38:14.465 3859 WARNING cinder.
2014-10-24 07:38:26.900 3859 WARNING cinder.
2014-10-24 07:38:34.510 3859 WARNING cinder.
2014-10-24 07:38:41.041 3859 WARNING cinder.
2014-10-24 07:38:47.025 3859 WARNING cinder.
2014-10-24 07:38:53.479 3859 WARNING cinder.
2014-10-24 07:38:53.787 3859 INFO cinder.
If a migration cannot be started, driver should exit before attempting to migrate. (probably due to lack of space).
We see
and
@log_enter_exit
def check_smp_
"""Ensure a snap mount point with snap become a LUN."""
def _wait_for_
out, rc = self.command_
if rc == 0:
if (snap_name == 'N/A'):
return False
Default timeout is set to 365 days:
default_timeout = 525600
This code needs to be hardened, migration could fail due to lack of space, but it should be detected upfront before invoking migrate.
Changed in cinder: | |
assignee: | nobody → Jeegn Chen (jeegn-chen) |
importance: | Undecided → Medium |
Changed in cinder: | |
status: | New → Triaged |
tags: | added: drivers emc |
Changed in cinder: | |
status: | Triaged → In Progress |
tags: | added: vnx |
Changed in cinder: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-3 → 2015.1.0 |
Fixed as part of https:/ /review. openstack. org/#/c/ 141629/