cinder-volume-setup revision 2949
2605N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. 2605N/A# Licensed under the Apache License, Version 2.0 (the "License"); you may 2605N/A# not use this file except in compliance with the License. You may obtain 2605N/A# Unless required by applicable law or agreed to in writing, software 2605N/A# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 2605N/A# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 2605N/A# License for the specific language governing permissions and limitations 2605N/A """ retrieves the setting for 'zfs_volume_base' from Cinder's conf file in 2605N/A order to set it up properly for Cinder to use. 2605N/A # look to see if the dataset exists 2605N/A # the dataset doesn't exist, so go create it 2605N/A # set an ACL to all mountpoint access 2605N/A "A+user:cinder:add_subdirectory:allow", 2605N/A print "ACL creation for mountpoint access of "