[openstack-dev] Floating IP pool public not found
云淡风轻
821696029 at qq.com
Fri Jul 22 01:46:32 UTC 2016
hi everyone,
when create node group template with sahara 4.0.0 in M version,an error occur:
$ openstack dataprocessing node group template create --json my_master_template_create_default.json
Floating IP pool public not found
Error ID: 62672c58-8fdd-40d9-8e6b-8aef0f6ab554
less my_master_template_create_default.json
{
"plugin_name": "vanilla",
"hadoop_version": "2.7.1",
"node_processes": [
"namenode",
"resourcemanager"
],
"name": "vanilla-default-master",
"floating_ip_pool": "public",
"flavor_id": "6",
"auto_security_group": false
}
in sahara.log:
2016-07-21 21:40:05.216 1521 DEBUG keystoneclient.session [req-ee9a5b0d-b19a-418f-bdd3-018fc4634eb0 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] REQ: curl -g -i --insecure -X GET http://10.0.0.132:8774/v2/6cb156a82d0f486a9f50132be9438eb6/os-networks -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5971da83434fe662c7726b695a4007128c1dc383" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:206
2016-07-21 21:40:05.552 1521 DEBUG keystoneclient.session [req-ee9a5b0d-b19a-418f-bdd3-018fc4634eb0 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] RESP: [200] Date: Fri, 22 Jul 2016 01:40:05 GMT Connection: keep-alive Content-Type: application/json Content-Length: 1297 X-Compute-Request-Id: req-3279a048-145e-4f8e-bb7b-f77d22037f2a
RESP BODY: {"networks": [{"bridge": null, "vpn_public_port": null, "dhcp_start": null, "bridge_interface": null, "share_address": null, "updated_at": null, "id": "9c597886-d439-4fe2-b76b-5338d85aaf37", "cidr_v6": null, "deleted_at": null, "gateway": null, "rxtx_base": null, "label": "public", "priority": null, "project_id": null, "vpn_private_address": null, "deleted": null, "vlan": null, "broadcast": null, "netmask": null, "injected": null, "cidr": null, "vpn_public_address": null, "multi_host": null, "enable_dhcp": null, "dns2": null, "created_at": null, "host": null, "mtu": null, "gateway_v6": null, "netmask_v6": null, "dhcp_server": null, "dns1": null}, {"bridge": null, "vpn_public_port": null, "dhcp_start": null, "bridge_interface": null, "share_address": null, "updated_at": null, "id": "3aaa392b-af4d-4f70-9e2e-1b71a965ff7d", "cidr_v6": null, "deleted_at": null, "gateway": null, "rxtx_base": null, "label": "private", "priority": null, "project_id": null, "vpn_private_address": null, "deleted": null, "vlan": null, "broadcast": null, "netmask": null, "injected": null, "cidr": null, "vpn_public_address": null, "multi_host": null, "enable_dhcp": null, "dns2": null, "created_at": null, "host": null, "mtu": null, "gateway_v6": null, "netmask_v6": null, "dhcp_server": null, "dns1": null}]}
_http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:231
2016-07-21 21:40:05.617 1521 DEBUG sahara.utils.openstack.base [req-ee9a5b0d-b19a-418f-bdd3-018fc4634eb0 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] Permanent error occurred during "find" execution: No Network matching {'id': u'public'}. (HTTP 404). execute_with_retries /usr/lib/python2.7/site-packages/sahara/utils/openstack/base.py:99
2016-07-21 21:40:05.670 1521 ERROR sahara.utils.api [req-ee9a5b0d-b19a-418f-bdd3-018fc4634eb0 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] Validation Error occurred: error_code=400, error_message=Floating IP pool public not found
Error ID: e369a75d-bf03-4de6-8192-23959967f45a, error_name=NOT_FOUND
with:
$ neutron net-list
+--------------------------------------+---------+------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+------------------------------------------------------+
| 3aaa392b-af4d-4f70-9e2e-1b71a965ff7d | private | 7cd8341e-9994-4a1d-a46f-22aedfde7bd8 10.0.0.0/24 |
| 9c597886-d439-4fe2-b76b-5338d85aaf37 | public | 0d7a6c95-3f6a-42ad-9cf8-c96e1d9c3c82 172.24.4.224/28 |
+--------------------------------------+---------+------------------------------------------------------+
$ neutron subnet-list
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
| 7cd8341e-9994-4a1d-a46f-22aedfde7bd8 | private_subnet | 10.0.0.0/24 | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| 0d7a6c95-3f6a-42ad-9cf8-c96e1d9c3c82 | public_subnet | 172.24.4.224/28 | {"start": "172.24.4.226", "end": "172.24.4.238"} |
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
$ nova floating-ip-pool-list
+--------+
| name |
+--------+
| public |
+--------+
$ nova floating-ip-bulk-list
+------------+------------+---------------+--------+-------------+
| project_id | address | instance_uuid | pool | interface |
+------------+------------+---------------+--------+-------------+
| - | 10.0.0.193 | - | public | eno16777736 |
| - | 10.0.0.194 | - | public | eno16777736 |
| - | 10.0.0.195 | - | public | eno16777736 |
| - | 10.0.0.196 | - | public | eno16777736 |
......
| - | 10.0.0.221 | - | public | eno16777736 |
| - | 10.0.0.222 | - | public | eno16777736 |
+------------+------------+---------------+--------+-------------+
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160722/d59c8dc4/attachment.html>
More information about the OpenStack-dev
mailing list