Uploaded image for project: 'CLOUDIFY (R&D)'
  1. CY-153

ctx is not available for bash scripts running in local mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Unprioritized
    • Resolution: Fixed
    • Fix Version/s: 4.4, 4.3.1
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      Environment:
      OS (CLI), HA cluster, cloud provider
      ------------------------------------
      Any

      Steps to reproduce:
      ------------------
      1. Initialize a CLI profile against a basic blueprint that runs a simple script that does {{ctx logger info 'Hello'}}.

      Expected result:
      ---------------

      "Hello" is printed.

      Actual result:
      -------------

      Task fails. Upon inspecting the {{stderr}} file, you'll see that {{ctx}} could not be found.
      Show
      Environment: OS (CLI), HA cluster, cloud provider ------------------------------------ Any Steps to reproduce: ------------------ 1. Initialize a CLI profile against a basic blueprint that runs a simple script that does {{ctx logger info 'Hello'}}. Expected result: --------------- "Hello" is printed. Actual result: ------------- Task fails. Upon inspecting the {{stderr}} file, you'll see that {{ctx}} could not be found.
    • Severity:
      Critical
    • Target Version:
      4.4
    • Premium Only:
      yes
    • Found In Version:
      4.3
    • Sprint:
      4.4 Sprint 2, 4.4 Sprint 1
    • Bug Type:
      regression bug
    • Customer Encountered:
      No
    • Release Notes:
      yes

      Description

      In 4.2, we used to prepend the cfy directory (which also contains ctx) to the PATH.
      In 4.3, we don't. So, ctx can never be run.

        Attachments

          Activity

            People

            • Assignee:
              lukasz.maksymczuk Łukasz Maksymczuk
              Reporter:
              removed3 Former user (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: