|
|
这种问题解决方法:3 V3 m) M+ f7 N# K" m
修改配置文件:1 _5 f% c _# q- J+ J; X! p0 n) a6 o
vim /etc/sudoers.d/cinder # Z& e4 x, A& Q/ X
Defaults:cinder !requiretty
- \2 p: q3 R# u! T8 t/ L #cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *
8 \: R- [$ r" G( Z1 L b- K' c$ y: x% { cinder ALL = (root) NOPASSWD: ALL
7 S9 Y# W& Y/ n; s' q: q: ~
) H: I( M& [. ? [Reason : some of the permission problem]6 n6 e* A0 ]$ W* \3 W
please check your disk, Is there have any available space. by using below comment
, p/ Q5 G, E& F: A% Y& x0 h% m$ B4 g4 T& J
----> df -sh% v( ^* q: m" U/ l
after that create pv and vg, s; _: V$ ^8 U, V" x/ O( M7 i' k- e
在创建pv和vg之后:
4 P$ L1 c: i! n0 X. s- {' G/ Q1 Y
6 s3 d" Y! z8 ~ Example :
2 T9 l5 y @ E" t/ g: n" a列子:3 p& b3 D" P/ f
pvcreate /dev/sdb1
. `, T- I/ a9 y2 | vgcreate cinder-volumes /dev/sdb1
. O/ v7 q# _, `" ?" s! O# z5 n9 n then restart the required services. |
|