Public bug reported: Description: - Following https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html at step "Install and configure components: 3" running "su -s /bin/sh -c "nova-manage api_db sync" nova" crashes in /usr/lib/python2.7/dist-packages/oslo_messaging/transport.py if a URL in nova.conf contains a password with the hash sign (#).
Steps to reproduce: - follow https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html using e.g. a password of pwd#morepwd for RabbitMQ, i.e. in nova.conf: transport_url=rabbit://openstack:pwd#morepwd@controller - at step "Install and configure components: 3" run "su -s /bin/sh -c "nova-manage api_db sync" nova" as instructed Expected result: - url should be parsed resulting use user "openstack" with password "pwd#morepwd" and server "controller" Actual result: - parsing will fail with crash of /usr/lib/python2.7/dist-packages/oslo_messaging/transport.py parse function as url string content after "rabbit://openstack:pwd" is interpreted as fragment "morepwd@controller" Environment: - as resulting from following https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html with Ubuntu 16.04. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1734913 Title: password with hash sign in URL in nova.conf crashes /usr/lib/python2.7 /dist-packages/oslo_messaging/transport.py Status in OpenStack Compute (nova): New Bug description: Description: - Following https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html at step "Install and configure components: 3" running "su -s /bin/sh -c "nova-manage api_db sync" nova" crashes in /usr/lib/python2.7/dist-packages/oslo_messaging/transport.py if a URL in nova.conf contains a password with the hash sign (#). Steps to reproduce: - follow https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html using e.g. a password of pwd#morepwd for RabbitMQ, i.e. in nova.conf: transport_url=rabbit://openstack:pwd#morepwd@controller - at step "Install and configure components: 3" run "su -s /bin/sh -c "nova-manage api_db sync" nova" as instructed Expected result: - url should be parsed resulting use user "openstack" with password "pwd#morepwd" and server "controller" Actual result: - parsing will fail with crash of /usr/lib/python2.7/dist-packages/oslo_messaging/transport.py parse function as url string content after "rabbit://openstack:pwd" is interpreted as fragment "morepwd@controller" Environment: - as resulting from following https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html with Ubuntu 16.04. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1734913/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

