Jump to: navigation, search

Difference between revisions of "Manila/KiloDevstack"

(Created page with "Here are instructions on how to use Devstack with the latest code from Manila to begin using Manila. 1. Clone devstack $ git clone https://github.com/openstack-dev/devstac...")
 
Line 1: Line 1:
 +
== Intro ==
 +
 
Here are instructions on how to use Devstack with the latest code from Manila to begin using Manila.
 
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  
 
1. Clone devstack  
Line 7: Line 13:
 
2. Copy the sample local.conf into the root devstack directory
 
2. Copy the sample local.conf into the root devstack directory
  
  $ 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  
 
3. Edit/append local.conf to enable manila, and neutron, and to disable horizon, heat, and  

Revision as of 17:00, 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

enable_service manila
enable_service m-api
enable_service m-sch
enable_service m-shr

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
SHARE_BACKING_FILE_SIZE=22G
EOF

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