def delete_key(self, key_name):
        logging.debug('Deleting key: %s' % key_name)
        nc = get_openstack_nova_client(self._config)
        try:
            key = nc.keypairs.find(name=key_name)
            key.delete()
        except:
            logging.warning('Key not found: %s' % key_name)