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
Importing a storage volume where the name already exists gives a SQL uniqueness constraint error.
It would be better if it said "a volume with this name already exists", or similar.
Steps to reproduce
Export a storage volume
Immediately re-import it without giving it a different name.
$ incus storage volume import default default_testzfs.tgz
Error: Create custom volume from backup: Error inserting volume "testzfs" for project "default" in pool "default" of type "custom" into database "UNIQUE constraint failed: index 'storage_volumes_unique_storage_pool_id_node_id_project_id_name_type'"
Of course, it's fine if you choose a different name:
Required information
Incus 0.6, Ubuntu 22.04
Issue description
Importing a storage volume where the name already exists gives a SQL uniqueness constraint error.
It would be better if it said "a volume with this name already exists", or similar.
Steps to reproduce
Of course, it's fine if you choose a different name:
The text was updated successfully, but these errors were encountered: