Why Am Getting ModuleNotFoundError: No module named 'memcache' Error During an Ansible Tower Version Upgrade?

Solution Verified - Updated -

Issue

  • During an upgrade of Ansible Tower, the following error occurs:

    TASK [preflight : Preflight check - check Tower license type] 
    fatal: [tower.example.com]: FAILED! => {"changed": true, "cmd": "awx-manage check_license", "delta": 
    "0:00:03.793918", "end":
    ...
    import memcache", "ModuleNotFoundError: No module named 'memcache'"], "stdout": "", "stdout_lines": []}
    

Environment

  • Ansible Tower 3.7+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content