• Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Profile-YAML
    • None
    • Hide

      node_templates:
      mysql:
      type: tosca.nodes.DBMS.MySQL
      properties:

      1. ...
        requirements:
      • host: db_server
        interfaces:
        Standard:
        configure:
        implementation: scripts/my_own_configure.sh
        timeout: 30 # timeout in seconds
        retry: 3 # If operation fails (exit code != 0), TOSCA container should retry
      Show
      node_templates: mysql: type: tosca.nodes.DBMS.MySQL properties: ... requirements: host: db_server interfaces: Standard: configure: implementation: scripts/my_own_configure.sh timeout: 30 # timeout in seconds retry: 3 # If operation fails (exit code != 0), TOSCA container should retry

      1. Allow the user to define a timeout for a single operation execution. On expiration, the TOSCA container will mark the execution as failed with an indication that the cause was timeout.
      We can choose a default time unit for this value, we can decide of a pattern "20 m" or we can have another keyname "timeout_unit" that will describe it.
      IMHO, I think that seconds is the minimal time unit that will be required and it is a good default.

      2. Allow the user to define a retry for an operation execution.
      If an operation fails to execute (exit code != 0 or timeout), the TOSCA container will execute the operation again until reaching the number of retries.

            Assignee:
            Moshe Elisha (Inactive)
            Reporter:
            Moshe Elisha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: