Monday, 2017-11-27

*** vladikr has quit IRC00:20
*** vladikr has joined #openstack-nova00:21
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: fixes mock autospec usage  https://review.openstack.org/44750500:21
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077500:21
*** tbachman has quit IRC00:22
*** tbachman has joined #openstack-nova00:24
*** masuberu has joined #openstack-nova00:28
*** masber has quit IRC00:29
*** calebb has quit IRC00:33
*** calebb has joined #openstack-nova00:34
*** Guest69039 has quit IRC00:37
*** yassine has joined #openstack-nova00:38
*** yassine is now known as Guest826800:38
*** dave-mccowan has joined #openstack-nova00:41
*** hieulq has joined #openstack-nova00:52
*** liusheng has quit IRC00:52
*** salv-orlando has joined #openstack-nova00:52
openstackgerritLi Xipeng proposed openstack/nova master: Fix bug case by none token context  https://review.openstack.org/52211200:52
*** _pewp_ has quit IRC00:57
*** _pewp_ has joined #openstack-nova00:58
*** salv-orlando has quit IRC00:58
*** tbachman has quit IRC01:02
*** tbachman has joined #openstack-nova01:03
*** tbachman has quit IRC01:08
*** phuongnh has joined #openstack-nova01:09
*** dave-mccowan has quit IRC01:09
*** tbachman has joined #openstack-nova01:10
*** ijw has joined #openstack-nova01:19
*** trungnv has joined #openstack-nova01:19
*** hongbin has joined #openstack-nova01:19
*** yangyapeng has joined #openstack-nova01:22
*** ijw has quit IRC01:23
*** dave-mccowan has joined #openstack-nova01:24
*** tbachman has quit IRC01:26
*** yamamoto has joined #openstack-nova01:29
*** lei-zh has joined #openstack-nova01:37
*** tbachman has joined #openstack-nova01:41
*** masuberu has quit IRC01:43
*** gbarros has joined #openstack-nova01:46
*** Tom-Tom has joined #openstack-nova01:46
*** tbachman_ has joined #openstack-nova01:46
*** tbachman has quit IRC01:46
*** tbachman_ is now known as tbachman01:47
*** salv-orlando has joined #openstack-nova01:54
*** tbachman has quit IRC01:55
*** salv-orlando has quit IRC02:00
*** pchavva has quit IRC02:03
*** litao__ has joined #openstack-nova02:03
*** liusheng has joined #openstack-nova02:14
*** gbarros has quit IRC02:22
*** sam_dw has quit IRC02:31
*** gbarros has joined #openstack-nova02:32
*** gcb has joined #openstack-nova02:33
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach/swap volumes  https://review.openstack.org/51720502:37
*** gmann_afk is now known as gmann02:37
*** fragatin_ has quit IRC02:38
*** fragatina has joined #openstack-nova02:39
*** threestrands_ has joined #openstack-nova02:49
*** threestrands_ has quit IRC02:49
*** threestrands_ has joined #openstack-nova02:49
*** moshele has joined #openstack-nova02:49
*** gbarros has quit IRC02:49
*** threestrands_ has quit IRC02:50
*** threestrands has quit IRC02:50
*** threestrands_ has joined #openstack-nova02:50
*** threestrands_ has quit IRC02:50
*** threestrands_ has joined #openstack-nova02:50
*** masber has joined #openstack-nova02:54
*** vladikr has quit IRC02:55
*** salv-orlando has joined #openstack-nova02:56
openstackgerritYikun Jiang proposed openstack/nova master: Handle gathering exception in get_instance_sorted.  https://review.openstack.org/52242502:56
openstackgerritTao Li proposed openstack/nova master: Ignore some updates from virt driver  https://review.openstack.org/52300603:01
*** dave-mccowan has quit IRC03:01
*** salv-orlando has quit IRC03:02
*** Tom-Tom has quit IRC03:02
*** moshele has quit IRC03:02
*** Tom-Tom has joined #openstack-nova03:02
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Add x-openstack-request-id in API ref  https://review.openstack.org/52300703:07
*** dave-mccowan has joined #openstack-nova03:07
*** ralonsoh has quit IRC03:08
*** Tom-Tom has quit IRC03:08
*** masber has quit IRC03:09
openstackgerritEli Qiao proposed openstack/nova master: Api-guide: Add Block Device Mapping  https://review.openstack.org/52208403:11
openstackgerritEli Qiao proposed openstack/nova master: Api-guide: Add concept for scheduler hints  https://review.openstack.org/52210603:11
*** eliqiao has joined #openstack-nova03:11
eliqiao@alex_xu can you help to take a quick look at https://review.openstack.org/#/c/522067/ (+2 already) when you are available ?03:14
*** dave-mccowan has quit IRC03:18
*** sridharg has joined #openstack-nova03:23
*** vladikr has joined #openstack-nova03:24
*** masber has joined #openstack-nova03:29
*** abhishekk has joined #openstack-nova03:32
*** sree has joined #openstack-nova03:38
*** jichen has joined #openstack-nova03:43
*** yangyapeng has quit IRC03:45
openstackgerritTuan Luong-Anh proposed openstack/nova master: Fix the format file name  https://review.openstack.org/52301003:46
*** mdnadeem has joined #openstack-nova03:49
*** psachin has joined #openstack-nova03:50
openstackgerritZhenyu Zheng proposed openstack/nova master: nova-manage db archive_deleted_rows is not multi-cell aware  https://review.openstack.org/50748603:52
*** diga has joined #openstack-nova03:54
*** salv-orlando has joined #openstack-nova03:57
*** yikun_jiang is now known as kero_jiang03:59
*** salv-orlando has quit IRC04:04
*** yangyapeng has joined #openstack-nova04:09
*** lei-zh has quit IRC04:10
*** hoonetorg has quit IRC04:11
*** hongbin has quit IRC04:12
*** vladikr has quit IRC04:13
*** yangyapeng has quit IRC04:14
*** Dinesh_Bhor has joined #openstack-nova04:21
*** diga has quit IRC04:22
*** diga has joined #openstack-nova04:23
*** yangyapeng has joined #openstack-nova04:25
*** links has joined #openstack-nova04:26
*** suresh12 has joined #openstack-nova04:27
*** Tom-Tom has joined #openstack-nova04:42
*** yamamoto has quit IRC04:43
*** ijw has joined #openstack-nova04:47
openstackgerritTuan Luong-Anh proposed openstack/nova master: Fix the format file name  https://review.openstack.org/52301004:48
*** yamamoto has joined #openstack-nova04:49
*** hongbin has joined #openstack-nova04:51
*** udesale has joined #openstack-nova04:53
*** salv-orlando has joined #openstack-nova04:59
*** lei-zh has joined #openstack-nova05:03
*** salv-orlando has quit IRC05:05
openstackgerritLi Xipeng proposed openstack/nova master: Fix bug case by none token context  https://review.openstack.org/52211205:09
*** jaosorior has joined #openstack-nova05:19
*** adisky_ has joined #openstack-nova05:29
*** ratailor has joined #openstack-nova05:30
*** yamamoto has quit IRC05:44
*** hongbin has quit IRC05:46
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create  https://review.openstack.org/52031305:47
*** dklyle has joined #openstack-nova05:47
*** yamamoto has joined #openstack-nova05:48
*** david-lyle has quit IRC05:48
*** udesale__ has joined #openstack-nova05:52
*** udesale has quit IRC05:53
*** chyka has joined #openstack-nova05:54
*** udesale has joined #openstack-nova05:55
*** vivsoni has quit IRC05:55
*** vivsoni has joined #openstack-nova05:55
*** udesale__ has quit IRC05:57
openstackgerritLi Xipeng proposed openstack/nova master: Fix bug as BDM failed when booting from volume  https://review.openstack.org/52248605:58
*** TuanLA has joined #openstack-nova06:01
*** salv-orlando has joined #openstack-nova06:01
*** lei-zh has quit IRC06:04
*** lei-zh has joined #openstack-nova06:04
*** Alex_Staf has joined #openstack-nova06:06
*** salv-orlando has quit IRC06:07
openstackgerritHuan Xie proposed openstack/nova master: XenAPI: Don't use nicira-iface-id for XenServer VIF  https://review.openstack.org/45164106:11
*** janki has joined #openstack-nova06:15
*** janki has quit IRC06:16
*** janki has joined #openstack-nova06:16
*** fragatina has quit IRC06:21
*** bhagyashris_ has joined #openstack-nova06:34
*** nsingh has joined #openstack-nova06:35
*** bhagyashri_s has quit IRC06:36
*** niraj_singh has quit IRC06:36
*** annp has joined #openstack-nova06:39
*** spectr has joined #openstack-nova06:44
*** moshele has joined #openstack-nova06:45
*** namnh has joined #openstack-nova06:47
*** rcernin has quit IRC06:47
*** suresh12 has quit IRC06:49
*** rcernin has joined #openstack-nova06:49
*** chyka has quit IRC06:53
*** pallavi has joined #openstack-nova06:54
*** spectr has quit IRC06:55
*** moshele has quit IRC06:56
pallaviHi06:56
pallaviI have installed openstack and but my VM is getting internet connection06:57
pallaviplease help me to fix this issue06:58
eliqiaohttps://ask.openstack.org/ is a good place to ask questions.07:03
*** salv-orlando has joined #openstack-nova07:03
*** edand has joined #openstack-nova07:05
*** lei-zh1 has joined #openstack-nova07:08
*** salv-orlando has quit IRC07:09
*** lei-zh has quit IRC07:11
*** gcb has quit IRC07:13
openstackgerritLi Xipeng proposed openstack/nova master: Fix bug as BDM failed when booting from volume  https://review.openstack.org/52248607:19
openstackgerritLi Xipeng proposed openstack/nova master: Fix bug case by none token context  https://review.openstack.org/52211207:22
*** moshele has joined #openstack-nova07:25
*** rcernin has quit IRC07:28
openstackgerritChen Hanxiao proposed openstack/python-novaclient master: inject file: add description of injecting multiple files.  https://review.openstack.org/51565507:29
*** ralonsoh has joined #openstack-nova07:30
*** andreas_s has joined #openstack-nova07:32
*** bhagyashris_ is now known as bhagyashris07:34
*** salv-orlando has joined #openstack-nova07:36
*** salv-orlando has quit IRC07:37
*** salv-orlando has joined #openstack-nova07:37
openstackgerritlicanwei proposed openstack/nova master: cli 'nova-manage db sync' can't upgrade cell1  https://review.openstack.org/51927507:39
*** maciejjozefczyk has quit IRC07:43
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Get vgpu info from `allocations`  https://review.openstack.org/52171707:50
*** lei-zh has joined #openstack-nova07:51
*** lei-zh1 has quit IRC07:51
*** AlexeyAbashkin has joined #openstack-nova07:57
*** sahid has joined #openstack-nova07:59
*** yamamoto has quit IRC08:04
*** takashin has left #openstack-nova08:06
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach/swap volumes  https://review.openstack.org/51720508:06
*** ttsiouts has quit IRC08:11
*** Tom-Tom has quit IRC08:11
*** pcaruana has joined #openstack-nova08:11
*** gcb has joined #openstack-nova08:12
*** sshwarts has joined #openstack-nova08:12
*** maciejjozefczyk has joined #openstack-nova08:13
*** jangutter has joined #openstack-nova08:18
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: fixes mock autospec usage  https://review.openstack.org/44750508:18
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077508:18
*** pooja_jadhav has joined #openstack-nova08:18
*** belmoreira has joined #openstack-nova08:22
*** lpetrut has joined #openstack-nova08:22
*** slaweq has joined #openstack-nova08:24
*** sree_ has joined #openstack-nova08:29
*** sree_ is now known as Guest1326908:29
*** sree has quit IRC08:31
khapponeHello there. I sumbitted this bug a while back, and I wondered if there could be some eyes on this. It's a possible  (well, it's already happened) dataloss bug in Nova with the unshelve workflow. https://bugs.launchpad.net/nova/+bug/173242808:32
openstackLaunchpad bug 1732428 in OpenStack Compute (nova) "Unshelving a VM breaks instance metadata when using qcow2 backed images" [Undecided,New]08:32
*** andreas_s has quit IRC08:33
*** yamamoto has joined #openstack-nova08:33
*** andreas_s has joined #openstack-nova08:33
*** jpena|off is now known as jpena08:38
*** josecastroleon has joined #openstack-nova08:40
*** andreas_s has quit IRC08:42
*** andreas_s has joined #openstack-nova08:43
*** andreas_s has quit IRC08:45
*** andreas_s has joined #openstack-nova08:46
*** yamamoto has quit IRC08:51
*** ttsiouts has joined #openstack-nova08:53
*** sree has joined #openstack-nova09:00
*** Guest13269 has quit IRC09:01
*** damien_r has joined #openstack-nova09:03
*** jchhatbar has joined #openstack-nova09:12
*** cheneydc has joined #openstack-nova09:12
*** janki has quit IRC09:13
*** gmann is now known as gmann_afk09:13
*** lpetrut has quit IRC09:26
*** lei-zh has quit IRC09:27
*** lei-zh has joined #openstack-nova09:27
*** derekh has joined #openstack-nova09:28
*** yamamoto has joined #openstack-nova09:31
*** spectr has joined #openstack-nova09:37
*** spectr has quit IRC09:37
*** yamamoto has quit IRC09:39
*** aloga has quit IRC09:41
*** aloga has joined #openstack-nova09:41
*** lpetrut has joined #openstack-nova09:44
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077509:44
*** claudiub|2 has joined #openstack-nova09:44
*** gszasz has joined #openstack-nova09:46
*** pallavi has quit IRC09:47
*** cheneydc has quit IRC09:58
openstackgerritZhenyu Zheng proposed openstack/nova master: Add instance action record for attach/detach/swap volumes  https://review.openstack.org/51720509:59
*** annp has quit IRC10:03
*** jichen has quit IRC10:03
*** ociuhandu has joined #openstack-nova10:03
*** sree has quit IRC10:03
*** ociuhandu has quit IRC10:04
*** sree has joined #openstack-nova10:04
*** mvk has joined #openstack-nova10:05
*** sdague has joined #openstack-nova10:07
*** owalsh is now known as owalsh_afk10:08
*** dtantsur|afk is now known as dtantsur10:08
*** sree has quit IRC10:08
*** andreas_s has quit IRC10:09
*** andreas_s has joined #openstack-nova10:10
*** lpetrut has quit IRC10:11
*** sambetts_ has joined #openstack-nova10:16
*** andreas_s has quit IRC10:18
*** spectr has joined #openstack-nova10:22
*** spectr has quit IRC10:23
*** namnh has quit IRC10:25
*** yamamoto has joined #openstack-nova10:27
*** lpetrut has joined #openstack-nova10:29
*** andreas_s has joined #openstack-nova10:29
*** yamamoto has quit IRC10:32
*** lei-zh has quit IRC10:36
openstackgerritHironori Shiina proposed openstack/nova master: Ironic: Check a last error of power action  https://review.openstack.org/47075410:39
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077510:46
*** sridharg has quit IRC10:46
*** andreas_s has quit IRC10:48
*** andreas_s has joined #openstack-nova10:48
*** yamamoto has joined #openstack-nova10:53
*** yamamoto has quit IRC10:55
*** phuongnh has quit IRC10:55
*** pcaruana has quit IRC10:55
*** sambetts_ is now known as sambetts10:57
*** pcaruana has joined #openstack-nova10:59
*** yamamoto has joined #openstack-nova11:01
*** TuanLA has quit IRC11:02
*** ianw has quit IRC11:03
*** ianw_ has joined #openstack-nova11:03
*** ianw_ is now known as ianw11:04
*** yamamoto has quit IRC11:06
*** andreas_s has quit IRC11:07
*** finucannot is now known as stephenfin11:07
*** andreas_s has joined #openstack-nova11:07
*** udesale has quit IRC11:07
*** abhishekk has quit IRC11:09
*** _pewp_ has quit IRC11:10
*** _pewp_ has joined #openstack-nova11:14
*** andreas_s has quit IRC11:16
*** ratailor has quit IRC11:16
*** alexchadin has joined #openstack-nova11:19
*** chyka has joined #openstack-nova11:24
*** gszasz has quit IRC11:24
*** andreas_s has joined #openstack-nova11:27
openstackgerritlicanwei proposed openstack/nova master: cli 'nova-manage db sync' can't upgrade cell1  https://review.openstack.org/51927511:28
*** sree has joined #openstack-nova11:28
*** andreas_s has quit IRC11:28
*** chyka has quit IRC11:29
*** andreas_s has joined #openstack-nova11:29
*** cdent has joined #openstack-nova11:30
*** yamamoto has joined #openstack-nova11:31
*** sree has quit IRC11:33
*** diga has quit IRC11:33
*** andreas_s has quit IRC11:34
*** rodolof has joined #openstack-nova11:34
*** spectr has joined #openstack-nova11:35
*** spectr has quit IRC11:35
*** yamamoto has quit IRC11:36
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi:(WIP:need ut) Get vgpu info from `allocations`  https://review.openstack.org/52171711:36
*** cdent has quit IRC11:39
*** alexchadin has quit IRC11:40
*** alexchadin has joined #openstack-nova11:41
*** Kevin_Zheng has quit IRC11:41
*** threestrands_ has quit IRC11:42
*** erlon has joined #openstack-nova11:42
*** litao__ has quit IRC11:43
*** sree has joined #openstack-nova11:44
*** gcb has quit IRC11:45
*** gszasz has joined #openstack-nova11:49
*** alexchadin has quit IRC11:51
*** alexchadin has joined #openstack-nova11:51
*** icey has quit IRC11:53
*** patrickeast has quit IRC11:53
*** samueldmq has quit IRC11:53
*** ying_zuo has quit IRC11:53
*** zhenguo has quit IRC11:53
*** fyxim has quit IRC11:54
*** larainema has quit IRC11:54
*** kmalloc has quit IRC11:54
*** vdrok has quit IRC11:54
*** csatari has quit IRC11:54
*** jbryce has quit IRC11:54
*** ildikov has quit IRC11:54
*** ankit_ has quit IRC11:54
*** redondo-mk has quit IRC11:54
*** fmccrthy has quit IRC11:54
*** icey has joined #openstack-nova11:55
*** samueldmq has joined #openstack-nova11:55
*** zhenguo has joined #openstack-nova11:55
*** patrickeast has joined #openstack-nova11:55
*** fmccrthy has joined #openstack-nova11:56
*** ankit_ has joined #openstack-nova11:56
*** redondo-mk has joined #openstack-nova11:56
*** vdrok has joined #openstack-nova11:56
*** kmalloc has joined #openstack-nova11:56
*** fyxim has joined #openstack-nova11:56
*** csatari has joined #openstack-nova11:56
*** ildikov has joined #openstack-nova11:56
*** yamamoto has joined #openstack-nova12:01
*** cdent has joined #openstack-nova12:02
*** yangyapeng has quit IRC12:06
*** yamamoto has quit IRC12:06
*** cheneydc has joined #openstack-nova12:08
*** alexchadin has quit IRC12:09
*** dave-mcc_ has joined #openstack-nova12:10
*** alexchadin has joined #openstack-nova12:10
*** smatzek has joined #openstack-nova12:12
*** sree has quit IRC12:13
*** fried_turkey is now known as efried12:18
*** andreas_s has joined #openstack-nova12:22
*** szaher has quit IRC12:22
efriedGood morning Nova!12:23
*** rodolof has quit IRC12:23
*** rodolof has joined #openstack-nova12:24
openstackgerritBalazs Gibizer proposed openstack/nova stable/ocata: Document the real behavior of notify_on_state_change  https://review.openstack.org/52187112:24
*** giblet is now known as gibi12:24
*** szaher has joined #openstack-nova12:25
*** hshiina has joined #openstack-nova12:28
*** udesale has joined #openstack-nova12:29
*** links has quit IRC12:29
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform instance.resize_revert notification  https://review.openstack.org/39681112:31
*** alexchadin has quit IRC12:35
*** alexchadin has joined #openstack-nova12:36
*** andreas_s has quit IRC12:38
*** andreas_s has joined #openstack-nova12:41
*** nkorabli has joined #openstack-nova12:41
*** links has joined #openstack-nova12:43
*** sapcc-bot has quit IRC12:44
*** sapcc-bot has joined #openstack-nova12:44
*** carthaca_ has joined #openstack-nova12:44
*** mkoderer_ has joined #openstack-nova12:44
*** tpatzig_ has joined #openstack-nova12:44
*** dgonzalez_ has joined #openstack-nova12:44
*** david_1 has joined #openstack-nova12:44
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077512:44
*** dgonzalez_ has quit IRC12:46
*** mkoderer_ has quit IRC12:46
*** tpatzig_ has quit IRC12:46
*** carthaca_ has quit IRC12:46
*** david_1 has quit IRC12:46
nkorabliHey there! Would love to clarify Numa cpu pinning process in Openstack. I've went through all the docs I could find on that - but still one thing is not clear to me. Is that possible to assign an instance to a particular Numa cell? It seems like by default, when you launch a single CPU vm using numa, it won't be spread evenly across all numa cells, it will be pinned to the `cellid=0`.12:46
*** sridharg has joined #openstack-nova12:46
*** yamamoto has joined #openstack-nova12:47
nkorabli@here12:47
*** lpetrut has quit IRC12:48
sean-k-mooneynkorabli: that depends on your definition of assigin to a numa cell12:50
sean-k-mooneynkorabli: you can request a vm to have a single virtual numa cell in which case openstack will create it and pin it to a single numa cell12:50
sean-k-mooneynkorabli: you cannot however say that i want to boot this vm on numa cell 0 of host X. that would break the cloud abstration12:51
*** yamamoto has quit IRC12:51
*** jpena is now known as jpena|lunch12:55
*** chyka has joined #openstack-nova12:56
*** lennyb__ has joined #openstack-nova12:56
*** yangyapeng has joined #openstack-nova12:56
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077512:57
*** lpetrut has joined #openstack-nova12:57
nkorablisean-k-moooney: I played a bit with that - I had single compute node with 2 numa cells(nodes). I launched a lot of VMs with a single CPU. Then checked how those VMs got distributed across those numa cells. Apparently, all of them got pinned to the first numa node and none to second.12:59
sean-k-mooneyare you using openstack kilo12:59
sean-k-mooneyor using a pci passthrough device.13:00
nkorabliI used Liberty for that13:00
sean-k-mooneythats your issue13:00
nkorabliI also noticed this in the code: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L4099-L410413:00
sean-k-mooneyliberty had a bug where the numa virtual numa node was used to select the phyical numa node13:00
*** chyka has quit IRC13:00
sean-k-mooneythat was expcitly never intended to be the behavior13:00
*** dtantsur is now known as dtantsur|bbl13:03
nkorabliSo, this behavior shouldn't be the same in older releases? I supposed that according to the link above - this issue hasn't been fixed yet..'13:03
*** owalsh_afk is now known as owalsh13:03
*** gszasz has quit IRC13:04
sean-k-mooneyno you are miss understanding what i said. https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L4099-L4104   simply states that if we do not request a numa topology for a vm we leave the kernel spread the instaces.13:04
sean-k-mooneyby default vms created in openstack are not assumed to have memory or cpus that come from a single numa node13:05
*** vladikr has joined #openstack-nova13:07
sean-k-mooneynkorabli: are several indirect ways that a numa topology can be requested on your behalf without you seting the hw:numa_nodes extra spec.13:08
sean-k-mooneynkorabli: for example if you request hugepages a request for a singel numa node will implicitly be created. unless your request a numa topology via hw:numa_nodes13:09
nkorabliIf I specified `hw:numa_nodes=1` then it will use just one cell, right? (like `cellid=0`). I can't specify `hw:numa_nodes=2` for a single CPU instance either. So, I can't explicitly make use of both numa nodes when working with single CPU VMs?13:13
*** Eran_Kuris has quit IRC13:14
*** mdnadeem has quit IRC13:15
sean-k-mooneynkorabli: if you specify hw:numa_nodes=1 for a single core vm flavor that vm can be placed on either of numa nodes on the host system but it will be affinitesed to which ever node it first starts on13:15
*** markvoelker has quit IRC13:16
sean-k-mooneynkorabli: if you dont spceify hw:numa_nodes at all it will implcitly float across all numa nodes and cores at the whim of the host kernel scheduler13:16
*** markvoelker has joined #openstack-nova13:16
*** Eran_Kuris has joined #openstack-nova13:17
sean-k-mooneynkorabli: to be more precise it will float across the cores specified via the vcpu_pin_set option in the nova.conf13:18
*** chyka has joined #openstack-nova13:18
sean-k-mooneynkorabli: if vcpu_pin_set is not specified it defaults to all cores13:19
nkorablialright, that's great! I was expecting behavior like this, just couldn't reproduce in Liberty. When I specified hw:numa_nodes=1, it started throwing errors like this: "No valid host was found. There are not enough hosts available." So, I thought it fills up the first node and never sees the second.13:21
nkorabliThis line also made me think this way: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/config.py#L197613:23
*** chyka has quit IRC13:23
nkorabliIf I understand you right, this is an issue that appears in Liberty only?13:24
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/virt/libvirt/config.py#L1976  is referring to the virtual numa topology of the guest. not the host numa topology13:25
sean-k-mooneythe first release of openstack with numa support did a 1:1 mapping between the virtual cellid to the host cellid howerver that was a mistake that was correct in later releases13:26
sean-k-mooneynkorabli: there is also a rather little known option hw:numa_mempolicy which defaults to strict which allows you to specify if the guest memory must come from the same numa node as the vCPUS13:28
sean-k-mooneyi cant find the upstream docs but its memtioned here in the redhat docs https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/6/html/Administration_Guide/section-flavors.html13:29
efriededleafe Sched meeting is in half an hour, right?13:30
*** gcb has joined #openstack-nova13:31
*** eharney has joined #openstack-nova13:34
cdentefried: appears so13:36
efriedcdent Takes me a couple weeks to get the time shift right.  DST is stupid.13:36
cdentyes and yes13:36
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform instance.resize_revert notification  https://review.openstack.org/39681113:37
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform instance.resize_revert notification  https://review.openstack.org/39681113:39
*** pchavva has joined #openstack-nova13:40
*** lpetrut has quit IRC13:42
*** lpetrut has joined #openstack-nova13:42
nkorablisean-k-mooney: thanks a lot! Let me test that out!13:43
*** pchavva1 has joined #openstack-nova13:44
*** pchavva1 has quit IRC13:44
*** yamamoto has joined #openstack-nova13:45
*** yamamoto has quit IRC13:45
*** takashin has joined #openstack-nova13:48
*** lpetrut has quit IRC13:48
*** lpetrut has joined #openstack-nova13:49
*** yamamoto has joined #openstack-nova13:49
*** jpena|lunch is now known as jpena13:49
*** jbryce has joined #openstack-nova13:51
*** larainema has joined #openstack-nova13:51
*** ying_zuo has joined #openstack-nova13:51
*** gszasz has joined #openstack-nova13:52
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077513:52
*** trozet has quit IRC13:52
edleafeefried: yes, scheduler subteam meeting in 6 minutes in #openstack-meeting-alt13:54
efriedthx13:54
*** mriedem has joined #openstack-nova13:54
*** trozet has joined #openstack-nova13:54
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform instance.exists notification  https://review.openstack.org/40366013:56
openstackgerritBalazs Gibizer proposed openstack/nova master: Add sample test for instance audit  https://review.openstack.org/48095513:56
*** jaypipes has joined #openstack-nova13:56
*** lpetrut has quit IRC13:57
*** yamamoto has quit IRC13:57
*** lei-zh has joined #openstack-nova13:59
*** foolish has joined #openstack-nova14:01
*** lyan has joined #openstack-nova14:01
*** karthiks has quit IRC14:01
*** eliqiao has quit IRC14:03
*** liverpooler has joined #openstack-nova14:05
*** gbarros has joined #openstack-nova14:10
*** alexchadin has quit IRC14:10
*** cheneydc_ has joined #openstack-nova14:11
*** cheneydc has quit IRC14:14
*** sree has joined #openstack-nova14:15
openstackgerritBalazs Gibizer proposed openstack/nova master: Transform instance.exists notification  https://review.openstack.org/40366014:18
openstackgerritBalazs Gibizer proposed openstack/nova master: Add sample test for instance audit  https://review.openstack.org/48095514:18
*** smatzek has quit IRC14:18
*** smatzek has joined #openstack-nova14:19
*** sree has quit IRC14:19
*** gbarros has quit IRC14:19
*** cheneydc_ has quit IRC14:20
*** cheneydc_ has joined #openstack-nova14:20
*** sree has joined #openstack-nova14:21
*** smatzek has quit IRC14:24
*** dtantsur|bbl is now known as dtantsur14:24
*** josecastroleon1 has joined #openstack-nova14:30
*** josecastroleon has quit IRC14:30
*** links has quit IRC14:32
*** belmoreira has quit IRC14:33
*** esberglu has joined #openstack-nova14:33
*** gcb has quit IRC14:33
alex_xuefried: looks like https://review.openstack.org/#/c/498737/2/nova/tests/functional/db/test_resource_provider.py@2981 same with https://review.openstack.org/#/c/518633/15/nova/tests/functional/db/test_allocation_candidates.py@171914:41
alex_xuefried: I didn't found one similar to this yet https://review.openstack.org/#/c/498737/2/nova/tests/functional/db/test_resource_provider.py@320714:42
*** udesale has quit IRC14:42
*** burt has joined #openstack-nova14:45
mriedemgibi: are you looking for changes on this patch? https://review.openstack.org/#/c/516782/14:46
mriedemi see you didn't -1 it14:46
mriedemalex_xu: regarding https://review.openstack.org/#/c/522305/ i'm inclined to just fix the bug since it's an admin-only API by default, so not really an interop concern, and it's a 1-line fix which we can then backport14:46
mriedemi'll need to consider updating the microversion dev ref docs on admin APIs14:47
alex_xumriedem: ok, got it14:47
gibimriedem: It would be nice to close the bug 1730730 report as well with the patch but jaypipes seems has different oppinion14:50
openstackbug 1730730 in OpenStack Compute (nova) "AllocationCandidates.get_by_filters returns garbage with only sharing providers" [Undecided,Triaged] https://launchpad.net/bugs/173073014:50
gibijaypipes: is it OK for you if I quickly resping https://review.openstack.org/#/c/516782/ and add the closes-bug tag to the commit message?14:52
*** takedakn has joined #openstack-nova14:52
jaypipesgibi: go for it.14:52
gibijaypipes: OK14:53
*** mlavalle has joined #openstack-nova14:54
openstackgerritBalazs Gibizer proposed openstack/nova master: finish refactor AllocCandidates._get_by_filters()  https://review.openstack.org/51678214:54
openstackgerritEric Berglund proposed openstack/nova master: PowerVM support matrix update  https://review.openstack.org/52314014:54
gibimriedem, alex_xu, jaypipes: here is the quick update, i'm +2 now on https://review.openstack.org/51678214:55
alex_xugibi: done14:56
*** salv-orlando has quit IRC14:57
*** yamamoto has joined #openstack-nova14:57
*** salv-orlando has joined #openstack-nova14:58
*** awaugama has joined #openstack-nova14:58
*** yamahata has quit IRC14:59
openstackgerritTakashi NATSUME proposed openstack/nova master: [placement] Add x-openstack-request-id in API ref  https://review.openstack.org/52300715:00
*** yamahata has joined #openstack-nova15:00
*** hshiina has quit IRC15:01
*** lei-zh has quit IRC15:01
*** lyan has quit IRC15:02
*** cheneydc_ has quit IRC15:02
*** takashin_ has joined #openstack-nova15:03
*** salv-orlando has quit IRC15:03
*** fragatina has joined #openstack-nova15:03
*** yamamoto has quit IRC15:04
openstackgerritMatt Riedemann proposed openstack/nova master: Fix invalid minRam error message  https://review.openstack.org/52314215:04
*** lyan has joined #openstack-nova15:05
*** takashin has quit IRC15:05
*** hamzy has quit IRC15:06
*** burt has quit IRC15:07
*** gbarros has joined #openstack-nova15:10
*** fragatin_ has joined #openstack-nova15:12
*** marst has joined #openstack-nova15:12
*** andreas_s has quit IRC15:12
*** bnemec has quit IRC15:13
openstackgerritBalazs Gibizer proposed openstack/nova master: required traits for no sharing providers  https://review.openstack.org/51702715:13
*** fragatina has quit IRC15:13
*** Alex_Staf has quit IRC15:13
openstackgerritBalazs Gibizer proposed openstack/nova master: Test alloc_cands with indirectly sharing RPs  https://review.openstack.org/51960115:14
openstackgerritBalazs Gibizer proposed openstack/nova master: Add ProviderSummary.resource_class_names @property  https://review.openstack.org/51764615:14
*** felipemonteiro has joined #openstack-nova15:14
*** felipemonteiro_ has joined #openstack-nova15:16
*** toure_biab is now known as toure15:16
*** andreas_s has joined #openstack-nova15:17
*** jdillaman has quit IRC15:18
*** smatzek has joined #openstack-nova15:18
*** felipemonteiro has quit IRC15:20
*** andreas_s has quit IRC15:21
*** smatzek has quit IRC15:21
*** smatzek has joined #openstack-nova15:21
*** cdent has quit IRC15:24
*** yangyapeng has quit IRC15:24
openstackgerritDan Smith proposed openstack/nova master: Refined fix for validating image on rebuild  https://review.openstack.org/52118615:24
openstackgerritDan Smith proposed openstack/nova master: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115315:24
openstackgerritDan Smith proposed openstack/nova master: Fix doubling allocations on rebuild  https://review.openstack.org/52166215:24
efrieddansmith Is https://review.openstack.org/#/c/507638/ related to the "Migration fixups" priority at https://etherpad.openstack.org/p/nova-ptg-queens-placement L49?15:27
efrieddansmith Perhaps a better question: what all is related to the "migration fixups" priority at ^ ?15:27
dansmiththat's the last one15:27
dansmithall the others merged already15:27
openstackgerritMatt Riedemann proposed openstack/nova master: Implement query param schema for delete assisted vol  https://review.openstack.org/51366815:28
openstackgerritLajos Katona proposed openstack/nova master: Extend ServerMovingTests with custom resources  https://review.openstack.org/49739915:28
efrieddansmith Cool.  Looks like it needs a rebase?15:28
dansmithhmm, yeah I guess so15:29
efrieddansmith (cdent) Is POST /allocations for multiple consumers (https://review.openstack.org/#/c/500073/) not related to the same effort?15:30
dansmithit is15:30
efriedokay, thanks.15:30
*** hongbin has joined #openstack-nova15:35
*** sree has quit IRC15:37
*** suresh12 has joined #openstack-nova15:40
openstackgerritDan Smith proposed openstack/nova master: Make live migration hold resources with a migration allocation  https://review.openstack.org/50763815:42
*** suresh12 has quit IRC15:44
openstackgerritjiangpf proposed openstack/nova master: Encode libvirt domain XML in UTF-8  https://review.openstack.org/52216115:45
efriedjaypipes edleafe dansmith Draft: http://paste.openstack.org/show/627496/  -- As owners of the Three Priorities, would you please vet this for proper inclusion of linkitude?15:45
*** andreas_s has joined #openstack-nova15:46
*** edand has quit IRC15:47
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove unnecessary self.flags and ConfPatcher  https://review.openstack.org/52299315:49
*** cdent has joined #openstack-nova15:49
*** hamzy has joined #openstack-nova15:50
*** andreas_s has quit IRC15:50
edleafeefried: except for the double spaces after periods, it looks good15:53
efriededleafe Thanks.    Appreciate you taking a look.    I'll work on the spacing thing.15:53
edleafeIt probably looks fine on a typewriter15:54
*** bnemec has joined #openstack-nova15:54
efriededleafe That's how I proofread all my work.15:55
*** rodolof has quit IRC15:58
*** yangyapeng has joined #openstack-nova15:58
*** slaweq has quit IRC15:58
*** salv-orlando has joined #openstack-nova15:58
*** slaweq has joined #openstack-nova15:59
*** slaweq has quit IRC15:59
*** slaweq has joined #openstack-nova16:00
*** slaweq has quit IRC16:00
*** slaweq has joined #openstack-nova16:00
*** yangyapeng has quit IRC16:02
*** jchhatbar has quit IRC16:03
*** salv-orlando has quit IRC16:04
*** josecastroleon1 has quit IRC16:04
*** slaweq has quit IRC16:05
*** moshele has quit IRC16:06
*** foolish has quit IRC16:09
*** belmoreira has joined #openstack-nova16:09
*** takedakn has quit IRC16:09
*** kero_jiang has quit IRC16:09
*** gbarros has quit IRC16:10
*** alex_xu has quit IRC16:11
*** yikun has joined #openstack-nova16:12
*** yikun has quit IRC16:13
*** xinliang has quit IRC16:14
*** yikun has joined #openstack-nova16:14
*** sree has joined #openstack-nova16:15
*** andreas_s has joined #openstack-nova16:18
*** damien_r has quit IRC16:19
*** tbachman has joined #openstack-nova16:22
*** suresh12 has joined #openstack-nova16:23
*** andreas_s has quit IRC16:23
openstackgerritMatt Riedemann proposed openstack/nova master: Versioned notifications for service create and delete  https://review.openstack.org/51958816:24
*** gbarros has joined #openstack-nova16:24
*** damien_r has joined #openstack-nova16:24
*** gbarros has quit IRC16:25
*** sdague has quit IRC16:26
*** shaohe_feng has quit IRC16:27
*** alex_xu has joined #openstack-nova16:27
*** takashin_ has left #openstack-nova16:27
*** xinliang has joined #openstack-nova16:28
*** sshwarts has quit IRC16:28
*** gszasz has quit IRC16:29
*** shaohe_feng has joined #openstack-nova16:31
*** sdague has joined #openstack-nova16:33
*** xinliang has quit IRC16:34
*** belmoreira has quit IRC16:35
jaypipesefried: sure, looks fine to me, thank you!16:36
efriedjaypipes Thanks.16:36
*** xinliang has joined #openstack-nova16:39
*** chyka has joined #openstack-nova16:40
openstackgerritMatt Riedemann proposed openstack/nova master: Address nits from service create/destroy notification review  https://review.openstack.org/52316216:43
*** shaner has quit IRC16:44
cdentnice placement functional test to get in: https://review.openstack.org/#/c/493865/16:44
*** jpena is now known as jpena|brb16:44
*** shaner has joined #openstack-nova16:45
*** sree has quit IRC16:50
*** sree has joined #openstack-nova16:50
*** suresh12 has quit IRC16:54
*** gbarros has joined #openstack-nova16:55
*** sree has quit IRC16:56
*** moshele has joined #openstack-nova16:58
*** toure is now known as toure_biab16:59
*** AlexeyAbashkin has quit IRC16:59
*** salv-orlando has joined #openstack-nova17:00
openstackgerritMerged openstack/nova master: Implement query param schema for flavor index  https://review.openstack.org/51541317:00
*** gyee_ has joined #openstack-nova17:00
openstackgerritMerged openstack/nova master: Implement query param schema for fping index  https://review.openstack.org/51389017:00
*** sree has joined #openstack-nova17:04
*** felipemonteiro_ has quit IRC17:05
*** salv-orlando has quit IRC17:06
*** slaweq has joined #openstack-nova17:08
*** sree has quit IRC17:09
*** pcaruana has quit IRC17:09
*** psachin has quit IRC17:11
*** slaweq has quit IRC17:13
dansmithmriedem: this is about to pass check: https://review.openstack.org/#/c/521186/17:13
dansmithwe gonna get that in soon?17:13
mriedemhaven't looked at the latest,17:15
*** salv-orlando has joined #openstack-nova17:15
mriedemwas going through your live migration swap allocs change quick17:15
*** salv-orlando has quit IRC17:16
*** jmlowe has quit IRC17:16
*** salv-orlando has joined #openstack-nova17:16
*** sree has joined #openstack-nova17:19
*** sree has quit IRC17:24
*** moshele has quit IRC17:25
*** jpena|brb is now known as jpena17:25
*** sahid has quit IRC17:27
mriedemdansmith: ok looks like the only change in https://review.openstack.org/#/c/521186/ is the NUMATopologyFilter (which is looking at image properties so we should run it on rebuild) and the commit message title17:30
mriedemartom: are you good with ^ now?17:32
mriedemi think the only thing remaining is a release note17:32
*** damien_r has quit IRC17:32
*** lyan has quit IRC17:36
*** lyan has joined #openstack-nova17:37
*** efried is now known as efried_rollin17:38
*** chyka has quit IRC17:39
*** chyka has joined #openstack-nova17:40
*** lpetrut has joined #openstack-nova17:41
*** gszasz has joined #openstack-nova17:42
*** lyan has quit IRC17:43
*** toure_biab is now known as toure17:44
*** Apoorva has joined #openstack-nova17:45
*** harlowja has joined #openstack-nova17:47
*** armax has joined #openstack-nova17:53
*** cdent has quit IRC17:53
*** sree has joined #openstack-nova17:53
openstackgerritMerged openstack/python-novaclient master: [ci] Use pseudo-random names for new resources  https://review.openstack.org/47977717:53
*** lyan has joined #openstack-nova17:55
*** cdent has joined #openstack-nova17:56
*** sree has quit IRC17:57
dansmithmriedem: yep, which you were going to do18:00
*** ralonsoh has quit IRC18:00
mriedemyup18:00
*** penick has joined #openstack-nova18:02
*** derekh has quit IRC18:02
*** belmoreira has joined #openstack-nova18:04
*** markvoelker has quit IRC18:10
*** fragatin_ has quit IRC18:11
*** sridharg has quit IRC18:11
belmoreiramriedem, dansmith I have been working in enabling placement in newton with a nova_api DB per cell. I have some comments. Are you around?18:12
dansmithbelmoreira: depends, are they nice comments?18:13
belmoreira:) a problem actually. And I would like your guidance18:14
belmoreiraA problem that I found is the deletion of the build_request in nova_api. Conductor that runs in the cell will try to delete it from the local nova_api18:14
*** suresh12 has joined #openstack-nova18:14
dansmithdoes the api cell have a dedicated nova_api db?18:15
dansmithI guess it must18:15
*** liangy has joined #openstack-nova18:16
belmoreirayes, on cellsV1 we also have the same concept18:16
dansmithwhat I mean is, you have a placement for the api cell, and a placement for each compute cell18:16
mriedembelmoreira: is this when we delete an instance? it gets routed to the child cell api and that tries to delete the build request?18:16
dansmithso I'm guessing the api puts in a buildrequest, but the compute cell tries to delete it during boot18:16
dansmithwhich means you keep getting the buildrequest listed out of the api, and maybe compute goes to delete it, finds it deleted, and assumes the instance was deleted?18:17
belmoreiradansmith, the plan was to enable placement also in api_cell just to be already there for the pike upgrade18:17
*** felipemonteiro has joined #openstack-nova18:17
*** felipemonteiro_ has joined #openstack-nova18:18
*** lyan has quit IRC18:18
*** moshele has joined #openstack-nova18:18
belmoreiradansmith  the issue is because the build_request is not deleted, the instance is created but remains in build state when the user list its instances18:18
dansmithokay so the first half of what I said18:19
belmoreirayes18:19
dansmithbelmoreira: so you'll need something in the instance sync back to the api cell that deletes the build request18:19
belmoreiradansmith what I did was to change delete_build_request to delete the request from the nova_api DB in the top cell18:20
belmoreirabasically adding a new conf option to point to that DB that is used in this function18:20
*** jpena is now known as jpena|off18:20
dansmithbelmoreira: I think you want to delete the buildrequest here: https://github.com/openstack/nova/blob/master/nova/cells/messaging.py#L99818:20
dansmithif you can test that, I think we could probably merge that change18:21
*** bkopilov has quit IRC18:21
belmoreirabut it does it in the nova_api DB?18:22
*** felipemonteiro has quit IRC18:22
dansmiththat code will run at the top-level nova-cells service, which would be configured to point to the top-level nova_api db right?18:23
belmoreiraI wasn't aware that nova-cells would sync nova_api DB. Only nova DB in top cell.18:24
dansmithwell, it doesn't do anything other than what you tell it to18:24
*** lpetrut has quit IRC18:25
dansmithhistorically there was no api db, so it didn't do anything there, but if you put code in there to find/delete the buildrequest then it will start to do some of that :)18:25
belmoreiraI see :)18:25
belmoreirado we already have an example that nova_api DB is updated?18:25
dansmithin nova-cells? not that I know of18:26
dansmithit'll need to be graceful about buildrequest being deleted already, for the people that have a unified api db for all their cellsv1 cells18:27
dansmithare you asking because of consistency or just because you're not sure how to go about the lookup/delete/18:28
belmoreiramy current patch changes the the delete_build_request in conductor/manager to delete it in the nova_api cell. I wasn't aiming to merge it upstream :)18:29
dansmithbecause it should be roughly the thing done in delete_build_request18:29
dansmithokay but wouldn't you rather a change that doesn't need a new config option and _is_ upstream?18:29
belmoreiraI started this conversation because I'm not sure if we are missing something else18:30
belmoreiraor this can have any consequence when upgrading then to ocata/pike18:30
belmoreiradansmith sure I would prefer a proper fix18:31
*** lpetrut has joined #openstack-nova18:33
belmoreiradansmith thanks. I will have a look on how to have it in cells/messaging18:35
dansmithbelmoreira:18:36
openstackgerritDan Smith proposed openstack/nova master: WIP: Fix cellsv1 build request deletion if multiple api databases are used  https://review.openstack.org/52318718:36
dansmithbelmoreira: see if that ^ works and/or tweak until it does and then we can move on with it18:36
openstackgerritDan Smith proposed openstack/nova master: WIP: Fix cellsv1 build request deletion if multiple api databases are used  https://review.openstack.org/52318718:37
belmoreiradansmith: thanks a lot. I will let you know18:40
dansmithbelmoreira: cool18:40
*** fragatina has joined #openstack-nova18:47
*** fragatin_ has joined #openstack-nova18:48
artommriedem, haven't had a chance to look at the latest version yet18:50
artomWill do that now18:50
*** cdent has quit IRC18:51
*** fragatina has quit IRC18:51
*** AlexeyAbashkin has joined #openstack-nova18:52
*** gouthamr has joined #openstack-nova18:52
*** belmoreira has quit IRC18:52
*** belmoreira has joined #openstack-nova18:53
*** shaner has quit IRC18:54
*** moshele has quit IRC18:54
openstackgerritJay Pipes proposed openstack/nova master: Use oslo_db Session in resource_provider.py  https://review.openstack.org/52319218:54
jaypipesmriedem, efried_rollin: ^18:54
*** AlexeyAbashkin has quit IRC18:56
*** moshele has joined #openstack-nova18:57
mriedemthat is a large change, but looks like it's inevitable18:58
*** eharney has quit IRC18:58
*** jmlowe has joined #openstack-nova18:59
openstackgerritMatt Riedemann proposed openstack/nova master: Fix 'force' parameter in os-quota-sets PUT schema  https://review.openstack.org/52319418:59
mriedemsdague: ^ is that 1 line os-quota-sets 'force' regression fix. the functional api samples are just to show the regression19:00
*** lpetrut has quit IRC19:01
*** vladikr has quit IRC19:03
*** linkmark has joined #openstack-nova19:04
*** shaner has joined #openstack-nova19:05
artomOhhh, the "need to open every PS individually to leave comments on each" thing is gone!19:05
artomMan, my life just keeps on improving19:06
artomThis morning I learned about pssh19:06
jaypipesmriedem: well, I figured it would be silly to fix only the conn.execute() calls in the lookup_entry_in_table() function and leave the other call locations.19:06
*** penick has quit IRC19:06
mriedemjaypipes: if we need to backport that fix, then it would be best to fix the one place and do the massive refactor on top19:08
*** penick has joined #openstack-nova19:08
jaypipesmriedem: there's latent bugs in all those other call locations.19:08
jaypipesmriedem: you want to backport >1 patch or just one?19:09
jaypipesmriedem: also, I'm happy to create a backport patch for pike/ocata19:09
*** lpetrut has joined #openstack-nova19:09
mriedemi single backport patch would be ideal, however, with the amount of refactoring that's gone on already in queens, the backport is probably going to suck, but if you want to own the backport then that's ok with me for a single change19:10
mriedemi don't know that it needs to go to ocata19:10
mriedemi think this actually crept up in CI because posting allocations during scheduling failed19:11
mriedemwhich wasn't in ocata19:11
jaypipesmriedem: I'll handle the backport to pike, then, no prob.19:12
sdaguemriedem: +2, though I'm still rather down on all the deepcopy and modify pattern, I think it creates more of these bugs in the future19:13
sdaguevs. just do a full expand every time there is a new tweak on the schema19:13
*** dtantsur is now known as dtantsur|afk19:14
*** pcaruana has joined #openstack-nova19:16
*** penick has quit IRC19:17
*** AlexeyAbashkin has joined #openstack-nova19:17
mriedemsdague: thanks19:22
mriedemdansmith: here is my proposed reno https://gist.github.com/mriedem/3da0a2edf18be0487e8becad3129307719:22
*** AlexeyAbashkin has quit IRC19:22
mriedemfor https://review.openstack.org/#/c/521186/19:22
openstackgerritMerged openstack/nova master: finish refactor AllocCandidates._get_by_filters()  https://review.openstack.org/51678219:22
openstackgerritMerged openstack/nova master: required traits for no sharing providers  https://review.openstack.org/51702719:23
openstackgerritMerged openstack/nova master: Add ProviderSummary.resource_class_names @property  https://review.openstack.org/51764619:23
*** salv-orlando has quit IRC19:28
*** salv-orlando has joined #openstack-nova19:28
*** sree has joined #openstack-nova19:28
openstackgerritMatt Riedemann proposed openstack/nova master: Refined fix for validating image on rebuild  https://review.openstack.org/52118619:31
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115319:31
openstackgerritMatt Riedemann proposed openstack/nova master: Fix doubling allocations on rebuild  https://review.openstack.org/52166219:31
*** burt has joined #openstack-nova19:31
mriedemjaypipes: i added a reno on https://review.openstack.org/521186 which you were +2 on19:31
*** penick has joined #openstack-nova19:32
cfriesenwhen updating the default quota class set, if I set a value lower than the current usage will that prevent any more resources from being consumed?  updating quota-sets has the "force" option for this case, but I don't see that for quota class sets.19:33
*** sree has quit IRC19:33
*** yangyapeng has joined #openstack-nova19:34
mriedemcfriesen: quota classes aren't tied to a tenant19:36
mriedemso there is no 'current usage' on a quota class19:37
mriedemas for "if I set a value lower than the current usage will that prevent any more resources from being consumed" - i'm not sure19:37
mriedemit might19:37
cfriesenmriedem: I was envisioning usage as being basically per tenant.19:38
*** felipemonteiro_ has quit IRC19:38
mriedemwe check limits based on (1) is there a specific limit for this project, (2) if not, is there a specific limit for this quota class, (3) if not, what's the configured limit19:38
cfriesenso you have the class default as 10, the tenant currently has 9, I change the class default to 819:38
mriedemi think that will cause the next instance create to be overquota19:39
*** yangyapeng has quit IRC19:39
cfriesenthat matches my understanding, thanks.   it's odd we have "force" for that when setting tenant quotas but not the global default19:39
mriedemthe point in changing the limits to be below the usage (like the force parameter in PUT /os-quota-sets) is to get to the desired limit regardless of current usage19:39
*** moshele has quit IRC19:39
mriedemif we checked that on the global default, we'd have to check usage for all projects19:40
mriedemand,19:40
mriedemwe could be tracking quota for projects that no longer actually exist in keystone19:40
cfriesentrue enough19:40
openstackgerritMerged openstack/nova master: Implement query param schema for delete assisted vol  https://review.openstack.org/51366819:40
openstackgerritMerged openstack/nova master: Versioned notifications for service create and delete  https://review.openstack.org/51958819:41
*** artom has quit IRC19:48
*** artom has joined #openstack-nova19:49
*** eharney has joined #openstack-nova19:53
*** eharney has quit IRC19:53
*** eharney has joined #openstack-nova19:53
*** ijw has quit IRC19:56
*** sambetts is now known as sambetts|afk19:59
*** dave-mcc_ is now known as dave-mccowan20:04
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Refined fix for validating image on rebuild  https://review.openstack.org/52321220:08
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52321320:08
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Fix doubling allocations on rebuild  https://review.openstack.org/52321420:08
*** vladikr has joined #openstack-nova20:11
*** vladikr has quit IRC20:13
openstackgerritEric Berglund proposed openstack/nova master: WIP: PowerVM Driver: SEA  https://review.openstack.org/52321620:15
*** penick has quit IRC20:16
*** vladikr has joined #openstack-nova20:16
*** sree has joined #openstack-nova20:16
*** AlexeyAbashkin has joined #openstack-nova20:17
cfriesenmriedem: when querying quota details including usage for a tenant/user, does it only count resources created by that user?20:19
*** slaweq has joined #openstack-nova20:19
*** slaweq has quit IRC20:20
*** slaweq has joined #openstack-nova20:20
mriedemcfriesen: you should talk to melwitt20:20
*** AlexeyAbashkin has quit IRC20:21
*** sree has quit IRC20:21
*** moshele has joined #openstack-nova20:22
mriedemcfriesen: in general quotas are on the usage in the project,20:27
mriedemexcept for keypairs20:27
mriedemyou can see how usage is counted by the methods called for each CountableResource here https://github.com/openstack/nova/blob/master/nova/quota.py#L190320:28
cfriesenmriedem: thanks20:28
*** suresh12 has quit IRC20:30
mriedemso i guess PUT /os-quota-sets/{tenant_id} is a bit weird if you're updating limits for keypairs, since those are per-user, so that should really be something like PUT /os-qouta-sets/{tenant_id}/key_pairs/{user_id} - or something like that20:30
*** jmlowe has quit IRC20:31
*** suresh12 has joined #openstack-nova20:31
*** yamahata has quit IRC20:32
cfriesenquotas in general is a mess.  the mapping between the HTTP API and the internal representation is really indirect.  Looking at the quota for a user/tenant, it takes multiple queries to figure if the limit came from a tenant/user quota, a tenant quota, the default quota class, or the default in the code or config file.20:32
*** threestrands_ has joined #openstack-nova20:32
*** threestrands_ has quit IRC20:32
*** threestrands_ has joined #openstack-nova20:32
*** threestrands_ has quit IRC20:33
*** threestrands_ has joined #openstack-nova20:34
*** threestrands has joined #openstack-nova20:34
*** amodi has joined #openstack-nova20:34
*** threestrands has quit IRC20:34
*** threestrands has joined #openstack-nova20:34
artommriedem, dansmith, I think we may have gotten a filter wrong, but I could just be being an idiot. Review left.20:34
mriedemcfriesen: that's what i explained before20:35
mriedemcfriesen: and why i wrote https://review.openstack.org/#/c/411035/20:35
*** efried_rollin is now known as efried20:38
*** tasker has quit IRC20:39
*** threestrands_ has quit IRC20:44
mriedemartom: so just AggregateMultiTenancyIsolation at this point20:47
mriedem?20:47
artommriedem, yeah. Am I correct in wondering why it's True?20:48
mriedemyeah i think that's a carry over from PS5 when it used to be called POLICY_FILTER20:48
mriedemand got lumped in as 'policy'20:48
mriedemhttps://review.openstack.org/#/c/521186/5..7/nova/scheduler/filters/aggregate_multitenancy_isolation.py20:48
artomCool, so I'm not in the field20:49
mriedemok so i think i'll just change that one unless dansmith objects20:50
dansmithI'm sure I don't20:51
artomdansmith is like this pigeon at this point: https://imgur.com/gallery/Y5Ps320:52
dansmithpretty much20:52
openstackgerritMatt Riedemann proposed openstack/nova master: Refined fix for validating image on rebuild  https://review.openstack.org/52118620:53
openstackgerritMatt Riedemann proposed openstack/nova master: Add regression test for rebuild with new image doubling allocations  https://review.openstack.org/52115320:53
openstackgerritMatt Riedemann proposed openstack/nova master: Fix doubling allocations on rebuild  https://review.openstack.org/52166220:53
mriedemartom: are you happy now?20:53
artommriedem, sorry what? I've gone and joined dansmith and the pigeon on the dog: https://i.imgur.com/ijgWRzw.jpg20:56
artommriedem, in seriousness though, yes. Thanks for being patient :)20:56
*** vladikr has quit IRC20:56
mriedemapproved, thanks for being thorough20:57
mriedemjust like henry david20:57
openstackgerritMerged openstack/nova master: Updated from global requirements  https://review.openstack.org/52292920:57
artomOh and this means I get to do all those downstream CVE backports I signed for20:58
artomSo, actually, I have another nit I'd like to bikeshed over for the entire week20:59
*** penick has joined #openstack-nova21:02
*** yamahata has joined #openstack-nova21:04
*** sree has joined #openstack-nova21:05
*** vladikr has joined #openstack-nova21:05
*** Apoorva_ has joined #openstack-nova21:05
*** Apoorva has quit IRC21:09
*** sree has quit IRC21:09
*** liverpooler has quit IRC21:11
*** gbarros has quit IRC21:12
*** gbarros has joined #openstack-nova21:15
openstackgerritClaudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages  https://review.openstack.org/47077521:15
claudiub|2mriedem: hi. if you're still interested about mock autospecing, the above patch enforces autospec on all mock.patch calls. it does have a few hacks though, if you're willing to accept the compromise.21:17
*** smatzek has quit IRC21:18
*** damien_r has joined #openstack-nova21:22
*** amodi has quit IRC21:22
*** gbarros has quit IRC21:22
*** ijw has joined #openstack-nova21:22
*** moshele has quit IRC21:22
belmoreiradansmith: was testing what you proposed. I though I had a good solution... now I feel embarrassed :)21:23
belmoreiradansmith: It works great! thanks21:23
*** gbarros has joined #openstack-nova21:24
dansmithbelmoreira: cool, glad to hear it21:24
belmoreiradansmith: do you think this can still be added into newton?21:26
dansmithbelmoreira: not backported upstream most likely, but it should apply easily (as you know)21:26
belmoreiraok, thanks again21:27
*** hamzy has quit IRC21:27
*** ijw has quit IRC21:30
cfriesenmriedem: did we ever figure out what to do about keypairs and users/tenants?  (like where one user creates a heat stack and another within the same tenant can't delete it)21:32
cfriesencan't find anything in the etherpads21:32
mriedemcfriesen: you can now rebuild an instance with a new key_name21:34
mriedemhttps://specs.openstack.org/openstack/nova-specs/specs/queens/approved/rebuild-keypair-reset.html21:34
*** belmoreira has quit IRC21:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add instance action record for attach/detach/swap volumes  https://review.openstack.org/51720521:35
*** Tahvok has quit IRC21:35
cfriesenmriedem: right, I knew about that part.  but I thought some people were talking about how keypairs should really be owned by the tenant.   Could be it never actually got written down.21:37
mriedemcfriesen: i'm not really remembering that21:37
mriedemcfriesen: maybe sdague does21:37
cfriesenthx21:38
*** ijw has joined #openstack-nova21:39
*** pcaruana has quit IRC21:41
sdaguekeypairs are the only resource not owned by the tenant21:43
*** ijw has quit IRC21:43
sdagueit makes for a very weird model of ownership, because the point was supposed to be that tenants owned all the things, and users were just permissions to be part of a tenant21:44
*** hamzy has joined #openstack-nova21:44
*** gszasz has quit IRC21:49
*** pchavva has quit IRC21:53
*** burt has quit IRC21:53
*** gbarros has quit IRC21:55
*** awaugama has quit IRC21:56
*** cdent has joined #openstack-nova21:57
*** esberglu has quit IRC21:57
*** esberglu has joined #openstack-nova21:58
*** lpetrut has quit IRC21:59
*** penick has quit IRC22:04
openstackgerritChris Dent proposed openstack/nova master: Optional separate database for placement API  https://review.openstack.org/36276622:04
*** rtjure has quit IRC22:08
*** ijw has joined #openstack-nova22:09
*** markvoelker has joined #openstack-nova22:09
*** cdent has quit IRC22:10
*** ijw has quit IRC22:10
*** edand has joined #openstack-nova22:11
*** penick has joined #openstack-nova22:12
*** edand has quit IRC22:16
melwittcfriesen, mriedem: I recall some discussion about how user A in a tenant can't ever view user B's keypairs in the same tenant. I just can't remember where/when that was22:19
melwittit's so baked in that it would probably be difficult to change22:19
cfriesenmelwitt: true.  what about the the weirdness of per-tenant keypair quotas when keypairs belong to users across all tenants?22:21
*** ijw has joined #openstack-nova22:22
melwittcfriesen: currently, I think you can set keypair quota per tenant but what it means is "how many keypairs can each user in the tenant have"22:23
melwittare you thinking of a per tenant quota that means "how many keypairs can this tenant have in total"?22:23
cfriesenmelwitt: but a user can exist in multiple tenants, so which one applies?22:23
melwittwhichever one the user is authing as at the moment22:24
melwitti.e. the tenant passed in the REST API request22:24
cfriesenokay, that makes sense in a weird sort of way.22:24
cfriesenit does mean your usage in one tenant could go up due to activity in another tenant22:25
melwittah yeah, that's true. keypairs are counted per user.22:27
mriedemyikun: good morning. :) do we really need https://review.openstack.org/#/c/517273/ to add paging support for the os-migrations API? can't we just find the starting cell for the marker by iterating the cells until we find the one with the marker migration? that's obviously less efficient since we don't have a mapping in the API database, but i don't think performance here is as big a concern as it is for paging instances acros22:27
mriedemltiple cells.22:27
zigoI'm getting a weird error in my tempest test env: qemu-img: file system may not support O_DIRECT\nqemu-img: Could not open '/var/lib/nova/instances/_base/c44b0b620ae7c6fd8111e0abb5a8d1fc39fcdf08.converted': Could not open '/var/lib/nova/instances/_base/c44b0b620ae7c6fd8111e0abb5a8d1fc39fcdf08.converted': Invalid argument22:30
zigoIt looks like qemu-img doesn't like me running on a filesystem using overlay for / over tmpfs ...22:31
zigoIs there any workaround ?22:31
* penick blinks22:32
zigopenick: Blinking reading what I wrote ? :)22:33
melwittzigo: what release of nova are you running?22:33
zigomelwitt: 16.0.322:34
melwittI found this stackoverflow thing about it https://serverfault.com/questions/537440/qemu-dont-start-quest-with-disk-image-on-tmpfs which reminded me I've seen code in the libvirt driver that's supposed to handle this22:34
*** suresh12 has quit IRC22:34
zigoI'm trying to functional-validate Pike for Debian.22:34
*** rcernin has joined #openstack-nova22:34
zigomelwitt: It seems related to qemu-img not converting the image before booting it, though...22:35
melwittthis part is checking whether the filesystem supports direct io and will set cache=writethrough in that case to avoid the crash https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L406-L41422:36
zigostack dump: http://paste.openstack.org/show/627515/22:36
melwitt(which is the workaround, cache=writethrough but it should be working around for you automatically)22:36
*** damien_r has quit IRC22:37
zigoHum ...22:38
zigomelwitt: Is there any way I can just force nova to never use direct IO then?22:38
zigoEven an ugly hack, just to check ...22:38
mriedemdansmith: you might have some ideas here https://review.openstack.org/#/c/517273/21/nova/compute/migration_list.py - i think using the instance list merge sort framework that you wrote is maybe overkill for paging migrations across cells, but i'm unsure if the alternative (including a merge sort of the results in the api) is any less complicated.22:38
dansmithmriedem: definitely if we don't allow sort keys or directions (agreed we shouldn't)22:40
zigomelwitt: I'll try to always set writethrough and see what happens...22:40
dansmithmriedem: looks like it was blindly copied in there huh?22:40
melwittzigo: something that might work is if you set [libvirt]/disk_cachemodes = file=writethrough22:40
dansmithmriedem: I can apply more brainpower to this tomorrow if needed22:40
zigomelwitt: Thanks, trying now !22:41
openstackgerritEric Berglund proposed openstack/nova master: WIP: PowerVM Driver: SEA  https://review.openstack.org/52321622:42
*** jmlowe has joined #openstack-nova22:44
zigomelwitt: Bad luck, it's still the same log in nova-compute.log ... :/22:45
mriedemdansmith: there is a patch below it which extracts some of the common object wrapper bits, but otherwise yeah it's mostly a copy of instance_list22:45
dansmithmriedem: yeah, I'm not really in favor of genericifying that stuff unless we need to, it just becomes more complex22:45
mriedemand i'm thinking if the user can't pass sort keys/dirs, (which they can't for os-migrations), then it's less work for us to just find the marker, page from there (like we used to do for instances) and merge sort the results at the end22:45
dansmithyup22:45
* zigo tries to mount /var/lib/nova/instances on ext4, just to see what happens...22:45
*** esberglu has quit IRC22:46
mriedemi know yikun wrote up some test cases so i think he was mostly worried about the merge sort prat22:46
mriedem*part22:46
melwittzigo: guh :( okay, so we have some bug there where we're not setting cache mode in that particular code path or something like that. I'd have to dig into it more to know what's going on there22:46
*** esberglu has joined #openstack-nova22:46
zigomelwitt: Let me check with /var/lib/nova/instances mounted on ext4, just to make sure that's the issue.22:46
melwittzigo: what images_type are you using? just flat? or is it volume or ceph?22:47
zigomelwitt: You mean for the image that I'm trying to boot? It's a "nornal" qcow2 image ...22:48
zigoie: the official Debian OpenStack Stretch image that I maintain in cdimages.debian.org/cdimages/openstack ...22:48
zigoflat file in glance ...22:49
melwittoh okay, I see22:49
*** esberglu has quit IRC22:51
*** hamzy has quit IRC22:55
*** Alex_Staf has joined #openstack-nova22:56
*** Apoorva_ has quit IRC22:57
*** Apoorva has joined #openstack-nova22:58
*** ijw has quit IRC22:59
*** esberglu has joined #openstack-nova22:59
zigomelwitt: I'm getting a different error due to other issues in my setup (neutron issue apparently), but I'm not seeing the qemu-img problem anymore after mounting over ext4 !22:59
zigoSo definitively there's a problem...23:00
zigoShould I file a bug?23:01
melwittzigo: yeah, if you could file a bug that would help us look into it23:03
*** jmlowe has quit IRC23:03
*** esberglu has quit IRC23:04
*** hamzy has joined #openstack-nova23:08
*** gmann_afk is now known as gmann23:11
gmannmriedem: melwitt happy to get more review on novaclient zullv3 migration - https://review.openstack.org/#/q/topic:zuulv3-novaclient23:13
*** ijw has joined #openstack-nova23:15
zigomelwitt: https://bugs.launchpad.net/nova/+bug/173478423:18
openstackLaunchpad bug 1734784 in OpenStack Compute (nova) "Cannot boot instances on filesystem without O_DIRECT support (fails on tmpfs)" [Undecided,New]23:18
*** liangy has quit IRC23:19
*** mlavalle has quit IRC23:19
melwittzigo: ack, thanks23:22
*** dave-mccowan has quit IRC23:24
*** ircuser-1 has joined #openstack-nova23:24
*** slaweq has quit IRC23:25
*** linkmark has quit IRC23:26
*** slaweq has joined #openstack-nova23:27
*** slaweq has quit IRC23:33
*** chyka_ has joined #openstack-nova23:33
*** jmlowe has joined #openstack-nova23:35
*** chyka has quit IRC23:36
*** suresh12 has joined #openstack-nova23:44
*** suresh12 has quit IRC23:44
*** suresh12 has joined #openstack-nova23:44
*** john51 has quit IRC23:45
*** john51 has joined #openstack-nova23:45
*** claudiub|2 has quit IRC23:49
*** marst has quit IRC23:57
openstackgerritMatt Riedemann proposed openstack/nova master: Deprecate file injection  https://review.openstack.org/52202723:57
*** mriedem has quit IRC23:59

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