Whirr
  1. Whirr
  2. WHIRR-564

zookeeper fails to bootstrap when curl is not available

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When doing a bootstrap on a node without curl installed bootstrapping zk fails with:
      ...
      java version "1.6.0_22"
      OpenJDK Runtime Environment (IcedTea6 1.10.6) (6b22-1.10.6-0ubuntu1)
      OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)
      /tmp/bootstrap-zookeeper/bootstrap-zookeeper.sh: line 127: curl: command not found
      /tmp/bootstrap-zookeeper/bootstrap-zookeeper.sh: line 128: curl: command not found

      I'm not sure this happens for other services.

        Activity

        Hide
        David Alves added a comment -

        after doing a search for curl in whirr it seems that even though it is used multiple times I cannot find the place where it actually installed in the nodes (there is a function for that setupPublicCurl.sh but it is never used).

        Show
        David Alves added a comment - after doing a search for curl in whirr it seems that even though it is used multiple times I cannot find the place where it actually installed in the nodes (there is a function for that setupPublicCurl.sh but it is never used).
        Hide
        David Alves added a comment -

        Not sure whether to add is to all the services that require it or to add it in a super class.

        wdyt?

        Show
        David Alves added a comment - Not sure whether to add is to all the services that require it or to add it in a super class. wdyt?
        Hide
        Andrei Savu added a comment -

        So far we've assumed curl is already installed and this is true for Ubuntu and Amazon Linux AMIs on EC2. I think we should have a way of defining a common list of scripts that need to be executed for all services before and after bootstrap / install.

        Show
        Andrei Savu added a comment - So far we've assumed curl is already installed and this is true for Ubuntu and Amazon Linux AMIs on EC2. I think we should have a way of defining a common list of scripts that need to be executed for all services before and after bootstrap / install.

          People

          • Assignee:
            David Alves
            Reporter:
            David Alves
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development