Ask Your Question

ValueError while installing devstack in RHEL 7?

asked 2018-04-26 07:52:27 -0500

vamsee_007 gravatar image

I'm installing devstack on my RHEL 7 VM. While installing the nova, its throwing the following error. How can i resolve this. Should i need to change the code in all the trace back files or any package is available which can resolve this issue? (The python version is 2.7)

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


The error points to an incorrect value of transport_url in nova.conf. IMO this may be

  • something wrong in local.conf
  • a consequence of an earlier error. Check the log.
  • a glitch, in particular when using the master branch instead of stable. Try again later.
Bernd Bausch gravatar imageBernd Bausch ( 2018-04-29 17:27:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-05-20 08:55:47 -0500

drgr3n gravatar image

Looks like this is a parse error when extracting the details out of the transport_url. I'm guessing you have special chars in the password? Looks like they use urllib.parse to split up the transport_url. Probably not the best solution considering passwords could contain forward slashes.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-04-26 01:41:08 -0500

Seen: 134 times

Last updated: May 20 '18