contrail-database-nodemgr in failed state after provision with ssl

Bug #1796152 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
R3.2
New
Medium
Nagendra Prasath

Bug Description

Seen in R3.2-82 kilo, contrail-database-nodemgr in failed state on multiple cfgs nodes of the cluster provisioned with apiserver/discovery/keystone ssl. They became active after restart.

Traceback (most recent call last):
  File "/usr/bin/contrail-nodemgr", line 9, in <module>
    load_entry_point('nodemgr==0.1dev', 'console_scripts', 'contrail-nodemgr')()
  File "/usr/lib/python2.7/dist-packages/nodemgr/main.py", line 225, in main
    **dss_kwargs)
  File "/usr/lib/python2.7/dist-packages/nodemgr/database_nodemgr/database_event_manager.py", line 76, in __init__
    _disc = self.get_discovery_client()
  File "/usr/lib/python2.7/dist-packages/nodemgr/common/event_manager.py", line 154, in get_discovery_client
    **self.dss_kwargs)
  File "/usr/lib/python2.7/dist-packages/discoveryclient/client.py", line 278, in __init__
    if self.verify:
  File "/usr/lib/python2.7/dist-packages/discoveryclient/client.py", line 305, in verify
    self._verify = utils.getCertKeyCaBundle(certbundle, certs)
  File "/usr/lib/python2.7/dist-packages/cfgm_common/utils.py", line 152, in getCertKeyCaBundle
    if os.path.getmtime(cert) > bundle_mod_time:
  File "/usr/lib/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/etc/contrail/ssl/certs/contrail.pem'

Logs uploaded to /cs-shared/bugs/.

Tags: provisioning
wenqing liang (wliang)
no longer affects: juniperopenstack/trunk
no longer affects: juniperopenstack/trunk
Changed in juniperopenstack:
milestone: r3.2.13.0 → none
wenqing liang (wliang)
description: updated
Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.