启动cinder-volume报错:
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: DEBUG cinder.utils [None req-4a46ae35-037a-4195-88a1-76bdd69416c8 None None] Failed attempt 5 {
{(pid=5727) _print_stop /opt/stack/cinder/cinder/utils.py:802}}
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: DEBUG cinder.utils [None req-4a46ae35-037a-4195-88a1-76bdd69416c8 None None] Have been at this for 31.961 seconds {
{(pid=5727) _print_stop /opt/stack/cinder/cinder/utils.py:804}}
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: ERROR cinder.volume.manager [None req-4a46ae35-037a-4195-88a1-76bdd69416c8 None None] Failed to initialize driver.: ProcessExecutionError: Unexpected error while running command.
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -K stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: Exit code: 5
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: Stdout: u''
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: Stderr: u"File descriptor 16 (/dev/urandom) leaked on lvchange invocation. Parent PID 6303: /usr/bin/python\n WARNING: Device for PV WeE7pV-7sN7-oH2c-F2G0-B34y-zCo5-g5gvsZ not found or rejected by a filter.\n Couldn't find device with uuid WeE7pV-7sN7-oH2c-F2G0-B34y-zCo5-g5gvsZ.\n Refusing activation of partial LV stack-volumes-lvmdriver-1/stack-volumes-lvmdriver-1-pool. Use '--activationmode partial' to override.\n"
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: ERROR cinder.volume.manager Traceback (most recent call last):
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/manager.py", line 465, in _init_host
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]: ERROR cinder.volume.manager self.driver.check_for_setup_error()
Jul 22 10:56:28 localhost.localdomain cinder-volume[5678]