Activity log for bug #1406598

Date Who What changed Old value New value Message
2014-12-30 17:30:22 Mike Dorman bug added bug
2014-12-30 17:31:27 Mike Dorman description When creating a cell using the nova-manage cell create command, the transport_url generated in the database is url-encoded (i.e. '=' is changed to '%3D', etc.) That's propably the correct behavior, since the connection string is stored as URL. However, nova-cells doesn't properly decode that string. So for transport_url credentials that contain url-encodable characters, nova-cells uses the url encoded string, rather than the actual correct credentials. Steps to reproduce: - Create a cell using nova-manage with credentials containing url-encodable characters: nova-manage cell create --name=cell_02 --cell_type=child --username='the=user' --password='the=password' --hostname='hostname' --port=5672 --virtual_host=/ --woffset=1 --wscale=1 - nova.cells table now contains a url-encoded transport_url: mysql> select * from cells; +---------------------+------------+------------+----+---------+---------------+--------------+---------+-----------+---------+-----------------------------------------------------------------------+ | created_at | updated_at | deleted_at | id | api_url | weight_offset | weight_scale | name | is_parent | deleted | transport_url | +---------------------+------------+------------+----+---------+---------------+--------------+---------+-----------+---------+-----------------------------------------------------------------------+ | 2014-12-30 17:18:53 | NULL | NULL | 2 | NULL | 1 | 1 | cell_02 | 0 | 0 | rabbit://the%3Duser:the%3Dpassword@hostname:5672// | +---------------------+------------+------------+----+---------+---------------+--------------+---------+-----------+---------+-----------------------------------------------------------------------+ - nova-cells uses the literal credentials 'the%3Duser' and 'the%3Dpassword' to connect to RMQ, rather than the correct 'the=user' and 'the=password' credentials. When creating a cell using the nova-manage cell create command, the transport_url generated in the database is url-encoded (i.e. '=' is changed to '%3D', etc.) That's propably the correct behavior, since the connection string is stored as URL. However, nova-cells doesn't properly decode that string. So for transport_url credentials that contain url-encodable characters, nova-cells uses the url encoded string, rather than the actual correct credentials. Steps to reproduce: - Create a cell using nova-manage with credentials containing url-encodable characters: nova-manage cell create --name=cell_02 --cell_type=child --username='the=user' --password='the=password' --hostname='hostname' --port=5672 --virtual_host=/ --woffset=1 --wscale=1 - nova.cells table now contains a url-encoded transport_url: mysql> select * from cells \G *************************** 1. row *************************** created_at: 2014-12-30 17:30:41 updated_at: NULL deleted_at: NULL id: 3 api_url: NULL weight_offset: 1 weight_scale: 1 name: cell_02 is_parent: 0 deleted: 0 transport_url: rabbit://the%3Duser:the%3Dpassword@hostname:5672// 1 row in set (0.00 sec) - nova-cells uses the literal credentials 'the%3Duser' and 'the%3Dpassword' to connect to RMQ, rather than the correct 'the=user' and 'the=password' credentials.
2015-01-07 12:35:23 Santhosh Peddiboyina nova: assignee Santhosh Peddiboyina (peddiboyina-9)
2015-01-12 23:46:20 melanie witt tags cells
2015-02-01 01:51:24 Davanum Srinivas (DIMS) bug task added oslo.messaging
2015-02-01 22:59:27 Belmiro Moreira bug added subscriber Belmiro Moreira
2015-02-11 00:57:02 Davanum Srinivas (DIMS) nova: status New Confirmed
2015-02-11 00:57:06 Davanum Srinivas (DIMS) nova: importance Undecided Low
2015-02-11 00:57:11 Davanum Srinivas (DIMS) oslo.messaging: status New Confirmed
2015-02-11 00:57:14 Davanum Srinivas (DIMS) oslo.messaging: importance Undecided Low
2015-02-11 02:42:23 liaonanhai oslo.messaging: assignee liaonanhai (nanhai-liao)
2015-03-16 06:14:01 Santhosh Peddiboyina nova: assignee Santhosh Peddiboyina (peddiboyina-9)
2015-03-16 07:58:33 gustavo panizzo bug added subscriber gustavo panizzo
2015-03-16 14:12:04 Doug Hellmann oslo.messaging: status Confirmed Incomplete
2015-03-26 18:23:02 OpenStack Infra nova: status Confirmed In Progress
2015-03-26 18:23:02 OpenStack Infra nova: assignee Davanum Srinivas (DIMS) (dims-v)
2015-03-31 20:17:19 OpenStack Infra nova: status In Progress Fix Committed
2015-04-10 09:22:01 Thierry Carrez nova: status Fix Committed Fix Released
2015-04-10 09:22:01 Thierry Carrez nova: milestone kilo-rc1
2015-04-30 09:28:35 Thierry Carrez nova: milestone kilo-rc1 2015.1.0
2016-06-19 05:44:27 JiaJunsu oslo.messaging: status Incomplete Fix Released