Problems in creating network with FlatDHCPManager
I'm getting frustrated in trying to create a network with the command:
nova --debug network-create vmnet
I'm following the official tutorial by OpenStack to install Icehouse on Ubuntu 12.04 and i'm getting stuck into the networking section.
I'm __not__ using neutron.
My setup is the following one:
- i'm using Oracle Virtual Box.
- I created 2 istances: the Control node and the Compute node.
- I created 2 host-only network cards one with 192.168.0.1 ip and the other 10.0.0.1.
As suggested the 192.168.0.0 net is used as internal net for openstack services and the other should be used at this point of the installation.
- I also use another NATted network card to access the internet from my Virtual Box VMs.
I paste here Controller node
\# The loopback network interface auto lo iface lo inet loopback \# Internal Network auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 \# External Network auto eth1 iface eth1 inet static address 10.0.0.10 netmask 255.255.255.0 \# NATted Network auto eth2 iface eth2 inet dhcp
Everything went well until i installed and configured nova-network and nova-api-metadata. From that point on the interface virbr0 was created and, at boot, ubuntu fails to configure the network.
I tried to fix the problem as you will se in the
/etc/network/interfaces file of the compute node.
At least anyone can ping everyone on any IP address.
Given this, once I run the command
nova network-create ... on the __Controller node__, I wait several seconds and the output is (among others):
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
Up to now I tried many configurations and read as much as I could.
So, now, my questions are:
- What should I do?
- What should the
/etc/network/interfaces file on the Compute Node should look like?
I apologize for my lack of linux-sysadmin skills in advance.
I add here my
nova.conf files (no problem in showing you my passwords :) ):
[DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True iscsi_helper=tgtadm libvirt_use_virtio_for_bridges=True connection_type=libvirt root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf verbose=True ec2_private_dns_show_ip=True api_paste_config=/etc/nova/api-paste.ini volumes_path=/var/lib/nova/volumes enabled_apis=ec2,osapi_compute,metadata rpc_backend=nova.rpc.impl_kombu rabbit_host=controller rabbit_password=rabbit my_ip=192.168.0.10 vncserver_listen=192.168.0.10 vncserver_proxyclient_address=192.168.0.10 auth_strategy=keystone \# [database] connection=mysql://nova:nova@controller/nova \# [keystone_authtoken] auth_host=controller auth_port=35357 auth_protocol=http admin_tenant_name=service admin_user=nova admin_password=nova
[DEFAULT] dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova force_dhcp_release=True iscsi_helper=tgtadm libvirt_use_virtio_for_bridges=True connection_type=libvirt ...