Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1184

EC2 Deployment - Updating control_path to accommodate for Linux

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.4.1
    • Fix Version/s: 0.5.0
    • Labels:
    • Environment:
      ClearOS[Distro of CentOS] npm 3.10.10, node 6.11.1, docker 1.12.6, mvn 3.3.9, ansible 2.2.2.0, No Vagrant)

      Description

      PR: https://github.com/apache/metron/pull/754

      For 0.4.1-rc4, using "control_path = ~/.ssh/ansible-ssh-%%C" for a Linux environment ( such as ClearOS[Distro of CentOS] npm 3.10.10, node 6.11.1, docker 1.12.6, mvn 3.3.9, ansible 2.2.2.0, No Vagrant) could throw the following error:
      ```
      "TASK [setup] *******************************************************************
      fatal: [ec2-xx-yy-0-130.us-west-2.compute.amazonaws.com]: UNREACHABLE! =>

      {"changed": false, "msg": "Failed to connect to the host via ssh: percent_expand: unknown key %C\r\n", "unreachable": true}

      "
      ```
      This PR is to change the line to "control_path = ~/.ssh/ansbile-ssh-%%h-%%r" to make amazon-ec2 also potentially deployable with Linux while preserving a small path length.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                AS3233 ashah
                Reporter:
                AS3233 ashah
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: