Bug 1014627
| Summary: | The "firewall-policy-insert-rule" returns json output instead of Field-Value table | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Rami Vaknin <rvaknin> |
| Component: | openstack-neutron | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED UPSTREAM | QA Contact: | Ofer Blaut <oblaut> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | chrisw, lars, rvaknin, yeylon, yfried |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | network | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-12 07:12:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Note that the same happens also with "neutron firewall-policy-remove-rule":
[root@puma10 ~(keystone_admin)]# neutron firewall-policy-remove-rule 3d723253-d7f6-4481-8f06-254007fd5f79 625f7937-2f52-470a-bae5-28181d6610b3
{"name": "policy_admin", "firewall_rules": ["edf70317-fdba-4bdb-85d8-c254ea46f619"], "tenant_id": "3384a1b666ac473b98dabcc385161a20", "firewall_list": ["72c782b2-2838-4773-b736-aa79564ac2ef"], "audited": false, "shared": true, "id": "3d723253-d7f6-4481-8f06-254007fd5f79", "description": ""}
Hi, please report this issue upstream, and link the respective Launchpad bug as external tracker, and close this bug as UPSTREAM. The bug should be opened upstream, no relate to the fact account has been closed The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Version ======= RDO havana on RHEL6.4 openstack-neutron-2013.2-0.4.b3.el6 Description =========== The "firewall-policy-insert-rule" returns json output which is the output of "firewall-policy-show" of the same policy instead of ascii Field-Value table like all show commands return. [root@puma10 ~(keystone_admin)]# neutron firewall-policy-insert-rule f1224bee-740e-4aab-bdbe-829d76aeb647 f71439f6-9934-46b1-90b7-55fdfff5d7fd {"name": "tcp_90_policy", "firewall_rules": ["f71439f6-9934-46b1-90b7-55fdfff5d7fd", "4e57336a-4f91-46b8-af00-b5312fa7e175", "2f381389-3137-48f0-a7ff-86744a63c0cb"], "tenant_id": "699ae084c9df430d83dbb9a547bab2e3", "firewall_list": ["8a251de8-4962-4d1a-b6cd-a384f4cbb15c"], "audited": false, "shared": true, "id": "f1224bee-740e-4aab-bdbe-829d76aeb647", "description": ""} [root@puma10 ~(keystone_admin)]# neutron firewall-policy-show f1224bee-740e-4aab-bdbe-829d76aeb647 +----------------+--------------------------------------+ | Field | Value | +----------------+--------------------------------------+ | audited | False | | description | | | firewall_rules | f71439f6-9934-46b1-90b7-55fdfff5d7fd | | | 4e57336a-4f91-46b8-af00-b5312fa7e175 | | | 2f381389-3137-48f0-a7ff-86744a63c0cb | | id | f1224bee-740e-4aab-bdbe-829d76aeb647 | | name | tcp_90_policy | | shared | True | | tenant_id | 699ae084c9df430d83dbb9a547bab2e3 | +----------------+--------------------------------------+