Tuesday, 2018-04-17

*** salv-orlando has joined #openstack-nova00:00
*** jroll has joined #openstack-nova00:00
*** salv-orlando has quit IRC00:05
*** yamamoto has joined #openstack-nova00:06
*** tssurya has quit IRC00:06
*** liverpooler has joined #openstack-nova00:06
*** fragatina has quit IRC00:08
*** sean-k-mooney[m] has quit IRC00:09
*** yamamoto has quit IRC00:11
*** jroll has quit IRC00:16
*** jroll has joined #openstack-nova00:17
*** slaweq has joined #openstack-nova00:17
*** slaweq has quit IRC00:21
*** Tom-Tom has joined #openstack-nova00:22
*** Tom-Tom has quit IRC00:27
*** yingjun has joined #openstack-nova00:30
*** Dinesh_Bhor has joined #openstack-nova00:30
*** yingjun has quit IRC00:30
*** yingjun has joined #openstack-nova00:31
*** yingjun has quit IRC00:32
*** vladikr has quit IRC00:36
*** hiro-kobayashi has joined #openstack-nova00:46
*** yingjun has joined #openstack-nova00:48
*** wolverin_ has quit IRC00:48
*** wolverineav has joined #openstack-nova00:48
*** jichen has joined #openstack-nova00:58
*** Tom-Tom has joined #openstack-nova00:59
*** fabian_ has joined #openstack-nova01:00
*** andreas_s has joined #openstack-nova01:00
*** mriedem has quit IRC01:01
*** Tom-Tom has quit IRC01:04
*** fabian_ is now known as chenyb401:04
*** andreas_s has quit IRC01:05
*** tiendc has joined #openstack-nova01:06
*** Tom-Tom has joined #openstack-nova01:06
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.61 - support extra_specs in flavor API  https://review.openstack.org/56152001:06
*** yamamoto has joined #openstack-nova01:07
*** hongbin_ has joined #openstack-nova01:12
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.61 - support extra_specs in flavor API  https://review.openstack.org/56152001:12
*** yamamoto has quit IRC01:13
*** hoangcx has joined #openstack-nova01:13
*** zhaochao has joined #openstack-nova01:13
*** phuongnh has joined #openstack-nova01:15
*** esberglu has quit IRC01:16
arvindn051how do we get host uuid from hostname?01:16
arvindn051i am trying to get the host uuid for host specified in the request_spec01:17
*** gjayavelu has quit IRC01:19
*** liuzz_ has quit IRC01:23
*** xinliang has quit IRC01:23
*** Tom-Tom has quit IRC01:25
*** stakeda has joined #openstack-nova01:27
*** yamahata has quit IRC01:29
*** yikun has joined #openstack-nova01:29
*** yikun_ has quit IRC01:31
*** wolverineav has quit IRC01:35
*** wolverineav has joined #openstack-nova01:36
*** mvk has quit IRC01:37
*** liverpooler has quit IRC01:39
openstackgerritTetsuro Nakamura proposed openstack/nova master: Return all resources in provider_summaries  https://review.openstack.org/55804501:40
openstackgerritTetsuro Nakamura proposed openstack/nova master: Return all nested providers in tree  https://review.openstack.org/55948001:40
openstackgerritTetsuro Nakamura proposed openstack/nova master: Return resource providers without inventories  https://review.openstack.org/55955401:40
*** janki has joined #openstack-nova01:42
*** wolverineav has quit IRC01:44
*** Tom-Tom has joined #openstack-nova01:46
*** mvk has joined #openstack-nova01:51
*** bingqianglin has joined #openstack-nova01:54
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.62 - List/Show all server migration types  https://review.openstack.org/43083901:54
*** dougshelley66 has quit IRC01:55
*** rnoriega_ has joined #openstack-nova02:01
*** weshay_ has joined #openstack-nova02:01
*** markmc has joined #openstack-nova02:01
*** kashyap` has joined #openstack-nova02:02
*** markmc`` has joined #openstack-nova02:02
*** kashyap`` has joined #openstack-nova02:02
*** kashyap`` has joined #openstack-nova02:02
*** markmc` has quit IRC02:03
*** weshay has quit IRC02:03
*** kashyap has quit IRC02:03
*** wolverineav has joined #openstack-nova02:03
*** weshay has joined #openstack-nova02:03
*** rnoriega- has joined #openstack-nova02:04
*** rnoriega has quit IRC02:06
*** kashyap` has quit IRC02:06
*** markmc has quit IRC02:06
*** weshay_ has quit IRC02:06
*** rnoriega_ has quit IRC02:06
*** wolverineav has quit IRC02:08
*** yamamoto has joined #openstack-nova02:09
*** gjayavelu has joined #openstack-nova02:10
*** Zames has joined #openstack-nova02:13
*** bill1 has joined #openstack-nova02:15
*** yamamoto has quit IRC02:15
*** Zames has quit IRC02:19
*** dpawlik has joined #openstack-nova02:24
*** yingjun has quit IRC02:25
*** yingjun has joined #openstack-nova02:28
*** dpawlik has quit IRC02:29
gmannalex_xu: ping02:29
*** gcb has joined #openstack-nova02:33
*** moshele has quit IRC02:33
openstackgerritDinesh Bhor proposed openstack/nova master: WIP: PCPU: Define numa dedicated CPU resource class  https://review.openstack.org/56177002:35
openstackgerritDinesh Bhor proposed openstack/nova master: WIP: PCPU, VCPU: Add respective conf options  https://review.openstack.org/56177102:37
*** Guest2631 has quit IRC02:37
*** mvk has quit IRC02:39
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Fix comments in novaclient/tests/unit/fakes.py  https://review.openstack.org/56177202:40
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add host/hostId to instance action events API  https://review.openstack.org/55714502:44
*** dave-mcc_ has quit IRC02:45
*** Nel1x has quit IRC02:49
*** Guest2631 has joined #openstack-nova02:49
*** Nel1x has joined #openstack-nova02:49
openstackgerritTetsuro Nakamura proposed openstack/nova-specs master: Return resources of entire trees in Placement  https://review.openstack.org/55946602:52
*** gjayavelu has quit IRC02:55
*** nicolasbock has quit IRC02:55
*** tetsuro has joined #openstack-nova03:00
*** jchhatbar has joined #openstack-nova03:00
*** janki has quit IRC03:03
*** yingjun has quit IRC03:03
*** jchhatbar is now known as janki03:07
*** psachin has joined #openstack-nova03:09
*** yamamoto has joined #openstack-nova03:11
openstackgerritjichenjc proposed openstack/nova master: Enhance api-guide general info  https://review.openstack.org/56177303:11
*** yamamoto has quit IRC03:16
*** annp has joined #openstack-nova03:28
openstackgerritNguyen Hai proposed openstack/nova-specs master: Follow the new PTI for document build  https://review.openstack.org/55180203:30
openstackgerritNguyen Hai proposed openstack/nova-specs master: Follow the new PTI for document build  https://review.openstack.org/55180203:30
*** fragatina has joined #openstack-nova03:32
*** lpetrut has joined #openstack-nova03:42
*** andreas_s has joined #openstack-nova03:45
*** lpetrut has quit IRC03:49
*** lpetrut has joined #openstack-nova03:50
*** andreas_s has quit IRC03:50
*** wolverineav has joined #openstack-nova03:55
*** dklyle has joined #openstack-nova03:57
jichenmelwitt: hi regarding your comments in the ML about z/VM driver03:57
*** sridharg has joined #openstack-nova03:59
jichenmelwitt: the z/VM driver behaves unlike any other in-tree driver [0-5]  ---> we will make our code exactly as you pointed , we will NOT do anything special03:59
*** penick_ has joined #openstack-nova04:02
*** jbryce_ has joined #openstack-nova04:03
*** ildikov has quit IRC04:03
*** jbryce has quit IRC04:03
*** jamiec has quit IRC04:03
*** penick has quit IRC04:03
*** jbryce_ is now known as jbryce04:03
*** jamiec has joined #openstack-nova04:03
*** andymccr has quit IRC04:05
*** andymccr has joined #openstack-nova04:05
*** Guest2631 has quit IRC04:07
*** Dinesh_Bhor has quit IRC04:08
*** phuongnh has quit IRC04:09
*** phuongnh has joined #openstack-nova04:10
*** udesale has joined #openstack-nova04:11
*** lpetrut has quit IRC04:12
*** yamamoto has joined #openstack-nova04:13
openstackgerritNguyen Hai proposed openstack/nova-specs master: Follow the new PTI for document build  https://review.openstack.org/55180204:14
*** arvindn05 has joined #openstack-nova04:14
*** asettle_ has joined #openstack-nova04:14
*** arvindn051 has quit IRC04:16
*** asettle has quit IRC04:16
*** NostawRm has quit IRC04:16
*** zer0c00l has quit IRC04:16
*** abhishekk has joined #openstack-nova04:16
*** NostawRm has joined #openstack-nova04:17
*** jchhatbar has joined #openstack-nova04:18
*** yamamoto has quit IRC04:18
*** wolverineav has quit IRC04:18
*** sdeath has joined #openstack-nova04:18
*** phuongnh has quit IRC04:20
*** janki has quit IRC04:20
*** annp has quit IRC04:21
*** hongbin_ has quit IRC04:21
*** lpetrut has joined #openstack-nova04:21
*** phuongnh has joined #openstack-nova04:21
*** annp has joined #openstack-nova04:21
*** zer0c00l has joined #openstack-nova04:22
*** Guest2631 has joined #openstack-nova04:22
openstackgerritNguyen Hai proposed openstack/nova-specs master: Follow the new PTI for document build  https://review.openstack.org/55180204:24
*** gjayavelu has joined #openstack-nova04:28
*** moshele has joined #openstack-nova04:29
*** claudiub|2 has joined #openstack-nova04:30
*** markvoelker has quit IRC04:37
*** moshele has quit IRC04:38
*** lpetrut has quit IRC04:40
*** ratailor has joined #openstack-nova04:48
*** salv-orlando has joined #openstack-nova04:55
*** sridharg has quit IRC05:05
*** sapd_ has quit IRC05:07
*** lpetrut has joined #openstack-nova05:08
*** sapd_ has joined #openstack-nova05:08
*** sridharg has joined #openstack-nova05:17
*** gjayavelu has quit IRC05:18
*** links has joined #openstack-nova05:23
*** vivsoni has quit IRC05:27
*** lpetrut has quit IRC05:33
*** sean-k-mooney[m] has joined #openstack-nova05:36
*** markvoelker has joined #openstack-nova05:38
*** ccamacho has quit IRC05:41
*** gjayavelu has joined #openstack-nova05:44
*** vivsoni has joined #openstack-nova05:48
*** gcb has quit IRC05:50
*** dpawlik has joined #openstack-nova05:57
*** dpawlik has quit IRC05:58
*** takedakn has joined #openstack-nova05:58
*** dpawlik has joined #openstack-nova05:59
*** hoonetorg has quit IRC05:59
*** vivsoni has quit IRC06:00
*** jafeha__ has quit IRC06:00
*** vivsoni has joined #openstack-nova06:01
*** moshele has joined #openstack-nova06:01
*** takedakn has quit IRC06:02
*** kholkina has joined #openstack-nova06:10
*** hemna_ has quit IRC06:11
*** hoonetorg has joined #openstack-nova06:12
*** jchhatbar is now known as janki06:12
*** yamamoto has joined #openstack-nova06:16
*** pcaruana has joined #openstack-nova06:16
*** andreas_s has joined #openstack-nova06:17
*** lpetrut has joined #openstack-nova06:19
openstackgerritMerged openstack/nova master: remove ec2 in service and cmd  https://review.openstack.org/55677806:20
*** sidx64 has joined #openstack-nova06:22
*** yamamoto has quit IRC06:22
*** priteau has joined #openstack-nova06:23
*** do3meli has joined #openstack-nova06:35
*** alexchadin has joined #openstack-nova06:36
*** gokhan has joined #openstack-nova06:38
*** gokhan has quit IRC06:39
*** gokhan has joined #openstack-nova06:46
*** cfriesen has quit IRC06:48
*** jchhatbar has joined #openstack-nova06:50
*** slaweq has joined #openstack-nova06:50
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Use XAPI pool instead of aggregate pool for shared SR migration  https://review.openstack.org/55415406:53
*** janki has quit IRC06:53
*** chenyb4 has quit IRC06:56
gokhanhi , I have HA openstack pike environment. for 2 weeks there is not any problem about environment, but for 2 days I am getting rabbitmq timeout errors on some compute nodes. there are errors on nova compute and rabbitmq cluster. on nova compute there are timeouts errors like that : http://paste.openstack.org/show/719338/ and I see on rabbitmq there are error reports like that: http://paste.openstack.org/show/719339/   what can be the reason of this a06:57
gokhannd how can I solve this problem ? now I can not create multiple instances and some instances are waiting in build statement for hours06:57
*** rcernin has quit IRC06:57
*** ccamacho has joined #openstack-nova06:58
*** phuongnh has quit IRC06:59
*** Dinesh_Bhor has joined #openstack-nova07:00
*** chenyb4 has joined #openstack-nova07:01
*** ccamacho has quit IRC07:04
*** ccamacho has joined #openstack-nova07:05
*** dpawlik has quit IRC07:07
*** damien_r has joined #openstack-nova07:10
*** damien_r has quit IRC07:10
*** yamamoto has joined #openstack-nova07:10
*** damien_r has joined #openstack-nova07:10
*** sahid has joined #openstack-nova07:11
*** hoangcx_ has joined #openstack-nova07:12
*** hoangcx has quit IRC07:13
*** hoangcx_ is now known as hoangcx07:13
*** yamamoto has quit IRC07:14
*** yamamoto has joined #openstack-nova07:14
*** tesseract has joined #openstack-nova07:14
*** kashyap`` is now known as kashyap07:15
Kevin_Zhenggibi Hi, could you check this series https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:refactor-notification-samples07:16
gibiKevin_Zheng: Hi! It is in my queue. Thanks for working on it07:17
Kevin_Zhenggibi, Thanks, it is related to the bp I working on anyway :)07:18
*** ralonsoh has joined #openstack-nova07:18
*** ralonsoh has quit IRC07:19
*** trinaths has joined #openstack-nova07:20
*** hoangcx_ has joined #openstack-nova07:21
*** hoangcx has quit IRC07:22
*** hoangcx_ is now known as hoangcx07:22
*** gongysh has joined #openstack-nova07:22
*** phuongnh has joined #openstack-nova07:23
*** salv-orlando has quit IRC07:28
*** salv-orlando has joined #openstack-nova07:28
*** Zames has joined #openstack-nova07:30
*** mgoddard has joined #openstack-nova07:30
*** lpetrut_ has joined #openstack-nova07:31
*** AlexeyAbashkin has joined #openstack-nova07:31
*** salv-orlando has quit IRC07:32
*** Zames has quit IRC07:33
*** gjayavelu has quit IRC07:33
*** lpetrut has quit IRC07:34
*** yamamoto_ has joined #openstack-nova07:39
*** tssurya has joined #openstack-nova07:41
*** yamamoto has quit IRC07:42
*** alexchadin has quit IRC07:42
*** alexchadin has joined #openstack-nova07:43
alex_xugmann: pong07:44
*** salv-orlando has joined #openstack-nova07:45
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: [WIP] ServerActionsSampleJsonTest refactor  https://review.openstack.org/56181907:45
gmannalex_xu: could not catch you since long. i want to discuss about API meeting or office hour07:47
*** jogo has quit IRC07:48
alex_xugmann: yea07:48
gmannalex_xu: idea is we continue on that and do mainly 2 things 1. we track priority items mainly for review and 2. do bug triage07:48
alex_xugmann: I think it is cool07:48
alex_xugmann: what time we choice?07:50
gmannalex_xu: not decided actually. i feel may be during our day time as not much people attended past API meeting07:50
alex_xuyes07:51
alex_xugmann: and if there is trouble problem we can bring it to the nova weekly meeting07:51
gmannalex_xu: and i can send a summary of updates every week after that07:51
alex_xugmann: that will be cool07:51
gmannalex_xu: yes, we give same updated there too07:51
*** jpena|off is now known as jpena07:52
alex_xugmann: should we start a email to ask abot the idea first?07:53
sean-k-mooneystephenfin: jaypipes sahid i was talking to dansmith about the native vhost-user support in the libvirt driver yesterday, do you have any objection to me moving this to os-vif as an in tree plugin? the impmentation in os-vif will effectivly be an no-op but it means we can remove that code path from nova. the nataiv vhost-user support is used by snab switch, vpp and i belive it was used by contrail at07:53
gmannalex_xu: sure. that will be good and if we get more people join that07:53
sean-k-mooneyone point.07:53
alex_xugmann: yea, can you start a email :)07:54
gmannalex_xu: yea, i will send tomorrow and get the opinion on idea and time also07:54
alex_xugmann: cool, thanks a lot07:54
gmannalex_xu: thanks :)07:54
sean-k-mooneystephenfin: jaypipes sahid. as the native support is used by multiple drivers and since it is always expected to be present in existing installs keeping it in os-vif makes sense from an upgrade point of view as packagers do not need to include an addtional package to maintain current behavior07:59
sean-k-mooneystephenfin: jaypipes sahid i have created a bug to track this https://bugs.launchpad.net/os-vif/+bug/1764665 but if ye have objections let me know and i can take a different path08:02
openstackLaunchpad bug 1764665 in os-vif "Add generic-vhost-user pluging to os-vif" [Wishlist,Triaged] - Assigned to sean mooney (sean-k-mooney)08:02
*** gongysh has quit IRC08:02
*** gongysh has joined #openstack-nova08:03
*** gongysh has quit IRC08:03
*** lucas-brb is now known as lucasagomes08:04
*** yingjun has joined #openstack-nova08:05
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: ServerActionsSampleJsonTest refactor  https://review.openstack.org/56181908:06
*** avolkov has joined #openstack-nova08:07
*** Zames has joined #openstack-nova08:07
*** amoralej|off is now known as amoralej08:08
*** Shilpa has joined #openstack-nova08:08
*** mdnadeem has joined #openstack-nova08:10
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Initial change set of z/VM driver  https://review.openstack.org/52338708:11
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: Spawn and destroy function of z/VM driver  https://review.openstack.org/52765808:11
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add snapshot function  https://review.openstack.org/53424008:11
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add power actions  https://review.openstack.org/54334008:11
openstackgerritjichenjc proposed openstack/nova master: z/VM Driver: add get console output  https://review.openstack.org/54334408:11
*** jogo has joined #openstack-nova08:12
*** hiro-kobayashi has quit IRC08:16
*** Zames has quit IRC08:18
*** Zames has joined #openstack-nova08:20
*** rnoriega- is now known as rnoriega08:23
openstackgerritsahid proposed openstack/nova master: libvirt: add support for virtio-net rx/tx queue sizes  https://review.openstack.org/48499708:26
*** Zames has quit IRC08:27
sahidsean-k-mooney: i just updated the patch08:27
sahidif you can have a look. I really would like limiting the scope of the change if possible08:28
sahidi added some comments08:28
sean-k-mooneysahid: https://review.openstack.org/#/c/484997 ?08:28
sahidyes08:28
sahidsean-k-mooney: about your ovs-vif asking08:29
sahidso you want to create an other pluging in the tree for vhostuser?08:29
sean-k-mooneysahid: specifically for vhost user when not using ovs08:30
sean-k-mooneythe plug an unplug methods will be no ops as in the non ovs case nova/os-vif does not need to plug the vhost-user interface into anything08:30
sahidbut we will still have to keep the nova part to generate the native domain xml08:31
sean-k-mooneyit will however allow use to remove the fallback code in the nova/virt/libvirt/vif.py08:31
sean-k-mooneysahid: yes just the xml generation but that is comon between ovs and non ovs vhost-user interfaces08:31
sahidright, so i'm cool with you plan :)08:32
sean-k-mooneycurrently we have that twice in the nova tree but we can converge them08:32
*** derekh has joined #openstack-nova08:32
*** udesale_ has joined #openstack-nova08:32
sahidyes if we can remove 'get_config_vhost' to ony user the ovsvif one that would be perfect08:33
sahidget_config_vhostuser08:33
*** TobbeCN has joined #openstack-nova08:34
*** udesale has quit IRC08:34
*** yamamoto_ has quit IRC08:36
sean-k-mooneysahid: ya we would remove the get_config_vhostuser fucntion and then always use the os-vif version instead. im going to try and set up a vpp test env later this week so i can validate it all still works correctly.08:37
*** yamamoto has joined #openstack-nova08:37
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add host/hostId to instance action events API  https://review.openstack.org/55714508:40
*** namnh has joined #openstack-nova08:45
*** yingjun has quit IRC08:46
*** Nisha_Agarwal has joined #openstack-nova08:46
openstackgerritMerged openstack/nova master: Document how to disable notifications  https://review.openstack.org/56168408:46
*** armaan has joined #openstack-nova08:51
*** yingjun has joined #openstack-nova08:53
*** ralonsoh has joined #openstack-nova08:54
*** Zames has joined #openstack-nova08:55
*** TobbeCN has quit IRC08:56
*** TobbeCN has joined #openstack-nova08:56
*** Nisha_ has joined #openstack-nova08:57
*** edmondsw has joined #openstack-nova08:58
*** hiro-kobayashi has joined #openstack-nova08:59
*** Nisha_Agarwal has quit IRC09:00
*** Nisha_ has quit IRC09:00
*** xinliang has joined #openstack-nova09:01
*** xinliang has quit IRC09:01
*** xinliang has joined #openstack-nova09:01
*** edmondsw has quit IRC09:02
*** cdent has joined #openstack-nova09:04
*** dpawlik has joined #openstack-nova09:08
kholkinahi! could you please review the spec https://review.openstack.org/#/c/547964/09:09
*** Zames has quit IRC09:09
*** bingqianglin has quit IRC09:10
*** bingqianglin has joined #openstack-nova09:10
*** Zames has joined #openstack-nova09:13
*** bkopilov has quit IRC09:13
naichuansjaypipes: Hi, Jay. For a resource provider(n-rp enabled) which have alreay allocate some resources to a living VM, can we delete it? I'm considering a case on n-rp for vGPU: 1) vGPU resource provider created 2) create a VM with vGPU 3) disable vGPU support by remove enabled_vgpu_types in nova.conf 4) update host states, then vGPU rp should be deleted(cache on nova side and data in placement database)? 5) enable vGPU support again by09:14
naichuansenabled_vgpu_types. Would the process affect the after going VM schedule?09:14
openstackgerritTetsuro Nakamura proposed openstack/nova master: Consider nested RPs in get_all_with_shared  https://review.openstack.org/55645009:18
openstackgerritTetsuro Nakamura proposed openstack/nova master: Support shared and nested allocation candidates  https://review.openstack.org/55651409:18
openstackgerritTetsuro Nakamura proposed openstack/nova master: Support nested alloc cands without shared RPs  https://review.openstack.org/56184209:18
*** Zames has quit IRC09:20
*** mvk has joined #openstack-nova09:22
*** gongysh has joined #openstack-nova09:26
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vmops.py  https://review.openstack.org/56184609:27
*** bkopilov has joined #openstack-nova09:29
*** udesale__ has joined #openstack-nova09:32
*** ratailor_ has joined #openstack-nova09:33
openstackgerritLee Yarwood proposed openstack/nova stable/pike: Avoid showing password in log  https://review.openstack.org/56185009:33
openstackgerritLee Yarwood proposed openstack/nova stable/ocata: Avoid showing password in log  https://review.openstack.org/56185109:34
*** yingjun has quit IRC09:34
*** Dinesh_Bhor has quit IRC09:34
*** udesale_ has quit IRC09:35
*** ratailor has quit IRC09:35
*** Tom-Tom has quit IRC09:42
*** Tom-Tom has joined #openstack-nova09:43
*** mdbooth has joined #openstack-nova09:43
lyarwoodmdbooth: https://review.openstack.org/#/c/561704/ - morning, I dumped this in your review queue btw09:44
*** Tom-Tom has quit IRC09:47
openstackgerritZhenyu Zheng proposed openstack/nova master: Improve performance when list instances with IP filter  https://review.openstack.org/53946909:47
*** QianYu has joined #openstack-nova09:49
*** hiro-kobayashi has quit IRC09:49
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.61 - support extra_specs in flavor API  https://review.openstack.org/56152009:49
openstackgerritElod Illes proposed openstack/nova stable/ocata: Functional test for regression bug #1713783  https://review.openstack.org/50516009:53
openstackbug 1713783 in OpenStack Compute (nova) ocata "After failed evacuation the recovered source compute tries to delete the instance" [High,In progress] https://launchpad.net/bugs/1713783 - Assigned to Illes Elod (elod-illes)09:53
*** mdbooth has quit IRC09:53
*** QianYu_ has joined #openstack-nova09:54
*** QianYu has quit IRC09:54
*** hoangcx has quit IRC09:59
*** ratailor__ has joined #openstack-nova10:00
openstackgerritLei Zhang proposed openstack/nova master: Improve check capacity sql  https://review.openstack.org/56186210:01
*** ratailor_ has quit IRC10:02
*** ratailor__ has quit IRC10:04
*** ratailor has joined #openstack-nova10:08
*** jichen has quit IRC10:09
*** namnh has quit IRC10:10
*** cdent has quit IRC10:12
*** zz9pzza has quit IRC10:12
*** zz9pzza has joined #openstack-nova10:13
kashyapmdbooth, I'm afraid, on that Mox discussion yesterda, I don't see any other choice than replacing the failing Mox test with Mock10:14
kashyapOh, he's not here10:14
*** zz9pzza has quit IRC10:17
*** chenyb4 has quit IRC10:19
*** Zames has joined #openstack-nova10:22
*** Zames has quit IRC10:26
*** dr_gogeta86 has quit IRC10:26
*** eharney has joined #openstack-nova10:30
*** eharney has quit IRC10:30
openstackgerritLee Yarwood proposed openstack/nova stable/pike: Skip placement on rebuild in same host  https://review.openstack.org/56101510:30
*** eharney has joined #openstack-nova10:30
*** armaan has quit IRC10:31
*** armaan has joined #openstack-nova10:31
*** bingqianglin has quit IRC10:31
*** dpawlik has quit IRC10:34
*** QianYu_ has quit IRC10:36
*** nicolasbock has joined #openstack-nova10:37
openstackgerritsahid proposed openstack/nova master: libvirt: add support for virtio-net rx/tx queue sizes  https://review.openstack.org/48499710:38
sahidsean-k-mooney: ^ I preferd to fix the test10:38
sean-k-mooneysahid: cool :) as i said it was only a minor nit but it nice to use valid values in the tests10:39
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (1/2)  https://review.openstack.org/43060810:40
sahidsean-k-mooney: yes yes, just i think we should try to stay coherent even in tests :)10:40
sahidit was a good point10:41
kashyapstephenfin: Hi there.  Is it too unreasonable to replace Mox with Mock, while fixing the fallout from libvirt / QEMU version bump: http://kashyapc.fedorapeople.org/0001-tests-unit-Fix-test_live_migration_update_graphics_x.patch10:41
*** stakeda has quit IRC10:41
kashyapstephenfin: When you can, read the commit message, and the first point in the "main changes".10:41
*** mvk has quit IRC10:41
sahidsean-k-mooney: about https://review.openstack.org/#/c/553072/10:42
stephenfinkashyap: I personally think that's fine, given that the test was having issues as is10:42
kashyapYeah, thank you!10:42
*** mdbooth has joined #openstack-nova10:42
sahidmatt had some questions, i tried to reply but perhaps you want to give more details10:42
kashyapstephenfin: I spent 2 hours fixing two tests.  I'm slow as molasses with this stuff10:42
kashyapThanks10:42
*** Zames has joined #openstack-nova10:43
stephenfinbauzas: Did I hear something about us deprecating AggregateCoreFilter ?10:43
*** dpawlik has joined #openstack-nova10:43
bauzasstephenfin: hola, sorry saw your late ping10:43
bauzasstephenfin: but I was running :p10:43
stephenfinbauzas: All good :)10:43
bauzasstephenfin: the aggregate filters ? well, it's a long story :)10:44
*** xinliang has quit IRC10:44
bauzasstephenfin: AFAIK, the aggregate filters aren't deprecated *yet*10:45
bauzasbut there was a discussion about providing that feature by the Placement API10:45
*** armaan has quit IRC10:46
*** armaan has joined #openstack-nova10:46
*** Zames has quit IRC10:47
*** armaan has joined #openstack-nova10:47
stephenfinbauzas: OK, so not gone yet. I'll tackle this issue another way so10:47
*** dougshelley66 has joined #openstack-nova10:49
openstackgerritMartin Midolesov proposed openstack/nova master: [vmwareapi] Expose cpu model on homogeneous cluster; Reformating code;  https://review.openstack.org/56190110:49
*** abhishekk has quit IRC10:51
*** tbachman has quit IRC10:51
*** alexchadin has quit IRC10:52
*** eharney has quit IRC10:53
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add host/hostId to instance action events API  https://review.openstack.org/55714510:53
*** mvk has joined #openstack-nova10:54
*** sdague has joined #openstack-nova10:54
*** Guest2631 has quit IRC10:56
*** xinliang has joined #openstack-nova10:57
openstackgerritMerged openstack/nova stable/queens: Skip placement on rebuild in same host  https://review.openstack.org/56101410:58
*** alexchadin has joined #openstack-nova10:59
*** yassine has joined #openstack-nova11:00
*** Zames has joined #openstack-nova11:00
*** yassine is now known as Guest407211:00
*** Zames has quit IRC11:04
*** AlexeyAbashkin has quit IRC11:07
*** mgariepy has quit IRC11:09
*** cdent has joined #openstack-nova11:12
*** ragiman has joined #openstack-nova11:12
*** zz9pzza has joined #openstack-nova11:13
*** lucasagomes is now known as lucas-hungry11:14
*** TobbeCN has quit IRC11:16
*** alexchadin has quit IRC11:17
*** TobbeCN has joined #openstack-nova11:17
*** alexchadin has joined #openstack-nova11:17
*** TobbeCN has quit IRC11:17
*** TobbeCN has joined #openstack-nova11:17
*** alexchadin has quit IRC11:17
*** alexchadin has joined #openstack-nova11:18
*** alexchadin has quit IRC11:18
*** alexchadin has joined #openstack-nova11:19
*** alexchadin has quit IRC11:19
*** alexchadin has joined #openstack-nova11:19
*** alexchadin has quit IRC11:20
*** alexchadin has joined #openstack-nova11:20
*** alexchadin has quit IRC11:20
openstackgerritTakashi NATSUME proposed openstack/nova master: List/show all server migration types (2/2)  https://review.openstack.org/45948311:21
*** Nel1x has quit IRC11:22
*** mgariepy has joined #openstack-nova11:23
mdboothlyarwood: Done11:23
*** jaosorior has quit IRC11:24
openstackgerritZhenyu Zheng proposed openstack/nova master: Improve performance when list instances with IP filter  https://review.openstack.org/53946911:25
*** armaan has quit IRC11:25
*** armaan has joined #openstack-nova11:25
*** zz9pzza has quit IRC11:25
lyarwoodmdbooth: thanks11:27
mdboothlyarwood: Took me a while to re-load the context :)11:27
*** jaosorior has joined #openstack-nova11:27
openstackgerritMartin Midolesov proposed openstack/nova master: [vmwareapi] Expose cpu model on homogeneous cluster; Refactoring code;  https://review.openstack.org/56158811:27
*** AlexeyAbashkin has joined #openstack-nova11:28
lyarwoodmdbooth: yeah, I did come across https://bugs.launchpad.net/nova/+bug/1510328 from danpb btw, might try and follow up with that once this lands11:28
openstackLaunchpad bug 1510328 in OpenStack Compute (nova) "Nova pre-allocation of qcow2 is flawed" [Low,Confirmed]11:28
mdboothlyarwood: IIRC that's a pita to do without refactoring the imagebackend.11:29
lyarwoodmdbooth: oh joy, well maybe not then11:29
mdboothlyarwood: Look into it, though. I'm pretty jaded about most of that code, so I may not be looking at it fresh.11:30
*** moshele has quit IRC11:30
*** moshele has joined #openstack-nova11:31
*** mgariepy has quit IRC11:31
openstackgerritLee Yarwood proposed openstack/nova stable/ocata: Modify incorrect debug meaasge in _inject_data  https://review.openstack.org/51995011:32
*** dougshelley66 has quit IRC11:33
*** udesale__ has quit IRC11:34
*** tetsuro has left #openstack-nova11:35
openstackgerritHamdy Khader proposed openstack/nova master: Adding NVMEoF for libvirt driver  https://review.openstack.org/48264011:36
*** TobbeCN has quit IRC11:39
openstackgerritsahid proposed openstack/nova master: libvirt: place emulator threads on CONF.cpu_share_set  https://review.openstack.org/51089711:40
openstackgerritsahid proposed openstack/nova master: compute: introduce cpu_share_set  https://review.openstack.org/56191211:40
openstackgerritsahid proposed openstack/nova master: libvirt: pass emulator threads policy insteadwhether it's isolated  https://review.openstack.org/56191311:40
*** TobbeCN has joined #openstack-nova11:40
sahidjaypipes: I have introduce the cpu_share_set by this serie ^ you might be interested. I tryed to limit the scope to my spec and I expect you to update the option for usage of cpu-resource spec11:41
*** TobbeCN has quit IRC11:42
*** TobbeCN has joined #openstack-nova11:43
*** phuongnh has quit IRC11:43
*** armaan has quit IRC11:44
*** armaan has joined #openstack-nova11:45
*** jpena is now known as jpena|lunch11:45
openstackgerritsahid proposed openstack/nova-specs master: fix blueprint related to the spec  https://review.openstack.org/56191611:45
*** zz9pzza has joined #openstack-nova11:49
*** alexchadin has joined #openstack-nova11:50
*** jogo has quit IRC11:51
*** amoralej is now known as amoralej|lunch11:52
*** alexchadin has quit IRC11:55
kashyapmdbooth: Following up from our yesterday's discussion, I fixed the tests11:55
kashyapmdbooth: And I had to use Mock, I'm afraid.  The tests were already broken / failing11:55
kashyapmdbooth: You can see in this small commit message: https://kashyapc.fedorapeople.org/0001-tests-unit-Fix-test_live_migration_update_graphics_x.patch11:56
*** elmaciej has joined #openstack-nova11:57
jaypipessahid: rock on, thank you sir :)11:59
*** alexchadin has joined #openstack-nova11:59
*** zz9pzza has quit IRC12:00
*** tbachman has joined #openstack-nova12:02
*** slaweq_ has joined #openstack-nova12:03
*** sidx64 has quit IRC12:04
*** dougshelley66 has joined #openstack-nova12:05
*** slaweq has quit IRC12:06
*** slaweq has joined #openstack-nova12:07
*** pchavva has joined #openstack-nova12:07
*** slaweq_ has quit IRC12:08
*** alexchadin has quit IRC12:10
*** zz9pzza has joined #openstack-nova12:11
*** armaan has quit IRC12:14
*** armaan has joined #openstack-nova12:14
*** tiendc has quit IRC12:14
*** dave-mccowan has joined #openstack-nova12:16
*** jogo has joined #openstack-nova12:16
*** trinaths has quit IRC12:18
*** armaan has quit IRC12:19
openstackgerritZhenyu Zheng proposed openstack/nova master: Deduplicate notification samples Rocky - 7  https://review.openstack.org/56074812:19
*** lucas-hungry is now known as lucasagomes12:19
*** ratailor has quit IRC12:19
*** gongysh has quit IRC12:20
*** alexchadin has joined #openstack-nova12:21
openstackgerritSylvain Bauza proposed openstack/nova stable/queens: ironic: Get correct inventory for deployed node  https://review.openstack.org/56192312:21
*** mgoddard has quit IRC12:21
*** moshele has quit IRC12:21
jaypipesjianghuaw_: still up?12:21
*** chenyb4 has joined #openstack-nova12:23
openstackgerritSylvain Bauza proposed openstack/nova stable/pike: ironic: Get correct inventory for deployed node  https://review.openstack.org/56192512:23
*** avolkov has quit IRC12:24
*** markvoelker has quit IRC12:25
*** yamamoto has quit IRC12:25
*** avolkov has joined #openstack-nova12:25
*** markvoelker has joined #openstack-nova12:25
*** yamamoto has joined #openstack-nova12:25
*** yamamoto has quit IRC12:26
*** QianYu has joined #openstack-nova12:26
*** mgariepy has joined #openstack-nova12:26
*** amoralej|lunch is now known as amoralej12:26
bauzasstable cores, looks like we break some TripleO CI, and we need https://review.openstack.org/#/q/I6717ce19f6005c8ebb7af75437a72876c5a53f34 to be accepted for helping them12:26
*** yamamoto has joined #openstack-nova12:26
bauzasfree beers offered12:26
openstackgerritSylvain Bauza proposed openstack/nova stable/pike: ironic: Get correct inventory for deployed node  https://review.openstack.org/56192512:28
*** Eran_Kuris has quit IRC12:28
*** armaan has joined #openstack-nova12:29
*** QianYu has quit IRC12:30
*** lajoskatona has joined #openstack-nova12:34
*** takashin has left #openstack-nova12:35
*** edmondsw has joined #openstack-nova12:37
openstackgerritMerged openstack/nova stable/pike: Fix wrapping of neutron forbidden error  https://review.openstack.org/56008712:38
*** avolkov has quit IRC12:40
*** Eran_Kuris has joined #openstack-nova12:41
lyarwoodbauzas: free beer you say?12:41
bauzasyup, free as in 'I pay'12:41
bauzasVancouver is in 1 month12:42
*** chenyb4 has quit IRC12:42
bauzasand even if I have a gold fish mind, I will still remember :)12:42
mdboothlyarwood: As long as you meet in person at a specific bar in France, location to be revealed no more than 1 hour in advance.12:42
bauzaswell, if in France, no beer12:43
bauzasChartreuse instead12:43
mdboothbauzas: I've never had that...12:44
bauzasagain, https://en.wikipedia.org/wiki/Chartreuse_(liqueur)12:44
mdboothbauzas: Next time I'm in France :)12:45
bauzasmdbooth: didn't you tried the Génépi last time you were there ?12:46
mdboothbauzas: Not that I specifically recall, although there were drinks I drank without necessarily knowing what they were :)12:47
*** jpena|lunch is now known as jpena12:47
bauzasthat's sad12:47
bauzasyou just had half the experience12:47
bauzasskiing is one thing12:47
bauzasafter-skiing is another thing12:48
mdboothApres-ski for me is mostly food and bed :(12:48
* mdbooth is old12:48
openstackgerritMerged openstack/nova stable/queens: only increment disk address unit for scsi devices  https://review.openstack.org/56119612:48
bauzasmdbooth: tss tss, no excuse12:49
stephenfinbauzas: Alternatively, go to 🇦🇹 where the beer is plentiful and the <something decidedly PC about the opposite sex>12:49
bauzasI do ski with 70-yr old people12:50
bauzasactally, skiing on Fridays out of vacation periods make you consider young on the slopes...12:50
*** mchlumsky has joined #openstack-nova12:50
*** liverpooler has joined #openstack-nova12:50
mdboothbauzas: They've all been skiing since they were 2, though12:50
bauzasnah12:51
bauzassome decided to retire in the mountains12:51
bauzaslike new-age monks12:51
bauzasone good way of praying : take a 60% slope12:52
openstackgerritArtom Lifshitz proposed openstack/nova master: Add skip_latest_microversion decorator  https://review.openstack.org/43358512:53
openstackgerritArtom Lifshitz proposed openstack/nova master: Run api sample tests against 2.latest  https://review.openstack.org/43035212:53
*** salv-orlando has quit IRC12:53
*** salv-orlando has joined #openstack-nova12:54
*** mgoddard has joined #openstack-nova12:54
*** mchlumsky has quit IRC12:54
*** mchlumsky has joined #openstack-nova12:57
openstackgerritKonstantinos Samaras-Tsakiris proposed openstack/nova master: Add `hide_hypervisor_id` flavor extra_spec  https://review.openstack.org/55586112:57
*** salv-orlando has quit IRC12:58
*** mriedem has joined #openstack-nova12:59
*** lyan has joined #openstack-nova13:02
*** lyan is now known as Guest3465513:02
*** armaan has quit IRC13:04
*** armaan has joined #openstack-nova13:04
mriedemgibi: question in https://review.openstack.org/#/c/460625/13:04
*** damien_r1 has joined #openstack-nova13:04
*** QianYu_ has joined #openstack-nova13:06
*** damien_r has quit IRC13:07
*** QianYu__ has joined #openstack-nova13:08
kosamaramriedem I fixed the nitpicks and created a blueprint13:10
*** QianYu_ has quit IRC13:11
*** awaugama has joined #openstack-nova13:11
Shilpastephenfin: hi13:12
stephenfinShilpa: o/13:13
Shilpastephenfin: i was going through temst failure logs for https://review.openstack.org/#/c/55017213:13
Shilpastephenfin: Also checked at  http://codesearch.openstack.org/?q=vnc_auto.html&i=nope&files=&repos=13:14
*** alexchadin has quit IRC13:14
Shilpastephenfin: here there are multiple projects referring novncproxy_base_url13:14
openstackgerritStephen Finucane proposed openstack/nova master: Add CPUWeigher  https://review.openstack.org/37952513:15
Shilpastephenfin: do we need to inform respective projects to modify the same, or what action we need to take here?13:15
gibimriedem: the versioned notification works based on the values of the Aggregate ovo so if we want to send the update.start notification with the already updated data then we have to update the Aggregate ovo before the start notification. But that would mean the start notification is sent _after_ the actual update so it is not a start notification any more13:15
gibimriedem: a bit of chicken and egg13:16
*** vladikr has joined #openstack-nova13:16
stephenfinShilpa: We probably do, yes. However, why does that affect the Tempest job?13:17
mriedemgibi: well, or add a 'new_metadata' field to the aggregate payload, something like that13:17
Shilpastephenfin: is because of any refrence we are missing and cauing temst failure for https://review.openstack.org/#/c/550172?13:17
mriedemor 'metadata_updates'13:17
mriedemgibi: granted, the legacy notification is a bit dumb in that it sends the start notification with the updates but it also sends the end notification with the same updates, but not the full aggregate meta, so the legacy notification is also arguably incomplete13:18
mriedemsince i don't know how these are consumed, i don't want to rathole on it too much and that's why i didn't -113:19
*** zz9pzza has quit IRC13:19
Shilpastephenfin: i am still finding root cause of tempst failure, and it was failed for for patch set 1 too, but missing logs there since got over written because of patch set 213:19
mriedemif the consumer wants/needs to know the delta, i guess they can diff the metadata from the start/end notifications13:19
stephenfinShilpa: That configuration value definitely works if you test manually?13:20
*** andreykurilin has joined #openstack-nova13:20
stephenfinShilpa: Hmm, looks like we're not passing the token correctly http://logs.openstack.org/72/550172/2/check/tempest-full/f6945b6/controller/logs/screen-n-novnc.txt.gz13:20
gibimriedem: I would go for the solution where any update.start notification sends information about the state _before_ the update and the update.end sends the new state in the payload. In some cases we deviated from that and added the diff directly to the payload instance.update old_task_sate new_task_state but there we don't have start and end notification to use13:22
Shilpastephenfin: i have checked these logs and here  seems token value is empty13:22
*** armaan has quit IRC13:24
Shilpastephenfin: from where we can confirm, vnc 1.0.0 get downloaded successfully? i checked http://logs.openstack.org/72/550172/2/check/tempest-full/f6945b6/job-output.json.gz, but how once can confirm downloading of latest VNC version is successful?13:24
*** armaan has joined #openstack-nova13:24
mriedemgibi: yeah, +W13:24
*** armaan has quit IRC13:25
*** armaan has joined #openstack-nova13:25
gibimriedem: I think the proposed versioned aggregate.update_metadata is a good start. If somebody needs the explicity diff in the payload we can add that later13:25
gibimriedem: thanks13:25
gibimriedem: btw, I will have to go offline for a while this afternoon but I will be back for the notification subteam meeting13:25
openstackgerritMatthew Booth proposed openstack/nova master: Rename recreate to evacuate in driver signatures  https://review.openstack.org/56090013:26
stephenfinShilpa: Not a clue, I'm afriad13:26
*** zz9pzza has joined #openstack-nova13:26
*** armaan has quit IRC13:27
*** abhishekk has joined #openstack-nova13:28
*** armaan has joined #openstack-nova13:28
*** avolkov has joined #openstack-nova13:30
sahidmriedem: still not convinced about https://review.openstack.org/#/c/553072/ ?13:32
Shilpastephenfin: one more findings, http://logs.openstack.org/72/550172/2/check/tempest-full/f6945b6/controller/logs/screen-n-cond-cell1.txt.gz, here novncproxy_base_url is not reflected what is expected, still referring vvnc_auto.html13:33
mriedemsahid: just forgot about it13:34
sahidmriedem: oh ok no worries13:34
*** armaan has quit IRC13:36
*** armaan has joined #openstack-nova13:36
*** esberglu has joined #openstack-nova13:36
Shilpastephenfin: i have seen workflow -1, what fix in nova you are expecting here?13:37
*** links has quit IRC13:38
stephenfinShilpa: I noticed all the existing examples used 'path=websockify/' (i.e. added the '/')13:38
stephenfinJust curious to see if that affects things. Perhaps the urlparse module needs it13:38
stephenfinI'm just poking stuff13:38
*** yamamoto has quit IRC13:39
*** yamamoto has joined #openstack-nova13:39
*** psachin has quit IRC13:40
Shilpastephenfin: ok, will wiat for Zuul , thank you.13:41
*** felipemonteiro has joined #openstack-nova13:42
*** yamamoto has quit IRC13:44
bauzasmriedem: any help would be appreciated for https://review.openstack.org/#/c/561923/13:44
bauzasmriedem: looks like it's blocking some internal CI13:44
*** felipemonteiro_ has joined #openstack-nova13:46
*** asettle_ is now known as asettle13:47
mriedembauzas: want to remove the note from the commit message? https://review.openstack.org/#/c/56192513:50
dansmithsahid: should these be vhost-user in the config help string as well? https://review.openstack.org/#/c/484997/19/nova/conf/libvirt.py13:50
*** felipemonteiro has quit IRC13:50
mriedemsahid: left comments in https://review.openstack.org/#/c/553072/13:51
*** udesale has joined #openstack-nova13:51
*** sidx64 has joined #openstack-nova13:52
dansmithsahid: or is driver vhost-user and type is vhostuser?13:52
*** andreas_s has quit IRC13:52
bauzasmriedem: thanks13:53
sahiddansmith: right, in the config doc i'm talking of the backend which is vhost-user. the 'vhostuser' name is for the libvirt interface type only13:55
sahidi will update that point13:55
dansmithsahid: okay, that's terribly confusing, but not your fault13:55
dansmithsahid: also, why did you abandon the bottom patch?13:55
*** sidx64_ has joined #openstack-nova13:56
*** abhishekk has quit IRC13:56
dansmithsahid: I was just saying he noted it should be vhost-user not vhostuser13:56
dansmithbut he never commented on it I guess13:56
openstackgerritMatthew Booth proposed openstack/nova master: Rename recreate to evacuate in driver signatures  https://review.openstack.org/56090013:56
sahidbecause i understood that we want only change the driver name if rx or tx queue size is updated, if not so we keep the old behavior and touch nothing13:56
openstackgerritMatthew Booth proposed openstack/nova master: Remove redundant _do_check_can_live_migrate_destination  https://review.openstack.org/56194813:56
openstackgerritStephen Finucane proposed openstack/nova master: doc: Don't confuse CPU pinning/NUMA as Hyper-V only  https://review.openstack.org/56194913:56
openstackgerritStephen Finucane proposed openstack/nova master: doc: Remove 'admin/numa' doc  https://review.openstack.org/56195013:56
*** eharney has joined #openstack-nova13:57
*** sidx64 has quit IRC13:57
sahidhum so i missunderstood13:57
dansmithsahid: okay I think that setting vhost-user when we're sure it's vhost-user is a good cleanup, unrelated to the vhost driver change at the top, which is what I was referring to13:58
*** lpetrut_ has quit IRC13:58
dansmithbut it sounds like he's come around on that second bit anyway13:58
dansmithsahid: if you don't mind restoring that bottom patch but s/vhostuser/vhost-user/ I'll be +2 on both13:59
dansmithsahid: and then I'll try to get jaypipes to review it in trade for something else :)13:59
sahiddansmith: yep actually i agreed with you about to fix that point13:59
dansmith*gasp* :)14:00
sahidjust not sure i understand what you want with the vhost thing? do you want me to change something?14:00
*** yamamoto has joined #openstack-nova14:01
dansmiththe vhost thing is in the second patch, in that you're overriding driver to vhost in more cases today than before the patch, which sean-k-mooney originally said he didn't want to change, but I think he is okay with it now, based on comments, so nothing to change14:01
sahidok cool but that is said I only update it if rx or tx queue size is asked14:02
sahidanyway let me fix all of that and i will ping you14:02
sahidthanks for your help14:02
dansmithsahid: ah, you're right, that must be why :)14:02
*** udesale has quit IRC14:02
sahid:)14:03
sahidmriedem: ok thanks i will take a look and see whether i can help sean if he does not have time to update the code14:03
bhagyashrisefried: Hi,14:04
openstackgerritMatt Riedemann proposed openstack/python-novaclient master: Microversion 2.61 - support extra_specs in flavor API  https://review.openstack.org/56152014:04
efriedbhagyashris: Howdy!14:04
*** r-daneel has joined #openstack-nova14:04
*** mlavalle has joined #openstack-nova14:06
mriedembauzas: trade for you https://review.openstack.org/#/q/topic:bug/1746483+branch:stable/ocata14:07
bauzasmriedem: roger, ack this14:07
bauzasmriedem: you freed me from some internal blackhole, I can pay you off14:07
bauzasoooooh I remember that nasty bug with IsolatedHosts :)14:08
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: Document how to disable notifications  https://review.openstack.org/56195414:09
sean-k-mooneydansmith: ya i would prefer not to set teh driver name element if we dont need too however im fine with it for now14:09
*** dougshelley66 has quit IRC14:09
dansmithsean-k-mooney: yep, thanks for that review14:10
*** hongbin_ has joined #openstack-nova14:10
*** johnsom has quit IRC14:11
*** andrewbogott has quit IRC14:11
*** johnsom has joined #openstack-nova14:12
*** ralonsoh has quit IRC14:13
*** kholkina has quit IRC14:14
*** tbachman has quit IRC14:14
*** dougshelley66 has joined #openstack-nova14:16
*** felipemonteiro_ has quit IRC14:16
*** cristicalin has joined #openstack-nova14:16
*** felipemonteiro__ has joined #openstack-nova14:16
openstackgerritSylvain Bauza proposed openstack/nova master: doc: BFV instances and IsolatedHostsFilter  https://review.openstack.org/54349414:17
*** andrewbogott has joined #openstack-nova14:17
bauzasmriedem: FWIW, just made the amendment you asked me 2 months ago https://review.openstack.org/#/c/543494/14:18
*** andrewbogott has quit IRC14:18
*** andrewbogott has joined #openstack-nova14:18
*** slaweq_ has joined #openstack-nova14:18
*** brault_ has quit IRC14:18
*** mikal has quit IRC14:19
*** mikal has joined #openstack-nova14:20
openstackgerritSylvain Bauza proposed openstack/nova stable/pike: ironic: Get correct inventory for deployed node  https://review.openstack.org/56192514:20
mriedemok14:21
*** slaweq has quit IRC14:21
mriedembauzas: also, gerrit UI won't add the cherry-picked from line in the commit message unless the change you're cherry picking *from* is merged14:22
bauzasI see, in case of a merge commit14:22
*** Eran_Kuris has quit IRC14:23
openstackgerritMatt Riedemann proposed openstack/nova master: doc: BFV instances and IsolatedHostsFilter  https://review.openstack.org/54349414:25
*** cfriesen has joined #openstack-nova14:27
*** zhaochao has quit IRC14:27
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: libvirt: Block swap volume attempts with encrypted volumes prior to Queens  https://review.openstack.org/54356914:29
*** hemna_ has joined #openstack-nova14:30
*** eharney has quit IRC14:33
openstackgerritMerged openstack/python-novaclient master: Stop printing flavor details on successful flavor-delete  https://review.openstack.org/56163414:39
*** lpetrut_ has joined #openstack-nova14:41
kashyapFolks, when someone gets time, can you beat some sense into my (broken) test and me: http://paste.openstack.org/show/719390/14:43
kashyapThis is the last of the two unit test failures I need to fix for the "first batch" of the version bump clean-ups14:44
efriedkashyap: Which line is the exception hitting on?14:44
*** tbachman has joined #openstack-nova14:44
kashyapefried: Line-56, that's what I'm messing up14:45
kashyapefried: For context, this is the original: https://github.com/openstack/nova/blob/master/nova/tests/unit/virt/libvirt/test_driver.py#L9171,L921914:45
*** sidx64 has joined #openstack-nova14:45
kashyapI am replacing the usage of the migrateToURI2() with migrateToURI3() in that test, as a result of post version bump clean-up.14:46
efriedkashyap: Uh, the exception hits when you say14:46
efriedmock_updated_guest_xml.return_value = ''14:46
efried?14:46
kashyapIn the original: target_xml is supplied to mock object to validate return value - test_mock.XMLDesc.return_value = target_xml14:46
*** eharney has joined #openstack-nova14:46
kashyapefried: Can't pin-point to that, but I know that's a mistake there.  Still haven't ran PDB on that to narrow down, but was duking around other bits14:47
* efried downloads...14:47
*** sidx64_ has quit IRC14:48
kashyapefried: For context, this is the other local change that I've fixed for a different test: https://kashyapc.fedorapeople.org/0001-tests-unit-Fix-test_live_migration_update_graphics_x.patch14:48
*** cristicalin has quit IRC14:48
kashyapIt's (the current broken test: 'test_live_migration_with_valid_target_connect_addr') in the same vein14:48
efriedkashyap: Is there code change behind this, or are you just tweaking the test case?14:48
kashyapWe're not doing any Mox stuff in this current test, though.14:48
*** cristicalin has joined #openstack-nova14:49
kashyapefried: I'm tweaking it as a result of: https://review.openstack.org/#/q/topic:bump_min_libvirt_and_qemu+(status:open+OR+status:merged)14:49
efriedkashyap: Just trying to figure out what I need to do to repro it locally, is all.14:49
kashyapefried: You need to apply the above series.  And run this:14:50
kashyap    nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_live_migration_with_valid_target_connect_addr14:50
efried...14:50
gibimlavalle: hi! I'm back. rubasov mentioned that you might be in the process of updating the nova bandwidth spec. I got updated by rubasov about the current issues and I will start shaping up the spec for the next round of discussion but I dont want to conflict with your update14:50
kashyapefried: Feel free to disregard me, as this is a bit time consuming, and needs context14:51
*** sidx64 has quit IRC14:51
kashyapefried: So, if you're in the middle of thing, you can just drop it on the floor.14:51
gibimlavalle: so I can hold my horses if you have something locally already14:51
efriedkashyap: I'm pretty green in a lot of areas, but feel pretty good about my understanding of mocks.  If I can't nail it down fairly quickly, I'll leave you to your thrashing, but I gotta have a crack at it.14:52
gibimlavalle: please not that I will be in and out of connectivity today so I might respond slowly14:52
kashyapefried: Excellent.  The context is only around libvirt APIs.  I'm horrible with unit tests and Mocks14:52
gibimlavalle: *note14:52
efriedkashyap: Okay, so with the series applied and your test added (I named it with a 2) both tests fail.  This is what we expect as a baseline, right?14:52
mlavallegibi: I've been working heads down on multiple port binding, so please go ahead14:52
*** sidx64 has joined #openstack-nova14:52
mlavalledon't hold for me14:53
kashyapefried: Sure.  I'd welcome a different pair of eyes; I'm a bit burned from looking at these the whole day.  Thanks for the assist!14:53
gibimlavalle: OK. thanks for the info14:53
mlavallegibi: and welcome!14:53
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: Drop MIN_LIBVIRT_VIRTUOZZO_VERSION  https://review.openstack.org/56036514:53
openstackgerritKashyap Chamarthy proposed openstack/nova master: tests: unit: Fix 'test_live_migration_update_serial_console_xml'  https://review.openstack.org/56196914:53
openstackgerritKashyap Chamarthy proposed openstack/nova master: tests: unit: Fix 'test_live_migration_update_graphics_xml'  https://review.openstack.org/56197014:53
mlavalleI hope you enjoyed your trip14:53
mlavalleand didn't think about us ;-)14:53
efriedkashyap: Interestingly, both versions of the test fail the same way.14:53
kashyapefried: You mean, my so-called "updated" and the old one?14:54
efriedkashyap: Yes.  And there's no trace to actual running code; I suspect it's blowing up at mock time.14:54
kashyapefried: Exactly14:54
kashyapI have no idea, my Mock knowledge is ... mockable14:55
efriedkashyap: I mean it's the decorators.14:55
stephenfinmriedem: Is the API in nova/network/base_api.py a contract we need to maintain for external users?14:55
stephenfini.e. N cycles before we can remove a function14:55
*** salv-orlando has joined #openstack-nova14:55
efriedkashyap: which is bizarro because the original don't have no decorators.14:55
gibimlavalle: yes, It was really nice and I was able to forget about work :)14:55
kashyapefried: Fantastici14:55
*** sidx64_ has joined #openstack-nova14:55
kashyapefried: But you know --14:55
gibimlavalle: now I'm trying to catch up14:55
mlavalle:-)14:56
efriedkashyap: f me this test suite is huge.14:56
kashyapefried: Tell me all about it14:56
kashyapefried: For context, see this -- "test_live_migration_update_volume_xml", this is almost same as the other one: test_live_migration_with_valid_target_connect_addr14:57
*** sidx64 has quit IRC14:57
*** salv-orlando has quit IRC15:00
*** lajoskatona has quit IRC15:00
efrieduh oh, my IRC client is freaking out.  Back in a tick...15:00
*** efried has quit IRC15:00
*** Nisha_ has joined #openstack-nova15:00
*** efried has joined #openstack-nova15:01
openstackgerritMerged openstack/nova master: Transform aggregate.update_metadata notification  https://review.openstack.org/46062515:01
kashyapmriedem: Are such unit test only patches frowned-upon?  https://review.openstack.org/#/c/561969/15:01
*** awaugama has quit IRC15:01
kashyapmriedem: I've only got two of such, though.  And two more to go in that vien -- fixing the fallout of migrateToURI{2,3} APIs15:02
openstackgerritChris Dent proposed openstack/nova master: Optional separate database for placement API  https://review.openstack.org/36276615:02
openstackgerritChris Dent proposed openstack/nova master: Isolate placement database config  https://review.openstack.org/54143515:02
openstackgerritChris Dent proposed openstack/nova master: WIP: Ensure that os-traits sync is attempted only at start of process  https://review.openstack.org/55385715:02
openstackgerritsahid proposed openstack/nova master: libvirt: fix wrong driver name for vhostuser interface  https://review.openstack.org/56156215:03
openstackgerritsahid proposed openstack/nova master: libvirt: add support for virtio-net rx/tx queue sizes  https://review.openstack.org/48499715:03
*** TobbeCN has quit IRC15:04
mriedemumm15:04
*** salv-orlando has joined #openstack-nova15:05
mriedemkashyap: the commit message doesn't explain to me why we need those changes15:05
mriedemif the tests aren't failing as a result of the version cap changes15:05
*** TobbeCN has joined #openstack-nova15:05
*** Nisha_ has quit IRC15:05
*** armaan has quit IRC15:05
mriedem-1 with words to mull15:06
kashyapmriedem: They are of course failing due to the version cap changes.15:06
kashyapNot fixing them out of giggles15:06
kashyapmriedem: But yes, fair point on the commit message -- I'll write that15:06
*** armaan has joined #openstack-nova15:06
mriedemso these changes are coming before some future patch that changes/removes some version-dependent piece of code?15:07
mriedemrather than just include them in that same change?15:07
kashyapWith the version bump, we get the migrateToURI3() API for gratis, and the older one is riddled with problems15:07
mriedemif the tests start to fail b/c you remove x, then include them in the patch that removes x15:08
kashyapmriedem: Yeah.  I thought including them all in one big blob is ugly15:08
kashyapBut if that's preferred, I can squash them into that change15:08
kashyapBecause probably it *belongs* with the bump change, as that is what has caused the problem.15:08
mriedemtypically the only test only changes i see are (1) adding more test coverage to existing code or (2) a negative test to recreate a bug which is then followed up by a patch that shows the bug is fixed15:09
*** felipemonteiro_ has joined #openstack-nova15:10
kashyapmriedem: Yeah, I noticed it too, from Git history sleuthing.  And it felt "dirty" to just publish a test-only change15:10
kashyapI'll squash them in.  Thanks for the comment15:10
*** ccamacho has quit IRC15:11
*** TobbeCN has quit IRC15:12
*** felipemonteiro__ has quit IRC15:13
*** QianYu__ has quit IRC15:13
*** cdent has quit IRC15:15
openstackgerritKonstantinos Samaras-Tsakiris proposed openstack/nova master: Add `hide_hypervisor_id` flavor extra_spec  https://review.openstack.org/55586115:15
*** cdent has joined #openstack-nova15:16
*** cdent has left #openstack-nova15:16
*** yamamoto has quit IRC15:17
*** yamamoto has joined #openstack-nova15:17
*** sridharg has quit IRC15:17
openstackgerritsahid proposed openstack/nova master: compute: introduce cpu_share_set option  https://review.openstack.org/56191215:22
openstackgerritsahid proposed openstack/nova master: libvirt: pass emulator threads policy instead whether isolated  https://review.openstack.org/56191315:22
openstackgerritsahid proposed openstack/nova master: libvirt: place emulator threads on CONF.cpu_share_set  https://review.openstack.org/51089715:22
*** yamahata has joined #openstack-nova15:22
*** Nel1x has joined #openstack-nova15:22
*** Zames has joined #openstack-nova15:23
*** QianYu has joined #openstack-nova15:23
*** tbachman has quit IRC15:25
*** Zames has quit IRC15:26
*** pcaruana has quit IRC15:28
*** lpetrut_ has quit IRC15:33
sean-k-mooneymriedem: on the topic of test only changes, is nova planning to remove mox this cycle or are we just rewriting the test that use mox as alter the code15:38
mriedemhttps://blueprints.launchpad.net/nova/+spec/mox-removal15:40
sean-k-mooneymriedem: yet another thing the depens on removal of nova networks to finish :)15:40
*** tbachman has joined #openstack-nova15:44
*** mlavalle has quit IRC15:45
*** QianYu has quit IRC15:47
*** sahid has quit IRC15:47
*** cristicalin has quit IRC15:50
*** dougshel_ has joined #openstack-nova15:54
*** mlavalle has joined #openstack-nova15:55
arvindn05bauzas: jaypipes: https://review.openstack.org/#/c/560718/ - can we discuss this spec?15:55
openstackgerritMatt Riedemann proposed openstack/nova master: Cleanup ugly stub in TestLocalDeleteAllocations  https://review.openstack.org/56199715:55
openstackgerritMatt Riedemann proposed openstack/nova master: Cleanup ugly stub in TestLocalDeleteAllocations  https://review.openstack.org/56199715:56
*** dougshelley66 has quit IRC15:58
jaypipesarvindn05: sure15:58
*** QianYu has joined #openstack-nova15:58
arvindn05jaypipes: ty...its hard to find bauzas in IRC because of timezone...if you know of suggestions for when i can find him in IRC that would help :)15:59
bauzasarvindn05: jaypipes: I'm here but it's 6pm here15:59
bauzasso I'll litterally disappear in like the next mins15:59
arvindn05ahh...its 9 AM here...16:00
* bauzas needs to taxi his wife for a couple of days till she gets her new car16:00
arvindn05will try to catch you earlier next time then16:00
*** sidx64_ has quit IRC16:00
bauzasarvindn05: you're US based ?16:00
bauzasWest coast I guess16:00
arvindn05yup...CA16:00
openstackgerritMerged openstack/nova stable/ocata: Add regression test for BFV+IsolatedHostsFilter failure  https://review.openstack.org/54363416:01
*** QianYu_ has joined #openstack-nova16:01
*** QianYu has quit IRC16:01
arvindn05bauzas: please do respond to the comment offline if you get a chance....my second patch for the BP depends on this change so it is starting to block progress for me16:02
*** takedakn has joined #openstack-nova16:02
openstackgerritEd Leafe proposed openstack/nova master: Add columns for generation to consumers  https://review.openstack.org/55795816:02
openstackgerritEd Leafe proposed openstack/nova master: Add the Consumer object  https://review.openstack.org/56140616:02
openstackgerritEd Leafe proposed openstack/nova master: Add Consumer objects to Allocations  https://review.openstack.org/56140716:02
openstackgerritEd Leafe proposed openstack/nova master: Add generation checking logic to Consumer  https://review.openstack.org/56140816:02
openstackgerritEd Leafe proposed openstack/nova master: Add a microversion for consumer generation  https://review.openstack.org/56200016:02
edleafejaypipes: efried: cdent: ^^ now with microversion!16:03
*** sidx64 has joined #openstack-nova16:03
efriedack16:03
edleafejaypipes: efried: cdent: I used microversion 1.99 to avoid having to rebase as things merge. It will be changed to a real version once this gets close16:03
bauzasarvindn05: okay, will try16:04
efriededleafe: You'll still have to rebase, of course.16:04
bauzasit was a busy day for me today16:04
arvindn05bauzas: ty16:04
*** TobbeCN has joined #openstack-nova16:04
bauzasso hoping tomorrow will be different16:04
*** dpawlik has quit IRC16:04
bauzasfor folks wondering, if you see me silent here, that means something else16:04
*** sidx64 has quit IRC16:04
openstackgerritMerged openstack/nova stable/ocata: Handle volume-backed instances in IsolatedHostsFilter  https://review.openstack.org/54363516:05
edleafeefried: yeah, but just once more16:05
openstackgerritMerged openstack/nova stable/ocata: Fix docs for IsolatedHostsFilter  https://review.openstack.org/54363616:05
*** sidx64 has joined #openstack-nova16:06
*** tianhui_ has quit IRC16:06
*** tianhui has joined #openstack-nova16:06
efriedkashyap: You still around?16:07
kashyapefried: Hi, yeah.  But will step out in 10 minutes16:07
kashyapNeed to feed self16:07
efriedkashyap: Problem in your paste http://paste.openstack.org/show/719390/ is at L316:07
efried@mock.patch takes one positional arg.16:07
kashyapefried: Yeah, I forgot to note that, I tried by removing the "return_value" from the @mock.patch16:08
efriedkashyap: If you change it to16:08
efried    @mock.patch('nova.virt.libvirt.migration.get_updated_guest_xml',16:08
efried                return_value='')16:08
efriedyou get by that error (and on to the next :)16:08
kashyapRight16:08
efriedif you wanted to mock.patch.object instead, then the first arg needs to be an object, the second a string naming a symbol.16:08
kashyapI see16:09
*** TobbeCN has quit IRC16:09
kashyapefried: I'm squashing a couple of commits that belong to the same logical change.16:09
efriedkashyap: Does this get you unwedged, or did I misunderstand what you were stuck on?16:09
kashyapAnd then I'll duke it out tomorrow with the rest.  I'll let you know16:09
kashyapefried: A bit ago, I was tinkering by removing the return_value'' in the @mock.patch, and that got me somewhere16:10
efriedkashyap: The only thing you were probably accomplishing there was making the return value the name of the method you thought you were mocking.16:10
kashyapHmm16:11
kashyapLet me get the full test, for a quick once over, when you have time16:11
*** lpetrut_ has joined #openstack-nova16:13
kashyapefried: That's the updated test: http://paste.openstack.org/show/719400/16:13
*** vladikr has quit IRC16:14
* kashyap needs to be AFK for a bit; will read scroll when I'm back. 16:14
*** vladikr has joined #openstack-nova16:14
*** takedakn has quit IRC16:14
*** links has joined #openstack-nova16:14
efriedkashyap: Change L3 to use a single string:     @mock.patch('nova.virt.libvirt.migration.get_updated_guest_xml')16:15
openstackgerritMerged openstack/nova stable/queens: ironic: Get correct inventory for deployed node  https://review.openstack.org/56192316:16
openstackgerritMerged openstack/nova stable/ocata: Functional test for regression bug #1713783  https://review.openstack.org/50516016:17
openstackbug 1713783 in OpenStack Compute (nova) ocata "After failed evacuation the recovered source compute tries to delete the instance" [High,In progress] https://launchpad.net/bugs/1713783 - Assigned to Illes Elod (elod-illes)16:17
openstackgerritMerged openstack/nova master: Deduplicate notification samples Rocky - 1  https://review.openstack.org/56029616:17
*** pcaruana has joined #openstack-nova16:18
*** gyee has joined #openstack-nova16:19
*** ragiman has quit IRC16:20
*** fragatina has quit IRC16:21
*** QianYu_ has quit IRC16:22
*** harlowja has joined #openstack-nova16:23
*** trinaths has joined #openstack-nova16:23
*** r-daneel_ has joined #openstack-nova16:29
*** r-daneel has quit IRC16:30
*** r-daneel_ is now known as r-daneel16:30
*** yamamoto_ has joined #openstack-nova16:30
*** QianYu has joined #openstack-nova16:31
*** damien_r1 has quit IRC16:31
openstackgerritMatt Riedemann proposed openstack/nova stable/ocata: Pass the correct image to build_request_spec in conductor.rebuild_instance  https://review.openstack.org/51640416:32
openstackgerritMatt Riedemann proposed openstack/nova stable/ocata: Set error state after failed evacuation  https://review.openstack.org/51873316:32
*** yamamoto has quit IRC16:33
*** mdbooth has quit IRC16:34
openstackgerritJay Pipes proposed openstack/nova master: support multiple member_of qparams  https://review.openstack.org/56131516:42
*** gjayavelu has joined #openstack-nova16:43
*** Nisha_Agarwal has joined #openstack-nova16:44
openstackgerritChris Dent proposed openstack/nova master: Parse forbidden in extra_specs  https://review.openstack.org/56167716:46
*** yamahata has quit IRC16:48
*** harlowja has quit IRC16:52
mriedemmelwitt: if we can get this novaclient change in https://review.openstack.org/#/c/561520/ we can do a novaclient release to align with rocky-116:52
mriedemwhich we should probably do either way; i think i waited too long in queens to release novaclient and it caused some havoc with OSC and horizon late in queens16:52
melwittmriedem: okay, yeah I did want to release novaclient for r-1. I'll take a look16:53
*** lucasagomes is now known as lucas-afk16:57
*** harlowja has joined #openstack-nova16:57
openstackgerritBalazs Gibizer proposed openstack/nova master: Deduplicate notification samples Rocky - 4  https://review.openstack.org/56073116:58
openstackgerritBalazs Gibizer proposed openstack/nova master: Deduplicate notification samples Rocky - 5  https://review.openstack.org/56073416:58
openstackgerritBalazs Gibizer proposed openstack/nova master: Deduplicate notification samples Rocky - 6  https://review.openstack.org/56073716:58
openstackgerritBalazs Gibizer proposed openstack/nova master: Add request_id to instance action notifications  https://review.openstack.org/55328816:58
*** derekh has quit IRC16:58
*** fragatina has joined #openstack-nova17:03
*** mgoddard has quit IRC17:05
*** dklyle has quit IRC17:07
*** trinaths has quit IRC17:08
melwittmriedem: why do you think disabling the UCA could cause the ceph job problem again? problems occur when installs by pip get mixed with installs by apt-get. devstack will only pip install over a apt-get installed package if upper-constraints aren't being met17:09
melwittwith the Pike UCA, the version of python-paste installed by apt-get did not meet upper-constraints so devstack pip installed a newer version over it. so the matching python-pastedeploy package installed by apt-get had to be manually pip force installed in order to have paste and pastedeploy both installed by pip so pastedeploy could refer to modules in paste17:12
mriedemmelwitt: so that's not a problem if you're just using stock ubuntu 16.04?17:13
melwittit depends on what versions of python-paste and python-pastedeploy are in the repo for 16.04 and if only *one* of them does not meet upper-constraints17:13
*** sidx64_ has joined #openstack-nova17:13
*** yamamoto_ has quit IRC17:15
melwittproblems occur when only one of them does not meet upper-constraints because then devstack will upgrade only one with pip and then they can't refer to each other anymore. really, the hack probably should have been to pip force install both of the packages to guarantee they will always be able to find each other17:16
*** yamamoto has joined #openstack-nova17:16
*** sidx64 has quit IRC17:16
*** yamahata has joined #openstack-nova17:16
*** QianYu has quit IRC17:16
jaypipesmriedem, melwitt, dansmith: any of you seen "nova.exception.InvalidDiskInfo: Disk info file is invalid: qemu-img failed to execute on /fake/path : Unexpected error while running command." pop up in unit test failures recently?17:16
melwittjaypipes: I have not17:17
mriedemunit tests?17:17
mriedemi probably know the one that is causing it17:17
jaypipesmriedem: ya. if I run tox -epy27, I get a single failure, always in nova.tests.unit.virt.test_images.QemuTestCase.test_qemu_info_with_errors17:18
mriedemhttps://review.openstack.org/#/c/553067/17:18
*** gokhan has quit IRC17:18
*** QianYu has joined #openstack-nova17:18
openstackgerritChris Dent proposed openstack/nova master: Parse forbidden in extra_specs  https://review.openstack.org/56167717:19
openstackgerritJay Pipes proposed openstack/nova master: support multiple member_of qparams  https://review.openstack.org/56131517:20
jaypipesmriedem, melwitt, dansmith: only seems to happen for me locally. so not really concerned about it...17:20
*** harlowja has quit IRC17:20
mriedemprobably a bad global mock on os.exists17:21
melwittdo those tests require that you have qemu-img installed maybe?17:22
*** mdnadeem has quit IRC17:23
*** jchhatbar has quit IRC17:27
*** gokhan has joined #openstack-nova17:28
jaypipesmelwitt: not sure... I can check17:29
*** QianYu has quit IRC17:34
dansmithsean-k-mooney: if you're still around and can re-apply your +1 to this I think that'd be good: https://review.openstack.org/#/c/484997/2017:35
*** links has quit IRC17:35
*** wolverineav has joined #openstack-nova17:36
*** QianYu_ has joined #openstack-nova17:37
sean-k-mooneydansmith: done. it looks like v20 is just some pep8 fixs/whitespace clean up for v19 so ya it looks fine to me17:37
dansmithsean-k-mooney: yes, just want your +1 on there :)17:38
dansmiths/just/I just/17:38
*** awaugama has joined #openstack-nova17:39
*** QianYu has joined #openstack-nova17:40
*** QianYu_ has quit IRC17:40
*** r-daneel_ has joined #openstack-nova17:42
*** mgoddard has joined #openstack-nova17:42
*** r-daneel has quit IRC17:43
*** r-daneel_ is now known as r-daneel17:43
*** QianYu has quit IRC17:44
mriedemmelwitt: unit tests should never require that you have native packages installed17:44
melwittI know, but I've run into issues with that in the past17:45
*** links has joined #openstack-nova17:47
*** jpena is now known as jpena|off17:49
*** Tom-Tom has joined #openstack-nova17:50
melwittKevin_Zheng: your blueprint "Add request_id to instance action notifications [END DATE: 2018-05-01]" has been added to a review runway. please let us know if the next two weeks are not a good time for fast iteration on review https://etherpad.openstack.org/p/nova-runways-rocky17:52
dansmithI assume we won't hear back on that until later this afternoon yeah?17:53
*** ChanServ sets mode: +o dansmith17:53
melwittmaybe not. I didn't know what time zone he is17:54
*** tssurya_ has joined #openstack-nova17:54
*** dansmith changes topic to "Current runways: add-request-id-to-instance-action-notifications / powervm-vscsi / convert-consoles-to-objects -- This channel is for Nova development. For support of Nova deployments, please use #openstack."17:55
openstackgerritChris Dent proposed openstack/nova-specs master: Update forbidden spec to reflect chosen nova-side format  https://review.openstack.org/56201217:55
dansmithmelwitt: china17:55
*** ChanServ sets mode: -o dansmith17:55
melwitta-ha, cool17:55
melwittthe series is half approved already and currently actively reviewed/responded so I expect it's going to be okay17:55
* dansmith nods17:56
*** mgoddard has quit IRC17:59
*** AlexeyAbashkin has quit IRC18:02
*** tbachman has quit IRC18:05
*** tesseract has quit IRC18:06
*** mvk has quit IRC18:07
imacdonnmriedem dansmith efried: need to decide what to do with https://review.openstack.org/#/c/558089/ - I'm leaning back towards just removing the check in init_host(). If it needs something more than that, I probably need to let it go to someone else18:07
openstackgerritMerged openstack/python-novaclient master: Fix comments in novaclient/tests/unit/fakes.py  https://review.openstack.org/56177218:07
efriedimacdonn: I thought we decided to basically leave the old check as is but switch to checking auth_type instead of region18:08
imacdonnefried: I tried that, but it gets all complicated with unit testing again18:09
efriedYou can't just replace os_region_name with auth_type throughout?18:09
imacdonnefried: no, because all the tests that create a compute service try to actually use placement if auth_type is set, and we're back to messing around with fixtures (and it needs a valid auth_url, etc.)18:10
efriedeek, really?  Hum, okay.18:10
mriedemso zvm was moved out of runways? i don't see a log note for it18:14
dansmithmriedem: there was ML traffic about it18:14
mriedemsure but18:15
mriedemsherbit18:15
dansmithnot in the lo because it's back in the queue I guess18:15
mriedemsorbet?18:15
dansmithsherbert18:15
mriedemok, haircut time it is18:16
*** mriedem is now known as mriedem_shamwow18:16
*** fragatina has quit IRC18:18
melwittyeah, I didn't think to put log notes because it's back in the queue. but I'll add log notes to it now, I think that's a good idea18:19
dansmithI did it18:19
dansmithwith a link to the ML18:20
melwittyou rock, thanks18:20
*** amoralej is now known as amoralej|off18:22
*** tbachman has joined #openstack-nova18:23
*** tbachman_ has joined #openstack-nova18:25
*** sidx64_ has quit IRC18:25
*** Nisha_Agarwal has quit IRC18:25
*** tbachman has quit IRC18:27
*** tbachman_ is now known as tbachman18:27
*** dklyle has joined #openstack-nova18:30
*** tbachman_ has joined #openstack-nova18:30
*** tbachman has quit IRC18:32
*** tbachman_ is now known as tbachman18:32
*** sdeath has quit IRC18:34
*** wolverineav has quit IRC18:35
*** wolverin_ has joined #openstack-nova18:35
*** wolverin_ has quit IRC18:38
openstackgerritMerged openstack/nova-specs master: Update forbidden spec to reflect chosen nova-side format  https://review.openstack.org/56201218:38
*** wolverineav has joined #openstack-nova18:38
*** felipemonteiro_ has quit IRC18:38
*** felipemonteiro_ has joined #openstack-nova18:39
*** wolverineav has quit IRC18:39
*** wolverineav has joined #openstack-nova18:39
openstackgerritMerged openstack/nova master: Deduplicate notification samples Rocky - 2  https://review.openstack.org/56029918:40
openstackgerritMerged openstack/nova master: Deduplicate notification samples Rocky - 3  https://review.openstack.org/56072718:41
*** hongbin_ has quit IRC18:41
openstackgerritMerged openstack/nova master: doc: BFV instances and IsolatedHostsFilter  https://review.openstack.org/54349418:41
*** elmaciej has quit IRC18:41
*** hongbin_ has joined #openstack-nova18:41
sean-k-mooneyanyone know where the people that work on diskimage-builder hang out on irc? #openstack-infra?18:42
dansmithprobs18:42
imacdonnsean-k-mooney: there's supposed to be a #openstack-dib , according to https://wiki.openstack.org/wiki/IRC18:42
sean-k-mooneyimacdonn: ah thanks :)18:43
sean-k-mooneyi need to bookmark that wiki18:43
*** dklyle has quit IRC18:46
dansmithlyarwood: on this https://review.openstack.org/#/c/561704 -- are we sure that the bit you're getting from qemu-img is the allocated part and not the would-be-allocated part?18:47
*** felipemonteiro has joined #openstack-nova18:48
*** felipemonteiro_ has quit IRC18:48
*** felipemonteiro_ has joined #openstack-nova18:49
*** avolkov has quit IRC18:49
lyarwooddansmith: it's the allocated part, virtual size is the potential allocation but thats the same for preallocated files like the example in the commit18:50
*** dklyle has joined #openstack-nova18:51
dansmithlyarwood: yeah, I'm poking around with qemu-img right now18:51
*** felipemonteiro has quit IRC18:53
dansmiththe fallocate command you have doesn't work for me,18:53
dansmithbut the neckbeard way of making a sparse file does show:18:53
dansmithdan@eagle:~$ qemu-img info -f raw testsparse.img | grep size18:53
dansmithvirtual size: 1.0G (1074790400 bytes)18:53
dansmithdisk size: 1.0M18:53
*** elmaciej has joined #openstack-nova18:53
*** elmaciej_ has joined #openstack-nova18:54
lyarwooddansmith: ah on osx? fallocate -n is odd and tbh I had no idea about it until this came up18:55
dansmithlyarwood: nope, linux18:55
dansmithfallocate: fallocate failed: keep size mode is unsupported18:55
lyarwooddansmith: try -l 1M18:55
dansmithit doesn't matter, I created a sparse file with dd18:56
lyarwooddansmith: but anyway, it's weird as it leaves the EOF at the start of the file but allocates blocks past that.18:56
dansmithbecause I'm old school cool18:56
*** claudiub|2 has quit IRC18:56
dansmithoh I see, a little different than sparse18:56
dansmiththat seems fairly evil18:56
*** dklyle has quit IRC18:57
dansmithbut, doesn't matter for what I was looking for18:57
lyarwoodkk18:57
*** elmaciej has quit IRC18:58
*** r-daneel_ has joined #openstack-nova19:01
dansmithjaypipes: wanna send that ^ ?19:02
dansmithpretty easy19:02
*** damien_r has joined #openstack-nova19:02
*** r-daneel has quit IRC19:03
*** r-daneel_ is now known as r-daneel19:03
openstackgerritiain MacDonnell proposed openstack/nova master: Remove placement config check  https://review.openstack.org/55808919:03
*** TobbeCN has joined #openstack-nova19:09
jaypipesdansmith: sorry, send what?19:13
dansmithjaypipes: https://review.openstack.org/#/c/56170419:13
*** TobbeCN has quit IRC19:13
dansmithquick fix to look at the actual allocated size of a disk instead of just what the dumb ol' operating system thinks19:14
dansmith(i.e. accounting for sparse files)19:14
jaypipesack. on itr.19:14
jaypipesdansmith: /me wondering what "crudini" is...19:23
dansmitheh?19:24
openstackgerritMerged openstack/nova master: Remove mox in test_serversV21.py (1)  https://review.openstack.org/56082119:24
jaypipesdansmith: +W'd it.19:25
*** AlexeyAbashkin has joined #openstack-nova19:25
lyarwoodjaypipes: ^_^ https://pypi.org/project/crudini/ aka openstack-config19:25
lyarwoodwell, downstream at least, no idea if that wrapper was upstream at any point19:26
dansmithjaypipes: pre-allocation of an image (even qcow) is for performance19:26
jaypipeslyarwood: ah, cool. thx :)19:27
*** tbachman has quit IRC19:28
jaypipesdansmith: oh? wasn't aware of that. is the performance due to contiguous blocks being grouped together?19:28
dansmithjaypipes: allocation takes time and effort19:28
*** r-daneel_ has joined #openstack-nova19:29
dansmithjaypipes: on a busy system preallocation won't even get you contiguous bits,19:29
dansmithbut if you want predictable disk performance, you don't want to write to a hole and take a hit waiting for the allocation and _then_ the write19:29
dansmithand of course,19:29
jaypipesdansmith: so pre-allocating speeds up VM start times?19:29
dansmithno19:29
dansmiththis would be performance after it's running19:29
jaypipesah, ok.19:30
jaypipessorry, out of my depth with block device stuff :(19:30
dansmithbefore it has hit every page on its own disk at least once19:30
dansmiths'all good19:30
*** r-daneel has quit IRC19:30
*** r-daneel_ is now known as r-daneel19:30
*** tssurya has quit IRC19:32
*** AlexeyAbashkin has quit IRC19:34
*** imacdonn has quit IRC19:35
*** tbachman has joined #openstack-nova19:35
*** imacdonn has joined #openstack-nova19:36
*** xinliang has quit IRC19:37
*** xinliang has joined #openstack-nova19:39
* melwitt is about to use ddt in a unit test19:42
openstackgerritMerged openstack/python-novaclient master: Microversion 2.61 - support extra_specs in flavor API  https://review.openstack.org/56152019:46
*** Tom-Tom has quit IRC19:48
*** mrjk has quit IRC19:49
*** mriedem_shamwow is now known as mriedem19:49
*** mrjk has joined #openstack-nova19:49
*** harlowja has joined #openstack-nova19:50
*** dklyle has joined #openstack-nova19:52
openstackgerritJackie Truong proposed openstack/nova master: Implement certificate_utils  https://review.openstack.org/47994919:53
openstackgerritJackie Truong proposed openstack/nova master: Plumb trusted_certs through libvirt driver image paths  https://review.openstack.org/56126219:53
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API  https://review.openstack.org/48620419:53
openstackgerritJackie Truong proposed openstack/nova master: Add certificate validation docs  https://review.openstack.org/56015819:53
*** damien_r has quit IRC19:55
*** jackie-truong has joined #openstack-nova20:01
openstackgerritJay Pipes proposed openstack/nova master: support multiple member_of qparams  https://review.openstack.org/56131520:03
melwittjackie-truong: hey, just wanted to say please feel free to add notes on how the runway time went for your blueprint in the log area (L123 https://etherpad.openstack.org/p/nova-runways-rocky)20:04
jackie-truongmelwitt: Absolutely, will do!20:05
*** liverpooler has quit IRC20:05
openstackgerritJay Pipes proposed openstack/nova master: support multiple member_of qparams  https://review.openstack.org/56131520:06
*** awaugama has quit IRC20:07
openstackgerritChris Dent proposed openstack/nova master: Use nova.db.api directly  https://review.openstack.org/54326220:10
mriedemGAH20:13
mriedemwhy does this hard-coded read_deleted='no'? https://github.com/openstack/nova/blob/54dc7048a48799ed980138e3524e4ebfc544eb8c/nova/db/sqlalchemy/api.py#L47320:14
mriedem*hard-code20:14
cfriesenso do a bunch of the other service_get_by_* routines20:15
mriedemyes20:15
mriedemglad i stepped away for awhile to come back and figure this out20:15
melwittbecause no one would ever want to read deleted service records or use context to override read_deleted. duh!20:16
* mriedem git blames like a mofo20:16
melwittheh20:17
mriedemchances are it was a dan from red hat20:17
mriedemhttps://github.com/openstack/nova/commit/30159255bf5ec89c9092eb0273c292d44724e1f120:17
*** fragatina has joined #openstack-nova20:18
*** Tom-Tom has joined #openstack-nova20:18
cfriesenmriedem: looks like service_get_all_by_topic() and friends ignored deleted records as far back as 201120:19
mriedemyeah i'm sure it's just a pattern that all the newer methods followed20:19
*** dougshel_ has quit IRC20:21
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add functional recreate test for bug 1764556  https://review.openstack.org/56204120:21
openstackbug 1764556 in OpenStack Compute (nova) ""nova list" fails with exception.ServiceNotFound if service is deleted and has no UUID" [Undecided,New] https://launchpad.net/bugs/176455620:21
mriedemcfriesen: i can't recreate that bug, but here is my test that tries ^20:21
*** dklyle has quit IRC20:21
*** Tom-Tom has quit IRC20:22
cfriesenmriedem: does it result in the equivalent DB entries that I did manually?20:23
mriedemhow about just looking at the test to see if i'm missing something20:24
dansmithmriedem: yeah, I mean, getting by binary kinda has to ignore deleted20:24
cfriesenlooking already20:24
mriedemdansmith: it's redundant with the context.read_deleted which defaults to 'no'20:25
mriedembut in this test i needed to specifically read deleted services20:25
mriedemand that was preventing me from being able to20:25
mriedemhence, "GAH"20:26
mriedemcfriesen: adding more debug, looks like the deleted service does in fact have a uuid20:26
arvindn05how do we get host uuid from hostname in the scheduler? i am trying to get host uuid for host specified in the request_spec.force_hosts.20:26
arvindn05Is calling GET /os-hypervisors the only way? Ideally I was hoping the request_spec had the uuid but all I get is the host name20:26
arvindn05https://github.com/openstack/nova/blob/master/nova/scheduler/manager.py#L9320:26
arvindn05any hints on internal methods i can call from the scheduler to provide the uuid's?20:27
mriedemarvindn05: scheduler doesn't need to call compute REST APIs20:28
mriedemit can use the db20:28
*** pchavva has quit IRC20:28
cfriesenmriedem: I wonder if deleting the service added the uuid back in?20:28
mriedemarvindn05: likely looking at https://github.com/openstack/nova/blob/master/nova/objects/compute_node.py#L26920:29
mriedemcfriesen: ah yeah, it probably did b/c the API looks up the service from the db to build the object and then delete it20:29
*** yamamoto has quit IRC20:29
mriedemarvindn05: there is also force_nodes20:30
*** yamamoto has joined #openstack-nova20:30
mriedemironic nodes are 1:M host:node20:30
mriedemthat's why get_first_node_by_host_for_old_compat is semi deprecated20:30
arvindn05mriedem: thanks. so i need to load compute node using the get_by_host_and_nodename method and get the uuid that way?20:30
*** dklyle has joined #openstack-nova20:31
mriedemthis is to get the compute node uuid to find the resource provider for rebuild right?20:31
arvindn05yup20:31
mriedemarvindn05: yeah then likely just use this https://github.com/openstack/nova/blob/master/nova/objects/compute_node.py#L26220:32
*** lpetrut_ has quit IRC20:32
arvindn05i have both the host and node names...so it looks appropriate20:32
mriedemthat's a bit heavy since we don't need the full compute node object, but that should work for starters20:32
*** fragatina has quit IRC20:32
arvindn05mriedem: thanks. is there any other lightweight mapping other than going to the db?20:33
arvindn05i saw somewhere that the host id is generated from a combination of something....let me look it up20:33
*** yamamoto has quit IRC20:34
arvindn05https://ask.openstack.org/en/question/29085/which-api-to-be-used-to-get-uuid-of-compute-host/?answer=29091#post-id-2909120:34
*** burt has joined #openstack-nova20:35
mriedemno that's not it20:35
cfriesenarvindn05: going to the DB should be relatively cheap20:35
mriedemthat's the hashed instance.hostId20:35
mriedemthe computenode.host is the hostname of the compute service20:35
mriedemthe physical hostname20:36
mriedemthe nodename is the same as the host for all virt drivers except ironic20:36
arvindn05mriedem: cfriesen: thanks...will go to the db then. if there are more effiecint methods, hopefully they will be pointed out in the CR20:36
mriedemin the case of ironic, the computenode.hypervisor_hostname (nodename) is the ironic node uuid20:36
mriedemthere are not more efficient methods without writing your own new DB API query method via the ComputeNode object20:36
mriedemlike, get_uuid_by_host_and_nodename20:36
arvindn05^ was hoping someone already wrote that method :)20:37
*** fragatina has joined #openstack-nova20:37
mriedemi don't think it's a huge issue to lookup the compute node for the rebuild case, it's not like scheduling for that should be very expensive since all we're doing is validating the new image20:37
arvindn05yup...its not for all rebuild cases either...only rebuild cases where they have traits expressed in image....so its a minor subset20:38
*** sapd__ has joined #openstack-nova20:40
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add functional recreate test for bug 1764556  https://review.openstack.org/56204120:42
openstackbug 1764556 in OpenStack Compute (nova) ""nova list" fails with exception.ServiceNotFound if service is deleted and has no UUID" [Undecided,New] https://launchpad.net/bugs/176455620:42
mriedemcfriesen: getting further but still not failing when listing instances ^20:42
*** links has quit IRC20:42
*** pcaruana has quit IRC20:42
*** sapd_ has quit IRC20:43
efriedimacdonn: Quick delta there and I'm happy20:44
imacdonnefried: Ahh, good catch20:45
efriedimacdonn: I checked and that's the only place it was used.20:45
imacdonnyep, I just 'grep -r'ed too ;)20:45
* efried used a fancy IDE feature20:46
imacdonnooooh20:46
efried...which is probably less reliable than grep -r20:46
imacdonnheh20:46
efriedbut way more efficient.20:46
efriedYou know, as long as you discount all the freaking processing power the IDE had to do up front to indext the whole freaking project.20:47
efrieds/indext/index/20:47
imacdonnyeah20:47
mriedemcfriesen: if i revert this https://review.openstack.org/#/c/543970/ then the test fails with ServiceNotFound20:47
openstackgerritMatt Riedemann proposed openstack/nova master: DNM: Revert "Lazy-load instance attributes with read_deleted=yes"  https://review.openstack.org/56205120:48
mriedembut, that basically means it's already fixed20:48
cfriesenmriedem: does host1.stop() delete the entry in the DB? or do we need host1.kill()?20:49
cfriesenI definitely tested it with current stable/pike in devstack20:49
mriedem.stop() doesn't delete the service20:49
openstackgerritMerged openstack/nova master: Parse forbidden in extra_specs  https://review.openstack.org/56167720:50
cfriesenah, I see. you're stopping it then deleting it20:50
mriedembesides, yeah20:50
mriedemi stop the service, delete it, and then have to null out the service uuid because as noted, deleting the service via the rest api looks it up and will migrate the uuid if not set20:50
cfriesenlet me just double-check my devstack20:50
mriedemcfriesen: did you have https://review.openstack.org/#/c/545988/ in your devstack env?20:52
openstackgerritMerged openstack/nova stable/pike: libvirt: Block swap volume attempts with encrypted volumes prior to Queens  https://review.openstack.org/54356920:52
mriedemoh you said current stable/pike20:52
openstackgerritiain MacDonnell proposed openstack/nova master: Remove placement config check  https://review.openstack.org/55808920:53
*** Zames has joined #openstack-nova20:54
*** dougshelley66 has joined #openstack-nova20:55
mriedemwell, if anything, i guess i can still leave this test in place for bug 1745977 so we have coverage of the scenario20:56
openstackbug 1745977 in OpenStack Compute (nova) queens "When source compute service up, will not destroy and clean up those instances which be evacuated then be deleted." [Medium,Fix committed] https://launchpad.net/bugs/1745977 - Assigned to Matt Riedemann (mriedem)20:56
*** mrjk has quit IRC20:56
cfriesenmriedem: when you list the servers, are you doing it as an admin user?20:57
*** jackie-truong has quit IRC20:57
cfriesenmriedem: regular user doesn't get the host info20:57
cfriesenmriedem: and so doesn't trigger the bug20:57
*** mrjk has joined #openstack-nova20:58
*** Tom-Tom has joined #openstack-nova20:58
cfriesenI just reproduced in devstack after restarting all the nova services, so should be valid20:58
*** Zames has quit IRC20:59
openstackgerritmelanie witt proposed openstack/nova master: Add periodic task to clean expired console tokens  https://review.openstack.org/32538120:59
openstackgerritmelanie witt proposed openstack/nova master: Use ConsoleAuthToken object to generate authorizations  https://review.openstack.org/32541420:59
openstackgerritmelanie witt proposed openstack/nova master: Convert websocketproxy to use db for token validation  https://review.openstack.org/33399020:59
openstackgerritmelanie witt proposed openstack/nova master: Update layout docs for running console proxies  https://review.openstack.org/55748920:59
cfriesenI wonder if you just replaced self.api.get_servers() at the bottom with self.admin_api.get_servers()...20:59
mriedemcfriesen: no, not admin20:59
mriedemi can try that21:00
efriedjaypipes: Quick +A on previously +2'd https://review.openstack.org/#/c/558089/ ?21:00
*** Tom-Tom has quit IRC21:03
mriedemthere will be an obvious error in the n-cpu logs when placement isn't configured without that?21:04
mriedemor will we just get the safe_connect warnings?21:04
mriedemcfriesen: that doesn't change anything, listing with admin21:05
*** gjayavelu has quit IRC21:05
efriedmriedem: We should see MissingAuthPlugin21:05
*** gjayavel_ has joined #openstack-nova21:05
efriedmriedem: But IMO safe_connect is still broken.21:05
mriedemso we'll get https://github.com/openstack/nova/blob/master/nova/scheduler/client/report.py#L7721:06
mriedemand nova-compute will be running and not reporting into placement21:06
*** Tom-Tom has joined #openstack-nova21:06
dansmithwe shouldn't warn_limit that I think21:06
efriedmriedem: Yup, I believe that's right.  You'll get that nag the first ten times (or whatever) and then it'll quit.21:07
*** tbachman has quit IRC21:07
efriedIt's more broken than warn_limit can fix.21:07
efriedWhat's broken about it is that we don't raise an exception when it happens.  We just let the decorated code continue.21:07
dansmithyeah we should explode I think21:08
mriedemwell, for nova-compute sure21:08
mriedembut for nova-api in rocky no21:08
efriedIf safe_connect was used extremely carefully - only in the outermost scope of whatever is calling into placement - then it would be less broken.21:08
mriedemi.e. https://review.openstack.org/#/c/560706/2/releasenotes/notes/bug-1679750-local-delete-allocations-cb7bfbcb6c36b6a2.yaml21:08
efriedBut as it stands, it is theoretically possible for it to reconnect and then proceed, having skipped the first step of whatever that outer process was.21:09
*** tssurya_ has quit IRC21:09
efriedFor this patch, it makes no difference - *nothing* will get done to placement.  But for random midstream disconnects, it could potentially be disastrous.21:09
efriedI guess ^ only applies for the EndpointNotFound branch.21:11
efriedcause that's the only place we try to reconnect.21:11
*** Tom-Tom has quit IRC21:11
dansmithsafe_connect was to make moving from no-placement to placement very smooth21:12
dansmithit probably needs to change quite a bit in today's world21:12
dansmithlogging every single time we fail to talk to placement at least,21:12
dansmithand probably raising a lot more so we don't fail to make changes we think we're making21:13
mriedemso before rocky we never said that nova-api required config to talk to placement, are we now saying it does and if you don't have that config in place things are going to blow up?21:14
*** mvk has joined #openstack-nova21:14
mriedemspecifically thinking about https://review.openstack.org/#/q/topic:bug/1756179+(status:open+OR+status:merged) and the mirror aggregates stuff21:14
dansmithpersonally that doesn't bother me, but api-initiated code can be graceful about it21:15
mriedemthe former i care about more b/c i thought we would backport those21:15
dansmithwithout needing safe_connect hiding everything from us21:15
dansmithIMHO, ultimately the api aggregate mirroring stuff should be strict about not making local changes if it can't tell placement, so it needs good exception handling anyway21:16
dansmithmaking it graceful now and strict later is easy if it's all up there21:16
dansmithwell, not all, but .. the handling of this not-configured case at least21:16
mriedemso basically move safe_connect to api21:16
openstackgerritMerged openstack/nova master: libvirt: Report the allocated size of preallocated file based disks  https://review.openstack.org/56170421:16
mriedemand drop it in stein21:16
dansmithI dunno that all of safe_connect needs to go away, but I'd have to go look at it21:16
dansmithbut yeah, the "tread lightly" function of it makes no sense for compute anymore, but api has the same need compute did21:17
efriedI like the idea of nixing safe_connect, at least in its current form.  If we get rid of it, then placement connect errors will raise exceptions that will bubble all the way up the stack.  Usually (i.e. in _update-land) that'll mean we hit whatever operation again on the next periodic task.21:19
efriedIf we keep safe_connect, it should have some functionality that... connects... safely.  E.g. the current exception clauses should reconnect and then retry the original call (once).21:20
efriedThat ^ is what I was expecting it to do when I first saw it.21:20
efried...before I actually read the code.21:21
openstackgerritDoug Hellmann proposed openstack/os-vif master: Add lower-constraints job  https://review.openstack.org/55605621:21
efriedAt this point, perhaps certain of those exceptions (like MissingAuthPlugin) should actually disable the compute service.21:21
mriedemi could see adding a kwarg to safe_connect telling it how to behave, so that by default it can now explode on connection failures (nova-compute, scheduler, conductor would want that), but nova-api could tell it to not fail due to those21:22
*** priteau has quit IRC21:22
mriedemefried: well, that was the point of the check on startup region_name21:22
mriedem*using region_name21:22
efriedmriedem: Right; so at this point are we ever calling report client from code paths that *don't* require placement to be online?21:22
dansmithhe is asserting api21:23
mriedemwe have patches up for review which add new requirements to nova-api for placement21:23
dansmithbut I personally don't think it's unreasonable to start calling it21:23
efriedI'm sayin, are we calling it from API even if we don't require it?21:23
mriedemand i'm trying to make those graceful for upgrades21:23
*** claudiub|2 has joined #openstack-nova21:23
dansmithI feel like we'd start or stop talking to cinder or neutron from api without thinking about it21:23
dansmithbut also,21:23
dansmithI don't think we have to have safe_connect at the lowest layer just because api wants it21:24
*** edmondsw has quit IRC21:24
mriedemi agree with the last thing you said21:24
dansmithapi can do the placement mirroring stuff and except Exception21:24
dansmithor we can move safe_connect to a context manager and you can do:21:24
dansmithwith safe_placement_stuff: do_things;21:25
mriedem^ is what i'm thinking21:25
*** tbachman has joined #openstack-nova21:25
dansmithand it will catch and ignore or log or whatever is appropriate for up there21:25
efrieddansmith: Would you use that context manager from RT or from methods within report client?21:26
dansmithyou'd use it in the api methods getting ready to talk to placement21:26
dansmithor anywhere else that still wants safe_connect behavior21:26
dansmithI would expect report client to catch things it needs, bubble unexpected things (like this auth thing) up to the caller21:27
dansmithor translate them into something like PlacementNoWorky or whatever21:27
efriedokay.  Cause I think the major hole with what we're doing now is that we're calling it from within report client, often in ways that may cause us to be ignoring an exception on step 3 of a 10-step process and then proceeding with the rest.21:27
dansmithright21:28
dansmithwhich is why we shouldn't have it underneath report client21:28
efried++21:28
*** tbachman_ has joined #openstack-nova21:28
efriedunless it's doing a reconnect-and-retry thing.21:28
dansmithsure21:28
cfriesenmriedem: I'm confused why it's not failing...it was trivially easy to reproduce in devstack by adding a single row to the services table.21:28
efriedIn which case it should probably decorate the get/put/post/delete primitives and nothing else.21:29
*** tbachman has quit IRC21:29
*** tbachman_ is now known as tbachman21:29
*** wolverineav has quit IRC21:31
*** wolverineav has joined #openstack-nova21:31
*** eharney has quit IRC21:31
*** wolverineav has quit IRC21:32
*** wolverineav has joined #openstack-nova21:32
lyarwoodDoes anyone have a simple way to enable debug logging within functional tests? self.flags doesn't appear to work.21:33
*** Tom-Tom has joined #openstack-nova21:33
mriedemOS_DEBUG=True21:34
mriedemhttps://github.com/openstack/nova/blob/ad249d8994067b1c255823cb7c1ff4c32593e5ef/tox.ini#L2421:35
lyarwoodthanks! :)21:35
*** Tom-Tom has quit IRC21:38
*** sdague has quit IRC21:41
*** dklyle has quit IRC21:42
cfriesenmriedem: when I run your testcase locally it's failing in _migrate_server()21:43
cfriesenhttp://paste.openstack.org/show/719417/21:44
mriedemcfriesen: in pike?21:45
mriedembecause pike doesn't have 204 in this list https://github.com/openstack/nova/blob/87ea686f9f2cc706205d188922bb14272625e7be/nova/tests/functional/api/client.py#L22321:45
openstackgerritEric Fried proposed openstack/nova master: WIP: Make safe_connect retry or raise  https://review.openstack.org/56206021:46
efrieddansmith, mriedem: ^21:46
*** dklyle has joined #openstack-nova21:46
*** burt has quit IRC21:46
efrieddansmith, mriedem: There would be a separate, unrelated thingy for the n-api side of the world.21:46
cfriesenmriedem: yes, in pike21:46
cfriesenretrying with that21:48
*** slaweq_ has quit IRC21:48
*** slaweq has joined #openstack-nova21:48
cfriesenis there a way to stick a pdb breakpoint in there right before the last line?21:49
*** esberglu has quit IRC21:51
*** yamamoto has joined #openstack-nova21:52
efriedcfriesen: Are you asking how to pdb via stestr?21:52
efriedcause I have that answer21:52
*** slaweq has quit IRC21:53
cfriesenefried: I want to pdb in a functional test21:53
efriedcfriesen: Same as in a unit test.21:53
efriedcfriesen: You have to run stestr directly, and with the -n option and the full name of the test case.21:53
efriedor you can use remote_pdb21:54
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.62 - Add trusted_image_certificates  https://review.openstack.org/50039621:54
efriedcfriesen: e.g.21:55
efriedsource .tox/func/bin/activate21:55
efriedstestr run -n nova.tests.functional.regressions.test_bug_1746509.InstanceListWithServicesTestCase.test_instance_list_deleted_service_with_no_uuid21:55
efrieds/func/functional/ I guess - whatever the venv name is for functional.21:56
*** yamamoto has quit IRC21:58
*** Tom-Tom has joined #openstack-nova21:59
cfriesenefried: thanks, running ostestr directly worked21:59
efriedcfriesen: ostestr?  Are you not in nova?  But cool.22:00
*** jmlowe has quit IRC22:00
cfriesenefried: nova, but stable/pike.  it's what tox was using22:00
efriedahh22:00
cfriesenmriedem: running db.service_get_all_by_binary() righte before the call to self.admin_api.get_servers() shows that both services have uuid entries22:01
openstackgerritMatt Riedemann proposed openstack/nova master: Fix docs for confirmResize action  https://review.openstack.org/56206222:01
mriedemcfriesen: yes, which they both will for the non-deleted services22:01
mriedembecause host1.start() creates a new service record with a uuid22:02
mriedemsimulating that you've upgraded to pike and started that compute host with pike code22:02
mriedemafter deleting the "newton" compute service / node which didn't have the uuid set22:02
cfriesenmriedem: right, I need the mutated context to read the deleted one.22:03
openstackgerritJackie Truong proposed openstack/python-novaclient master: Microversion 2.62 - Add trusted_image_certificates  https://review.openstack.org/50039622:04
*** Tom-Tom has quit IRC22:04
mriedemcfriesen: only other thing i could think of is like melwitt was saying yesterday and the backref joinedload on the services table is getting lucky and pulling the non-deleted service when listing instances22:06
mriedemthis https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L10322:06
cfriesenmriedem: the deleted service in the DB has a uuid22:07
melwittmriedem, cfriesen: I was wrong about that. the instance.services is all services whose host match the instance, and it will try to add a UUID to both of them, so should reliably fail I think22:07
mriedemcfriesen: ok i don't know how that is per https://review.openstack.org/#/c/562041/2/nova/tests/functional/regressions/test_bug_1764556.py@14922:08
mriedemcfriesen: i guess there needs to be an assertion after the 2nd _migrate_server that the deleted service still doesn't have a uuid22:09
*** felipemonteiro_ has quit IRC22:10
cfriesenmriedem: if I set the uuid to None right before the final line then it fails22:10
melwittsomething in the migrate is loading instance.services and generating UUID I guess?22:12
cfriesenseems like...I'm guessing wait_for_state_change()22:12
*** yamamoto has joined #openstack-nova22:15
mriedemidk, at what point is the test mocked out so hard that it masks whether or not we have a bug?22:15
mriedemor that i trust the recreate of it?22:15
*** Tom-Tom has joined #openstack-nova22:16
*** jmlowe has joined #openstack-nova22:16
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add functional recreate test for bug 1764556  https://review.openstack.org/56204122:17
openstackbug 1764556 in OpenStack Compute (nova) ""nova list" fails with exception.ServiceNotFound if service is deleted and has no UUID" [Undecided,New] https://launchpad.net/bugs/176455622:17
openstackgerritMatt Riedemann proposed openstack/nova master: DNM: Revert "Lazy-load instance attributes with read_deleted=yes"  https://review.openstack.org/56205122:17
mriedemhere are some updates, but i've got to run - the 2nd migrate is indeed migrating the deleted service record22:17
*** mriedem is now known as mriedem_away22:17
melwittyeah, wouldn't want to mock it. I guess have to determine what exactly is the func test doing differently than the devstack repro and see if we make it the same as the actions needed with devstack22:18
cfriesenmelwitt: I wonder if we need to do the delete/migrate/recreate/migrate first and then do the upgrade to pike22:19
cfriesenso that the migrate happens without uuids on the service22:19
*** yamamoto has quit IRC22:20
SamYaplelooking for love in getting the +3 to get this backport merged. https://review.openstack.org/#/c/560088/22:20
*** Tom-Tom has quit IRC22:21
melwittlooking for love in all the wrong places22:21
*** sdeath has joined #openstack-nova22:21
melwittdansmith might be able to help you with the backport review ^22:21
SamYaplestory of my life melwitt22:21
melwittheh22:22
cfriesenmelwitt: guess not, my bug report specifically says they added the new compute was added after the upgrade22:22
melwittcfriesen: yeah, I don't yet understand how we're simulating an upgrade in the func test, that's probably what's messing it up22:22
melwitt(I haven't looked in detail because I'm mired in other stuff right now)22:22
cfriesenmelwitt: we're simulating the upgrade by just deleting the uuid on the service22:23
melwittk, that makes sense22:23
cfriesenmelwitt: mriedem_away:   I suspect I know what's going on....initially we didn't have the other two fixes from stable/pike so I suspect that the migration after the upgrade wouldn't have updated the UUID, thus leaving the DB in the wonky state.22:23
cfriesenmelwitt: mriedem_away: I bet that upgrading to stable/pike probably *would* update the service UUID on the migration.22:24
melwittcfriesen: but earlier didn't you recreate the bug in devstack with the two fixes already applied?22:25
openstackgerritMerged openstack/nova master: Remove redundant _do_check_can_live_migrate_destination  https://review.openstack.org/56194822:25
cfriesenmelwitt: yes, by manually editing the DB to make an entry without the UUID.  and then trying to list servers.   I didn't do the migration step.22:26
melwittah22:26
cfriesenmelwitt: I suspect that the migration step would update the UUID.22:26
melwittI see22:26
cfriesenif I'm right, then anyone upgrading to current stable/pike wouldn't see this22:27
melwittyeah22:27
*** dklyle has quit IRC22:27
*** dpawlik has joined #openstack-nova22:33
*** salv-orl_ has joined #openstack-nova22:33
dansmithmelwitt: I think SamYaple means "dansmith mergin' my stuff in a timely manner is the story of my life"22:34
melwitt:)22:34
*** yamamoto has joined #openstack-nova22:35
*** salv-orlando has quit IRC22:36
SamYapledansmith: <322:37
*** wolverin_ has joined #openstack-nova22:39
*** wolverineav has quit IRC22:39
*** dpawlik has quit IRC22:39
openstackgerritLee Yarwood proposed openstack/nova master: WIP Add regression test for bug #1764883  https://review.openstack.org/56207222:40
openstackbug 1764883 in OpenStack Compute (nova) "Evacuation fails if the source host returns while the migration is still in progress" [Undecided,New] https://launchpad.net/bugs/176488322:40
lyarwooddansmith / melwitt ^ FYI, hopefully that's somewhere near what we need22:41
melwittack22:41
*** yamamoto has quit IRC22:42
*** rcernin has joined #openstack-nova22:42
melwittlyarwood: also, reminder this thursday is r-1 and we're gonna cut releases for stable branches22:42
lyarwoodmelwitt: ah cool, thanks for the heads up22:45
*** Guest4072 has quit IRC22:45
openstackgerritLee Yarwood proposed openstack/nova stable/queens: libvirt: Report the allocated size of preallocated file based disks  https://review.openstack.org/56207422:46
*** r-daneel has quit IRC22:46
openstackgerritMerged openstack/nova master: Deduplicate notification samples Rocky - 4  https://review.openstack.org/56073122:51
openstackgerritMerged openstack/nova master: Deduplicate notification samples Rocky - 5  https://review.openstack.org/56073422:51
openstackgerritLee Yarwood proposed openstack/nova stable/pike: libvirt: Report the allocated size of preallocated file based disks  https://review.openstack.org/56207722:52
openstackgerritLee Yarwood proposed openstack/nova stable/ocata: libvirt: Report the allocated size of preallocated file based disks  https://review.openstack.org/56207822:52
*** r-daneel has joined #openstack-nova22:52
*** tssurya has joined #openstack-nova22:54
openstackgerritLee Yarwood proposed openstack/nova stable/ocata: libvirt: Block swap volume attempts with encrypted volumes prior to Queens  https://review.openstack.org/56160422:55
*** hongbin_ has quit IRC22:58
*** yamamoto has joined #openstack-nova22:58
*** Guest4072 has joined #openstack-nova22:59
*** yamamoto has quit IRC23:03
*** tssurya has quit IRC23:07
*** TobbeCN has joined #openstack-nova23:11
*** TobbeCN has quit IRC23:15
*** r-daneel has quit IRC23:18
*** tbachman has quit IRC23:18
*** yamamoto has joined #openstack-nova23:19
*** elmaciej_ has quit IRC23:20
*** tbachman has joined #openstack-nova23:23
*** claudiub|2 has quit IRC23:24
*** yamamoto has quit IRC23:24
*** mlavalle has quit IRC23:32
*** sdague has joined #openstack-nova23:36
*** yamamoto has joined #openstack-nova23:40
*** jmlowe_ has joined #openstack-nova23:44
*** mriedem_away has quit IRC23:44
*** yamamoto has quit IRC23:46
*** jmlowe has quit IRC23:47
*** r-daneel has joined #openstack-nova23:47
*** slaweq has joined #openstack-nova23:49
*** gjayavel_ has quit IRC23:50
*** Tom-Tom has joined #openstack-nova23:52
*** slaweq has quit IRC23:54
*** takashin has joined #openstack-nova23:55
openstackgerritTakashi NATSUME proposed openstack/python-novaclient master: Microversion 2.62 - List/Show all server migration types  https://review.openstack.org/43083923:55
*** Tom-Tom has quit IRC23:57
*** r-daneel has quit IRC23:59

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