Ask Your Question
0

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>
 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'
edit retag flag offensive close merge delete

Comments

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
1

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 76 times

Last updated: May 20 '18