You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When I use lvm as the opensds backend block storage, and execute command blow, I got an errorDeleting.
Create a volume snapshot.
Delete the snapshot using lvremove.
Delete the snapshot using osdsctl.
List snapshot I, got an error.
IMO, that would be deleted succefully, the lvm driver should judge if the snapshot exsit, if not just return, and tell the controller deleting is succeful,.
root@ubuntu:~/gopath/src/github.com/opensds/opensds# osdsctl volume snapshot list
+--------------------------------------+------+-------------+------+-----------+--------------------------------------+
| Id | Name | Description | Size | Status | VolumeId |
+--------------------------------------+------+-------------+------+-----------+--------------------------------------+
| 1ee2d597-6e82-4d1b-bdad-2530145f46d1 | | | 1 | available | 1f2116bc-96cc-4210-b934-231728b90d9e |
+--------------------------------------+------+-------------+------+-----------+--------------------------------------+
root@ubuntu:~/gopath/src/github.com/opensds/opensds# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
_snapshot-1ee2d597-6e82-4d1b-bdad-2530145f46d1 opensds-volumes-default sri-a-s--- 1.00g volume-1f2116bc-96cc-4210-b934-231728b90d9e 0.00
volume-1f2116bc-96cc-4210-b934-231728b90d9e opensds-volumes-default owi-a-s--- 1.00g
root ubuntu-vg -wi-ao---- 111.50g
swap_1 ubuntu-vg -wi-ao---- 16.00g
root@ubuntu:~/gopath/src/github.com/opensds/opensds# lvremove /dev/opensds-volumes-default/_snapshot-1ee2d597-6e82-4d1b-bdad-2530145f46d1
Do you really want to remove and DISCARD active logical volume _snapshot-1ee2d597-6e82-4d1b-bdad-2530145f46d1? [y/n]: y
Logical volume "_snapshot-1ee2d597-6e82-4d1b-bdad-2530145f46d1" successfully removed
root@ubuntu:~/gopath/src/github.com/opensds/opensds# osdsctl volume snapshot delete 1ee2d597-6e82-4d1b-bdad-2530145f46d1
root@ubuntu:~/gopath/src/github.com/opensds/opensds# osdsctl volume snapshot list
+--------------------------------------+------+-------------+------+---------------+--------------------------------------+
| Id | Name | Description | Size | Status | VolumeId |
+--------------------------------------+------+-------------+------+---------------+--------------------------------------+
| 1ee2d597-6e82-4d1b-bdad-2530145f46d1 | | | 1 | errorDeleting | 1f2116bc-96cc-4210-b934-231728b90d9e |
+--------------------------------------+------+-------------+------+---------------+--------------------------------------+
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Hotpot(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:
The text was updated successfully, but these errors were encountered:
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
When I use lvm as the opensds backend block storage, and execute command blow, I got an errorDeleting.
IMO, that would be deleted succefully, the lvm driver should judge if the snapshot exsit, if not just return, and tell the controller deleting is succeful,.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
uname -a
):The text was updated successfully, but these errors were encountered: