cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Management Server

Open CobbyJ opened this issue 6 years ago • 2 comments

Followed the exact install on the latest CentOS 7 fresh install and when i run "cloudstack-setup-management" i get the following errors

[root@cloudstack dnspython]# cloudstack-setup-management Traceback (most recent call last): File "/usr/bin/cloudstack-setup-management", line 24, in <module> from cloudutils.serviceConfigServer import cloudManagementConfig File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfigServer.py", line 17, in <module> from db import Database File "/usr/lib64/python2.7/site-packages/cloudutils/db.py", line 20, in <module> import mysql.connector File "/usr/lib64/python2.7/site-packages/mysql/connector/__init__.py", line 41, in <module> import dns.resolver ImportError: No module named dns.resolver

I did not miss anything in the install.

CobbyJ avatar Jan 27 '20 15:01 CobbyJ

Got it working by these commands

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" python get-pip.py pip install dnspython

Then run

cloudstack-setup-management

CobbyJ avatar Jan 27 '20 16:01 CobbyJ

Fixed in https://github.com/apache/cloudstack/pull/3854

yadvr avatar Feb 07 '20 05:02 yadvr