rhui-manager が失敗し、トレースバックに 500 Internal Server Error が記録される

Solution Verified - Updated -

Issue

  • rhui-manager が失敗して以下のようなトレースバックが記録されます。
[root@rhua ~]# rhui-manager 
Previous authentication credentials could not be found.Logging into
the RHUI.

If this is the first time using the RHUI, it is recommended to change
the user's password in the User Management section of RHUI Tools.

RHUI Username: admin
RHUI Password: 
Traceback (most recent call last):
  File "/usr/bin/rhui-manager", line 16, in <module>
    rhui.tools.launcher.main()
  File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 337, in main
    pulp_api = _pulp_api(config, prompt, values.username, values.password)
  File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 119, in _pulp_api
    auth.login(pulp_api, prompt)
  File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 70, in login
    cert_pem = _login(pulp, prompt)
  File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 123, in _login
    raise e
pulp.client.api.server.ServerRequestError:(500, '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator,\n root@localhost and inform them of the time the error occurred,\nand anything you might have done that may have\ncaused the error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache/2.2.15 (Red Hat) Server at hostname.example.com Port 443</address>\n</body></html>\n', None)
  • また、cds インスタンスをリストしている時に上述のエラーが発生します。
Red Hat Update Infrastructure Management Tool =-


-= Content Delivery Server (CDS) Management =-

   l   list all CDS clusters and instances managed by the RHUI
   i   display detailed information on a CDS cluster
   a   register (add) a new CDS instance
   m   move CDS(s) to a different cluster
   d   unregister (delete) a CDS instance from the RHUI
   s   associate a repository with a CDS cluster
   u   unassociate a repository from a CDS cluster

                                       Connected: example.redhat.com
------------------------------------------------------------------------------
rhui (cds) => l


An unexpected error has occurred during the last operation.
More information can be found in /root/.rhui/rhui.log.

Environment

  • Red Hat Update Infrastructure 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.