Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Log cleanup for VMListener : VM object not found #1489

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

pshahzeb
Copy link
Contributor

This PR cleanups up messy log described in #1457
Logging the exception as INFO with only logging fault message (since that's the main part).

The log now looks something like

06/27/17 17:20:23 276972 [VMChangeListener] [INFO   ] VMChangeListener: VM was powered down and then deleted right away.
Fault msg: The object 'vim.VirtualMachine:101' has already been deleted or has not been completely created

Fixes #1457

Testing:
test-esx passes locally

Ran 5 tests in 1.221s

OK
# ssh  -kTax -o StrictHostKeyChecking=no root@10.192.248.54 rm -rf /tmp/vmdk_ops_unittest643

// CC @msterin

Copy link
Contributor

@msterin msterin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this

Copy link
Contributor

@shaominchen shaominchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@pshahzeb pshahzeb merged commit 9f7018d into master Jun 27, 2017
shuklanirdesh82 pushed a commit that referenced this pull request Jun 29, 2017
[CI SKIP] Known issue doc.liping (#1475)

* Add known issue in README.md. [SKIP CI]

Adds Microsoft/go-winio vendor package (#1473)

This commit adds the Microsoft/go-winio vendor package, which will be used for implementing the npipe based Docker plugin for Windows.

Creates platform specific config and main modules (#1482)

This commit separates platform specific config and plugin serving code from the generic one. It will aid development of the Windows plugin.

* Extracts unix sock service from main.go into main_linux.go.
* Moves linux specific config from config.go into config_linux.go.
* Renames config_test.go to config_linux_test.go.

Adding a test for delete/recreate default vm group & fix cleanup in vmdk_ops_test.py (#1381)

Log cleanup for VMListener : VM object not found (#1489)

Update CONTRIBUTING.md

Refreshing test setup requirement and bring contributing.md to current.

[SKIP CI] Addressing Sam's comment

revamping contributing.md

Addressing Mark's comment

Update CONTRIBUTING.md
@pshahzeb pshahzeb deleted the issue_1457.pshahzeb branch June 30, 2017 03:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants