mirror of https://github.com/apache/cloudstack.git
bug 7366 : Mark template as removed if create private template from volume fails due to being attached to a non-stopped VM. This allows subsequent creation of a template with the same name.
status 7366: resolved fixed
This commit is contained in:
parent
7e4ee81103
commit
2f946f6030
|
|
@ -2547,7 +2547,7 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, VirtualM
|
|||
if (s_logger.isInfoEnabled()) {
|
||||
s_logger.info(msg);
|
||||
}
|
||||
|
||||
_templateDao.remove(command.getId()); // Mark it removed so that templates with the same name can be created subsequently. Bug 7366
|
||||
throw new CloudRuntimeException(msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue