OpenStack Installation on VMware with one interface card Possible ???

Asked by Vicky

I want to install Openstack nova on VMware but it is creating a problem... regarding bridge interface is required...so my question is Openstack installation on VMware possible?? if yes then how to configure nova.conf and /etc/network/interfaces files......Thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sateesh (sateesh-chodapuneedi) said :
#1

OpenStack installation works good on VMware ESX/ESXi 4.1 or later.
One physical NIC server would be enough.

For flags, you can refer to readme at http://nova.openstack.org/vmwareapi_readme.html
on ESX/ESXi server, you do not need to edit any file like /etc/network/interfaces.

Here is nova.conf from a working setup,

nova.conf file:
--daemonize=1
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/opt/openStack/bin/nova-dhcpbridge
--lock_path=/tmp
--logdir=/var/log/nova
--state_path=/var/lib/nova
--verbose
--network_manager=nova.network.manager.FlatManager
--sql_connection=mysql://root:password@127.0.0.1/nova
--rabbit_host=127.0.0.1
--ec2_host=127.0.0.1
--image_service=nova.image.glance.GlanceImageService
--glance_api_servers=127.0.0.1:9292
--use_s3=false
--connection_type=vmwareapi
--vmwareapi_host_ip=10.0.120.11
--vmwareapi_host_username=root
--vmwareapi_host_password=password
--vmwareapi_wsdl_loc=http://10.0.120.9:8080/vimService.wsdl
--console_manager=nova.console.vmrc_manager.ConsoleVMRCManager

Revision history for this message
Vicky (waqasrana1) said :
#2

Thanks for your kind reply ... I installed the Openstack Nova on VMware successfully..
Network configuration is creating problem,whenever i run command "nova-manage network create 192.168.3.0/24 1 255 " it creates error
Command failed, please check log for more info
Log file shows following output

(nova): TRACE:
2011-09-29 13:04:42,905 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=2315) __get_backend /usr/lib/python2.6/dist-packages/nova/utils.py:447
2011-09-29 15:34:40,261 CRITICAL nova [-] --bridge_interface is required to create a network.
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-manage", line 2141, in <module>
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/nova-manage", line 2129, in main
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "/usr/bin/nova-manage", line 773, in create
(nova): TRACE: raise exception.NetworkNotCreated(req='--bridge_interface')
(nova): TRACE: NetworkNotCreated: --bridge_interface is required to create a network.
(nova): TRACE:

now i don't know how to solve this problem.. :(

Revision history for this message
Vish Ishaya (vishvananda) said :
#3

First of all your command is incorrect.

it should be 1 256.

To fix the issue, add --flat_network_interface=eth0 to your flagfile or specify your interface in the command with
nova manage network create 192.168.3.0/24 1 256 --bridge_interface=eth0

On Sep 29, 2011, at 3:45 AM, Vicky wrote:

> Question #172683 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/172683
>
> Vicky posted a new comment:
> Thanks for your kind reply ... I installed the Openstack Nova on VMware successfully..
> Network configuration is creating problem,whenever i run command "nova-manage network create 192.168.3.0/24 1 255 " it creates error
> Command failed, please check log for more info
> Log file shows following output
>
> (nova): TRACE:
> 2011-09-29 13:04:42,905 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=2315) __get_backend /usr/lib/python2.6/dist-packages/nova/utils.py:447
> 2011-09-29 15:34:40,261 CRITICAL nova [-] --bridge_interface is required to create a network.
> (nova): TRACE: Traceback (most recent call last):
> (nova): TRACE: File "/usr/bin/nova-manage", line 2141, in <module>
> (nova): TRACE: main()
> (nova): TRACE: File "/usr/bin/nova-manage", line 2129, in main
> (nova): TRACE: fn(*fn_args, **fn_kwargs)
> (nova): TRACE: File "/usr/bin/nova-manage", line 773, in create
> (nova): TRACE: raise exception.NetworkNotCreated(req='--bridge_interface')
> (nova): TRACE: NetworkNotCreated: --bridge_interface is required to create a network.
> (nova): TRACE:
>
> now i don't know how to solve this problem.. :(
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Vish Ishaya (vishvananda) said :
#4

or --vlan_interface in your flagfile if you are using vlan mode

Revision history for this message
Vicky (waqasrana1) said :
#5

Thanks for your quick and kind response...i run this command
nova-manage network create 192.168.3.0/24 1 256 --bridge_interface=eth0

Now it shows the following output in logfile
(nova): TRACE: ValueError: The network range is not big enough to fit 256. Network size is 1

Revision history for this message
Lawrnecy Meng (longeek) said :
#6

apt-get install bridge-utils

sudo brctl addbr br100

maybe this will help you ..

Can you help with this problem?

Provide an answer of your own, or ask Vicky for more information if necessary.

To post a message you must log in.