R2.20 upgrade : after upgrade "contrail-vrouter-nodemgr” is in “EXITED” state

Bug #1453985 reported by Shweta Naik
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Critical
Rudra Rugge
Trunk
Fix Committed
High
Rudra Rugge

Bug Description

Upgrade from R2.11(build 55) to R2.20(build 16)
Ubuntu 14.04:

in compute node:
root@a5s198:~# contrail-status
== Contrail vRouter ==
supervisor-vrouter: active
contrail-vrouter-agent active
contrail-vrouter-nodemgr EXITED

root@a5s198:/var/log/contrail# vi contrail-vrouter-nodemgr-stderr.log
Sending UVE:NodeStatusUVE(_context='', _scope='', _category='', _send_queue_enabled=True, _seqnum=0, _versionsig=2778367443, _source='a5s198', _instance_id='0', _client=None, _type=6, _hints=1, _http_server=None, _logger=None, _more=False, _node_type='Compute', data=NodeStatus(status=None, name='a5s198', deleted=None, disk_usage_info=[DiskPartitionUsageStats(partition_space_available_1k=74687496, partition_space_used_1k=3122676, partition_name='/dev/mapper/a5s198--vg-root', partition_type='ext4'), DiskPartitionUsageStats(partition_space_available_1k=162171, partition_space_used_1k=66360, partition_name='/dev/sda1', partition_type='ext2')], process_status=None, all_core_file_list=None, _table='ObjectVRouter', process_info=None, description=None), _module='contrail-vrouter-nodemgr', _level=2147483647, _timestamp=1431379683159932, _client_context='', _connect_to_collector=True, _role=0)Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/nodemgr/VrouterNodemgr.py", line 162, in runforever
    lb_stats.send_loadbalancer_stats()
  File "/usr/lib/python2.7/dist-packages/nodemgr/LoadbalancerStats.py", line 50, in send_loadbalancer_stats
    _send_loadbalancer_uve(driver)
  File "/usr/lib/python2.7/dist-packages/nodemgr/LoadbalancerStats.py", line 35, in _send_loadbalancer_uve
    for pool_uuid in os.listdir(LB_BASE_DIR):
OSError: [Errno 2] No such file or directory: '/var/lib/contrail/loadbalancer/'
<Greenlet at 0x7fd4f626b550: <bound method VrouterEventManager.runforever of <nodemgr.VrouterNodemgr.VrouterEventManager object at 0x7fd4f6641350>>> failed with OSError

Tags: upgrade
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10202
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10203
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10202
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10203
Submitter: Rudra Rugge (<email address hidden>)

information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10203
Committed: http://github.org/Juniper/contrail-controller/commit/ba3590c598b359e3e43cf34d8aa6347563b40206
Submitter: Zuul
Branch: R2.20

commit ba3590c598b359e3e43cf34d8aa6347563b40206
Author: Rudra Rugge <email address hidden>
Date: Tue May 12 09:35:09 2015 -0700

Exception handling when no LBAAS configured

Add exception handling when LBAAS is not configured.
Set the configuration for stats socket in haproxy config file.

Change-Id: Id653b691db5e1ba27fe00bb0627a519977a369b0
Closes-Bug: #1453985

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10202
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10202
Committed: http://github.org/Juniper/contrail-controller/commit/cffbb9e51e1a00fe11684f13301b6c2c112716a6
Submitter: Zuul
Branch: master

commit cffbb9e51e1a00fe11684f13301b6c2c112716a6
Author: Rudra Rugge <email address hidden>
Date: Tue May 12 09:37:56 2015 -0700

Exception handling when no LBAAS configured

Add exception handling when LBAAS is not configured.

Change-Id: Id653b691db5e1ba27fe00bb0627a519977a369b0
Closes-Bug: #1453985

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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