Comment 0 for bug 1720885

Revision history for this message
Eric Harney (eharney) wrote :

$ cinder show d0d68a2e-7687-4d8f-a376-20d870e7708a
+--------------------------------+-------------------------------------------------+
| Property | Value |
+--------------------------------+-------------------------------------------------+
| attached_servers | [] |
| attachment_ids | [] |
| availability_zone | nova |
| bootable | true |
| consistencygroup_id | None |
| created_at | 2017-10-02T21:12:10.000000 |
| description | None |
| encrypted | True |
| id | d0d68a2e-7687-4d8f-a376-20d870e7708a |
| metadata | |
| migration_status | error |
| multiattach | False |
| name | None |
| os-vol-host-attr:host | fedora25dev.localdomain@lvmdriver-1#lvmdriver-1 |
| os-vol-mig-status-attr:migstat | error |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | bb2142eaba20414d87583fe4b0d3efdf |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| updated_at | 2017-10-02T21:22:55.000000 |
| user_id | b7ada84e4fa247ef8de596c0e66d3c91 |
| volume_image_metadata | checksum : f8ab98ff5e73ebab884d80c9dc9c7290 |
| | container_format : bare |
| | disk_format : qcow2 |
| | image_id : 43afb53b-2f4c-4d14-a3f1-e08712e9cf34 |
| | image_name : cirros-0.3.5-x86_64-disk |
| | min_disk : 0 |
| | min_ram : 0 |
| | size : 13267968 |
| volume_type | lvmdriver-1 |
+--------------------------------+-------------------------------------------------+

$ cinder migrate --force-host-copy True d0d68a2e-7687-4d8f-a376-20d870e7708a fedora25dev.localdomain@lvmdriver-2

2017-10-02 17:16:08.973 TRACE cinder.volume.manager Traceback (most recent call last):
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/manager.py", line 2094, in _migrate_volume_generic
2017-10-02 17:16:08.973 TRACE cinder.volume.manager self._copy_volume_data(ctxt, volume, new_volume, remote='dest')
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/manager.py", line 2011, in _copy_volume_data
2017-10-02 17:16:08.973 TRACE cinder.volume.manager {'src': src_vol['id'], 'dest': dest_vol['id']})
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-10-02 17:16:08.973 TRACE cinder.volume.manager self.force_reraise()
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-10-02 17:16:08.973 TRACE cinder.volume.manager six.reraise(self.type_, self.value, self.tb)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/manager.py", line 2006, in _copy_volume_data
2017-10-02 17:16:08.973 TRACE cinder.volume.manager sparse=sparse_copy_volume)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/utils.py", line 585, in copy_volume
2017-10-02 17:16:08.973 TRACE cinder.volume.manager sparse=sparse)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/volume/utils.py", line 469, in _copy_volume_with_path
2017-10-02 17:16:08.973 TRACE cinder.volume.manager execute(*cmd, run_as_root=True)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 123, in execute
2017-10-02 17:16:08.973 TRACE cinder.volume.manager return processutils.execute(*cmd, **kwargs)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 400, in execute
2017-10-02 17:16:08.973 TRACE cinder.volume.manager cmd=sanitized_cmd)
2017-10-02 17:16:08.973 TRACE cinder.volume.manager ProcessExecutionError: Unexpected error while running command.
2017-10-02 17:16:08.973 TRACE cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf dd if=/dev/disk/by-id/scsi-36001405dae6f7cd109c44a8a280c0ed3 of=/dev/disk/by-id/scsi-3600140557a05fbd6a5749abb7b47c58a count=1073741824 bs=1M iflag=count_bytes,direct oflag=direct conv=sparse
2017-10-02 17:16:08.973 TRACE cinder.volume.manager Exit code: 1
2017-10-02 17:16:08.973 TRACE cinder.volume.manager Stdout: u''
2017-10-02 17:16:08.973 TRACE cinder.volume.manager Stderr: u"/bin/dd: error writing '/dev/disk/by-id/scsi-3600140557a05fbd6a5749abb7b47c58a': No space left on device\n1022+1 records in\n1022+0 records out\n1071644672 bytes (1.1 GB, 1022 MiB) copied, 38.9663 s, 27.5 MB/s\n"
2017-10-02 17:16:08.973 TRACE cinder.volume.manager