我要评分
获取效率
正确性
完整性
易理解

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