- 论坛徽章:
- 0
|
请问下,我在创建双节点和单节点两种方式下,到了创建自己的虚拟网络时,都碰到同样的问题:
# nova network-create vmnet --fixed-range-v4=192.168.122.0/26 --bridge-interface=br100 --multi-host=T
ERROR: HTTPConnectionPool(host='localhost', port=8774): Request timed out. (timeout=600.0)
用debug选项查看
# nova --debug network-create vmnet --fixed-range-v4=192.168.122.0/26 --bridge-interface=br100 --multi-host=T
REQ: curl -i http://localhost:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "fenix"}}}'
INFO (connectionpool:202) Starting new HTTP connection (1): localhost
DEBUG (connectionpool:296) "POST /v2.0/tokens HTTP/1.1" 200 3801
RESP: [200] CaseInsensitiveDict({'date': 'Thu, 20 Nov 2014 09:40:49 GMT', 'vary': 'X-Auth-Token', 'content-length': '3801', 'content-type': 'application/json'})
RESP BODY: {"access": {"token": {"issued_at": "2014-11-20T09:40:49.155333", "expires": "2014-11-21T09:40:49Z", "id": "***************************", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "7a681a1c170c47a2ab1dcff2a7d52348", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://localhost:9292", "region": "regionOne", "internalURL": "http://localhost:9292", "id": "6729d2835add42d69c93339d1692bcf1", "publicURL": "http://localhost:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://localhost:8774/v2/7a681a1c170c47a2ab1dcff2a7d52348", "region": "regionOne", "internalURL": "http://localhost:8774/v2/7a681a1c170c47a2ab1dcff2a7d52348", "id": "24fcfef8720b4ac0b468e5aaa58b102e", "publicURL": "http://localhost:8774/v2/7a681a1c170c47a2ab1dcff2a7d52348"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://localhost:35357/v2.0", "region": "regionOne", "internalURL": "http://localhost:5000/v2.0", "id": "2fb2efdc050f4d37b898fbf9b9a19a27", "publicURL": "http://localhost:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "531fd1406cd64d22ad0b7b5b750b2229", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["8d842bfa1d2641e29d499eb58037541d"]}}}
REQ: curl -i http://localhost:8774/v2/7a681a1c170c47a2ab1dcff2a7d52348/os-networks -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: ********************************" -d '{"network": {"cidr": "192.168.122.0/26", "bridge_interface": "br100", "multi_host": true, "label": "vmnet"}}'
INFO (connectionpool:202) Starting new HTTP connection (1): localhost
//到这里就卡住不动,600秒后提示超时失败
|
|