Difference between revisions of "Obsolete:Manila/ManilaDevstack"
Line 1: | Line 1: | ||
− | == | + | == Steps == |
− | + | #Clone Devstack to the home directory of the VM | |
+ | #Enable Manila in local.conf file | ||
+ | #Run stack.sh from the ~/devstack directory | ||
− | = | + | === Ubuntu-16.04.1-server-amd64, Tested on Nov 11-23-2016 === |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Ubuntu-16.04.1-server-amd64, Tested on Nov 11-23-2016== | ||
git clone git://github.com/openstack-dev/devstack.git<br /> | git clone git://github.com/openstack-dev/devstack.git<br /> | ||
Line 86: | Line 22: | ||
manila service-list | manila service-list | ||
− | As of 11/30/2016, ssh login to share VM is | + | == Troubleshooting == |
− | https://bugs.launchpad.net/manila/+bug/1646135 | + | |
+ | 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 | edit the /etc/manila/manila.conf and add the following in [generic1] section | ||
service_instance_password = manila | service_instance_password = manila |
Revision as of 12:58, 5 December 2016
Steps
- Clone Devstack to the home directory of the VM
- Enable Manila in local.conf file
- 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