Hi,

I started upgrade for one of my environment from Amabri 1.7/ HDP 2.2 to
Ambari 2.1.2 & HDP 2.3.2.0-2950.

During the upgrade everything went well without any issues. During last
step *Finalize Upgrade - Save Cluster State *getting below error.

Stderr

=======

The cluster stack version state OUT_OF_SYNC is not allowed to
transition directly into CURRENT

I have verified upgrade status with Amabri API. All nodes are showing
upgraded state. Output of the url attached.

http://mst05.corp.com:8080/api/v1/clusters/PRODBDP/stack_versions/2

Please help to resolve this issue.

Thanks,
Shaik
{
  "href" : 
"http://sv2lxbdp2mst05.corp.com:8080/api/v1/clusters/PRODBDP/stack_versions/2";,
  "ClusterStackVersions" : {
    "cluster_name" : "PRODBDP",
    "id" : 2,
    "repository_version" : 2,
    "stack" : "HDP",
    "state" : "OUT_OF_SYNC",
    "version" : "2.3",
    "host_states" : {
      "CURRENT" : [ ],
      "INSTALLED" : [ ],
      "INSTALLING" : [ ],
      "INSTALL_FAILED" : [ ],
      "OUT_OF_SYNC" : [ ],
      "UPGRADED" : [
        "sv2lxbdp2zk02.corp.com",
        "sv2lxbdp2mst01.corp.com",
        "sv2lxbdp2mst05.corp.com",
        "sv2lxbdp2wrk01.corp.com",
        "sv2lxbdp2wrk03.corp.com",
        "sv2lxbdp2wrk02.corp.com",
        "sv2lxbdp2zk01.corp.com"
      ],
      "UPGRADE_FAILED" : [ ],
      "UPGRADING" : [ ]
    }
  },
  "repository_versions" : [
    {
      "href" : 
"http://sv2lxbdp2mst05.corp.com:8080/api/v1/clusters/PRODBDP/stack_versions/2/repository_versions/2";,
      "RepositoryVersions" : {
        "id" : 2,
        "stack_name" : "HDP",
        "stack_version" : "2.3"
      }
    }
  ]
}

Reply via email to