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
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Error message reported when user tries to add two VMs with same names to a tenant with single command - Internal Error(UNIQUE constraint failed: vms.vm_id)
Proper error message be thrown so that it's easier for user to understand.
I think the perfect way would be remove a duplicate a warn.
An acceptable way would be to fail with a clear message.
removing a duplicate silently is not nice , it could be a user typo :-)
1. Ensuring VM already in a tenant cannot be added to another tenant through tenant_create, tenant_vm_add and tenant_vm_replace methods
2. Ensuring VM list in tenant_vm_add, tenant_vm_replace, tenant_vm_rm cannot be empty and doesn’t contain duplicates
3. Ensuring existing VM in a tenant cannot be replaced back into same tenant
4. Sequenced parameter processing and error message simplification
Resolves: #930, #994
Handling corner cases to add,remove, replace vms in a tenant
1. Ensuring VM already in a tenant cannot be added to another tenant through tenant_create, tenant_vm_add and tenant_vm_replace methods
2. Ensuring VM list in tenant_vm_add, tenant_vm_replace, tenant_vm_rm cannot be empty and doesn’t contain duplicates
3. Ensuring existing VM in a tenant cannot be replaced back into same tenant
4. Sequenced parameter processing and error message simplification
Resolves: #930, #994
Error message reported when user tries to add two VMs with same names to a tenant with single command - Internal Error(UNIQUE constraint failed: vms.vm_id)
Proper error message be thrown so that it's easier for user to understand.
The text was updated successfully, but these errors were encountered: