在安装Dashboard时,按照官方文档配置
但在启动时报如下错误
Jul 25 08:26:29 node1 python: OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
Jul 25 08:26:29 node1 python: ^
Jul 25 08:26:29 node1 python: SyntaxError: invalid syntax
本想注释了这行OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
可是注释后,下面又出类似的其他错误
搞了很久,搜索了一下看到这篇文章https://ask.openstack.org/en/question/108113/unable-to-launch-horizon-dashboard/
但是里面也没说明白
但其中有人说Perhaps you should check the line BEFORE that then.
果然,前面的配置的确有错误,如下
OPENSTACK_API_VERSIONS = {
# "data-processing": 1.1,
"identity": 3,
"image": 2,
"volume": 2,
# "compute": 2,
#}
后面那个花括号没有取消注释!!!My God!