Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
While upgrading stack 2.0.6 -> stack 2.1.3, found this command failed:
[root@host ~]# ambari-server upgradestack HDP-2.1 --verbose Using python /usr/bin/python2.6 Upgrading stack of ambari-server INFO: Loading properties from /etc/ambari-server/conf/ambari.properties INFO: about to run command: yum repolist | grep "HDP-2.1 " ERROR: Exiting with exit code 1. REASON: Repository for HDP-2.1 is not existed
The grep check has a space at the end. However, this check is invalid since, when run on the server, the HDP repo likely wouldn't be available anyway. The server script should not make a repolist check.
Attachments
Issue Links
- links to