- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
这种问题解决方法:8 C' d& e! V3 Y0 t9 G
修改配置文件:) k) X5 V8 d; |
vim /etc/sudoers.d/cinder ! [2 o R. N, R) z' y
Defaults:cinder !requiretty
0 w3 A) ?8 n" X, `4 \ #cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *
% u# o2 f6 I |$ ` O" F' L- }" p cinder ALL = (root) NOPASSWD: ALL8 ~, }5 N2 x: w7 }- v. N
0 n9 d2 O/ p( A
[Reason : some of the permission problem]
' _" H2 P7 x! r% `/ B3 u% D please check your disk, Is there have any available space. by using below comment
+ u7 a6 s, S2 R( i" S# z# y+ E1 B$ s5 s. m @9 l4 B# ~- K9 y
----> df -sh
" X- ~4 c1 l# y# a# | after that create pv and vg
6 {, F( Y j# ~! t8 N" Q在创建pv和vg之后:
% l4 g$ b; r; B' X! l' K
: I0 w. r; k! {, t: D [ Example :
4 ^" o. D$ g: C5 u% F/ ~6 L列子:# p# M* \% v9 W
pvcreate /dev/sdb1! [ t6 H" A4 M, Q) V
vgcreate cinder-volumes /dev/sdb1
( U+ w4 t4 v$ B6 m then restart the required services. |
|