34 lines
1.6 KiB
Org Mode
34 lines
1.6 KiB
Org Mode
Steps for installation and configuration of the manila:
|
|
* Installation
|
|
* Configuration
|
|
** DONE create user
|
|
openstack user create manila --password manila
|
|
openstack role add --user manila --project services admin
|
|
** DONE create service
|
|
openstack service create --name manila --description "OpenStack Shared Filesystems" share
|
|
openstack service create --name manilav2 --description "OpenStack Shared Filesystems" sharev2
|
|
** DONE create endpoint
|
|
root@node-1:~/manila# export adminurl=$(openstack endpoint show cinder| awk '/adminurl/ {print $4}'|cut -d':' -f2|sed s/'\/'//g)
|
|
root@node-1:~/manila# export internalurl=$(openstack endpoint show cinder| awk '/internalurl/ {print $4}'|cut -d':' -f2|sed s/'\/'//g)
|
|
root@node-1:~/manila# export publicurl=$(openstack endpoint show cinder| awk '/publicurl/ {print $4}'|cut -d':' -f2|sed s/'\/'//g)
|
|
root@node-1:~/manila# openstack endpoint create \
|
|
--region RegionOne \
|
|
--publicurl http://$publicurl:8786/v1/%\(tenant_id\)s \
|
|
--internalurl http://$internalurl:8786/v1/%\(tenant_id\)s \
|
|
--adminurl http://$adminurl:8786/v1/%\(tenant_id\)s \
|
|
share
|
|
root@node-1:~/manila# openstack endpoint create \
|
|
--region RegionOne \
|
|
--publicurl http://$publicurl:8786/v2/%\(tenant_id\)s \
|
|
--internalurl http://$internalurl:8786/v2/%\(tenant_id\)s \
|
|
--adminurl http://$adminurl:8786/v2/%\(tenant_id\)s \
|
|
sharev2
|
|
** TODO install manila
|
|
** TODO make /var/log and init files
|
|
** TODO edit config
|
|
** TODO do db staff
|
|
** TODO iptables
|
|
* Notest
|
|
** Receive the puppet-manila module when the plugin is bulded
|
|
** DONE How to generate password in puppet?
|