Jump to: navigation, search

Obsolete:Manila/ManilaDevstack

Revision as of 12:58, 5 December 2016 by Vkmc (talk | contribs)

Steps

  1. Clone Devstack to the home directory of the VM
  2. Enable Manila in local.conf file
  3. Run stack.sh from the ~/devstack directory

Ubuntu-16.04.1-server-amd64, Tested on Nov 11-23-2016

git clone git://github.com/openstack-dev/devstack.git
Create stack user by running

   sudo devstack/tools/create-stack-user.sh

Change stack user password if needed

   sudo passwd stack

Login as stack

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

You should have /opt/stack/devstack

   cd to devstack

vi local.conf and add the following to the file

   enable_plugin manila https://github.com/openstack/manila

run ./stack.sh
Once stack is up, you can verify by

   manila service-list

Troubleshooting

As of 11/30/2016, ssh login to share VM is broken https://bugs.launchpad.net/manila/+bug/1646135

Workaroundː edit the /etc/manila/manila.conf and add the following in [generic1] section

   service_instance_password = manila

and comment following lines

   #path_to_private_key = /home/manila/.ssh/id_rsa
   #path_to_public_key = /home/manila/.ssh/id_rsa.pub

Test

   neutron net-list
   neutron subnet-list
   manila share-network-create --neutron-net-id <PRIVATE_NET_ID> --neutron-subnet-id <PRIVATE_SUBNET_ID> --name manila_share
   manila share-network-list
   manila create --name devstack_share --share-network <SHARE_NET_ID> NFS 1
   manila list