Activity log for bug #1733258

Date Who What changed Old value New value Message
2017-11-20 02:50:00 Dongcan Ye bug added bug
2017-11-20 02:50:16 Dongcan Ye python-openstackclient: assignee Dongcan Ye (hellochosen)
2017-11-20 05:37:21 Dongcan Ye affects python-openstackclient python-openstacksdk
2017-11-20 05:55:44 OpenStack Infra python-openstacksdk: status New In Progress
2017-11-20 07:24:16 Dongcan Ye description I had an external network named "public" which have v4 and v6 subnets: root@neutron-devstack:~# openstack network list +--------------------------------------+---------+----------------------------------------------------------------------------+ | ID | Name | Subnets | +--------------------------------------+---------+----------------------------------------------------------------------------+ | 30c2a624-7c53-46a2-a733-b196e7d72b40 | public | 0c280593-3066-4393-bbdc-028b24139314, e533b468-afdd-4890-9885-6529a525ebaf | | de0f2b76-1581-4a42-bc18-0145542e0cb8 | private | 2bfc3925-f6e5-416c-a625-937c56088837, b12f51c3-4463-476a-8868-461882e4ca6a | +--------------------------------------+---------+----------------------------------------------------------------------------+ root@neutron-devstack:~# openstack subnet list +--------------------------------------+---------------------+--------------------------------------+---------------------+ | ID | Name | Network | Subnet | +--------------------------------------+---------------------+--------------------------------------+---------------------+ | 0c280593-3066-4393-bbdc-028b24139314 | public-subnet | 30c2a624-7c53-46a2-a733-b196e7d72b40 | 172.24.4.0/24 | | 2bfc3925-f6e5-416c-a625-937c56088837 | private-subnet | de0f2b76-1581-4a42-bc18-0145542e0cb8 | 10.0.0.0/26 | | b12f51c3-4463-476a-8868-461882e4ca6a | ipv6-private-subnet | de0f2b76-1581-4a42-bc18-0145542e0cb8 | fd4b:bb6d:30ae::/64 | | e533b468-afdd-4890-9885-6529a525ebaf | ipv6-public-subnet | 30c2a624-7c53-46a2-a733-b196e7d72b40 | 2001:db8::/64 | +--------------------------------------+---------------------+--------------------------------------+---------------------+ Then creates floatingip from a subnet, will allocates a IP from another subnet. root@neutron-devstack:~# openstack floating ip create --subnet e533b468-afdd-4890-9885-6529a525ebaf public +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2017-11-20T02:41:31Z | | description | | | fixed_ip_address | None | | floating_ip_address | 172.24.4.2 | | floating_network_id | 30c2a624-7c53-46a2-a733-b196e7d72b40 | | id | 912811ae-15cd-4253-acab-92d487a9d87c | | name | 172.24.4.2 | | port_id | None | | project_id | a349811205044d119b27a9f09a06bf3e | | revision_number | 0 | | router_id | None | | status | DOWN | | updated_at | 2017-11-20T02:41:31Z | +---------------------+--------------------------------------+ I had an external network named "public" which have two v4 subnets: root@neutron-devstack:~# openstack network list +--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+ | ID | Name | Subnets | +--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+ | 30c2a624-7c53-46a2-a733-b196e7d72b40 | public | 0c280593-3066-4393-bbdc-028b24139314, 5547b16e-8ad7-4896-a472-cc796ca38ad3, e533b468-afdd-4890-9885-6529a525ebaf | | de0f2b76-1581-4a42-bc18-0145542e0cb8 | private | 2bfc3925-f6e5-416c-a625-937c56088837, b12f51c3-4463-476a-8868-461882e4ca6a | +--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+ root@neutron-devstack:~# openstack subnet list +--------------------------------------+---------------------+--------------------------------------+---------------------+ | ID | Name | Network | Subnet | +--------------------------------------+---------------------+--------------------------------------+---------------------+ | 0c280593-3066-4393-bbdc-028b24139314 | public-subnet | 30c2a624-7c53-46a2-a733-b196e7d72b40 | 172.24.4.0/24 | | 2bfc3925-f6e5-416c-a625-937c56088837 | private-subnet | de0f2b76-1581-4a42-bc18-0145542e0cb8 | 10.0.0.0/26 | | 5547b16e-8ad7-4896-a472-cc796ca38ad3 | | 30c2a624-7c53-46a2-a733-b196e7d72b40 | 20.0.0.0/24 | | b12f51c3-4463-476a-8868-461882e4ca6a | ipv6-private-subnet | de0f2b76-1581-4a42-bc18-0145542e0cb8 | fd4b:bb6d:30ae::/64 | | e533b468-afdd-4890-9885-6529a525ebaf | ipv6-public-subnet | 30c2a624-7c53-46a2-a733-b196e7d72b40 | 2001:db8::/64 | +--------------------------------------+---------------------+--------------------------------------+---------------------+ Then creates floatingip from a subnet, will allocates a IP from another subnet. root@neutron-devstack:~# openstack floating ip create --subnet 5547b16e-8ad7-4896-a472-cc796ca38ad3 public +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2017-11-20T02:41:31Z | | description | | | fixed_ip_address | None | | floating_ip_address | 172.24.4.2 | | floating_network_id | 30c2a624-7c53-46a2-a733-b196e7d72b40 | | id | 912811ae-15cd-4253-acab-92d487a9d87c | | name | 172.24.4.2 | | port_id | None | | project_id | a349811205044d119b27a9f09a06bf3e | | revision_number | 0 | | router_id | None | | status | DOWN | | updated_at | 2017-11-20T02:41:31Z | +---------------------+--------------------------------------+
2017-11-20 15:39:34 OpenStack Infra python-openstacksdk: status In Progress Fix Released