def hosting_devices_removed(self, context, payload):
try:<EOL><INDENT>if payload['<STR_LIT>']:<EOL><INDENT>if payload['<STR_LIT>'].keys():<EOL><INDENT>self.process_services(removed_devices_info=payload)<EOL><DEDENT><DEDENT><DEDENT>except KeyError as e:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>", {'<STR_LIT:error>': e, '<STR_LIT>': payload})<EOL><DEDENT>
Deal with hosting device removed RPC message.