jneo8 | Hi Watcher team,... (full message at <https://matrix.org/oftc/media/v1/media/download/AQxrMkw85N8c6ZKVAsJ8Px-MmM710lKoMpxlg8Yllka8COq2Fvi2QU-i7CIcrDTQXZSNmeXzcVWy3dx-dJGLoEJCeWGFIm8QAG1hdHJpeC5vcmcvcXl1TllleWxkWWRrUWlBQ2lLY1lHb2F5>) | 02:12 |
---|---|---|
sean-k-mooney | jneo8: it currently how its desgined yes, one thing that may be able to help is using nova notificatoin with watcher. watcher has the ablity to consome notificaiton but i have not had time to see if they cna be used today to refresh the cache | 03:50 |
jneo8 | I see, can I open an issue as follow up and we can discuss there? | 03:51 |
sean-k-mooney | am sure. the default interval is 1 hour. we are overriedign that in our downstream to i think 15mins initally until we get some expricne with the load that cretes | 03:54 |
sean-k-mooney | ya i set them to 900 seconds https://github.com/openstack-k8s-operators/watcher-operator/blob/main/templates/00-default.conf#L104-L111 | 03:55 |
sean-k-mooney | in ci we reduce ti 120 second but i dont think that would be reasonable to production | 03:55 |
sean-k-mooney | jneo8: its defintly on of the design choices that we need to revisit | 03:56 |
sean-k-mooney | jneo8: this is the current notifcaiotn code https://github.com/openstack/watcher/blob/035e6584c78e2b23a3afef8aaa1ff7696ab9f684/watcher/decision_engine/model/notification/nova.py#L252-L363 | 04:00 |
sean-k-mooney | that should update the chaced model when instnace are migrated and services are disabled | 04:01 |
sean-k-mooney | but only if you have enabel notifcaions in nova and configure watcher to consume them | 04:01 |
sean-k-mooney | i have nto had time to audit that code to ensure it still works however | 04:03 |
sean-k-mooney | jneo8: that shoudl do what you want in theory by updating the cache as the move operations complete rather then waiting for the perodic to run | 04:04 |
jneo8 | Thanks sean, very helpful instruction. | 05:39 |
jneo8 | I open an [issue](https://bugs.launchpad.net/watcher/+bug/2104220) as follow up. | 05:39 |
opendevreview | Joan F Gilabert proposed openstack/watcher master: Set number of decimal digits in efficacy indicator https://review.opendev.org/c/openstack/watcher/+/945199 | 09:45 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!