Comment 7 for bug 1754062

Revision history for this message
Francois Deppierraz (francois-ctrlaltdel) wrote :

I'm not sure this issue is actually fixed, I gave it a try today without any luck using the lastest python-openstackclient.

$ pip list | egrep "openstack|neutron"
openstacksdk (0.20.0)
python-neutronclient (6.11.0)
python-openstackclient (3.17.0)
python-openstacksdk (0.5.2)
$ openstack --version
openstack 3.17.0
$ openstack --debug subnet create --use-default-subnet-pool --prefix-length 24 --network test test
[...]
https://XXX:9696 "POST /v2.0/subnets HTTP/1.1" 201 593
RESP: [201] Connection: close Content-Length: 593 Content-Type: application/json; charset=UTF-8 Date: Mon, 17 Dec 2018 16:10:59 GMT X-Openstack-Request-Id: req-2744992c-5302-4f7a-9870-220e868d85a1
RESP BODY: {"subnet": {"description": "", "enable_dhcp": true, "network_id": "6b350cce-adf8-44fa-86b2-140670cc99b8", "tenant_id": "505f48f68ebc4d4f87cf64e56b40f3de", "created_at": "2018-12-17T16:10:59", "dns_nameservers": [], "updated_at": "2018-12-17T16:10:59", "gateway_ip": "X.X.X.X", "ipv6_ra_mode": null, "allocation_pools": [{"start": "X.X.X.X", "end": "X.X.X.X"}], "host_routes": [], "ip_version": 4, "ipv6_address_mode": null, "cidr": "X.X.X.X/26", "id": "6d75a4e9-31fd-4364-8352-050e3197dc56", "subnetpool_id": "d563bbd9-90c2-4ccb-af08-92339b05396c", "name": "test"}}
[...]
| cidr | X.X.X.X/26 |