Skip to content

Commit

Permalink
ip address of cinder server to set in /etc/cinder/nfs_shares file
Browse files Browse the repository at this point in the history
  • Loading branch information
ContinUSE committed Jul 17, 2015
1 parent c20aae7 commit ecb143e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README-Cinder-Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $ cinder list
| a95632b5-15cf-4ff1-b568-dda0f52190d3 | in-use | disk01 | 1 | None | false | d0e3ee9b-220d-47ae-8616-e7ccd55ec885 |
+--------------------------------------+-----------+--------+------+-------------+----------+--------------------------------------+
root@controller:/continuse/script# nova volume-attach demo01 47629300-da8d-4633-9680-9090b5e2c450 auto
$ nova volume-attach demo01 47629300-da8d-4633-9680-9090b5e2c450 auto
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docker-files/kilo/cinder/config/cinder/nfs_shares
Original file line number Diff line number Diff line change
@@ -1 +1 @@
192.168.10.51:/storage
MYIPADDR:/storage
3 changes: 2 additions & 1 deletion docker-files/kilo/cinder/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ sed -i "s/MYIPADDR/$MYIPADDR/g" $CINDER_CONF
sed -i "s/ADMIN_TENANT_NAME/$ADMIN_TENANT_NAME/g" $CINDER_CONF
sed -i "s/controller/$controller/g" $CINDER_CONF

sed -i "s/MYIPADDR/$MYIPADDR/g" /etc/cinder/nfs_shares

chown nobody:nogroup /storage
chmod 777 /storage
#chown cinder:cinder /storage

service rpcbind start
service nfs-kernel-server start
Expand Down

0 comments on commit ecb143e

Please sign in to comment.