Ask Your Question
0

cinder-volume service is down

asked 2016-11-23 14:59:07 -0500

davidbolt gravatar image

cinder-volume service is down. I have been setting up my openstack environment for the Newton release following the documentation. My challenge is with getting the cinder-volume service to stay up and running. NTP is running (using chrony) and the cinder host is configured to synchronize with the controller. I have two disks on the node, sda and sdb. sda has normal partitioning that runs the underlying os (Ubuntu 16.04 LTS), sdb is configured as LVM with the volume group "cinder-volumes" with a size of 100GB. Any attempt to create a volume returns an error status (which is expected since cinder-volume service is not up).

Here's my cinder-volume log: /var/log/cinder/cinder-volume.log

   432  2016-11-23 17:38:31.199 1431 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
   433  2016-11-23 17:38:31.384 1431 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
   434  2016-11-23 17:38:31.477 1431 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
   435  2016-11-23 17:38:31.553 1431 WARNING py.warnings [req-0a43a43f-e810-4699-814f-fef6019b5a29 - - - - -] /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
   436    exception.NotSupportedWarning
   437
   438  2016-11-23 17:38:31.759 1431 INFO cinder.rpc [req-0a43a43f-e810-4699-814f-fef6019b5a29 - - - - -] Automatically selected cinder-scheduler objects version 1.11 as minimum service version.
   439  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume [req-0a43a43f-e810-4699-814f-fef6019b5a29 - - - - -] Volume service cinder@lvm failed to start.
   440  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume Traceback (most recent call last):
   441  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 81, in main
   442  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume     binary='cinder-volume')
   443  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 268, in create
   444  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume     service_name=service_name)
   445  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 150, in __init__
   446  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume     *args, **kwargs)
   447  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in __init__
   448  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume     *args, **kwargs)
   449  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/manager.py", line 156, in __init__
   450  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume     self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI()
   451  2016-11-23 17:38:31.760 1431 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/rpc.py", line 188, in __init__
   452  2016-11-23 17:38 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-01-07 04:31:42 -0500

Post you /etc/cinder/cinder.conf out, I suspect your config file has incorrect parameter.

Jichen

edit flag offensive delete link more
0

answered 2016-12-01 02:49:42 -0500

davidbolt gravatar image

I saw a similar problem here https://bugs.launchpad.net/openstack-manuals/+bug/1582133 (https://bugs.launchpad.net/openstack-...). But the host OS was RHEL 7.2. The solution accepted was to install python-keystonemiddleware package. Will try this and update.

edit flag offensive delete link more

Comments

It turns out python-keystonemiddleware is already installed and this doesn't fix the problem

Could the problem be related to this error that stands out in the /var/log/cinder/cinder-volume log

CappedVersionUnknown: Unrecoverable Error: Versioned Objects in DB are capped to unknown version 1.11
davidbolt gravatar imagedavidbolt ( 2016-12-01 04:09:52 -0500 )edit

hello am having the same issue, did you reach a resolution, its so frustrating, there isnt enough posts on this. https://ask.openstack.org/en/question/100163/cinder-volume-cappedversionunknown/ (https://ask.openstack.org/en/question...)

messeiry gravatar imagemesseiry ( 2016-12-08 17:01:32 -0500 )edit

Hello, I have the same problem and I am still stuck on resolving this issue. the OS I am using is Centos7. Please update us if you have already resolved it. Thank you.

Hassan gravatar imageHassan ( 2016-12-13 16:11:52 -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-11-23 14:53:31 -0500

Seen: 284 times

Last updated: Dec 01 '16