|
|
| Line 1: |
Line 1: |
| − | == 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. (Note: you can also disable heat, as it's not a prerequisite for manila)
| |
| − | $ 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.
| |