Upgrade R2.02#64 to R2.21#103 - LBaaS VM name change doesn't take effect

Bug #1512889 reported by Jeba Paulaiyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Rudra Rugge
R2.20.x
Fix Committed
High
Rudra Rugge
R2.21.x
Fix Committed
High
Rudra Rugge
R3.0
Fix Committed
High
Rudra Rugge
R3.1
Fix Committed
High
Rudra Rugge
Trunk
Fix Committed
High
Rudra Rugge

Bug Description

After upgrade from R2.02#64 to R2.21#103, LBaaS VM name does not get changed to the latest scheme. Due to this, service monitor throws following traceback.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bottle.py", line 856, in _handle
    return route.call(**args)
  File "/usr/lib/python2.7/dist-packages/bottle.py", line 1721, in wrapper
    rv = callback(*a, **ka)
  File "/usr/lib/python2.7/dist-packages/pysandesh/sandesh_http.py", line 252, in _http_handle_request
    return method(self._sandesh)
  File "/usr/lib/python2.7/dist-packages/svc_monitor/sandesh/svc_mon_introspect/ttypes.py", line 443, in handle_http_request
    handle_req_fn(sandesh_req)
  File "/usr/lib/python2.7/dist-packages/svc_monitor/logger.py", line 140, in sandesh_si_handle_request
    if vm.index < len(si.local_preference):
AttributeError: 'VirtualMachineSM' object has no attribute 'index'

Tags: lbaas
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

Review in progress for https://review.opencontrail.org/14838
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/14837
Committed: http://github.org/Juniper/contrail-controller/commit/c75c82e83cee5e753c1ecf56dad34e337a89d71e
Submitter: Zuul
Branch: R2.21.x

commit c75c82e83cee5e753c1ecf56dad34e337a89d71e
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 3 16:43:26 2015 -0800

LBAAS upgrade from 2.0 to 2.2+

Service instance naming for lbaas virtual-machines and related
virtual-machine-interfaces has changed between the releases. The
fix relaunches the vm with new vmis to the new scheme.

Change-Id: I69ee0ba2719e71b4541ff16a90f08abccfa7ce9e
Closes-Bug: #1512889

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

Reviewed: https://review.opencontrail.org/14838
Committed: http://github.org/Juniper/contrail-controller/commit/425358393ea721d2cb645f27e0219c1494c535e2
Submitter: Zuul
Branch: R2.20.x

commit 425358393ea721d2cb645f27e0219c1494c535e2
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 3 16:43:26 2015 -0800

LBAAS upgrade from 2.0 to 2.2+

Service instance naming for lbaas virtual-machines and related
virtual-machine-interfaces has changed between the releases. The
fix relaunches the vm with new vmis to the new scheme.

Change-Id: I69ee0ba2719e71b4541ff16a90f08abccfa7ce9e
Closes-Bug: #1512889

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

Review in progress for https://review.opencontrail.org/14835
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/14836
Committed: http://github.org/Juniper/contrail-controller/commit/445cfaa1c1fe0f45a0ba80b074a9843a26a47159
Submitter: Zuul
Branch: R2.20

commit 445cfaa1c1fe0f45a0ba80b074a9843a26a47159
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 3 16:43:26 2015 -0800

LBAAS upgrade from 2.0 to 2.2+

Service instance naming for lbaas virtual-machines and related
virtual-machine-interfaces has changed between the releases. The
fix relaunches the vm with new vmis to the new scheme.

Change-Id: I69ee0ba2719e71b4541ff16a90f08abccfa7ce9e
Closes-Bug: #1512889

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

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

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

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

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

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

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

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

Review in progress for https://review.opencontrail.org/14835
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/14903
Committed: http://github.org/Juniper/contrail-controller/commit/ae586bbb52ccf5471f46bdf1e47044f28352fabf
Submitter: Zuul
Branch: R2.20.x

commit ae586bbb52ccf5471f46bdf1e47044f28352fabf
Author: Rudra Rugge <email address hidden>
Date: Thu Nov 5 11:02:15 2015 -0800

