Ask Your Question
1

[Cinder] CappedVersionUnknown: Unrecoverable Error: Versioned Objects in DB are capped to unknown version 1.11.

asked 2016-12-08 16:00:52 -0500

Hassan gravatar image

I followed the installation guide http://docs.openstack.org/mitaka/install-guide-rdo/ (http://docs.openstack.org/mitaka/inst...) and got everything working as described except from cinder.

root [at] storage:~# tail -f /var/log/cinder/cinder-volume.log

2016-11-04 15:45:16.119 7260 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 aure release, so please use SIGUSR2 to generate reports. 2016-11-04 15:45:16.403 7260 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt 2016-11-04 15:45:16.531 7260 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt 2016-11-04 15:45:16.625 7260 WARNING py.warnings [req-b26e5a8d-0736-4568-a537-3a04778e5d14 - - - - -] /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuratoption(s) ['use_tpool'] not supported exception.NotSupportedWarning

2016-11-04 15:45:16.822 7260 INFO cinder.rpc [req-b26e5a8d-0736-4568-a537-3a04778e5d14 - - - - -] Automatically selected cinder-scheduler objects version 1.11 as minimum service version. 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume [req-b26e5a8d-0736-4568-a537-3a04778e5d14 - - - - -] Volume service storage0 [at] lv failed to start. 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume Traceback (most recent call last): 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 81, in main 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume binary='cinder-volume') 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 268, in create 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume service_name=service_name) 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 150, in __init__ 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume args, *kwargs) 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in __init__ 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume args, *kwargs) 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/manager.py", line 156, in __init__ 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI() 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/rpc.py", line 188, in __init__ 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume serializer = base.CinderObjectSerializer(obj_version_cap) 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 412, in __init__ 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume raise exception.CappedVersionUnknown(version=version_cap) 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume CappedVersionUnknown: Unrecoverable Error: Versioned Objects in DB are capped to unknown version 1.11. 2016-11-04 15:45:16.824 7260 ERROR cinder.cmd.volume 2016-11-04 15:45:16.832 7260 ERROR cinder.cmd.volume [req-b26e5a8d-0736-4568-a537-3a04778e5d14 - - - - -] No volume service(s) started successfully ...

(more)
edit retag flag offensive close merge delete

Comments

I am having the same issue. My cinder log on block storage has the same errors, and my cinder log on controller node says, "Manager for service cinder-volume is reporting problems, not sending heartbeat. Service will appear down."

kaleem gravatar imagekaleem ( 2016-12-16 18:37:52 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-01-01 14:49:10 -0500

bandicoot gravatar image

I had what looks like the exact same issue also. My root cause was because I built my cinder node later, and missed part of the documentation flow. I did not do the "Install OpenStack Packages" step. Ubuntu and OpenStack each have different OpenStack versions in their repos.

This left me with a cinder-api version on the controller that was different from the cinder-volume version on the storage node.

On controller run "cinder-api --version"

On storage run "cinder-volume --version"

I ran the "Install OpenStack Packages" steps after the fact, and "openstack volume service list" shows correct output.

I created a volume as per docs and "openstack volume list" shows correct output.

edit flag offensive delete link more

Comments

Hi , I think I have the same problem on controller I have the version 9.1.4 of the cinder-api and scheduler and on storage node I have version 11.1.1 how I can fix this please any help !!!

raniaadouni gravatar imageraniaadouni ( 2018-07-30 16:32:23 -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

Stats

Asked: 2016-12-08 16:00:52 -0500

Seen: 991 times

Last updated: Dec 08 '16