<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We solved the timestamp bug. There are two patches for master [1] and stable/rocky [2]. </blockquote><div> </div><div>I applied the patch and checked it worked well.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Looking at the logs, I see two issues:<br>1. On ubuntu server, you get a notification about the vm deletion, while on compute1 you don't get it. <br>Please make sure that Nova sends notifications to 'vitrage_notifications' - it should be configured in /etc/nova/nova.conf.<br>2. Once in 10 minutes (by default) nova.instance datasource queries all instances. The deleted vm is supposed to be deleted in Vitrage at this stage, even if the notification was lost. <br>Please check in your collector log for the a message of "<span style="font-family:Calibri;font-size:11pt">novaclient.v2.client [-] RESP BODY</span>" before and after the deletion, and send me its content. </blockquote><div><br></div><div> I attached two log files. I created a VM in computer1 which is a computer node and deleted it a few minutes later. Log for 30 minutes from VM creation.</div><div>The first is the log of the vitrage-collect that grep instance name.</div><div>The second is the noovaclient.v2.clinet [-] RESP BODY log.</div><div>After I deleted the VM, no log of the instance appeared in the collector log no matter how long I waited.<br></div><div><br></div><div>I added the following to Nova.conf on the computer1 node.(attached file 'compute_node_local_conf.txt')<br></div><div><div>notification_topics = notifications,vitrage_notifications</div><div>notification_driver = messagingv2</div><div>vif_plugging_timeout = 300</div></div><div><div>notify_on_state_change = vm_and_task_state</div><div>instance_usage_audit_period = hour</div><div>instance_usage_audit = True</div></div><div><br></div><div>However, the problem has not been resolved.</div><div>I tried to test Vitrage for prometheus alarm recognition problems and for problems where instances of multinode do not disappear from Entity-graph, but I have not yet found the cause.<br></div><div><br></div><div>Br,</div><div>Won</div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">2018년 11월 8일 (목) 오후 8:47, Ifat Afek <<a href="mailto:ifatafekn@gmail.com">ifatafekn@gmail.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>We solved the timestamp bug. There are two patches for master [1] and stable/rocky [2].</div><div>I'll check the other issues next week.</div><div><br></div><div>Regards,</div><div>Ifat</div><div><br></div><div>[1] <a href="https://review.openstack.org/#/c/616468/" target="_blank">https://review.openstack.org/#/c/616468/</a> </div><div>[2] <a href="https://review.openstack.org/#/c/616469/" target="_blank">https://review.openstack.org/#/c/616469/</a></div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018 at 10:59 AM Won <<a href="mailto:wjstk16@gmail.com" target="_blank">wjstk16@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div> </div><div><img src="cid:ii_jno98j6l0" alt="image.png" style="margin-right:0px" width="1133" height="110"><br></div></div><div>The time stamp is recorded well in log(vitrage-graph,collect etc), but in vitrage-dashboard it is marked 2001-01-01.</div><div>However, it seems that the time stamp is recognized well internally because the alarm can be resolved and is recorded well in log.</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div></blockquote></div></blockquote><div><br></div><div><br></div></div></div></div></div>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>