container driver log msg uses neutron subnet id for network id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Tom Barron |
Bug Description
When connecting a container to a neutron network, the container driver logs a message such as:
2017-02-17 19:26:08.490 30684 DEBUG manila.
But the value it is supplying for the network id is in fact the subnet id from the supplied network info, not the network id.
fedora@fedora0 manila]$ openstack network list
+------
| ID | Name | Subnets |
+------
| 440740d2-
| e72792e7-
+------
[fedora@fedora0 manila]$ openstack subnet show c5b432c8-
+------
| Field | Value |
+------
| allocation_pools | 10.1.0.2-10.1.0.62 |
| cidr | 10.1.0.0/26 |
| created_at | 2017-02-
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.1.0.1 |
| host_routes | |
| id | c5b432c8-
| ip_version | 4 |
| ipv6_address_mode | None |
| ipv6_ra_mode | None |
| name | private-subnet |
| network_id | e72792e7-
| project_id | add51d44a3d046c
| revision_number | 2 |
| segment_id | None |
| service_types | |
| subnetpool_id | 80a48e71-
| updated_at | 2017-02-
+------
Changed in manila: | |
assignee: | nobody → Tom Barron (tpb) |
Fix proposed to branch: master /review. openstack. org/435597
Review: https:/