Jump to: navigation, search

Difference between revisions of "Manila/KiloDevstack"

(Procedure)
Line 36: Line 36:
 
    
 
    
 
  enable_plugin manila https://github.com/openstack/manila
 
  enable_plugin manila https://github.com/openstack/manila
 
enable_service manila
 
enable_service m-api
 
enable_service m-sch
 
enable_service m-shr
 
 
   
 
   
 
  Q_PLUGIN=ml2
 
  Q_PLUGIN=ml2
Line 49: Line 44:
 
  Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
 
  Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
 
  Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,vxlan
 
  Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,vxlan
SHARE_BACKING_FILE_SIZE=22G
 
 
  EOF
 
  EOF
  
 
4. Run stack.sh as normal; When it is complete, the manila processes should be started.
 
4. Run stack.sh as normal; When it is complete, the manila processes should be started.

Revision as of 20:31, 25 February 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, heat, and

$ cat << EOF >> local.conf

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

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.