nfs: failed to extend volume after blockRebase
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Rajat Dhasmana |
Bug Description
Followings are the steps to reproduce the issue:
1) create a bootable volume
2) launch an instance from the volume
3) create snapshot of instance (using nova image-create)
4) delete the snapshot (blockRebase operation)
5) delete the VM
6) try to perform extend operation on volume
it fails with the following error in cinder-volume:
ERROR cinder.
Command: sudo cinder-rootwrap /etc/cinder/
Exit code: 1
Stdout: ''
Stderr: "qemu-img: Could not open '/opt/stack/
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
ERROR cinder.
stack@ubuntu200
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2020-11-
| description | None |
| encrypted | False |
| id | 2a351c27-
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | None |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | 2020-11-
| user_id | 0cd3910ea1ca405
| volume_type | nfs |
+------
stack@ubuntu200
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | zxeQ5n3n2RaE |
| config_drive | |
| created | 2020-11-
| description | - |
| flavor:disk | 1 |
| flavor:ephemeral | 0 |
| flavor:extra_specs | {"hw_rng:allowed": "True"} |
| flavor:
| flavor:ram | 128 |
| flavor:swap | 0 |
| flavor:vcpus | 1 |
| hostId | |
| host_status | |
| id | 3a922fe9-
| image | Attempt to boot from volume - no image supplied |
| key_name | - |
| locked | False |
| locked_reason | - |
| metadata | {} |
| name | ints1 |
| os-extended-
| progress | 0 |
| security_groups | default |
| server_groups | [] |
| status | BUILD |
| tags | [] |
| tenant_id | 90d7287d062c4ef
| trusted_
| updated | 2020-11-
| user_id | 0cd3910ea1ca405
+------
stack@ubuntu200
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 3a922fe9-
+------
stack@ubuntu200
cinder snapshstack@
cinder snapsho+
| ID | Volume ID | Status | Name | Size |
+------
| 546e3016-
+------
tstack@
stack@ubuntu200
+----+-
| ID | Volume ID | Status | Name | Size |
+----+-
+----+-
stack@ubuntu200
Request to delete server 3a922fe9-
stack@ubuntu200
cinder +----+-
| ID | Name | Status | Task State | Power State | Networks |
+----+-
+----+-
lstack@
cinde+-
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 2a351c27-
+------
stack@ubuntu200
stack@ubuntu200
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 2a351c27-
+------
Changed in cinder: | |
status: | New → Triaged |
Changed in cinder: | |
assignee: | nobody → Rajat Dhasmana (whoami-rajat) |
tags: | added: extend nfs volume |
Fix proposed to branch: master /review. opendev. org/762462
Review: https:/