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

kamalakannan sanjeevan chirukamalakannan at gmail.com
Fri Nov 4 16:13:22 UTC 2016


Hi,

What is output of the following commands

Vgs
Pvs

Kamal

On 04-Nov-2016 9:20 pm, "Hendrick Enkel" <lists at webpfa.de> wrote:

> Hello everybody,
>
> I followed the installation guide for newton on Ubuntu 16.04.1 and got
> everything working as described except from cinder.
>
> After following the steps described at [1] and starting the services with
>
>
> > root at storage0:~# service tgt restart
> > root at storage0:~# service cinder-volume restart
>
>
> the cinder-volume.log gets filled with errors and "cinder service-list" on
> the controller node shows the service of storage0 as "down".
>
>
> > root at storage0:~# 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 lvm 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, terminating.
> > 2016-11-04 15:45:18.531 7281 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:18.772 7281 INFO root [-] Generating grammar tables
> from /usr/lib/python2.7/lib2to3/Grammar.txt
> > 2016-11-04 15:45:18.893 7281 INFO root [-] Generating grammar tables
> from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
> > 2016-11-04 15:45:18.990 7281 WARNING py.warnings
> [req-273a0fd1-2617-4251-9340-a69e8dbf5b86 - - - - -]
> /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241:
> NotSupportedWarning: Configuratoption(s) ['use_tpool'] not supported
> >   exception.NotSupportedWarning
>
>
> The second block, starting at 15:45:16.822 repeats all over again and
> again until the cinder-volume service gets stopped by me.
>
> > root at storage0:~# cat /etc/cinder/cinder.conf
> > [DEFAULT]
> > rootwrap_config = /etc/cinder/rootwrap.conf
> > api_paste_confg = /etc/cinder/api-paste.ini
> > iscsi_helper = tgtadm
> > volume_name_template = volume-%s
> > volume_group = cinder-volumes
> > verbose = True
> > auth_strategy = keystone
> > state_path = /var/lib/cinder
> > lock_path = /var/lock/cinder
> > volumes_dir = /var/lib/cinder/volumes
> > transport_url = rabbit://openstack:pw@controller
> > auth_strategy = keystone
> > my_ip = 10.0.0.31
> > enabled_backends = lvm
> > glance_api_servers = http://controller:9292
> >
> > [database]
> > connection = mysql+pymysql://cinder:pw@controller/cinder
> > [keystone_authtoken]
> > auth_uri = http://controller:5000
> > auth_url = http://controller:35357
> > memcached_servers = controller:11211
> > auth_type = password
> > project_domain_name = default
> > user_domain_name = default
> > project_name = service
> > username = cinder
> > password = pw
> >
> > [lvm]
> > volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
> > volume_group = cinder-volumes
> > iscsi_protocol = iscsi
> > iscsi_helper = tgtadm
> > [oslo_concurrency]
> > lock_path = /var/lib/cinder/tmp
>
>
> Can anybody point me into the right direction?
>
> Thank you very much!
>
>
> [1] http://docs.openstack.org/newton/install-guide-ubuntu/
> cinder-storage-install.html
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161104/5bc82b68/attachment.html>


More information about the Openstack mailing list