Jump to: navigation, search

Difference between revisions of "Manila/IcehouseDevstack"

Line 1: Line 1:
 
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.
  
# Clone devstack  
+
1. Clone devstack  
$ git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
+
 
# Clone manila  
+
$ git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
$ git clone https://github.com/openstack-dev/devstack.git
+
 
# Copy over the devstack files  
+
2. Clone manila  
$ cp manila/contrib/devstack/lib/manila devstack/lib/
+
 
$ cp manila/contrib/devstack/extras.d/70-manila.sh devstack/extras.d/
+
$ git clone https://github.com/openstack-dev/devstack.git
# Copy the sample local.conf into the root devstack directory
+
 
$ cd devstack; cp samples/local.conf .
+
3. Copy over the devstack files  
# Append local.conf to enable manila, neutron, and change the horizon repository and branch to the Manila-specific fork; you may want to uncomment the last four lines depending on your networking configuration
+
 
$ cat <<EOF >> local.conf
+
$ cp manila/contrib/devstack/lib/manila devstack/lib/
 +
$ cp manila/contrib/devstack/extras.d/70-manila.sh devstack/extras.d/
 +
 
 +
4. Copy the sample local.conf into the root devstack directory
 +
 
 +
$ cd devstack; cp samples/local.conf .
 +
 
 +
5. Append local.conf to enable manila, neutron, and change the horizon repository and branch to the Manila-specific fork; you may want to uncomment the last four lines depending on your networking configuration
 +
$ cat <<EOF >> local.conf
 
enable_service manila,m-api,m-sch,m-shr
 
enable_service manila,m-api,m-sch,m-shr
  
Line 27: Line 35:
 
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan
 
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan
 
SHARE_BACKING_FILE_SIZE=8G
 
SHARE_BACKING_FILE_SIZE=8G
\#FLOATING_RANGE=192.168.33.128/28
+
#FLOATING_RANGE=192.168.33.128/28
\#FLAT_INTERFACE=eth1
+
#FLAT_INTERFACE=eth1
\#PUBLIC_INTERFACE=eth1
+
#PUBLIC_INTERFACE=eth1
\#HOST_IP=192.168.33.20
+
#HOST_IP=192.168.33.20
  
 
EOF
 
EOF
  
 
#
 
#

Revision as of 21:39, 13 May 2014

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

1. Clone devstack

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

2. Clone manila

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

3. Copy over the devstack files

$ cp manila/contrib/devstack/lib/manila devstack/lib/
$ cp manila/contrib/devstack/extras.d/70-manila.sh devstack/extras.d/

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

$ cd devstack; cp samples/local.conf .

5. Append local.conf to enable manila, neutron, and change the horizon repository and branch to the Manila-specific fork; you may want to uncomment the last four lines depending on your networking configuration

$ cat <<EOF >> local.conf

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

HORIZON_REPO=https://github.com/NetApp/horizon.git HORIZON_BRANCH=manila

disable_service n-net enable_service q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron 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 SHARE_BACKING_FILE_SIZE=8G

  1. FLOATING_RANGE=192.168.33.128/28
  2. FLAT_INTERFACE=eth1
  3. PUBLIC_INTERFACE=eth1
  4. HOST_IP=192.168.33.20

EOF