VM service upgrade from 2.0 to 2.2+

Service instance of VM types need the project for nova
client calls. This was missed for the virtual-machine
service instance case.

Change-Id: I74d273d952b22007acf758e3498b884b962793f6
Closes-Bug: #1512889

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

Reviewed: https://review.opencontrail.org/14904
Committed: http://github.org/Juniper/contrail-controller/commit/51922992d27fdfdb2b342281ca7e77a5d6e228f2
Submitter: Zuul
Branch: R2.21.x

commit 51922992d27fdfdb2b342281ca7e77a5d6e228f2
Author: Rudra Rugge <email address hidden>
Date: Thu Nov 5 11:02:15 2015 -0800

VM service upgrade from 2.0 to 2.2+

Service instance of VM types need the project for nova
client calls. This was missed for the virtual-machine
service instance case.

Change-Id: I74d273d952b22007acf758e3498b884b962793f6
Closes-Bug: #1512889

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

Review in progress for https://review.opencontrail.org/14835
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/14902
Committed: http://github.org/Juniper/contrail-controller/commit/33e7d1a5bccf7ab36458033b1fdd5a3129cbea2e
Submitter: Zuul
Branch: R2.20

commit 33e7d1a5bccf7ab36458033b1fdd5a3129cbea2e
Author: Rudra Rugge <email address hidden>
Date: Thu Nov 5 11:02:15 2015 -0800

VM service upgrade from 2.0 to 2.2+

Service instance of VM types need the project for nova
client calls. This was missed for the virtual-machine
service instance case.

Change-Id: I74d273d952b22007acf758e3498b884b962793f6
Closes-Bug: #1512889

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

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

commit 7ff3533344c031d2ca5ab5dfdd379aa2453695bf
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 3 16:43:26 2015 -0800

LBAAS upgrade from 2.0 to 2.2+

Service instance naming for lbaas virtual-machines and related
virtual-machine-interfaces has changed between the releases. The
fix relaunches the vm with new vmis to the new scheme.

Change-Id: I69ee0ba2719e71b4541ff16a90f08abccfa7ce9e
Closes-Bug: #1512889

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

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

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

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

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

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

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

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

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

Review in progress for https://review.opencontrail.org/15030
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/15030
Committed: http://github.org/Juniper/contrail-controller/commit/d98ea06453f3510305c5f94416995587059ab553
Submitter: Zuul
Branch: master

commit d98ea06453f3510305c5f94416995587059ab553
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 10 14:48:34 2015 -0800

LBAAS service upgrade from 2.0 to 2.2+

Loadbalancer service upgrade needs to handle the case when
floating-ip is assigned to the VIP. Also ensure that fip
reference is dropped when cleaning up the service vm ports.

Change-Id: I3fcc689dc33ebc85fe4b5c73010ad92615e834c6
Closes-Bug: #1512889

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

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

commit 6ab1847ee683734000637add3e52b7b91da28cff
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 10 12:07:53 2015 -0800

LBAAS service upgrade from 2.0 to 2.2+

Loadbalancer service upgrade needs to handle the case when
floating-ip is assigned to the VIP. Also ensure that fip
reference is dropped when cleaning up the service vm ports.

Change-Id: I0781c72a2b035796075c942f720e62442be8961f
Closes-Bug: #1512889

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

Reviewed: https://review.opencontrail.org/15026
Committed: http://github.org/Juniper/contrail-controller/commit/ec8e53aa55510ff5a2b7cf4210da283bdb6f25b1
Submitter: Zuul
Branch: R2.21.x

commit ec8e53aa55510ff5a2b7cf4210da283bdb6f25b1
Author: Rudra Rugge <email address hidden>
Date: Tue Nov 10 12:07:53 2015 -0800

LBAAS service upgrade from 2.0 to 2.2+

Loadbalancer service upgrade needs to handle the case when
floating-ip is assigned to the VIP. Also ensure that fip
reference is dropped when cleaning up the service vm ports.

Change-Id: I0781c72a2b035796075c942f720e62442be8961f
Closes-Bug: #1512889

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

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.