root@controller:~# neutron net-list
+--------------------------------------+--------+------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+--------+------------------------------------------------------+
| dd87e063-2461-4b44-89ff-aa6aed8db03f | public | 4c68a779-db7b-4b62-84af-4f674166db60 XXX.XXX.202.0/27 |
+--------------------------------------+--------+------------------------------------------------------+
Err Message
root@controller:~# neutron floatingip-create public
Bad floatingip request: Network dd87e063-2461-4b44-89ff-aa6aed8db03f is not a valid external network
root@controller:~# nova floating-ip-create public
ERROR (NotFound): Floating ip pool not found. (HTTP 404) (Request-ID: req-d082392b-72ce-4c85-bd7d-27edff981c2e)
root@controller:~# neutron net-show dd87e063-2461-4b44-89ff-aa6aed8db03f
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | dd87e063-2461-4b44-89ff-aa6aed8db03f |
| mtu | 0 |
| name | public |
| port_security_enabled | True |
| provider:network_type | flat |
| provider:physical_network | public |
| provider:segmentation_id | |
| router:external | False |
| shared | True |
| status | ACTIVE |
| subnets | 4c68a779-db7b-4b62-84af-4f674166db60 |
| tenant_id | 5fb2665694174bb59b2aaa270e8f6c4f |
+---------------------------+--------------------------------------+
root@controller:~# neutron net-update public --router:external true
Updated network: public
root@controller:~# neutron net-show dd87e063-2461-4b44-89ff-aa6aed8db03f
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | dd87e063-2461-4b44-89ff-aa6aed8db03f |
| mtu | 0 |
| name | public |
| port_security_enabled | True |
| provider:network_type | flat |
| provider:physical_network | public |
| provider:segmentation_id | |
| router:external | True |
| shared | True |
| status | ACTIVE |
| subnets | 4c68a779-db7b-4b62-84af-4f674166db60 |
| tenant_id | 5fb2665694174bb59b2aaa270e8f6c4f |
+---------------------------+--------------------------------------+
root@controller:~# nova floating-ip-associate a1883609-b8f9-4c2d-88bd-f8b4a6a1c081 XXX.XXX.202.17
ERROR (BadRequest): Unable to associate floating ip XXX.XXX.202.17 to fixed ip XXX.XXX.202.15 for instance a1883609-b8f9-4c2d-88bd-f8b4a6a1c081. Error: External network dd87e063-2461-4b44-89ff-aa6aed8db03f is not reachable from subnet 4c68a779-db7b-4b62-84af-4f674166db60. Therefore, cannot associate Port 79bb33f5-b1f3-4238-b684-446a8d79fbe6 with a Floating IP. (HTTP 400) (Request-ID: req-920a2303-89a0-487f-a5da-77b9129d9d8e)
admin ±ÇÇÑ¿¡¼...
root@controller:~# source admin-openrc.sh
root@controller:~# nova add-fixed-ip cc5859a4-b9a5-4652-8fff-e9531a960141 dd87e063-2461-4b44-89ff-aa6aed8db03f
root@controller:~# nova list --all
+--------------------------------------+-----------------+----------------------------------+--------+------------+-------------+-------------------------------------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+--------------------------------------+-----------------+----------------------------------+--------+------------+-------------+-------------------------------------+
| cc5859a4-b9a5-4652-8fff-e9531a960141 | RESTAPI SERVER2 | c01bdc14c9804a9397672a03a13713de | ACTIVE | - | Running | public=XXX.XXX.202.13,XXX.XXX.202.18 |
| a1883609-b8f9-4c2d-88bd-f8b4a6a1c081 | VM1 | c01bdc14c9804a9397672a03a13713de | ACTIVE | - | Running | public=XXX.XXX.202.15 |
+--------------------------------------+-----------------+----------------------------------+--------+------------+-------------+-------------------------------------+
Bug Report
https://bugs.launchpad.net/nova/+bug/1432455
:: Ãß°¡¾ÆÀÌÇÇ »èÁ¦
root@controller:~# nova remove-fixed-ip cc5859a4-b9a5-4652-8fff-e9531a960141 XXX.XXX.202.18
root@controller:~# neutron port-list
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 79bb33f5-b1f3-4238-b684-446a8d79fbe6 | | fa:16:3e:7e:8e:58 | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.XXX.202.15"} |
| 7f324185-5a3e-4563-84d3-ad376044a3aa | | fa:16:3e:77:10:a5 | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.XXX.202.3"} |
| a3b015be-c5fd-462c-96e4-a0dbac15ded6 | | fa:16:3e:f4:ff:f5 | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.XXX.202.12"} |
| ad907269-daf9-44ae-8a1e-c86eb1dbf777 | | fa:16:3e:e8:9a:7e | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.XXX.202.13"} |
| | | | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.XXX.202.19"} |
| f6aa0dd8-ee7c-4dd5-ad2c-3c756d7e3e8b | | fa:16:3e:d6:c9:af | {"subnet_id": "4c68a779-db7b-4b62-84af-4f674166db60", "ip_address": "XXX.68.202.14"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+