Technical Fix Note
Inconsistency or Issue Description
Apache Ambari displays the error configparser.InterpolationSyntaxError
when attempting to download installation packages.
The issue is caused by the variable interpolation in configparser
, which does not handle special characters in URLs well, such as %40
(the representation of @
) used for authentication credentials.
Affected Components
- Apache Ambari: Ambari Web
Affected Component Versions
Related Issues
- AMBARI-7907
Impact(s)
It is not possible to download Apache Ambari installation packages when the repository URL contains special characters, requiring the creation of a local package repository.
Required Actions
Follow the instructions below to download and install the fix.
Apache Ambari 3.0.0.0 fix 202408002
Perform the following steps on all machines with Ambari Agent installed:
- Instructions
- Vídeo (Example - wget)
- Vídeo (Example - curl)
- Download the Fix:
-
Use
wget
orcurl
to download the RPM file for the fix from the Tecnisys public package repository.-
Example with
wget
for 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
curl
for 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
-
-
Install the Fix:
Use
dnf install
to install the downloaded fix on the Ambari Server machine.Terminal inputsudo dnf install ambari-3.0.0.0-fix-202408002-0.el9.x86_64.rpm
Figura 1 - Fix Installation - via wgetFigura 2 - Fix installation - via Curl