Ask Your Question
0

nova network create fails with The server has either erred or is incapable of performing the requested operation. (HTTP 500)

asked 2014-08-02 06:30:55 -0500

jide gravatar image

updated 2014-08-06 15:42:14 -0500

SamYaple gravatar image

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

edit retag flag offensive close merge delete

Comments

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

Saikiran Veeravarapu gravatar imageSaikiran Veeravarapu ( 2015-02-18 03:50:56 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-18 02:44:08 -0500

hey there,

the reason for the above isuue may occur due to following

1. rabbitmq-server status
2. the firewall avilable in your system.

try out the following this hope this may help

service rabbitmq-server status
service rabbitmq-server restart

and edit some firewall settings in your /etc/nova/nova.conf file

#security_group_api=neutron

then restart all the services and give a try.

edit flag offensive delete link more
0

answered 2015-02-17 14:02:06 -0500

Praveen N gravatar image

updated 2015-02-17 14:05:21 -0500

Ensure openstack-nova network service and neutron server(if considered for the scenario) is active,restart the services and try replacing the bridge br100 with other bridge/eth interface as per your env..!!

edit flag offensive delete link more
0

answered 2015-02-18 00:35:06 -0500

updated 2015-02-18 00:37:14 -0500

Hi jide, Here we have to see two points :

1) Check whether rabbitmq-server is in active state or not.

2) If Rabbitmq-server is in down once again check the rabbit-mq credentials in /etc/nova/nova.conf and

  restart all the nova services and rabbitmq-server.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-02 06:30:55 -0500

Seen: 1,228 times

Last updated: Feb 18 '15