Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-23930

getNodes fails in eclagent context in containerized mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.10
    • Component/s: cloud, hthor
    • Labels:
      None

      Description

      If getNodes() is called in a containerized setup, it tries to lookup a legacy cluster and fails, because there is no environment.

      If the target was hthor, the correct answer is always 1.
      If the target was thor, then in most contexts, it will execute in Thor context and will get the correct answer (# slaves).
      But if the target was thor and it is executing code outside of Thor at the time, then it is unclear what the answer should be (it used to be the size of the cluster you submitted to).

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: