Rate This Document
Findability
Accuracy
Completeness
Readability

Python Package Conflicts During Installation

Symptom

Error log: keystoneauth1.exceptions.http.InternalServerError: InternalServerError (HTTP 500).

Root Cause Analysis

Version conflicts or incorrect versions among Python packages required by OpenStack.

Solution

Check the source repositories for Jinja2, Urllib3, requests, and MarkupSafe packages. If any package does not originate from the OpenStack_Wallaby repository, it likely indicates a package conflict. Uninstall and then reinstall the affected packages to resolve the issue.

yum list installed |grep <package_name>
rpm -e <package_name> --nodeps
yum install <package_name>
yum list installed |grep <package_name>
su -s /bin/sh -c "keystone-manage db_sync" keystone
systemctl restart httpd