跳转到主内容

从 Snapshot 创建 Cinder 卷时出现权限错误

Views:
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

适用于

  • NetApp Cinder 驱动程序用于 OpenStack
  • Openstack Epoxy 版本
  • NFS 协议

问题描述

从快照创建 cinder 卷时,它会失败并显示以下错误:

YYYY-MM-DD hh:mm:ss INFO cinder.volume.flows.manager.create_volume [req-a1e1da69-cc42-445f-beb8-d68126db0857 None service] Volume xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz: being created as snap with specification: {'status': 'creating', 'volume_name': 'volume-xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz', 'volume_size': 500, 'snapshot_id': 'trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy'}
YYYY-MM-DD hh:mm:ss ERROR cinder.volume.drivers.netapp.dataontap.nfs_base [req-xx... None service] Exception creating volume xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz from source snapshot-trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy on share XX.YY.ZZ.XX:/svm_mount_point.: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
Command: chmod 660 /opt/mnt/.../volume-xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz
Exit code: 1
Stdout: ''
Stderr: "chmod: changing permissions of '/opt/mnt/.../volume-xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz': Operation not permitted\n"

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.