Fix instance rename
Fix instance rename

As can be seen from the patch, we remove from the locking manager
inst.name. However, we do this right after cfg.RenameInstance, which
changes inst.name to the new name. So we need to remove old_name not
the new name.

The real question is why does the glm allow me to remove a not-existing
instance name...

The symptom before the patch was: run rename, then:
$ gnt-instance list
Unhandled protocol error while talking to the master daemon:
Caught exception: 'NoneType' object has no attribute 'primary_node'

Reviewed-by: imsnah

leshchevds/ganeti,mbakke/ganeti,ganeti/ganeti,dimara/ganeti,mbakke/ganeti,grnet/snf-ganeti,dimara/ganeti,bitemyapp/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,onponomarev/ganeti,ganeti/ganeti,ganeti/ganeti,yiannist/ganeti,yiannist/ganeti,apyrgio/ganeti,bitemyapp/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,onponomarev/ganeti,andir/ganeti,apyrgio/snf-ganeti,apyrgio/ganeti,mbakke/ganeti,andir/ganeti,apyrgio/snf-ganeti,leshchevds/ganeti,yiannist/ganeti,grnet/snf-ganeti