|
|
这种问题解决方法:, `+ {9 |; ]; ?$ W# s; c
修改配置文件:
( ]. @6 E; m2 O' Z% t& W( P vim /etc/sudoers.d/cinder
X4 ^3 U) P, m$ m6 c& @ Defaults:cinder !requiretty$ d! S$ B; [( E. w5 o
#cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *
7 u( R- }9 m# N( V5 W9 R) S$ w7 _ cinder ALL = (root) NOPASSWD: ALL
- F' q8 H, S! k1 l, V" q, p5 v
4 k: J( |4 F2 x1 M& s [Reason : some of the permission problem]# N7 v3 ]6 M( I/ D' d7 u4 S, i
please check your disk, Is there have any available space. by using below comment
$ H3 C8 v# p( |1 \
8 k- S6 e: n$ l2 @' Q! \5 q ----> df -sh& u6 C9 m/ ~; G0 k
after that create pv and vg* m, m v7 N, k
在创建pv和vg之后:& N5 U" c! H1 O# m0 z3 Z e$ J
" r1 Z" d8 ^! T( _7 h
Example :- w- U1 Y6 P/ y- ^" X2 X( \, q! R3 ^
列子:4 h# t' V* R/ O+ S) Y( L
pvcreate /dev/sdb1
% S) ?2 n, X# T3 n* R vgcreate cinder-volumes /dev/sdb1
* ]6 v6 I% v! N b" u then restart the required services. |
|