Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-8868

API call used by Install Wizard to retry installation does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server
    • None
    • d91074a0cb968dd1b6df52cf943689740ac2a3b8

    Description

      PUT /api/v1/clusters/y1/host_components?HostRoles/state=INSTALLED
      Form Data:
      {"RequestInfo":{"context":"Install Components","operation_level":{"level":"CLUSTER","cluster_name":"y1"}},"Body":

      {"HostRoles": {"state":"INSTALLED"}

      }}
      Server response:

      { "status" : 400, "message" : "java.lang.IllegalArgumentException: Invalid arguments, cluster name, component name and host name should be provided" }

      I saw another failure pattern where the same call returns 500.
      Please try testing this scenario end to end with the UI.
      You can just do a single node install and force invoke failure by renaming /var/lib/ambari-agent dir, for example.

      Attachments

        1. AMBARI-8868.patch
          4 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: