Ask Your Question
0

Cinder-volume service is not able to run directly through systemctl start openstack-cinder-volume.service

asked 2016-06-08 02:19:23 -0500

rastogisac gravatar image

Dear All I am working on openstack deployment , and facing one critical issue related to cinder-volume service.

I am not able to to run this by , systemctl start openstack-cinder-volume.service target.service

through Once I use cinde-volume as a process, it work fine. exec /bin/sh -c "exec cinder-volume --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-volume.log" cinder

Please help on this.

edit retag flag offensive close merge delete

Comments

Installation method, error message? something that can point us to search the issue

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-06-08 02:41:10 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-08 03:40:42 -0500

rastogisac gravatar image

RHEL Manual - 3 node Configuration - Controller, Compute and Storage

Storage Cinde-volume log 2016-06-07 15:53:14.607 87630 ERROR cinder Traceback (most recent call last): 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/bin/cinder-volume", line 10, in <module> 2016-06-07 15:53:14.607 87630 ERROR cinder sys.exit(main()) 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 85, in main 2016-06-07 15:53:14.607 87630 ERROR cinder launcher.launch_service(server) 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 458, in launch_service 2016-06-07 15:53:14.607 87630 ERROR cinder self._start_child(wrap) 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 431, in _start_child 2016-06-07 15:53:14.607 87630 ERROR cinder if not _is_sighup_and_daemon(signo): 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 78, in _is_sighup_and_daemon 2016-06-07 15:53:14.607 87630 ERROR cinder return _is_daemon() 2016-06-07 15:53:14.607 87630 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 60, in _is_daemon 2016-06-07 15:53:14.607 87630 ERROR cinder is_daemon = os.getpgrp() != os.tcgetpgrp(sys.stdout.fileno()) 2016-06-07 15:53:14.607 87630 ERROR cinder OSError: [Errno 5] Input/output error 2016-06-07 15:53:14.607 87630 ERROR cinder 2016-06-07 15:53:14.609 87555 INFO oslo_service.service [req-bb703add-d42e-43cd-8dd2-70e6973e3bf3 - - - - -] Caught SIGHUP, stopping children 2016-06-07 15:53:14.610 87555 DEBUG oslo_concurrency.lockutils [req-bb703add-d42e-43cd-8dd2-70e6973e3bf3 - - - - -] Acquired semaphore "singleton_lock" lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:198 2016-06-07 15:53:14.610 87555 DEBUG oslo_concurrency.lockutils [req-bb703add-d42e-43cd-8dd2-70e6973e3bf3 - - - - -] Releasing semaphore "singleton_lock" lock /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:211 2016-06-07 15:53:14.611 87555 CRITICAL cinder [req-bb703add-d42e-43cd-8dd2-70e6973e3bf3 - - - - -] OSError: [Errno 5] Input/output error 2016-06-07 15:53:14.611 87555 ERROR cinder Traceback (most recent call last): 2016-06-07 15:53:14.611 87555 ERROR cinder File "/usr/bin/cinder-volume", line 10, in <module> 2016-06-07 15:53:14.611 87555 ERROR cinder sys.exit(main()) 2016-06-07 15:53:14.611 87555 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 97, in main 2016-06-07 15:53:14.611 87555 ERROR cinder launcher.wait() 2016-06-07 15:53:14.611 87555 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 518, in wait 2016-06-07 15:53:14.611 87555 ERROR cinder if not _is_sighup_and_daemon(self.sigcaught): 2016-06-07 15:53:14.611 87555 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 78, in _is_sighup_and_daemon 2016-06-07 15:53:14.611 87555 ERROR cinder return _is_daemon() 2016-06-07 15:53:14.611 87555 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 60, in _is_daemon 2016-06-07 15:53:14.611 87555 ERROR cinder is_daemon = os.getpgrp() != os.tcgetpgrp(sys.stdout.fileno()) 2016-06-07 15:53:14.611 87555 ERROR cinder OSError: [Errno 5 ... (more)

edit flag offensive delete link more

Comments

2016-06-07 15:53:14.605 87630 DEBUG oslo_concurrency.lockutils [-] Acquired semaphore "singleton_lock" lock /usr/lib/python 2.7/site-packages/oslo_concurrency/lockutils.py:198 2016-06-07 15:53:14.605 87630 DEBUG oslo_concurrency.lockutils [-] Releasing sem

rastogisac gravatar imagerastogisac ( 2016-06-08 03:42:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-06-08 02:19:23 -0500

Seen: 292 times

Last updated: Jun 08 '16