cinder server node is down

asked 2016-12-05 06:06:00 -0500

rohan.joseph89 gravatar image

updated 2016-12-06 14:52:59 -0500

rbowen gravatar image

Hi ,

My cinder storage node is down. I have installed openstack newton. After installation of cinder-volume on block storage. I proceed with a restart command given below.It show's the status running for a second and then goes inactive/stopped state.

 service tgt restart
service cinder-volume restart

cinder-volume logs are below

2016-12-05 10:06:45.144 32696 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
2016-12-05 10:06:45.206 32696 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
2016-12-05 10:06:45.252 32696 WARNING py.warnings [req-58a488ad-2071-4c82-9a8e-61754158676f - - - - -] /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
  exception.NotSupportedWarning

2016-12-05 10:06:45.343 32696 INFO cinder.rpc [req-58a488ad-2071-4c82-9a8e-61754158676f - - - - -] Automatically selected cinder-scheduler objects version 1.11 as minimum service version.
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume [req-58a488ad-2071-4c82-9a8e-61754158676f - - - - -] Volume service ip-10-0-0-174@lvm failed to start.
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume Traceback (most recent call last):
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 81, in main
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     binary='cinder-volume')
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 268, in create
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     service_name=service_name)
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 150, in __init__
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     *args, **kwargs)
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in __init__
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     *args, **kwargs)
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/manager.py", line 156, in __init__
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI()
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/rpc.py", line 188, in __init__
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     serializer = base.CinderObjectSerializer(obj_version_cap)
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 412, in __init__
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume     raise exception.CappedVersionUnknown(version=version_cap)
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume CappedVersionUnknown: Unrecoverable Error: Versioned Objects in DB are capped to unknown version 1.11.
2016-12-05 10:06:45.343 32696 ERROR cinder.cmd.volume
2016-12-05 10:06:45.345 32696 ERROR cinder.cmd.volume [req-58a488ad-2071-4c82-9a8e-61754158676f - - - - -] No volume service(s) started successfully, terminating.
2016-12-05 10:06:46.273 32718 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward ...
(more)
edit retag flag offensive close merge delete

Comments

Please add

1. cinder.conf
2. vgs ( output)
3. pvs (output )
dbaxps gravatar imagedbaxps ( 2016-12-07 05:03:51 -0500 )edit

I have the same issue here is the vgs and pvs output PV VG Fmt Attr PSize PFree /dev/sda2 centos lvm2 a-- 507.75g 0 /dev/sdb cinder-volumes lvm2 a-- 1.09t 1.09t

Hassan gravatar imageHassan ( 2016-12-08 16:06:06 -0500 )edit

VG #PV #LV #SN Attr VSize VFree centos 1 2 0 wz--n- 507.75g 0 cinder-volumes 1 0 0 wz--n- 1.09t 1.09t

Hassan gravatar imageHassan ( 2016-12-08 16:06:22 -0500 )edit