Monday, 2017-08-07

*** hiro-kobayashi has joined #openstack-blazar01:27
*** nicolasbock has joined #openstack-blazar03:51
*** hiro-kobayashi has quit IRC04:08
*** hiro-kobayashi has joined #openstack-blazar04:09
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support lease creation  https://review.openstack.org/48907904:54
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Show reservations in more detail  https://review.openstack.org/48984604:57
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support creation of instance reservation  https://review.openstack.org/48986105:03
*** masahito has joined #openstack-blazar06:32
*** masahito has quit IRC06:42
*** masahito has joined #openstack-blazar06:44
*** masahito has quit IRC06:44
*** masahito has joined #openstack-blazar06:44
openstackgerritMerged openstack/blazar master: Skip on_end action if reservation has already ended  https://review.openstack.org/48171606:54
openstackgerritMasahito Muroi proposed openstack/blazar master: Add user guide for the new instance reservation feature  https://review.openstack.org/48830406:59
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163206:59
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable deployers to specify virtual.instance.plugin in blazar.conf  https://review.openstack.org/48506506:59
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable DevStack to set up the new instance reservation feature  https://review.openstack.org/48830206:59
openstackgerritMasahito Muroi proposed openstack/blazar master: Add a release note of the new instance reservation feature  https://review.openstack.org/48830306:59
*** nicolasbock_ has joined #openstack-blazar07:06
*** nicolasbock_ has quit IRC07:07
*** hiro-kobayashi has quit IRC07:10
*** priteau has joined #openstack-blazar07:28
openstackgerritPierre Riteau proposed openstack/blazar master: Support before_end parameter in the REST API  https://review.openstack.org/48954907:41
*** masahito has quit IRC08:06
*** priteau has quit IRC08:14
*** priteau has joined #openstack-blazar08:17
*** hiro-kobayashi has joined #openstack-blazar08:25
openstackgerritPierre Riteau proposed openstack/blazar master: Add spec for instance reservation  https://review.openstack.org/45953308:51
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support lease creation  https://review.openstack.org/48907908:52
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Show reservations in more detail  https://review.openstack.org/48984608:52
*** masahito has joined #openstack-blazar08:52
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support creation of instance reservation  https://review.openstack.org/48986108:54
*** bertys has joined #openstack-blazar09:00
*** masahito_ has joined #openstack-blazar09:04
masahito_priteau: bertys: hiro-kobayashi: hi, you there?09:04
priteauHello09:05
bertyshi09:05
hiro-kobayashihi09:05
*** masahito has quit IRC09:05
masahito_let's start the review meeting :-)09:05
masahito_the categories we need to review are 1. instance reservation 2. on-end-option 3. update reserved capacity09:06
masahito_anything else?09:06
hiro-kobayashi4. dashboard09:07
openstackgerritPierre Riteau proposed openstack/blazar-dashboard master: Support creation of instance reservation  https://review.openstack.org/48986109:07
masahito_priteau: before starting, thanks for the update to the patch for race condition.09:08
openstackgerritPierre Riteau proposed openstack/blazar-dashboard master: Show reservations in more detail  https://review.openstack.org/48984609:09
masahito_ok, let's move on #1 instance reservation.09:09
masahito_we have 9 patches for the new instance reservation.09:09
priteauI have fixed a couple of typos in the spec and +2 W+109:09
masahito_priteau: thanks!09:10
masahito_1. https://review.openstack.org/#/c/485064/109:10
priteauIt is being verified by Jenkins09:10
masahito_2. https://review.openstack.org/#/c/476789/1009:10
masahito_3. https://review.openstack.org/#/c/478450/809:10
masahito_4. https://review.openstack.org/#/c/480929/909:10
masahito_5. https://review.openstack.org/#/c/481632/809:10
masahito_6. https://review.openstack.org/#/c/485065/409:10
masahito_7. https://review.openstack.org/#/c/488302/509:11
masahito_8. https://review.openstack.org/#/c/488304/509:11
masahito_9. https://review.openstack.org/#/c/488303/609:11
masahito_I'd like to start discuss from the patch 109:11
masahito_if we need specific discussion for the all patch.09:12
*** masahito_ has quit IRC09:13
hiro-kobayashiI've +2ed the patch 109:13
*** masahito has joined #openstack-blazar09:13
masahitosorry, disconnected...09:14
masahitoI didn't read messages after my post: 'if we need specific discussion for the all patch.'09:15
priteauI am not sure about the naming of the variable "elevated_keys"09:15
masahitothe keys passed from instance_reservation tables to reservation table.09:17
priteauI would have named them instance_reservation_keys, or ir_keys if it's too long09:18
priteaujust that elevated sounds a bit strange09:18
masahitogot it.09:19
masahitoI replace the name to ir_keys.09:19
priteauAlso the to_dict method should document what the include parameter does09:21
openstackgerritMasahito Muroi proposed openstack/blazar master: Pass only the instance reservation specific columns to reservation table  https://review.openstack.org/48506409:21
openstackgerritHiroki Ito proposed openstack/python-blazarclient master: Accept multiple properties  https://review.openstack.org/48650809:21
priteaumasahito: What do you think of using an exclude rather than include appraoch? It may be easier to maintain the list09:23
masahitoright for the doc. I think it's also same for host_reservation table. so it could be in different patch.09:24
hiro-kobayashi+109:24
openstackgerritPierre Riteau proposed openstack/blazar master: Add instance reservation plugin  https://review.openstack.org/47678909:25
priteauWhat do you think of include vs exclude?09:25
masahitopriteau: I thought same approach. The good point of the include approach is changes in a child table don't affect 'reservation table' code.09:25
priteauI see what you mean09:26
priteauIt's more maintenance, but safer09:26
masahitoany comment for patch #1 to improve the code? if nothing, it's ready to go.09:28
hiro-kobayashino from miside09:28
openstackgerritPierre Riteau proposed openstack/blazar master: Pass only instance reservation specific columns to the reservation table  https://review.openstack.org/48506409:29
priteaujust tweak commit message a bit09:29
priteauLGTM09:29
priteaus/tweak/tweaked/09:29
masahitothen once Jenkins has added +1, please add W+109:30
priteauW+109:30
priteauoh, I've already done so09:30
priteauAnyway, it won't merge if Jenkins fails09:30
bertysI agree with masahito here.09:31
masahito;-)09:31
masahitomove on to next09:31
masahitohttps://review.openstack.org/#/c/476789/1109:31
masahitopriteau: thanks for updating the commit message!09:31
masahitoany comment for the patch to improve codes?09:32
hiro-kobayashino more comments from my side09:33
masahitoif nothing, ready to go09:33
priteauI am not sure I understand https://review.openstack.org/#/c/476789/11/blazar/db/sqlalchemy/utils.py09:34
priteauwhy do you check both lease.start_date and lease.end_date < start_date?09:34
masahitoboder1 matches leases that already finish.09:36
priteauYou want to get only reservations that are active between start_date and end_date?09:38
masahitoyes09:38
priteauborder0 = sa.and_(models.Lease.start_date < start_date, models.Lease.end_date < start_date)09:39
priteaulease.start_date is always before lease.end_date09:39
priteauso can we shortcut to border0 = (models.Lease.end_date < start_date)09:39
priteauoh I see, it is copy/paste from functions aboe09:40
priteauabove09:40
priteauThen we can fix the problem for all functions later09:41
masahitoso....it's ready to go?09:43
priteauI am looking through the code09:43
priteauLittle comment added in Gerrit09:44
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support lease creation  https://review.openstack.org/48907909:44
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Show reservations in more detail  https://review.openstack.org/48984609:45
masahitoonly the fix?09:46
openstackgerritHiroaki Kobayashi proposed openstack/blazar-dashboard master: Support creation of instance reservation  https://review.openstack.org/48986109:46
openstackgerritMasahito Muroi proposed openstack/blazar master: Add instance reservation plugin  https://review.openstack.org/47678909:47
masahitodone09:47
hiro-kobayashi+2ed09:48
masahitoif no comment, ready to merge09:50
masahitolooks no comment. I'll add W+1 later.09:51
masahitooops, already two +2s.09:51
masahitonext one is https://review.openstack.org/#/c/478450/809:52
openstackgerritMasahito Muroi proposed openstack/blazar master: Check max usages of hosts in particular time window  https://review.openstack.org/47845009:52
masahitoI just rebased the patch09:53
masahitoany comments?09:53
hiro-kobayashiThanks for addressing all of my comments! No more comments from my side09:53
priteauThe code looks good, I will make small changes to the commit message if that's OK09:54
masahitopriteau: np09:55
openstackgerritPierre Riteau proposed openstack/blazar master: Check maximum usages of hosts in a particular time window  https://review.openstack.org/47845009:57
priteauhiro-kobayashi: Can you +2 again?09:57
openstackgerritMasahito Muroi proposed openstack/blazar master: Create Nova resources for instance reservations  https://review.openstack.org/48092909:58
hiro-kobayashidone09:58
masahitonext, https://review.openstack.org/#/c/480929/909:59
hiro-kobayashiLGTM10:00
priteauI'll have some comments10:02
masahitowhat's about?10:04
masahitoIf it's about coding style problems, we can fix it later. like adding #TODO as comment.10:06
openstackgerritMerged openstack/blazar master: Add spec for instance reservation  https://review.openstack.org/45953310:06
priteauI have posted my comment, it's about the error message10:07
priteauBut we can continue with the review and merge after you've fixed it10:08
openstackgerritMasahito Muroi proposed openstack/blazar master: Create Nova resources for instance reservations  https://review.openstack.org/48092910:09
masahitoDone10:09
masahitothen next :->10:09
masahitohttps://review.openstack.org/#/c/481632/810:09
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163210:10
hiro-kobayashiNo more comments for it. thanks!10:11
openstackgerritPierre Riteau proposed openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163210:14
priteauFixed the commit message10:14
priteaumasahito: Is it OK if I changed Fails -> Failed to match other error messages?10:14
priteaus/error/log/10:14
masahitofor which patch?10:15
priteauhttps://review.openstack.org/#/c/481632/10/blazar/plugins/instances/instance_plugin.py10:15
masahitosure10:16
priteauActually I have another comment10:16
priteauPosted on gerrit10:17
*** masahito has quit IRC10:18
*** masahito has joined #openstack-blazar10:19
masahitoah, this codes is a workaround for the bug you fixed today.10:19
priteauI see, because on_end could be executed twice10:19
priteauWell, you can remove it now :-)10:20
*** masahito_ has joined #openstack-blazar10:23
masahito_sorry... for lots of disconnected.10:23
masahito_IMO, we don't need warning message here b/c the code is in on_end method.10:23
*** masahito has quit IRC10:24
*** masahito_ has quit IRC10:25
priteauAs you want10:25
*** masahito has joined #openstack-blazar10:25
masahitoso it's not matter that the flavor really exits or not in the method.10:25
openstackgerritPierre Riteau proposed openstack/blazar master: Add a user guide for the new instance reservation feature  https://review.openstack.org/48830410:26
priteaumasahito: As you want10:27
priteauCan you fix the log message fails vs failed?10:27
priteauI am looking at other patches in the meantime10:27
openstackgerritPierre Riteau proposed openstack/blazar master: Add a user guide for the new instance reservation feature  https://review.openstack.org/48830410:28
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163210:28
masahitodone10:28
masahitohttps://review.openstack.org/#/c/485065/4 is already have two +2. skip it.10:29
masahitohttps://review.openstack.org/#/c/488302/5 is in same situation now.10:30
masahitoAnd user guide patch, https://review.openstack.org/#/c/488304/5, and release note patch, https://review.openstack.org/#/c/488303/6, had tweaked by priteau.10:32
masahitopriteau: thanks for tweaking the message!10:33
masahitoso, we reviewed all patches for instance-reservation?10:33
priteauI think so10:34
priteauhiro-kobayashi: I have a question for https://review.openstack.org/#/c/489549/10:34
priteauLast comment on Gerrit10:34
openstackgerritMerged openstack/blazar master: Pass only instance reservation specific columns to the reservation table  https://review.openstack.org/48506410:35
hiro-kobayashiI replied it, thanks10:36
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: Add instance reservation plugin  https://review.openstack.org/47678910:37
priteauReplied and added another comment10:37
masahitoI added one comment.10:40
*** masahito has quit IRC10:42
*** masahito has joined #openstack-blazar10:42
masahitoto merge the patch, what we need to do is 1. tweak the doc and 2. define the list as module method.10:43
hiro-kobayashiI'll update it10:43
masahitowe spent 1h and half.10:43
hiro-kobayashiShould we continue the meeting?10:45
masahitothe rest of today's list are 3. update reserved capacity, 4. dashboard10:46
priteauI have to focus on work tasks now. Can we continue asynchronously via Gerrit and synchronize tomorrow?10:46
masahitoyes.10:47
masahito3. only have one patch https://review.openstack.org/#/c/482811/10:47
masahitoand for dashboard we decided we10:47
masahitowe'll merge it if there is no real bug with concrete scenario that someone hit.10:49
masahitooh, for the instance reservation, I forgot the patch: https://review.openstack.org/#/c/486476/10:49
masahitobut have -1 now. So I'll update it later.10:50
masahitoso thanks all!10:50
masahitowe have a great progress today.10:51
priteauThanks everyone10:51
hiro-kobayashiyes, thanks all!10:51
hiro-kobayashimasahito: You will not be able to join the meeting tomorrow, right?10:51
masahitohiro-kobayashi: yes10:51
hiro-kobayashiokay10:52
masahitopriteau: hiro-kobayashi: could you chair the meeting tomorrow?10:52
priteauSure10:52
hiro-kobayashisure10:52
hiro-kobayashimasahito: Hope your safe trip to Mexico!10:53
masahitohiro-kobayashi: thank.10:53
masahitobye!10:53
hiro-kobayashibye10:53
masahitoI need to go in few mins.10:53
openstackgerritMasahito Muroi proposed openstack/blazar master: Check maximum usages of hosts in a particular time window  https://review.openstack.org/47845010:53
priteaumasahito: Do you have an agenda ready?10:53
openstackgerritMasahito Muroi proposed openstack/blazar master: Create Nova resources for instance reservations  https://review.openstack.org/48092910:54
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163210:54
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable deployers to specify virtual.instance.plugin in blazar.conf  https://review.openstack.org/48506510:55
*** hiro-kobayashi has quit IRC10:55
openstackgerritMasahito Muroi proposed openstack/blazar master: Enable DevStack to set up the new instance reservation feature  https://review.openstack.org/48830210:55
openstackgerritMasahito Muroi proposed openstack/blazar master: Add a user guide for the new instance reservation feature  https://review.openstack.org/48830410:55
openstackgerritMasahito Muroi proposed openstack/blazar master: Add a release note of the new instance reservation feature  https://review.openstack.org/48830310:56
*** masahito has quit IRC10:59
*** bertys has quit IRC11:29
*** masahito has joined #openstack-blazar11:59
*** masahito has quit IRC12:01
openstackgerritMerged openstack/blazar master: Add instance reservation plugin  https://review.openstack.org/47678912:54
openstackgerritMerged openstack/blazar master: Check maximum usages of hosts in a particular time window  https://review.openstack.org/47845013:30
openstackgerritMasahito Muroi proposed openstack/python-blazarclient master: Fix an index error in --physical-reservation option  https://review.openstack.org/49149613:38
openstackgerritPierre Riteau proposed openstack/python-blazarclient master: Fix failure to create physical reservations  https://review.openstack.org/49149613:53
openstackgerritMerged openstack/blazar master: Create Nova resources for instance reservations  https://review.openstack.org/48092914:24
openstackgerritMerged openstack/blazar master: Enable instance_plugin to handle on_start and on_end events  https://review.openstack.org/48163215:16
openstackgerritMerged openstack/blazar master: Enable deployers to specify virtual.instance.plugin in blazar.conf  https://review.openstack.org/48506515:16
openstackgerritMerged openstack/blazar master: Enable DevStack to set up the new instance reservation feature  https://review.openstack.org/48830215:16
openstackgerritMerged openstack/blazar master: Add a user guide for the new instance reservation feature  https://review.openstack.org/48830415:57
*** openstackstatus has quit IRC16:42
*** openstackstatus has joined #openstack-blazar16:43
*** ChanServ sets mode: +v openstackstatus16:43
openstackgerritMerged openstack/blazar master: Add a release note of the new instance reservation feature  https://review.openstack.org/48830317:59
openstackgerritPierre Riteau proposed openstack/blazar master: Pass hostnames rather than IDs to remove_computehost()  https://review.openstack.org/49156218:00
*** nicolasbock has quit IRC18:57
openstackgerritPierre Riteau proposed openstack/blazar master: Allow update host API to add new extra capabilities  https://review.openstack.org/49158319:29
*** priteau has quit IRC19:43
*** priteau has joined #openstack-blazar19:44
*** priteau has quit IRC19:48
*** priteau has joined #openstack-blazar21:16
*** priteau has quit IRC21:44
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org will be offline momentarily at 00:00 utc for a quick reconfiguration-related restart23:32

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