Reviewed: https://review.openstack.org/569858 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bc6ca87a6a01ecbda926a78d07cadbd4e3ab97e0 Submitter: Zuul Branch: master
commit bc6ca87a6a01ecbda926a78d07cadbd4e3ab97e0 Author: Matt Riedemann <[email protected]> Date: Mon May 21 16:44:59 2018 -0400 Validate transport_url in nova-manage cell_v2 commands In the three commands that take a --transport-url option, or reads it from config, this will validate the tranport URL is valid by calling the parsing code in oslo.messaging and fail if the URL does not parse correctly. Change-Id: If60cdf697cab2f035cd22830303f5ecaba0f3969 Closes-Bug: #1770341 ** Changed in: nova Status: In Progress => Fix Released -- 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/1770341 Title: Wrong value is accepted in transport_url parameter of nova cell create command Status in OpenStack Compute (nova): Fix Released Bug description: Cell create command accepts value of transport_url parameter which are not in specified format. transport_url is a URL used for messaging transport. It has a defined format i.e. "transport://user:pass@host:port[,userN:passN@hostN:portN]/virtual_host?query ". However, if we pass wrong value which is not in the above given format, then also command runs successfully without any error message. Refer https://docs.openstack.org/developer/oslo.messaging/transport.html Command: nova-manage cell_v2 create_cell --name cell1 --transport-url hello --database_connection byee An error message should be returned. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1770341/+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

