[
https://issues.apache.org/jira/browse/AMBARI-22014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179801#comment-16179801
]
Hudson commented on AMBARI-22014:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8140 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8140/])
AMBARI-22014. Patch upgrade is going into incorrect state during package
(ncole:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4c49b4bd006cdd3929f5e341552b200af608bc32])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/DefaultProviderModule.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/ResourceProviderFactory.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractControllerResourceProvider.java
> Patch upgrade is going into incorrect state during package installation with
> invalid VDF
> -----------------------------------------------------------------------------------------
>
> Key: AMBARI-22014
> URL: https://issues.apache.org/jira/browse/AMBARI-22014
> Project: Ambari
> Issue Type: Bug
> Components: ambari-upgrade
> Affects Versions: 2.6.0
> Environment: ambari-server --version 2.6.0.0-118
> ambari-server --hash d5003eb9d176f46c8be8aeba084630fa9f1f2728
> Reporter: Supreeth Sharma
> Assignee: Nate Cole
> Priority: Critical
> Labels: patch-upgrade
> Attachments: AMBARI-22014.patch
>
>
> Patch upgrade is going into incorrect state when invalid VDF is used during
> package installation.
> Steps to reproduce :
> 1) Create a Centos7 HDP cluster with ambari
> 2) Register the VDF for Centos6 (mistakenly I registered the invalid VDF)
> 3) Click on install packages.
> Install packages throws 500 ("Repositories for os type redhat7 are not
> defined. Repo version=2.6.0.2-81, stackId=HDP-2.6"), but in the UI it still
> shows the state as 'installing'. Also Its not allowing to deregister the VDF
> as the state is installing.
> Its better to check the validity of the VDF during registration, rather than
> failing during package installation.
> Workaround : I was able to come out of this state by restarting ambari server
> and I was able to deregister the version as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)