← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1629726] Re: recompiled pycparser 2.14 breaks Cinder db sync and Nova UTs

 

** Also affects: trove
   Importance: Undecided
       Status: New

** Changed in: trove
   Importance: Undecided => Critical

** Changed in: trove
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1629726

Title:
  recompiled pycparser 2.14 breaks Cinder db sync and Nova UTs

Status in Cinder:
  Confirmed
Status in heat:
  Confirmed
Status in Ironic:
  Confirmed
Status in Manila:
  Confirmed
Status in OpenStack Compute (nova):
  Confirmed
Status in OpenStack DBaaS (Trove):
  Confirmed

Bug description:
  http://logs.openstack.org/76/380876/1/check/gate-grenade-dsvm-ubuntu-
  xenial/3d5e102/logs/grenade.sh.txt.gz#_2016-10-02_23_32_34_069

  2016-10-02 23:32:34.069 | + lib/cinder:init_cinder:421               :   /usr/local/bin/cinder-manage --config-file /etc/cinder/cinder.conf db sync
  2016-10-02 23:32:34.691 | Traceback (most recent call last):
  2016-10-02 23:32:34.691 |   File "/usr/local/bin/cinder-manage", line 6, in <module>
  2016-10-02 23:32:34.691 |     from cinder.cmd.manage import main
  2016-10-02 23:32:34.691 |   File "/opt/stack/old/cinder/cinder/cmd/manage.py", line 77, in <module>
  2016-10-02 23:32:34.691 |     from cinder import db
  2016-10-02 23:32:34.691 |   File "/opt/stack/old/cinder/cinder/db/__init__.py", line 20, in <module>
  2016-10-02 23:32:34.691 |     from cinder.db.api import *  # noqa
  2016-10-02 23:32:34.691 |   File "/opt/stack/old/cinder/cinder/db/api.py", line 43, in <module>
  2016-10-02 23:32:34.691 |     from cinder.api import common
  2016-10-02 23:32:34.691 |   File "/opt/stack/old/cinder/cinder/api/common.py", line 30, in <module>
  2016-10-02 23:32:34.691 |     from cinder import utils
  2016-10-02 23:32:34.691 |   File "/opt/stack/old/cinder/cinder/utils.py", line 40, in <module>
  2016-10-02 23:32:34.691 |     from os_brick import encryptors
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/os_brick/encryptors/__init__.py", line 16, in <module>
  2016-10-02 23:32:34.691 |     from os_brick.encryptors import nop
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/os_brick/encryptors/nop.py", line 16, in <module>
  2016-10-02 23:32:34.691 |     from os_brick.encryptors import base
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/os_brick/encryptors/base.py", line 19, in <module>
  2016-10-02 23:32:34.691 |     from os_brick import executor
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/os_brick/executor.py", line 21, in <module>
  2016-10-02 23:32:34.691 |     from os_brick.privileged import rootwrap as priv_rootwrap
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/os_brick/privileged/__init__.py", line 13, in <module>
  2016-10-02 23:32:34.691 |     from oslo_privsep import capabilities as c
  2016-10-02 23:32:34.691 |   File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/capabilities.py", line 73, in <module>
  2016-10-02 23:32:34.691 |     ffi.cdef(CDEF)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 105, in cdef
  2016-10-02 23:32:34.692 |     self._cdef(csource, override=override, packed=packed)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 119, in _cdef
  2016-10-02 23:32:34.692 |     self._parser.parse(csource, override=override, **options)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/cparser.py", line 299, in parse
  2016-10-02 23:32:34.692 |     self._internal_parse(csource)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/cparser.py", line 304, in _internal_parse
  2016-10-02 23:32:34.692 |     ast, macros, csource = self._parse(csource)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/cparser.py", line 260, in _parse
  2016-10-02 23:32:34.692 |     ast = _get_parser().parse(csource)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/cffi/cparser.py", line 40, in _get_parser
  2016-10-02 23:32:34.692 |     _parser_cache = pycparser.CParser()
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/pycparser/c_parser.py", line 87, in __init__
  2016-10-02 23:32:34.692 |     outputdir=taboutputdir)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/pycparser/c_lexer.py", line 66, in build
  2016-10-02 23:32:34.692 |     self.lexer = lex.lex(object=self, **kwargs)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/pycparser/ply/lex.py", line 911, in lex
  2016-10-02 23:32:34.692 |     lexobj.readtab(lextab, ldict)
  2016-10-02 23:32:34.692 |   File "/usr/local/lib/python2.7/dist-packages/pycparser/ply/lex.py", line 233, in readtab
  2016-10-02 23:32:34.692 |     titem.append((re.compile(pat, lextab._lexreflags | re.VERBOSE), _names_to_funcs(func_name, fdict)))
  2016-10-02 23:32:34.692 |   File "/usr/lib/python2.7/re.py", line 194, in compile
  2016-10-02 23:32:34.692 |     return _compile(pattern, flags)
  2016-10-02 23:32:34.692 |   File "/usr/lib/python2.7/re.py", line 249, in _compile
  2016-10-02 23:32:34.692 |     p = sre_compile.compile(pattern, flags)
  2016-10-02 23:32:34.692 |   File "/usr/lib/python2.7/sre_compile.py", line 583, in compile
  2016-10-02 23:32:34.692 |     "sorry, but this version only supports 100 named groups"
  2016-10-02 23:32:34.692 | AssertionError: sorry, but this version only supports 100 named groups

  Looks like this is due to a newly recompiled version of pycparser 2.14
  as of Oct 2nd.

  The upstream issue is:

  https://github.com/eliben/pycparser/issues/147

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1629726/+subscriptions