Damn... are you the same persons which sent the same email with the same error an hour ago? If not... then read below
Seems that the latest mysql-connector got screwed up,,, 1. Remove it, remove the MySQL repo (if you have been following the quick installation guide - then you are using that repo) 2. Install EPEL repo, install "mysql-connector-python" (older, much older version...) OR 1. Remove the current mysql-connector-python package 2. Install the older version from here: yum localinstall http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/mysql-connector-python-8.0.18-1.el7.x86_64.rpm Best On Fri, 17 Jan 2020 at 12:38, Robert Ward <rww...@gmail.com> wrote: > Hello all, > > I have run into a problem with the CS MGNT setup. When I run > cloudstack-setup-management command I get back: > 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 have installed the Management server in the past without any issue and > this just started happening recently. > > FYI, my core setup: > Centos 7.7 > MySQL 5.7 > CS 4.13 > > I have used both the CS and SB repos and I get the same result. > > Any help with solving this is most appreciated. > > -- Andrija Panić