Creating cinder volume from image fails with:
2016-11-02 14:31:36.303 27 WARNING cinder.volume.manager [req-f66daa03-e5fa-42ba-9e66-d4f9326190c2 0459a5f334d746e3bc1218994b3ed857 619b0679d78146a2978f5626222fc267 - default default] Flow 'volume_create_manager' (18f1634b-e0a5-4685-8609-99c72717026b) transitioned into state 'REVERTED' from state 'RUNNING'
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server [req-f66daa03-e5fa-42ba-9e66-d4f9326190c2 0459a5f334d746e3bc1218994b3ed857 619b0679d78146a2978f5626222fc267 - default default] Exception during message handling
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 4366, in create_volume
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server allow_reschedule=allow_reschedule, volume=volume)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 634, in create_volume
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server _run_flow()
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 626, in _run_flow
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server flow_engine.run()
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 247, in run
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server for _state in self.run_iter(timeout=timeout):
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 340, in run_iter
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server failure.Failure.reraise_if_any(er_failures)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 336, in reraise_if_any
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server failures[0].reraise()
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 343, in reraise
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server six.reraise(*self._exc_info)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server result = task.execute(**arguments)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 842, in execute
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server **volume_spec)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 761, in _create_from_image
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server image_service, context, image_id) as tmp_image:
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server return self.gen.next()
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/image/image_utils.py", line 567, in fetch
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server fetch_verify_image(context, image_service, image_id, tmp)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/image/image_utils.py", line 215, in fetch_verify_image
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server data = qemu_img_info(dest, run_as_root=run_as_root)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/image/image_utils.py", line 78, in qemu_img_info
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server prlimit=QEMU_IMG_LIMITS)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 123, in execute
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server return processutils.execute(*cmd, **kwargs)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 389, in execute
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server cmd=sanitized_cmd)
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server ProcessExecutionError: Unexpected error while running command.
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server Command: /usr/bin/python -m oslo_concurrency.prlimit --as=1073741824 --cpu=2 -- sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C qemu-img info /var/lib/cinder/conversion/tmpPY83Qu
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server Exit code: 1
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server Stdout: u''
2016-11-02 14:31:36.304 27 ERROR oslo_messaging.rpc.server Stderr: u'sudo: no tty present and no askpass program specified\n'
could u provide more info?
kolla-build.conf file
globals.yml file.
seem it is sudoer issue.