Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-1000

Run custom scripts at various stages on the management node

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 2.5
    • vcld (backend)
    • None

    Description

      There are cases where it would be useful to be able to have scripts executed on the management at various stages of reservations. For example, a script could be executed to configure an external firewall or provision storage when a computer is reserved. Whatever was configured specifically for the reservation could be reverted when the reservation ends by another script.

      We already have this functionality for scripts that get executed on the computer (VCL-564). However, there are situations where you would need to perform actions from the management node.

      The script would need access to information about the reservation. Since it resides and is executed on the management node, the script could call mysql to query the database. This isn't the safest way of handling things.

      Another option could be to create a text file on the management node prior to executing the script(s). The script could parse the text file to extract the information it requires.

      Attachments

        Issue Links

          Activity

            People

              arkurth Andrew Kurth
              arkurth Andrew Kurth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: