code: def hosting_devices_removed(self, context, payload):
          
          try:
              if payload['hosting_data']:
                  if payload['hosting_data'].keys():
                      self.process_services(removed_devices_info=payload)
          except KeyError as e:
              LOG.error("Invalid payload format for received RPC message "
                        "`hosting_devices_removed`. Error is %(error)s. Payload "
                        "is %(payload)s", {'error': e, 'payload': payload})
docs: Deal with hosting device removed RPC message.