Wednesday, 2018-08-08

*** masahito has joined #openstack-blazar01:07
*** openstackgerrit has joined #openstack-blazar03:09
openstackgerritMerged openstack/python-blazarclient master: Fix lease creation when start date is not provided  https://review.openstack.org/58663103:09
*** tetsuro has joined #openstack-blazar04:18
neha_aPriteau: Hi, If I want to extend the end date of lesae created then I will update the end-date using blazar-update api, right?04:24
masahitoneha_a: do you want to expand end_date of existing leases? if so, you're right.04:28
neha_amasahito: yes04:30
neha_amasahito:  If I create a lease-1 and lesae-2 with full memory_mb reservation, with different start date and end date, and then If I update lease-1 end-date which will clashes with start-date and end-date of lease-2, but still it updates lease-1 sucessfully04:33
masahitoneha_a: That sounds strange. The current implementation doesn't support memory overcommitment.04:39
neha_amasahito: Can you please refer: http://paste.openstack.org/show/727594/04:39
neha_amasahito: IMO it should not allow me to update lease-1 as its already reserved by lesae-204:40
masahitoHow many computehost do you have?04:40
neha_amasahito: one comptehost04:41
masahitoRight. The request should be denied.04:41
neha_amasahito: yes04:42
masahitoumm... Looks I hit same issue.04:49
masahitoI'll dig into the issue later.04:50
neha_amasahito: Also tried to update memory_mb greater than the available capacity for any lease. It is updating successfully.05:09
openstackgerritMasahito Muroi proposed openstack/blazar master: Set username to initialize PhysicalHostMonitorPlugin  https://review.openstack.org/58970505:19
openstackgerritMasahito Muroi proposed openstack/blazar master: Catch any exception happening in call_monitor_plugin()  https://review.openstack.org/58970605:19
*** masahito has quit IRC06:03
*** nicolasbock has joined #openstack-blazar06:03
*** masahito has joined #openstack-blazar07:31
*** tetsuro_ has joined #openstack-blazar08:06
*** tetsuro has quit IRC08:07
*** tetsuro_ has quit IRC08:41
*** priteau has quit IRC09:45
*** priteau has joined #openstack-blazar09:45
neha_apriteau: Hi, can you help me to understand how to update the disk_gb of the lease?09:54
neha_apriteau: i mean local_gb09:57
neha_apriteau: I got it..10:01
openstackgerritMasahito Muroi proposed openstack/blazar master: Check number of replaced host in update_reservation  https://review.openstack.org/58982410:04
masahitoneha_a: hi, I push the fix to the issue you hit. I think this issue has happened since Queens release. I will backport it to stable/queens once the patch is merged.10:06
masahitoBlazar internally pulls computehost info, e.g. local_disk, from Nova API. The admin can't update it manually.10:08
openstackgerritMasahito Muroi proposed openstack/blazar master: Set username to initialize PhysicalHostMonitorPlugin  https://review.openstack.org/58970510:11
openstackgerritMasahito Muroi proposed openstack/blazar master: Catch any exception happening in call_monitor_plugin()  https://review.openstack.org/58970610:11
neha_amasahito: yes10:13
neha_amasahito: If I apply this patch now and then If I check, then it will not allow me update lease-1 for the scenario discussed in morning, right?10:14
masahitoI hope so. I can reproduce the same issue and the issue is fixed by https://review.openstack.org/589824.10:16
*** tonyb has quit IRC10:16
neha_amasahito: thanks10:16
neha_amasahito: will check and let you know10:17
masahitoneha_a: This patch is still under the review. So please care to apply the patch into a production if you're testing for production.10:18
neha_amasahito: yes10:19
*** tonyb has joined #openstack-blazar10:23
*** masahito has quit IRC10:37
openstackgerritPierre Riteau proposed openstack/blazar-tempest-plugin master: Test when a lease starts at the same time another ends  https://review.openstack.org/58984011:00
*** masahito has joined #openstack-blazar11:29
openstackgerritMasahito Muroi proposed openstack/blazar master: Add some release notes for Rocky release  https://review.openstack.org/58986612:14
neha_amasahito: Hi, Applied patch:https://review.openstack.org/589824 and then tested its working now..thanks12:31
masahitoneha_a: Good to hear!  I asked other core team to review the patch. I hope the fix goes in Rocky.12:33
masahitos/core team/ core members/12:33
neha_amasahito: ok12:54
neha_amasahito: I have reported one bug: https://bugs.launchpad.net/blazar/+bug/178601412:56
openstackLaunchpad bug 1786014 in Blazar "Lease update api wrongly succeeds " [Undecided,New]12:56
masahitoah, I've reported a bug, too. https://bugs.launchpad.net/blazar/+bug/178600712:57
openstackLaunchpad bug 1786007 in Blazar "Instance reservation update wrongly succeeds" [High,In progress] - Assigned to Masahito Muroi (muroi-masahito)12:57
masahitoYour case is also fixed the patch?12:57
masahitoAnyway, thanks to report it!12:58
neha_amasahito: Hi, I have tested scenarios mentioned in bug, after applying your patch13:00
neha_amasahito: it gives: {"error_name": 500, "error_message": "Not enough hosts available", "error_code": 500}13:00
neha_amsahito: internal server error13:00
masahitoThe lease status goes ERROR, doesn't it?13:01
masahitoThe 500 response code is wrong number, so please ignore the number itself. But in reality nothing is updated internally.13:04
openstackgerritPierre Riteau proposed openstack/python-blazarclient master: Fix exception message when there are leases with the same name  https://review.openstack.org/58988313:04
masahitoI noticed the status handling error in the update lease API.13:04
neha_amasahito: yes, nothing is updated internally13:05
masahitoI reported the bug https://bugs.launchpad.net/blazar/+bug/1786031 . There is a workaround so I can't sure the bug is fixed in RC1 or first official release. But we should fix the bug early Stein cycle.13:06
openstackLaunchpad bug 1786031 in Blazar "Any type of bad update lease request causes lease ERROR status" [Medium,New]13:06
neha_amasahito: ok13:07
openstackgerritMasahito Muroi proposed openstack/blazar master: Add some release notes for Rocky release  https://review.openstack.org/58986613:15
*** masahito has quit IRC13:20
*** masahito has joined #openstack-blazar13:21
openstackgerritPierre Riteau proposed openstack/blazar-tempest-plugin master: Test when a lease starts at the same time another ends  https://review.openstack.org/58984013:22
*** masahito has quit IRC13:25
openstackgerritPierre Riteau proposed openstack/blazar master: Allow leases to transition to ERROR status if start_lease fails  https://review.openstack.org/58989813:35
openstackgerritPierre Riteau proposed openstack/blazar master: Prevent conflicting events from running concurrently  https://review.openstack.org/58989913:35
*** masahito has joined #openstack-blazar13:43
*** masahito has quit IRC13:47
*** masahito has joined #openstack-blazar14:16
*** masahito has quit IRC14:17
openstackgerritPierre Riteau proposed openstack/blazar-tempest-plugin master: Test when a lease starts at the same time another ends  https://review.openstack.org/58984014:45
*** priteau has quit IRC14:53
*** priteau has joined #openstack-blazar15:04
openstackgerritPierre Riteau proposed openstack/blazar master: Continue running on_end() when instance deletion fails  https://review.openstack.org/58996916:35
openstackgerritPierre Riteau proposed openstack/blazar master: Set username when initializing PhysicalHostMonitorPlugin  https://review.openstack.org/58970516:50
openstackgerritPierre Riteau proposed openstack/blazar master: Catch any exception raised in call_monitor_plugin()  https://review.openstack.org/58970617:07
openstackgerritPierre Riteau proposed openstack/blazar master: Catch any exception raised in call_monitor_plugin()  https://review.openstack.org/58970617:08
openstackgerritPierre Riteau proposed openstack/blazar master: Add some release notes for Rocky release  https://review.openstack.org/58986617:40
*** priteau has quit IRC21:20
*** nicolasbock has quit IRC22:06
*** priteau has joined #openstack-blazar22:25

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!