Public bug reported: when running `neutron router-gateway-set` command, if the attribute is wrong, there will be no error printed. update will success, and corresponding field is not updated
$ neutron router-gateway-set 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 public --fix-ip subnet_id=7ebd8fc9-def1-47f1-97e0-e28c51dc591c,ip_address=172.24.4.8 Set gateway for router 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 bochi@stack: ~(admin)$ neutron router-list +--------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 | router1 | {"network_id": "b92781fe-2d31-49a6-b648-98d937faf0b8", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "7ebd8fc9-def1-47f1-97e0-e28c51dc591c", "ip_address": "172.24.4.8"}]} | False | False | ** Affects: neutron Importance: Undecided Assignee: Bo Chi (bochi-michael) Status: New ** Changed in: neutron Assignee: (unassigned) => Bo Chi (bochi-michael) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1535209 Title: No error raised when exec router-gateway-update with wrong attr Status in neutron: New Bug description: when running `neutron router-gateway-set` command, if the attribute is wrong, there will be no error printed. update will success, and corresponding field is not updated $ neutron router-gateway-set 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 public --fix-ip subnet_id=7ebd8fc9-def1-47f1-97e0-e28c51dc591c,ip_address=172.24.4.8 Set gateway for router 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 bochi@stack: ~(admin)$ neutron router-list +--------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | id | name | external_gateway_info | distributed | ha | +--------------------------------------+---------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+ | 1c87da7d-f0d7-42a8-964a-8c916ffbd1b4 | router1 | {"network_id": "b92781fe-2d31-49a6-b648-98d937faf0b8", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "7ebd8fc9-def1-47f1-97e0-e28c51dc591c", "ip_address": "172.24.4.8"}]} | False | False | To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1535209/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp