Juno nova network-create legacy network fails HTTP 500

asked 2014-11-06 07:22:40 -0600

Phil1234 gravatar image

Hi, I try to create a legacy network:

nova network-create demo-net --bridge br100 --multi-host T --fixed-range-v4 172.27.17.54/30

But I get this useless error message...:

ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-3d5677b9-45c1-46b0-81a9-5ff7cbd5d8ed)

The Debugmode returns:

root@controller:/home/command# nova --debug network-create demo-net --bridge br100 --multi-host T --fixed-range-v4 172.27.17.54/30

REQ: curl -i 'http://controller: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": "ADMIN_PASS"}}}'

New session created for: (http://controller:35357)
INFO (connectionpool:258) Starting new HTTP connection (1): controller
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 3968
RESP: [200] CaseInsensitiveDict({'date': 'Thu, 06 Nov 2014 13:11:05 GMT', 'vary': 'X-Auth-Token', 'content-length': '3968', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"access": {"token": {"issued_at": "2014-11-06T13:11:05.694329", "expires": "2014-11-06T14:11:05Z", "id": "MIIHaAYJKoZIhvcNAQcCoIIHWTCCB1UCAQExDTALBglghkgBZQMEAgEwggW2BgkqhkiG9w0BBwGgggWnBIIFo3siYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMTEtMDZUMTM6MTE6MDUuNjk0MzI5IiwgImV4cGlyZXMiOiAiMjAxNC0xMS0wNlQxNDoxMTowNVoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICJjZjc2NDBiNjBiNmM0ODg0OWI1YWVlYmM3Yjc2N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JpXdANbIY+9D1388HuGA==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "cf7640b60b6c48849b5aeebc7b765093", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "2932cab2103b48538d1746869a353d92", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8774/v2/cf7640b60b6c48849b5aeebc7b765093", "region": "regionOne", "internalURL": "http://controller:8774/v2/cf7640b60b6c48849b5aeebc7b765093", "id": "0534a7def1e947cbbf5f958abee84197", "publicURL": "http://controller:8774/v2/cf7640b60b6c48849b5aeebc7b765093"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "aba74a7a37ff4f8a8342715411c89143", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "b3dbf3b91f5b449fa74e2447e01dae2a", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "d10f8db06688400b8601f626b6d94824"]}}}


REQ: curl -i 'http://controller:8774/v2/cf7640b60b6c48849b5aeebc7b765093/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: MIIHaAYJKoZIhvcNAQcCoIIHWTCCB1UCAQExDTALBglghkgBZQMEAgEwggW2BgkqhkiG9w0BBwGgggWnBIIFo3siYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMTEtMDZUMTM6MTE6MDUuNjk0MzI5IiwgImV4cGlyZXMiOiAiMjAxNC0xMS0wNlQxNDoxMTowNVoiLCAiaWQiOiAicGxhY2V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k0kk8rNxHSOnLKh8V9QvHYKme6Kao4lU7EF6N2MSd2XQyBM4SU9SnUyI9zsakW8Qd-pq8c56cqIEcH32THSrPKenEwMO3XUMdHVlNH4etsW8hQpF-88WUEQHoAAx7uUVhpw+z1j1Fc6JpXdANbIY+9D1388HuGA==" -d '{"network": {"bridge": "br100", "cidr": "172.27.17.54/30", "multi_host": true, "label": "demo-net"}}'

New session created for: (http://controller:8774)
INFO (connectionpool:258) Starting new HTTP connection (1): controller
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2/cf7640b60b6c48849b5aeebc7b765093/os-networks HTTP/1.1" 500 128
RESP: [500] CaseInsensitiveDict({'date': 'Thu, 06 Nov 2014 13:12:05 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7aefc3c4-30db-4937-a67d-c1d53b87cd18'})
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}

DEBUG (shell:777) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7aefc3c4-30db-4937-a67d-c1d53b87cd18)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 774, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 710, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 895, in do_network_create
    cs.networks.create(**kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/networks.py", line 95, in create ...
(more)
edit retag flag offensive close merge delete

Comments

nova-manage network create private --multi_host=T --fixed_range_v4=172.27.17.50/24 --bridge_interface=br100 --num_networks=1 --network_size=256

This command works!

Phil1234 gravatar imagePhil1234 ( 2014-11-07 02:02:44 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-18 08:32:24 -0600

rushi gravatar image

great, it worked for me as well.

i have been struggling on this with posted another on openstack...thanks for the tips.

BR, Rushi.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-11-06 07:22:40 -0600

Seen: 508 times

Last updated: Dec 18 '14