OpenStack Juno: Installation using VirtualBox & Ubuntu 14.10 ( Basic Environment ) - 1



i have used virtual box you can also use vmware or other hypervisor

Creating network interfaces ( 3 interfaces )

File > Preferences > Network > Host-only Networks

Interface 1 (Management Network)
IPv4 Address: 10.10.10.1
Network Mask: 255.255.255.255.0

Interface 2 (Tunnel Network)
IPv4 Address: 10.20.20.1
Network Mask: 255.255.255.255.0

Interface 3 (External Network)
IPv4 Address: 192.168.100.1
Network Mask: 255.255.255.255.0

Create a vm - controller

Install Ubuntu Server 14.10

Assign network adapter

Settings > Network

Adapter 1:

Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 2:

Attached to: NAT
Adapter Type: Paravirtualized Network

Always use root user

$ sudo su

In Controller Node

Configuring Hostname

# nano /etc/hostname

controller

Configuring Network Interfaces

# nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0

auto eth1
iface eth1 inet dhcp

Configuring Name resolution

# nano /etc/hosts

10.10.10.10 controller
10.10.10.11 compute
10.10.10.12 network
10.10.10.13 block
10.10.10.14 object1
10.10.10.15 object2
#127.0.0.1 localhost

# reboot

Update Ubuntu Server

# sudo apt-get update

Clone Controller Node (Full Clone)

-network
-compute

Assign network adapter

To Network Node

Adapter 1:

Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 2:

Attached to: Host-only Adapter
Name: Interface 2
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 3:

Attached to: Host-only Adapter
Name: Interface 3
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 4:

Attached to: NAT
Adapter Type: Paravirtualized Network

To Compute Node

Adapter 1:

Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 2:

Attached to: Host-only Adapter
Name: Interface 2
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All

Adapter 3:

Attached to: NAT
Adapter Type: Paravirtualized Network

In Network Node

Configuring Hostname

# nano /etc/hostname

network

Configuring Network Interfaces

# nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 10.10.10.12
netmask 255.255.255.0

auto eth1
iface eth1 inet static
address 10.20.20.12
netmask 255.255.255.0

auto eth2
iface eth2 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down

auto eth3
iface eth3 inet dhcp

# reboot

# ping controller
# ping compute
# ping google.com

In Compute Node

Configuring Hostname

# nano /etc/hostname

compute

Configuring Network Interfaces

# nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0

auto eth1
iface eth1 inet static
address 10.20.20.11
netmask 255.255.255.0

auto eth2
iface eth2 inet dhcp

# reboot

# ping controller
# ping network
# ping google.com

In Controller Node

# ping network
# ping compute
# ping google.com

Clone Network Node (Full Clone) - backup (for later use)


1 comments:

  1. heloo i have a question can i use nova-network and neutron in the same time??? look my nova.cof in compute node
    [DEFAULT]
    auth_strategy = keystone
    rpc_backend = rabbit
    my_ip = 10.0.0.11
    vncserver_listen = 10.0.0.11
    vncserver_proxyclient_address = 10.0.0.11
    nnetwork_api_class = nova.network.neutronv2.api.API
    security_group_api = neutron
    linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
    firewall_driver = nova.virt.firewall.NoopFirewallDriver

    network_api_class = nova.network.api.API
    security_group_api = nova
    firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
    network_manager = nova.network.manager.FlatDHCPManager
    network_size = 254
    allow_same_net_traffic = False
    multi_host = True
    send_arp_for_ha = True
    share_dhcp_address = True
    force_dhcp_release = True
    flat_network_bridge = br100
    flat_interface = INTERFACE_NAME
    public_interface = INTERFACE_NAME
    verbose = True

    when i add the nova netwok line i cant launch instance error 404 ressources not found or no network define

    plz help

    ReplyDelete

 

Flickr Photostream

Twitter Updates