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

Secured: Start All Services task got stuck forever

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • ambari-server, test
    • None

    Description

      1. Deployed 2-node cluster.
      2. Added 3rd node.
      3. Enabled security.

      After steps above on all 3 hosts tasks jammed and don't want to perform or fail for a very long time.
      VMs are alive, ambari-server and all ambari-agents are running.

      Finally got a reproduce using 2 commands

      curl 'http://vm-0.vm:8080/api/v1/clusters/cc/services?params/run_smoke_test=false' -X PUT -H 'X-Requested-By: X-Requested-By' -u admin:admin --data '{"RequestInfo": {"context": "Start All Services"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}' ; sleep 3;  curl 'http://vm-0.vm:8080/api/v1/clusters/cc/hosts/vm-0.vm/host_components/APP_TIMELINE_SERVER' -X DELETE -H 'X-Requested-By: X-Requested-By' -u admin:admin
      

      The way to reproduce is a bit different compared to an original description (I issue a DELETE request in 3 seconds after START_ALL_SERVICES request has been issued), but the symptoms are the same: ServiceComponentHostNotFoundException exception is posted to log and operation is stuck on stage that contains "App Timeline Server Start" command.

      Attachments

        1. st-1.png
          25 kB
          Dmitry Lysnichenko
        2. st-2.png
          28 kB
          Dmitry Lysnichenko

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dmitriusan Dmitry Lysnichenko Assign to me
            dmitriusan Dmitry Lysnichenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment