R3.0-vcenter- vm deletion creating an exception in vcenter pluggin

Bug #1534361 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Medium
Andra Cismaru
Trunk
Fix Committed
Medium
Andra Cismaru

Bug Description

Vcenter as compute setup- vm deltion from horizon creating exception in plugin

2016-01-14 14:51:09,538 - INFO [Thread-4:VCenterEventHandler@44] - ===============
2016-01-14 14:51:09,538 - INFO [Thread-4:VCenterEventHandler@45] -
Event Details follows:
2016-01-14 14:51:09,538 - INFO [Thread-4:VCenterEventHandler@47] -
----------
 Event ID: 216117
 Event: com.vmware.vim25.VmPoweredOffEvent
 FullFormattedMessage: d5b091e2-e307-4d68-bfb8-c89887013def on 10.84.14.7 in shaju-GE is powered off
----------

2016-01-14 14:51:09,538 - INFO [Thread-4:VCenterDB@598] - Found in cache <datacenter shaju-GE, vCenter https://10.84.22.104/sdk>.
2016-01-14 14:51:09,538 - INFO [Thread-4:VCenterDB@639] - Found in cache <dvs sec_dvswitch, datacenter shaju-GE, vCenter https://10.84.22.104/sdk>.
2016-01-14 14:51:09,548 - INFO [Thread-4:VCenterDB@749] - Found <host 10.84.14.7, datacenter shaju-GE, vCenter https://10.84.22.104/sdk>.
2016-01-14 14:51:09,556 - ERROR [Thread-4:VCenterDB@773] - Failed to retrieve <virtual machine d5b091e2-e307-4d68-bfb8-c89887013def, host 10.84.14.7, datacenter shaju-GE, vCenter https://10.84.22.104/sdk>.
2016-01-14 14:51:09,557 - ERROR [Thread-4:VCenterNotify@616] - Error in event handling, resync needed
2016-01-14 14:51:09,557 - ERROR [Thread-4:VCenterNotify@618] - java.rmi.RemoteException: Failed to retrieve <virtual machine d5b091e2-e307-4d68-bfb8-c89887013def, host 10.84.14.7, datacenter shaju-GE, vCenter https://10.84.22.104/sdk>.
        at net.juniper.contrail.vcenter.VCenterDB.getVmwareVirtualMachine(VCenterDB.java:774)
        at net.juniper.contrail.vcenter.VirtualMachineInfo.<init>(VirtualMachineInfo.java:78)
        at net.juniper.contrail.vcenter.VCenterEventHandler.handleVmUpdateEvent(VCenterEventHandler.java:85)
        at net.juniper.contrail.vcenter.VCenterEventHandler.handle(VCenterEventHandler.java:70)
        at net.juniper.contrail.vcenter.VCenterNotify.handleChanges(VCenterNotify.java:447)
        at net.juniper.contrail.vcenter.VCenterNotify.handleUpdate(VCenterNotify.java:355)
        at net.juniper.contrail.vcenter.VCenterNotify.run(VCenterNotify.java:607)
        at java.lang.Thread.run(Thread.java:745)

2016-01-14 14:51:09,558 - INFO [Thread-4:VncDB@157] - Checking if api-server is alive and kicking..
2016-01-14 14:51:09,558 - INFO [Thread-4:ApiConnectorImpl@231] - >> Request: GET, /projects
2016-01-14 14:51:09,563 - INFO [Thread-4:ApiConnectorImpl@257] - << Response Status: HTTP/1.1 200 OK
2016-01-14 14:51:09,565 - INFO [Thread-4:VncDB@172] - Api-server alive. Got the pulse..
2016-01-14 14:51:09,566 - INFO [Thread-4:VCenterDB@264] - ServiceInstance read timeout set to 30000
2016-01-14 14:51:09,767 - INFO [Thread-4:ApiConnectorImpl@231] - >> Request: GET, /virtual-networks
2016-01-14 14:51:09,771 - INFO [Thread-4:ApiConnectorImpl@257] - << Response Status: HTTP/1.1 200 OK
2016-01-14 14:51:09,773 - INFO [Thread-4:ApiConnectorImpl@231] - >> Request: GET, /virtual-network/9bc0f48d-952d-4490-bf51-e1d04cf37951
2016-01-14 14:51:09,777 - INFO [Thread-4:ApiConnectorImpl@257] - << Response Status: HTTP/1.1 200 OK

Tags: sanity vmware
shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16330
Submitter: Andra Cismaru (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16330
Committed: http://github.org/Juniper/contrail-vcenter-plugin/commit/22c60784a355cae29a61fb5437cb4c56ba698101
Submitter: Zuul
Branch: master

commit 22c60784a355cae29a61fb5437cb4c56ba698101
Author: Andra Cismaru <email address hidden>
Date: Fri Jan 15 14:47:37 2016 -0800

VM deletion causes exception in plugin

Change-Id: I5f73d20b6b891280b6b39c7d99b5d5c6d7547ade
Closes-Bug: #1534361

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.