ValueError:int()的基数为10的无效文字:' abc'

时间:2018-04-26 13:10:37

标签: python python-3.x openstack rhel7 devstack

我试图在我的RHEL 7 VM中安装devstack。早些时候一切都很顺利。但在安装新星时,它抛出以下错误。我该如何解决这个问题。我是否需要更改所有跟踪文件中的代码或任何可以解决此问题的python包/模块?我不认为改变上述文件中的代码是个好主意。有没有办法继续前进。(python版本是2.7)

Traceback (most recent call last):
File "/usr/bin/nova-manage", line 10, in <module>
sys.exit(main())
File "/opt/stack/nova/nova/cmd/manage.py", line 1725, in main
config.parse_args(sys.argv)
File "/opt/stack/nova/nova/config.py", line 55, in parse_args
rpc.init(CONF)
File "/opt/stack/nova/nova/rpc.py", line 63, in init
TRANSPORT = create_transport(get_transport_url())
File "/opt/stack/nova/nova/rpc.py", line 172, in get_transport_url
return messaging.TransportURL.parse(CONF, url_str)
File "/usr/lib/python2.7/site-packages/debtcollector/removals.py", line 261, 
in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 
558, in parse
port = int(port)
ValueError: invalid literal for int() with base 10: 'abc'

0 个答案:

没有答案