framework icon indicating copy to clipboard operation
framework copied to clipboard

Refresh package information does unneccesary loading

Open JeffreyDevloo opened this issue 6 years ago • 1 comments

Observed on Nuvolat:

2019-04-04 07:30:00 85500 -0400 - NY1SRV0002 - 37325/140295038162688 - lib/ensure single - 0 - INFO - New task ovs.generic.refresh_package_information with default params scheduled for execution
2019-04-04 07:30:00 85900 -0400 - NY1SRV0002 - 37325/140295038162688 - lib/generic tasks - 1 - INFO - Updating package information
2019-04-04 07:30:01 08900 -0400 - NY1SRV0002 - 37325/140295038162688 - lib/statsmonkey - 2 - INFO - Send data task scheduling started
2019-04-04 07:30:01 69700 -0400 - NY1SRV0002 - 37325/140295038162688 - lib/statsmonkey - 3 - INFO - Send data task scheduling started
....

Looks like its coming from the loop: https://github.com/openvstorage/framework/blob/develop/ovs/lib/generic.py#L306

Hooks are fetched from the local files, it shouldn't be executed for every storagerouter

JeffreyDevloo avatar Apr 04 '19 15:04 JeffreyDevloo

Fixed by

https://github.com/openvstorage/framework/pull/2288 openvstorage_2.13.6-dev.1556022010.a23be21

sjovdnbos avatar Apr 15 '19 13:04 sjovdnbos