ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-15397) Rolling Upgrade: incorrect display_status of upgrade groups
Date Mon, 14 Mar 2016 07:28:33 GMT
Dmytro Grinenko created AMBARI-15397:
----------------------------------------

             Summary: Rolling Upgrade: incorrect display_status of upgrade groups
                 Key: AMBARI-15397
                 URL: https://issues.apache.org/jira/browse/AMBARI-15397
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.2.2
            Reporter: Dmytro Grinenko
            Priority: Critical
             Fix For: 2.2.2


Upgrade display_status does not correspond to status of its upgrade items.

 Upgrade group must have display_status IN_PROGRESS instead of COMPLETE:
{code:java}
 {
      "UpgradeGroup" : {
        "completed_task_count" : 1,
        "display_status" : "COMPLETED",
        "group_id" : 53,
        "in_progress_task_count" : 2,
        "name" : "ZOOKEEPER",
        "progress_percent" : 45.0,
        "request_id" : 24,
        "status" : "IN_PROGRESS",
        "title" : "ZooKeeper",
        "total_task_count" : 3
      },
      "upgrade_items" : [
        {
          "UpgradeItem" : {
            "context" : "Restarting ZooKeeper Server on c6401.ambari.apache.org (Batch 1 of
3)",
            "display_status" : "COMPLETED",
            "group_id" : 53,
            "progress_percent" : 100.0,
            "request_id" : 24,
            "skippable" : true,
            "stage_id" : 20,
            "status" : "COMPLETED",
            "text" : "Restarting ZooKeeper Server on c6401.ambari.apache.org (Batch 1 of 3)"
          }
        },
        {
          "UpgradeItem" : {
            "context" : "Restarting ZooKeeper Server on c6402.ambari.apache.org (Batch 2 of
3)",
            "display_status" : "IN_PROGRESS",
            "group_id" : 53,
            "progress_percent" : 35.0,
            "request_id" : 24,
            "skippable" : true,
            "stage_id" : 21,
            "status" : "IN_PROGRESS",
            "text" : "Restarting ZooKeeper Server on c6402.ambari.apache.org (Batch 2 of 3)"
          }
        },
        {
          "UpgradeItem" : {
            "context" : "Restarting ZooKeeper Server on c6403.ambari.apache.org (Batch 3 of
3)",
            "display_status" : "PENDING",
            "group_id" : 53,
            "progress_percent" : 0.0,
            "request_id" : 24,
            "skippable" : true,
            "stage_id" : 22,
            "status" : "PENDING",
            "text" : "Restarting ZooKeeper Server on c6403.ambari.apache.org (Batch 3 of 3)"
          }
        }
      ]
    }
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message