aliyuncli-ra configure fails with "NameError: name 'reload' is not defined"

Solution Verified - Updated -


  • aliyuncli-ra configure fails with "NameError: name 'reload' is not defined".
# aliyuncli-ra configure
Traceback (most recent call last):
  File "/usr/bin/aliyuncli-ra", line 12, in <module>
    load_entry_point('aliyuncli==2.1.10', 'console_scripts', 'aliyuncli')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2700, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2318, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/resource-agents/bundled/aliyun/aliyuncli/", line 22, in <module>
NameError: name 'reload' is not defined


  • Red Hat Enterprise Linux (RHEL) 8 with the High Availability Add-on
  • Alibaba Cloud (Aliyun)
  • resource-agents-aliyun

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