Fix 202408002
Description of the Inconsistency or Failure
Apache Ambari displays the error configparser.InterpolationSyntaxError when attempting to download installation packages.
The issue was caused by the configparser's variable interpolation, which doesn't handle special characters in URLs well, such as %40 (representation of @) used for authentication credentials.
Affected Services and Components
- Ambari 3.0.0.0: Ambari Web
Related Issues
- AMBARI-7907
Impact
It is not possible to download Apache Ambari installation packages when the repository URL contains special characters, thus requiring the creation of a local package repository.
Required Actions
To fix this issue, follow the instructions below.
- Instructions
- Video with wget
- Video with curl
Apache Ambari 3.0.0.0
This fix resolves the configparser.InterpolationSyntaxError issue when downloading installation packages in Apache Ambari 3.0.0.0 (Enterprise Linux 8 and 9):
Follow these steps on all machines with Ambari Agent installed to apply the fix:
-
Download
Use
wgetorcurlto download the RPM file from the Tecnisys public package repository.-
Example with
wgetfor EL 9:Terminal inputwget --user USUARIO --password SENHA https://repo.tecnisys.com.br/yum/tdp/fixes/ambari/3.0.0.0/202408/3.0.0.0-202408002/ambari-3.0.0.0-fix-202408002-0.el9.x86_64.rpm -
Example with
curlfor EL 9:Terminal inputcurl -O -S --user USUARIO:SENHA https://repo.tecnisys.com.br/yum/tdp/fixes/ambari/3.0.0.0/202408/3.0.0.0-202408002/ambari-3.0.0.0-fix-202408002-0.el9.x86_64.rpm
-
-
Installation
Use
dnf installto install the downloaded fix:Terminal inputsudo dnf install ambari-3.0.0.0-fix-202408002-0.el9.x86_64.rpm