You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2019/02/27 17:15:46 UTC
[ambari] branch branch-2.7 updated: AMBARI-25096 Cluster
Installation fails when installing the cluster via Redhat satellite
repositories (no internet connectivity Cluster) (asnaik)
This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 8e7fbcd AMBARI-25096 Cluster Installation fails when installing the cluster via Redhat satellite repositories (no internet connectivity Cluster) (asnaik)
8e7fbcd is described below
commit 8e7fbcd4f5a04a3f50f9a99b6b4be46218f5898c
Author: Akhil Subhash Naik <as...@hortonworks.com>
AuthorDate: Tue Feb 26 18:30:42 2019 +0530
AMBARI-25096 Cluster Installation fails when installing the cluster via Redhat satellite repositories (no internet connectivity Cluster) (asnaik)
---
ambari-web/app/controllers/installer.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js
index 3d47e82..4863d2b 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -848,8 +848,10 @@ App.InstallerController = App.WizardController.extend(App.Persist, {
if (!verifyBaseUrl) {
dfd.resolve();
}
+ //for redhat satellite/spacewalk the os urls will be empty
+ var useRedhatSatellite = wizardStep1Controller.get('selectedStack.useRedhatSatellite');
selectedStack.get('operatingSystems').forEach(function (os) {
- if (os.get('isSelected') && !os.get('isEmpty')) {
+ if (os.get('isSelected') && (useRedhatSatellite || !os.get('isEmpty'))) {
os.get('repositories').forEach(function (repo) {
if (repo.get('showRepo')) {
repo.setProperties({