deletion of server doesn't work correctly if errors occured during server creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zivios Open Source Enterprise Management |
Fix Committed
|
Low
|
Faraz Khan |
Bug Description
Create a 'server', make sure you get an 'error' in the process (wrong path of /opt/zivios/
then go to the list of servers and delete the object. (using the webinterface)
Create the same 'server' again, this will fail. The error message is:
Adding a: EMSServer to LDAP with dn: cn=vpn01,
Exception Type Ecl_Ldap_Exception
Exception Message Ldap Caused Error :::: Already exists :::: Error Code 68
Exception Code 0
Exception File /var/www/
Exception Line 535
#0 /var/www/
#1 /var/www/
#2 /var/www/
#3 /var/www/
#4 /var/www/
#5 /var/www/
#6 /var/www/
#7 /var/www/
#8 /var/www/
#9 /var/www/
#10 /var/www/
#11 /var/www/
#12 {main}
This means the server object has some remainings left based on the 'hostname'.
Creating a new server with the same IP address works fine.
Did it not give you an option to "rollback" the original failed transaction? If you let the rollback slide deleting a 'bad object' is not possible- hence the already exist errors.
Maybe we should force rollback of a faulty transaction.