Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

devstack - horizon/run_tests.sh: No module named backports.ssl_match_hostname

Hello,

I want to deploy a new devstack on a CentOS 7 machine. I am encountering an issue and I have no idea how to fix it:

cd /opt/stack/horizon
 + ./run_tests.sh -N --compilemessages
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
     utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
     commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
     apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
     self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named backports.ssl_match_hostname

I have the package installed:

rpm -qa | grep backport
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
python-backports-1.0-6.el7.noarch

I am stuck, any idea?

devstack - horizon/run_tests.sh: No module named backports.ssl_match_hostname

Hello,

I want to deploy a new devstack on a CentOS 7 machine. I am encountering an issue and I have no idea how to fix it:

cd /opt/stack/horizon
 + ./run_tests.sh -N --compilemessages
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
     utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
     commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
     apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
     self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named backports.ssl_match_hostname

I have the package installed:

rpm -qa | grep backport
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
python-backports-1.0-6.el7.noarch

I am stuck, any idea?It seems a configuration issue, but I have no idea how to fix that. Any suggestion?

devstack - horizon/run_tests.sh: No module named backports.ssl_match_hostname

Hello,

I want to deploy a new devstack on a CentOS 7 machine. I am encountering an issue and I have no idea how to fix it:error on run_test,sh for horizont:

cd /opt/stack/horizon
 + ./run_tests.sh -N --compilemessages
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
     utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
     commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
     apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
     self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named backports.ssl_match_hostname

I have the package installed:

rpm -qa | grep backport
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
python-backports-1.0-6.el7.noarch

It seems a configuration issue, but I have no idea how to fix that. Any suggestion?

devstack - horizon/run_tests.sh: No module named backports.ssl_match_hostname

Hello,

I want to deploy a new devstack on a CentOS 7 machine. I am encountering an error on run_test,sh run_test.sh for horizont:horizon:

cd /opt/stack/horizon
 + ./run_tests.sh -N --compilemessages
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
     utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
     commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
     apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
     self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named backports.ssl_match_hostname

I have the package installed:

rpm -qa | grep backport
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
python-backports-1.0-6.el7.noarch

It seems a configuration issue, but I have no idea how to fix that. Any suggestion?

devstack - horizon/run_tests.sh: No module named backports.ssl_match_hostname

Hello,

I want to deploy a new devstack on a CentOS 7 machine. I am encountering an error on run_test.sh for horizon:

cd /opt/stack/horizon
 + ./run_tests.sh -N --compilemessages
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
     utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
     commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands
     apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
     self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named backports.ssl_match_hostname

I have the package installed:

rpm -qa | grep backport
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
python-backports-1.0-6.el7.noarch

It seems a configuration issue, but I have no idea how to fix that. Any suggestion?suggestion? Tks