code: def retry_erroneous(self, name, properties_update=None):
          # type: (str, dict) -> int
          
          with self.__instances_lock:
              try:
                  stored_instance = self.__instances[name]
              except KeyError:
                  raise ValueError(
                      "Unknown component instance '{0}'".format(name)
                  )
              else:
                  return stored_instance.retry_erroneous(properties_update)
docs: Removes the ERRONEOUS state of the given component, and retries a
          validation
  
          :param name: Name of the component to retry
          :param properties_update: A dictionary to update the initial properties
                                    of the component
          :return: The new state of the component
          :raise ValueError: Invalid component name