nova network create fails with The server has either erred or is incapable of performing the requested operation. (HTTP 500)
Hello
I am an openstack newbie and following install guidelines on opensuse 13.1. I am running opensuse 13.1 in virtualbox vm and have configured one vm as controller and the other as compute, following the openstack havana for opensuse guide and trying to configure the compute service on the controller.
When i try to create a private VM network using the following command:
nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge=br100 --multi-host=T
i get the error
nova network-create private --fixed-range-v4=192.168.100.0/24 --bridge-interface=br100
ERROR: You must provide a username via either --os-username or env[OS_USERNAME]
I then searched and found and followed this users post https://ask.openstack.org/en/question...
and ran
nova --os-username mynovausername --os-password mynovapassword --os-tenant-name mynovaservicename --os-auth-url http://controller:35357/v2.0 network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge=br100 --multi-host=T
but I still get the error
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-d8525120-167f-424a-bfc2-7521bd124ab2)
I also got this output in the nova.log file
2014-08-02 12:14:15.547 4112 TRACE nova.api.openstack network = self.network_api.create(context, **params)[0]
2014-08-02 12:14:15.547 4112 TRACE nova.api.openstack AttributeError: 'API' object has no attribute 'create'
2014-08-02 12:14:15.547 4112 TRACE nova.api.openstack
2014-08-02 12:14:15.549 4112 INFO nova.api.openstack [req-d8525120-167f-424a-bfc2-7521bd124ab2 2c333173ad974bcfb51ae8290e9708a6 8ca0ff72c85c4787b252932d3e660840] http://controller:8774/v2/8ca0ff72c85c4787b252932d3e660840/os-networks returned with HTTP 500
2014-08-02 12:14:15.550 4112 INFO nova.osapi_compute.wsgi.server [req-d8525120-167f-424a-bfc2-7521bd124ab2 2c333173ad974bcfb51ae8290e9708a6 8ca0ff72c85c4787b252932d3e660840] 192.168.0.10 "POST /v2/8ca0ff72c85c4787b252932d3e660840/os-networks HTTP/1.1" status: 500 len: 335 time: 0.0707109
Any help would be appreciated
Your issue likely to be with firewall, Check if you can telnet from compute node to your controller node using port 5672 Ex: telnet controller 5672 If its refuses the connection then you need to disbale the firewall. But before doing check if rabbit server is up and running