Neutron API-site: "Response parameters" table of "List security group rules" has an unnecessary entry
Bug #1477397 reported by
Keiichiro Tokunaga
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Keiichiro Tokunaga |
Bug Description
"Response parameters" table of "List security group rules" has an unnecessary entry. Please look at http://
There are two "tenant_id" entries in the table. The latter is the unnecessary one as "tenant_id" in a response parameter is the ID of the tenant who owns the security group rule.
Changed in openstack-api-site: | |
assignee: | nobody → Keiichiro Tokunaga (keiichiro) |
Changed in openstack-api-site: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in openstack-api-site: | |
milestone: | none → liberty |
To post a comment you must log in.
Here is what I confirmed. There's only one "tenant_id" that is the ID of the tenant who owns the security group *rule*.
$ neutron security- group-rule- list ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ b6c3-474e- 9902-0a9e42958f 86 | default | ingress | IPv6 | any | default (group) | a520-41f8- 9288-82261b7e01 38 | default | egress | IPv6 | any | any | 9f23-4add- 9f06-8703cf59eb d6 | default | ingress | IPv6 | any | default (group) | 958f-492c- b1aa-6068ce08b6 0f | default | egress | IPv4 | any | any | b0ed-494f- ab75-37924e366e cf | default | ingress | IPv4 | any | default (group) | 89f5-4bf6- af9c-160bd37e8a b6 | default | egress | IPv4 | any | any | 8e0c-4329- a245-62e680b668 46 | default | ingress | IPv4 | any | default (group) | 34ec-42ae- bb7d-c21c997d49 54 | default | egress | IPv6 | any | any | ------- ------- ------- ------- ----+-- ------- ------- +------ -----+- ------- ---+--- ------- -----+- ------- ------- --+ 192.168. 122.111: 9696/v2. 0/security- group-rules/ 1def2163- b6c3-474e- 9902-0a9e42958f 86 | jq "." group_rule" : { group_id" : "d8110539- 9db8-454d- 9fca-e6e8b9fd93 9f", b6c3-474e- 9902-0a9e42958f 86", group_id" : "d8110539- 9db8-454d- 9fca-e6e8b9fd93 9f", ip_prefix" : null, 3893c3ac0b1cfb4 0a3", range_max" : null, range_min" : null
+------
| id | security_group | direction | ethertype | protocol/port | remote |
+------
| 1def2163-
| 4a5c2dac-
| 4ff7a294-
| 691b855b-
| 98ace602-
| d06efb94-
| f2e7922d-
| f82aa751-
+------
$ curl -s -X GET -H "x-auth-token: $TOKEN" http://
{
"security_
"security_
"id": "1def2163-
"remote_
"direction": "ingress",
"remote_
"protocol": null,
"ethertype": "IPv6",
"tenant_id": "56b048ae10a94b
"port_
"port_
}
}