[
https://issues.apache.org/jira/browse/AMBARI-14426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065136#comment-15065136
]
Hudson commented on AMBARI-14426:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #4069 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4069/])
AMBARI-14426. If repos for the current os are not defined (xiwang:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fd6e9cc00ea511c3433c847654d994dd605c6368])
* ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
* ambari-web/app/messages.js
> If repos for the current os are not defined install_packages doesn't show
> error
> -------------------------------------------------------------------------------
>
> Key: AMBARI-14426
> URL: https://issues.apache.org/jira/browse/AMBARI-14426
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.2.0
> Reporter: Xi Wang
> Assignee: Xi Wang
> Fix For: 2.4.0
>
> Attachments: AMBARI-14426.patch, AMBARI-14426.patch
>
>
> 1. After cluster deployment in 'Versions' tab, On os X define new repo
> version, but set the repos only for os Y.
> 2. Click install_packages. It gives 500 error from server with reasonable
> error, however UI doesn't show anything to user, which is pretty confusing.
> {noformat}
> {
> "status" : 500,
> "message" : "Repositories for os type ubuntu12 are not defined. Repo
> version=2.3.5.0, stackId=HDP-2.3"
> }
> {noformat}
> We could show a general error message for all the errors on this stage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)