|
|
这种问题解决方法:7 U/ I, {7 M: i, B
修改配置文件:
3 A: B; ^) F; F* ^3 L vim /etc/sudoers.d/cinder , y* N$ w* v0 G! m; e
Defaults:cinder !requiretty o r+ T" j8 s- o7 ~+ y8 B
#cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *
1 S$ Z0 V+ Z3 p6 ~3 ]" V cinder ALL = (root) NOPASSWD: ALL
0 P, L) W0 Z6 L% w& ~/ r
, D1 f& z9 X' N [Reason : some of the permission problem]
8 R) G/ [. j3 h( `1 b5 @ please check your disk, Is there have any available space. by using below comment) b% C- g% B" Z# s' b+ D
3 \$ A- e4 t0 G2 E! _: f5 j ----> df -sh* P1 I0 b! h( B$ _8 z( K: T D
after that create pv and vg
" j0 K0 n& q. ^7 b0 [在创建pv和vg之后: I) K; M z4 S- \; p* p" g; }
. _! f) O/ }5 M. B0 |' O6 u Example :4 v* j8 a+ U$ Y, k8 v2 I6 f- D
列子:
2 L+ R% D4 I$ ?2 I pvcreate /dev/sdb1
0 t. A3 c0 Q4 W+ T8 N D1 O vgcreate cinder-volumes /dev/sdb1
2 J4 L! e/ |% ~8 I then restart the required services. |
|