Jump to: navigation, search

Difference between revisions of "Manila/KiloDevstack"

(Procedure)
(Procedure)
Line 15: Line 15:
 
  $ cd devstack ; cp samples/local.conf .
 
  $ cd devstack ; cp samples/local.conf .
  
3. Edit/append local.conf to enable manila, and neutron, and to disable horizon, heat, and nova-network
+
3. Edit/append local.conf to enable manila, and neutron, and to disable horizon and nova-network
 
  $ cat << EOF >> local.conf
 
  $ cat << EOF >> local.conf
 
   
 
   
 
  disable_service horizon
 
  disable_service horizon
 
disable_service heat
 
disable_service h-eng
 
disable_service h-api
 
disable_service h-api-cfn
 
disable_service h-api-cw
 
 
 
  disable_service n-net
 
  disable_service n-net
 
   
 
   

Revision as of 20:56, 1 April 2015

Intro

Here are instructions on how to use Devstack with the latest code from Manila to begin using Manila.

This procedure was tested and working as of 25 Feb 2015.

Procedure

1. Clone devstack

$ git clone https://github.com/openstack-dev/devstack.git

2. Copy the sample local.conf into the root devstack directory

$ cd devstack ; cp samples/local.conf .

3. Edit/append local.conf to enable manila, and neutron, and to disable horizon and nova-network

$ cat << EOF >> local.conf

disable_service horizon
disable_service n-net

enable_service neutron
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
 
enable_plugin manila https://github.com/openstack/manila

Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True
ML2_VLAN_RANGES=physnet1:100:200
PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-eth1
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,vxlan
EOF

4. Run stack.sh as normal; When it is complete, the manila processes should be started.