Tuesday, 2018-04-10

*** stakeda has joined #openstack-nova00:02
*** logan- has quit IRC00:02
*** logan- has joined #openstack-nova00:02
*** _ix has joined #openstack-nova00:03
*** yamamoto has quit IRC00:03
*** gyee has quit IRC00:11
*** Dinesh_Bhor has joined #openstack-nova00:16
*** ssurana has joined #openstack-nova00:17
*** zhurong has joined #openstack-nova00:20
*** jackie-truong has joined #openstack-nova00:23
*** odyssey4me has quit IRC00:34
*** odyssey4me has joined #openstack-nova00:34
*** _ix has quit IRC00:41
*** artom has joined #openstack-nova00:48
*** germs has joined #openstack-nova00:56
*** germs has quit IRC00:56
*** germs has joined #openstack-nova00:56
*** mriedem_afk has quit IRC01:00
*** QianYu has joined #openstack-nova01:01
*** slaweq has joined #openstack-nova01:03
*** tiendc has joined #openstack-nova01:04
*** gjayavelu has quit IRC01:04
*** slaweq has quit IRC01:08
*** Zames has joined #openstack-nova01:09
*** Zames has quit IRC01:10
*** ssurana has quit IRC01:11
*** zhaochao has joined #openstack-nova01:12
*** salv-orl_ has joined #openstack-nova01:15
*** salv-orlando has quit IRC01:18
*** jichen has joined #openstack-nova01:18
openstackgerritMerged openstack/nova master: Replace mox stubs with stub_out in test_extended_volumes.py  https://review.openstack.org/55868501:21
*** janki has joined #openstack-nova01:27
*** claudiub has quit IRC01:31
*** hongbin has joined #openstack-nova01:33
*** QianYu has quit IRC01:34
*** QianYu has joined #openstack-nova01:36
openstackgerritjichenjc proposed openstack/nova master: WIP: remove ec2 in service and cmd  https://review.openstack.org/55677801:39
openstackgerritjichenjc proposed openstack/nova master: WIP: remove Ec2 object  https://review.openstack.org/55715001:39
openstackgerritjichenjc proposed openstack/nova master: WIP: remove db ec2  https://review.openstack.org/55757201:39
openstackgerritJackie Truong proposed openstack/nova master: Implement certificate_utils  https://review.openstack.org/47994901:39
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API  https://review.openstack.org/48620401:39
*** jchhatbar has joined #openstack-nova01:40
openstackgerritjichenjc proposed openstack/nova master: make metadata doc up to date  https://review.openstack.org/55961301:41
*** janki has quit IRC01:43
*** dougshelley66 has quit IRC01:43
*** dougshelley66 has joined #openstack-nova01:49
openstackgerritMichael Still proposed openstack/nova master: Move xenapi disk resizing to privsep.  https://review.openstack.org/55224201:50
openstackgerritMichael Still proposed openstack/nova master: Sync xenapi and libvirt on what flags to pass e2fsck.  https://review.openstack.org/55407801:50
openstackgerritMichael Still proposed openstack/nova master: Move xenapi partition copies to privsep.  https://review.openstack.org/55360501:50
openstackgerritMichael Still proposed openstack/nova master: Move image conversion to privsep.  https://review.openstack.org/55443701:50
openstackgerritMichael Still proposed openstack/nova master: We don't need utils.trycmd any more.  https://review.openstack.org/55443901:50
openstackgerritMichael Still proposed openstack/nova master: We no longer need rootwrap.  https://review.openstack.org/55443801:50
*** bkopilov has quit IRC01:52
*** yamahata has quit IRC01:53
*** mdnadeem has joined #openstack-nova01:57
*** dougshelley66 has quit IRC01:59
naichuansHi, efried: do we have the scheduler of to get NRP working through GET /allocation_candidates?02:03
alex_xukashyap: yea, I think it supports boarder option, but at least for our team, we only use cmt02:05
*** namnh has joined #openstack-nova02:08
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in test_virt_drivers.py  https://review.openstack.org/55987802:08
*** sapcc-bot1 has joined #openstack-nova02:09
*** salv-orlando has joined #openstack-nova02:10
*** dave-mccowan has joined #openstack-nova02:12
*** salv-orl_ has quit IRC02:13
*** mdnadeem has quit IRC02:13
*** sapcc-bot has quit IRC02:14
*** naichuans_ has joined #openstack-nova02:14
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vm_utils.py (1)  https://review.openstack.org/55870402:16
*** naichuans_ has quit IRC02:21
*** germs has quit IRC02:22
*** germs has joined #openstack-nova02:22
*** germs has quit IRC02:22
*** germs has joined #openstack-nova02:22
*** ssurana has joined #openstack-nova02:23
*** germs has quit IRC02:23
*** naichuans_ has joined #openstack-nova02:27
*** naichuans_ has quit IRC02:29
*** naichuans_ has joined #openstack-nova02:30
*** andreas_s has joined #openstack-nova02:32
*** r-daneel has joined #openstack-nova02:36
*** andreas_s has quit IRC02:37
*** amodi has quit IRC02:40
*** yamamoto has joined #openstack-nova02:41
*** QianYu has quit IRC02:43
*** yamamoto has quit IRC02:45
*** QianYu has joined #openstack-nova02:47
*** dave-mccowan has quit IRC02:48
*** artom has quit IRC02:50
*** psachin has joined #openstack-nova02:52
*** jackie-truong has quit IRC02:57
*** slaweq has joined #openstack-nova03:04
*** imacdonn has quit IRC03:08
*** imacdonn has joined #openstack-nova03:08
*** slaweq has quit IRC03:09
*** harlowja has quit IRC03:16
*** vladikr has quit IRC03:17
*** vladikr has joined #openstack-nova03:17
*** bkopilov has joined #openstack-nova03:19
*** takashin has quit IRC03:24
*** armaan has quit IRC03:26
*** vladikr has quit IRC03:27
*** vladikr has joined #openstack-nova03:27
*** sree has joined #openstack-nova03:30
*** phuongnh has joined #openstack-nova03:36
*** zhurong has quit IRC03:41
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add microversion to support extra_specs in flavor API.  https://review.openstack.org/55415903:43
*** naichuans_ has quit IRC03:45
*** naichuans_ has joined #openstack-nova03:45
*** naichuans has quit IRC03:47
*** jogo has quit IRC03:47
*** esberglu has quit IRC03:49
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vm_utils.py (2)  https://review.openstack.org/55899303:51
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vm_utils.py (3)  https://review.openstack.org/55925803:53
*** takashin has joined #openstack-nova03:53
*** hongbin has quit IRC03:57
*** harlowja has joined #openstack-nova03:57
*** ratailor has joined #openstack-nova03:58
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Add microversion to support extra_specs in flavor API.  https://review.openstack.org/55415904:00
*** sridharg has joined #openstack-nova04:00
*** hiro-kobayashi has joined #openstack-nova04:03
*** pcaruana has joined #openstack-nova04:06
*** gjayavelu has joined #openstack-nova04:07
*** udesale has joined #openstack-nova04:09
*** liuzz has quit IRC04:11
*** strigazi has quit IRC04:11
*** gjayavelu has quit IRC04:12
*** strigazi has joined #openstack-nova04:14
*** pcaruana has quit IRC04:16
*** suresh12 has joined #openstack-nova04:18
*** suresh12 has quit IRC04:18
*** suresh12 has joined #openstack-nova04:18
*** trinaths has joined #openstack-nova04:20
*** QianYu has quit IRC04:20
*** jichen_ has joined #openstack-nova04:21
*** madhaviy has joined #openstack-nova04:22
*** jichen has quit IRC04:22
*** jichen_ is now known as jichen04:22
*** jogo has joined #openstack-nova04:22
*** germs has joined #openstack-nova04:23
*** germs has quit IRC04:23
*** germs has joined #openstack-nova04:23
*** annp has quit IRC04:25
*** liuzz has joined #openstack-nova04:25
*** annp has joined #openstack-nova04:25
*** QianYu has joined #openstack-nova04:26
*** QianYu has quit IRC04:28
*** germs has quit IRC04:29
*** madhaviy has quit IRC04:33
*** vks1 has joined #openstack-nova04:35
*** ssurana has quit IRC04:39
*** sree has quit IRC04:45
*** ssurana has joined #openstack-nova04:45
*** sree has joined #openstack-nova04:53
*** lpetrut has joined #openstack-nova04:54
*** sree has quit IRC04:55
*** ratailor_ has joined #openstack-nova04:59
*** Dinesh_Bhor has quit IRC05:00
*** ratailor has quit IRC05:02
*** claudiub has joined #openstack-nova05:04
*** suresh12 has quit IRC05:04
*** naichuans_ is now known as naichuans05:05
*** yamamoto has joined #openstack-nova05:08
*** dikonoor has joined #openstack-nova05:08
*** Dinesh_Bhor has joined #openstack-nova05:09
*** vks1 has quit IRC05:10
*** yamahata has joined #openstack-nova05:10
*** links has joined #openstack-nova05:11
*** yamamoto has quit IRC05:12
*** strigazi_ has joined #openstack-nova05:13
*** strigazi has quit IRC05:17
*** sree has joined #openstack-nova05:21
*** licanwei has joined #openstack-nova05:22
*** madhaviy has joined #openstack-nova05:23
*** ccamacho has quit IRC05:29
*** fragatina has quit IRC05:31
*** sar has quit IRC05:33
*** lpetrut has quit IRC05:37
*** dikonoor has quit IRC05:37
*** dikonoor has joined #openstack-nova05:37
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Support live migration in pooled multi-nodes environment  https://review.openstack.org/48945105:39
*** suresh12 has joined #openstack-nova05:42
*** Eran_Kuris has joined #openstack-nova05:45
*** germs has joined #openstack-nova05:47
*** germs has quit IRC05:47
*** germs has joined #openstack-nova05:47
*** suresh12 has quit IRC05:47
*** lpetrut has joined #openstack-nova05:47
*** germs has quit IRC05:51
*** fragatina has joined #openstack-nova05:57
*** fragatin_ has joined #openstack-nova05:58
*** takedakn has joined #openstack-nova05:58
*** bingqianglin has joined #openstack-nova05:59
*** belmoreira has joined #openstack-nova06:00
*** fragatina has quit IRC06:01
*** rodolof has joined #openstack-nova06:02
*** fragatin_ has quit IRC06:02
*** takedakn has quit IRC06:03
openstackgerritjichenjc proposed openstack/nova master: remove ec2 in service and cmd  https://review.openstack.org/55677806:03
openstackgerritjichenjc proposed openstack/nova master: remove ec2 object definitions  https://review.openstack.org/55715006:03
openstackgerritjichenjc proposed openstack/nova master: remove ec2 db functions  https://review.openstack.org/55757206:03
*** jaosorior has quit IRC06:04
*** rubasov has quit IRC06:08
*** sar has joined #openstack-nova06:12
*** dpawlik has joined #openstack-nova06:13
*** rubasov has joined #openstack-nova06:16
*** dpawlik has quit IRC06:17
*** namnh has quit IRC06:18
*** lpetrut has quit IRC06:19
*** dpawlik has joined #openstack-nova06:19
openstackgerritOpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata  https://review.openstack.org/54877206:25
*** QianYu has joined #openstack-nova06:25
*** madhaviy has quit IRC06:26
*** madhaviy has joined #openstack-nova06:26
*** andreas_s has joined #openstack-nova06:29
*** Dinesh_Bhor has quit IRC06:30
*** armaan has joined #openstack-nova06:30
*** QianYu has quit IRC06:31
*** Dinesh_Bhor has joined #openstack-nova06:32
*** AlexeyAbashkin has joined #openstack-nova06:32
*** QianYu has joined #openstack-nova06:32
*** ssurana has quit IRC06:36
*** kholkina has joined #openstack-nova06:37
*** jaosorior has joined #openstack-nova06:37
*** yamamoto has joined #openstack-nova06:37
*** pcaruana has joined #openstack-nova06:40
*** harlowja has quit IRC06:40
*** rcernin has quit IRC06:41
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Support live migration in pooled multi-nodes environment  https://review.openstack.org/48945106:45
*** fragatina has joined #openstack-nova06:47
*** ragiman has joined #openstack-nova06:47
*** sahid has joined #openstack-nova06:47
*** slaweq has joined #openstack-nova06:47
*** salv-orlando has quit IRC06:48
*** salv-orlando has joined #openstack-nova06:48
*** ratailor__ has joined #openstack-nova06:49
*** sahid_ has joined #openstack-nova06:49
*** AlexeyAbashkin has quit IRC06:49
*** pooja_jadhav has joined #openstack-nova06:49
*** AlexeyAbashkin has joined #openstack-nova06:50
*** ratailor_ has quit IRC06:51
*** alexchadin has joined #openstack-nova06:52
*** ccamacho has joined #openstack-nova06:52
*** slaweq has quit IRC06:53
*** ccamacho has quit IRC06:53
*** salv-orlando has quit IRC06:53
*** ralonsoh has joined #openstack-nova06:53
*** lpetrut has joined #openstack-nova06:53
*** sahid_ has quit IRC06:53
*** sahid has quit IRC06:53
*** sahid has joined #openstack-nova06:53
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Use XAPI pool instead of aggregate pool for shared SR migration  https://review.openstack.org/55415406:54
*** AlexeyAbashkin has quit IRC06:54
*** slaweq has joined #openstack-nova06:56
*** fragatina has quit IRC06:56
*** avolkov has joined #openstack-nova06:57
*** QianYu has quit IRC07:02
*** AlexeyAbashkin has joined #openstack-nova07:02
*** QianYu has joined #openstack-nova07:03
*** lpetrut has quit IRC07:03
*** maciejjozefczyk has quit IRC07:07
*** maciejjozefczyk has joined #openstack-nova07:09
*** lajoskatona has joined #openstack-nova07:09
*** yamamoto has quit IRC07:12
openstackgerritTetsuro Nakamura proposed openstack/nova-specs master: Return resources of entire trees in Placement  https://review.openstack.org/55946607:13
*** yamamoto has joined #openstack-nova07:14
openstackgerritKashyap Chamarthy proposed openstack/nova master: Pick next minimum libvirt / QEMU versions for "Stein"  https://review.openstack.org/55817107:14
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION for "Rocky"  https://review.openstack.org/55878307:14
*** yamamoto has quit IRC07:14
*** yamamoto has joined #openstack-nova07:15
*** tesseract has joined #openstack-nova07:19
*** yamamoto has quit IRC07:19
kashyapzigo: If you want to re-ACK this -- https://review.openstack.org/#/c/558171/07:22
*** salv-orlando has joined #openstack-nova07:23
*** jaosorior has quit IRC07:23
bauzasgood morning nova07:26
*** tssurya has joined #openstack-nova07:26
*** jaosorior has joined #openstack-nova07:27
*** dikonoo has joined #openstack-nova07:30
*** dikonoor has quit IRC07:30
*** fragatina has joined #openstack-nova07:30
*** takashin has left #openstack-nova07:30
*** jhesketh_ has joined #openstack-nova07:31
*** Tom-Tom has joined #openstack-nova07:33
*** bingqianglin has quit IRC07:33
*** amoralej|off is now known as amoralej07:35
*** swamireddy has quit IRC07:37
*** jhesketh has quit IRC07:37
*** mgoddard has joined #openstack-nova07:37
*** damien_r has joined #openstack-nova07:38
*** hoonetorg has quit IRC07:38
*** Dinesh_Bhor has quit IRC07:40
*** belmoreira has quit IRC07:43
*** rodolof has quit IRC07:45
*** rodolof has joined #openstack-nova07:45
*** jpena|off is now known as jpena07:45
*** Dinesh_Bhor has joined #openstack-nova07:46
*** germs has joined #openstack-nova07:48
*** germs has quit IRC07:48
*** germs has joined #openstack-nova07:48
*** madhaviy has quit IRC07:50
*** hoonetorg has joined #openstack-nova07:52
*** germs has quit IRC07:53
*** AlexeyAbashkin has quit IRC07:53
*** AlexeyAbashkin has joined #openstack-nova07:56
*** mgoddard has quit IRC07:56
*** cdent has joined #openstack-nova07:59
*** madhaviy has joined #openstack-nova08:01
*** ktibi has joined #openstack-nova08:01
*** hemna_ has quit IRC08:04
*** lucas-afk is now known as lucasagomes08:05
*** mdnadeem has joined #openstack-nova08:05
*** lpetrut has joined #openstack-nova08:16
*** suresh12 has joined #openstack-nova08:19
*** hiro-kobayashi has quit IRC08:22
*** suresh12 has quit IRC08:23
*** priteau has joined #openstack-nova08:27
*** mvk has quit IRC08:28
*** speller has joined #openstack-nova08:29
*** circ-user-vGM1f has joined #openstack-nova08:30
*** speller has left #openstack-nova08:30
*** mgoddard has joined #openstack-nova08:30
*** cdent has quit IRC08:32
*** circ-user-vGM1f has quit IRC08:34
*** circ-user-4FHml has joined #openstack-nova08:34
*** asdf__ has joined #openstack-nova08:35
*** circ-user-4FHml has quit IRC08:35
*** circ-user-s7EKK has joined #openstack-nova08:35
*** circ-user-s7EKK is now known as speller_08:36
*** speller_ has joined #openstack-nova08:36
*** speller_ has joined #openstack-nova08:37
*** asdf__ has quit IRC08:37
openstackgerritMichael Still proposed openstack/nova master: Move xenapi disk resizing to privsep.  https://review.openstack.org/55224208:45
openstackgerritMichael Still proposed openstack/nova master: Sync xenapi and libvirt on what flags to pass e2fsck.  https://review.openstack.org/55407808:45
openstackgerritMichael Still proposed openstack/nova master: Move xenapi partition copies to privsep.  https://review.openstack.org/55360508:45
openstackgerritMichael Still proposed openstack/nova master: Move image conversion to privsep.  https://review.openstack.org/55443708:45
openstackgerritMichael Still proposed openstack/nova master: We don't need utils.trycmd any more.  https://review.openstack.org/55443908:45
openstackgerritMichael Still proposed openstack/nova master: We no longer need rootwrap.  https://review.openstack.org/55443808:45
zigokashyap: I did it but there are still ci failures.08:46
*** ccamacho has joined #openstack-nova08:46
*** tiendc has quit IRC08:48
*** tiendc has joined #openstack-nova08:49
kashyapzigo: Let me look; this shouldn't certainly cause CI failures08:50
kashyapHmm, I see "IBM PowerKVM CI" failing08:51
*** hiro-kobayashi has joined #openstack-nova08:53
*** mvk has joined #openstack-nova08:58
*** sshwarts has joined #openstack-nova09:00
*** cdent has joined #openstack-nova09:00
*** owalsh_ has joined #openstack-nova09:02
*** owalsh has quit IRC09:03
*** belmoreira has joined #openstack-nova09:03
*** pcaruana has quit IRC09:04
*** mdbooth has joined #openstack-nova09:06
*** mdnadeem_ has joined #openstack-nova09:12
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Support live migration in pooled multi-nodes environment  https://review.openstack.org/48945109:14
*** yamamoto has joined #openstack-nova09:15
*** mdnadeem has quit IRC09:15
*** links has quit IRC09:18
*** dikonoo has quit IRC09:20
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi: Use XAPI pool instead of aggregate pool for shared SR migration  https://review.openstack.org/55415409:28
*** derekh has joined #openstack-nova09:30
*** Dinesh_Bhor has quit IRC09:31
*** Zames_ has joined #openstack-nova09:33
*** mvk has quit IRC09:33
*** links has joined #openstack-nova09:33
*** owalsh_ is now known as owalsh09:34
*** Zames_ has quit IRC09:37
*** yamamoto has quit IRC09:41
*** yamamoto has joined #openstack-nova09:41
*** dosaboy has quit IRC09:42
*** dosaboy has joined #openstack-nova09:45
*** mvk has joined #openstack-nova09:46
*** dosaboy has quit IRC09:48
*** dosaboy has joined #openstack-nova09:49
*** germs has joined #openstack-nova09:49
*** germs has quit IRC09:49
*** germs has joined #openstack-nova09:49
*** dosaboy has quit IRC09:49
*** Tom-Tom has quit IRC09:50
*** dosaboy has joined #openstack-nova09:50
*** armaan has quit IRC09:50
*** Tom-Tom has joined #openstack-nova09:51
*** armaan has joined #openstack-nova09:51
*** dosaboy has quit IRC09:51
*** alexchadin has quit IRC09:52
*** QianYu has quit IRC09:52
*** hiro-kobayashi has quit IRC09:52
*** QianYu has joined #openstack-nova09:52
*** Tom-Tom has quit IRC09:52
*** germs has quit IRC09:53
openstackgerritChris Dent proposed openstack/nova master: Use nova.db.api directly  https://review.openstack.org/54326209:53
*** maciejjozefczyk has quit IRC09:54
*** trinaths has quit IRC09:55
*** dosaboy has joined #openstack-nova09:56
*** maciejjozefczyk has joined #openstack-nova09:56
*** Shilpa has joined #openstack-nova09:59
*** salv-orl_ has joined #openstack-nova09:59
*** salv-orl_ has quit IRC10:01
*** strigazi_ is now known as strigazi10:01
*** salv-orl_ has joined #openstack-nova10:01
*** sree has quit IRC10:01
*** kaisers1 has quit IRC10:02
*** armaan has quit IRC10:02
*** QianYu has quit IRC10:02
*** salv-orlando has quit IRC10:02
*** armaan has joined #openstack-nova10:02
*** kaisers1 has joined #openstack-nova10:03
*** dpawlik has quit IRC10:04
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create  https://review.openstack.org/52031310:05
*** madhaviy has quit IRC10:05
*** jichen has quit IRC10:05
*** salv-orl_ has quit IRC10:06
*** dpawlik has joined #openstack-nova10:07
*** damien_r has quit IRC10:07
*** damien_r has joined #openstack-nova10:07
*** sdague has joined #openstack-nova10:15
*** swamireddy has joined #openstack-nova10:16
*** madhaviy has joined #openstack-nova10:17
*** yamamoto has quit IRC10:17
*** swamireddy has quit IRC10:21
*** stakeda has quit IRC10:21
*** yamamoto has joined #openstack-nova10:21
TahvokShould horizon respect the live migration when host aggregates are enabled? Because when I live migrate an instance, it still gives me an option to choose to live migrate an instance to a host not part of the host aggregate10:25
*** yamamoto has quit IRC10:27
*** yamamoto has joined #openstack-nova10:27
*** cdent has quit IRC10:27
*** licanwei has left #openstack-nova10:31
*** madhaviy has quit IRC10:31
*** tbachman has quit IRC10:45
*** udesale has quit IRC10:45
*** dougshelley66 has joined #openstack-nova10:46
openstackgerritNaichuan Sun proposed openstack/nova master: xenapi(N-R-P):Get vgpu info from `allocations`  https://review.openstack.org/52171710:46
*** tbachman has joined #openstack-nova10:46
*** tbachman has quit IRC10:51
*** bkopilov has quit IRC10:51
openstackgerritPetersingh Anburaj proposed openstack/nova master: Making consistent used of GiB and MiB in Doc  https://review.openstack.org/55998510:52
*** yamamoto has quit IRC10:58
*** strigazi is now known as strigaz_10:59
*** strigaz_ is now known as strigazi_10:59
*** strigazi_ is now known as strigazi10:59
*** yamamoto has joined #openstack-nova11:00
*** vladikr has quit IRC11:00
*** vladikr has joined #openstack-nova11:01
*** yamamoto has quit IRC11:01
*** salv-orlando has joined #openstack-nova11:02
*** sambetts|afk is now known as sambetts11:04
*** cdent has joined #openstack-nova11:04
openstackgerritLee Yarwood proposed openstack/nova stable/queens: libvirt: Block swapping to an encrypted volume when using QEMU to decrypt  https://review.openstack.org/55998711:05
*** salv-orlando has quit IRC11:06
*** dougshelley66 has quit IRC11:13
*** lucasagomes is now known as lucas-hungry11:17
*** mdbooth has quit IRC11:18
*** madhaviy has joined #openstack-nova11:18
*** vladikr has quit IRC11:21
*** sshwarts has quit IRC11:24
*** links has quit IRC11:26
*** mdbooth has joined #openstack-nova11:27
*** jchhatbar has quit IRC11:27
*** alexchadin has joined #openstack-nova11:31
*** phuongnh has quit IRC11:35
*** artom has joined #openstack-nova11:38
*** links has joined #openstack-nova11:39
*** tiendc has quit IRC11:39
*** markvoelker has joined #openstack-nova11:40
*** dougshelley66 has joined #openstack-nova11:41
*** jpena is now known as jpena|lunch11:45
*** sidx64 has joined #openstack-nova11:50
*** zhurong has joined #openstack-nova11:53
*** odyssey4me has quit IRC12:00
*** odyssey4me has joined #openstack-nova12:00
*** madhaviy has quit IRC12:02
*** salv-orlando has joined #openstack-nova12:02
*** madhaviy has joined #openstack-nova12:03
*** weshay_pto is now known as weshay12:03
*** dpawlik has quit IRC12:04
*** openstackgerrit has quit IRC12:04
*** artom has quit IRC12:05
*** salv-orlando has quit IRC12:07
*** tbachman has joined #openstack-nova12:09
*** lucas-hungry is now known as lucasagomes12:11
*** janki has joined #openstack-nova12:11
*** tbachman_ has joined #openstack-nova12:11
*** tbachman has quit IRC12:14
*** tbachman_ is now known as tbachman12:14
*** dpawlik has joined #openstack-nova12:16
*** edmondsw has joined #openstack-nova12:17
*** dave-mccowan has joined #openstack-nova12:19
*** openstackgerrit has joined #openstack-nova12:19
openstackgerritYikun Jiang (Kero) proposed openstack/osc-placement master: Initialize 'result' variable in functional.base  https://review.openstack.org/56000412:19
*** jchhatbar has joined #openstack-nova12:19
*** bkopilov has joined #openstack-nova12:20
*** amoralej is now known as amoralej|lunch12:20
*** janki has quit IRC12:22
*** gouthamr has joined #openstack-nova12:23
*** mdnadeem_ has quit IRC12:24
*** Eran_Kuris has quit IRC12:26
*** edmondsw has quit IRC12:28
efriednaichuans: No, not yet.  Keep an eye on blueprint nested-resource-providers-allocation-candidates12:28
efriedspec: https://review.openstack.org/#/c/556873/12:28
efriedcode: https://review.openstack.org/#/q/topic:bp/nested-resource-providers-allocation-candidates+(status:open+OR+status:merged)12:28
*** tbachman has quit IRC12:35
*** yamamoto has joined #openstack-nova12:35
*** vladikr has joined #openstack-nova12:36
*** mdnadeem_ has joined #openstack-nova12:36
*** sidx64_ has joined #openstack-nova12:38
*** psachin has quit IRC12:38
*** tbachman has joined #openstack-nova12:39
*** sidx64_ has quit IRC12:39
*** sidx64 has quit IRC12:39
*** pchavva has joined #openstack-nova12:39
*** Eran_Kuris has joined #openstack-nova12:40
*** yamamoto has quit IRC12:41
*** gouthamr has quit IRC12:43
*** gouthamr has joined #openstack-nova12:44
*** yamamoto has joined #openstack-nova12:44
*** pcaruana has joined #openstack-nova12:44
*** gouthamr has quit IRC12:45
*** sidx64 has joined #openstack-nova12:46
efriedclaudiub: Does autospec work for method signatures?12:49
*** jaosorior has quit IRC12:50
*** edmondsw has joined #openstack-nova12:51
efriedyes, yes it does.12:51
*** mriedem has joined #openstack-nova12:52
claudiubsorry, I didn't see it in time. :)12:53
claudiuband yes, it does, that was the whole point of it. :)12:53
*** jpena|lunch is now known as jpena12:53
*** salv-orlando has joined #openstack-nova12:53
*** lyan has joined #openstack-nova12:53
*** lyan is now known as Guest847612:53
claudiubefried: although arguably there is still one case in which it doesn't get applied, one case I've missed in the original implementation: https://review.openstack.org/#/c/557923/12:54
efriedclaudiub: Knew it worked that way for objects, wasn't sure about methods.12:54
*** zhurong has quit IRC12:54
*** sidx64 has quit IRC12:55
*** logan- has quit IRC12:55
*** logan- has joined #openstack-nova12:56
claudiubefried: also, keep in mind that this has a +2, so it might merge soon. Hopefully it won't affect nova_powervm: https://review.openstack.org/#/c/470775/12:56
efriedclaudiub: If you have a moment, I'm hitting a place where the autospec doesn't seem to be working as expected...12:57
claudiubsure, what's up12:57
efriedlooking at this patch: https://review.openstack.org/#/c/552242/12:57
*** yamamoto has quit IRC12:57
efriedLook at the signature of e2fsck here https://review.openstack.org/#/c/552242/12/nova/privsep/fs.py12:58
efriedaccepts (image, flags='-fp')12:58
claudiubsure12:58
efriedThen look at the first usage here: https://review.openstack.org/#/c/552242/12/nova/virt/xenapi/vm_utils.py12:58
*** READ10 has joined #openstack-nova12:59
efriednote extra kwarg check_exit_code12:59
efriedSo I thinks to myself, I thinks, "Okay, let's autospec here: https://review.openstack.org/#/c/552242/12/nova/tests/unit/virt/xenapi/test_vm_utils.py"12:59
efried...but when I do that, the test still passes.12:59
*** zhurong has joined #openstack-nova12:59
efriedi.e. the autospec doesn't seem to be catching that extra kwarg.13:00
claudiubi might be blind, but where are you autospecing it?13:00
efriedIt's probably me being blind.13:00
efried@mock.patch('...', autospec=True)13:01
efriedis that a legit way to do that?13:01
claudiubi might be really blind as a bat then. but yeah, there's a reason why it passes13:02
*** alexchadin has quit IRC13:02
*** madhaviy has quit IRC13:02
*** swamireddy has joined #openstack-nova13:03
*** madhaviy has joined #openstack-nova13:03
claudiubor, wait, that only aplies to object methods. hm. anyways, there is an issue with mock.patch autospec, which i've addressed in oslotest. what happened was that mock.patch's autospec didn't consume the self / cls argument of object / class methods13:03
efriedI remember that issue.  But in this case there are no classes involved, are there?13:04
claudiubit should be the case now, since it's just a function.13:04
efriedit's possible my venv has an old oslotest, lemme check...13:04
claudiubcan you check if the mock.patch autospec works as expected with this patch on top? https://review.openstack.org/#/c/470775/13:04
*** salv-orl_ has joined #openstack-nova13:04
efriedfinucannot: you around this week?13:04
*** salv-orlando has quit IRC13:05
efriedclaudiub: okay.13:05
*** sidx64 has joined #openstack-nova13:05
finucannotefried: Yes, but I'm focused on getting the numa-aware-vswitch PoC out the door13:05
* finucannot sucks at multitasking13:05
*** finucannot is now known as stephenfin13:05
stephenfinoops13:05
claudiubthat patch basically enforces the oslotest's mock.patch behaviour.13:05
*** udesale has joined #openstack-nova13:06
*** yamamoto has joined #openstack-nova13:07
mriedemjianghuaw_: does the citrix xenserver CI have any multinode job to test live migration for this series? https://review.openstack.org/#/c/489451/13:07
*** zhurong has quit IRC13:13
*** armaan has quit IRC13:13
*** udesale has quit IRC13:13
*** udesale has joined #openstack-nova13:13
efriedclaudiub: Okay, first I upgraded oslotest in my venv (3.2.0 => 3.4.1).  Then I patched in https://review.openstack.org/#/c/557923/ (which presumably also means I'm getting as-yet-unreleased oslotest whatever).  Then I merged in https://review.openstack.org/#/c/470775/ with the patch in question.13:15
efriedclaudiub: None of this yielded the expected failure.13:15
claudiubinteresting13:16
claudiubi'll take a look today as well13:16
*** yamamoto has quit IRC13:16
claudiubbut later on, I have a meeting soon, so I have to prepare for that. :)13:16
claudiubbut thanks for catching it. :)13:17
madhaviymriedem: I am checking fix proposed for LP bug https://bugs.launchpad.net/nova/+bug/1698010, by stephenfin , is there any other way to avoid using dhcp_domain from nova.conf during config_drive metadata creation13:18
openstackLaunchpad bug 1698010 in OpenStack Compute (nova) "neutron-based instances should not use the nova-network 'dhcp_domain' option" [High,In progress] - Assigned to Stephen Finucane (stephenfinucane)13:18
efriedclaudiub: Ahcrap, I think I know what's happening.13:19
efriedThe method in question is decorated with a thing that accepts *a, **k13:19
claudiuboh, I see.13:19
claudiubinteresting. :)13:20
efriedsure would be nice to be able to get around that somehow.  But that sounds like black magic to me.13:20
*** yamamoto has joined #openstack-nova13:20
claudiubalso, just an fyi, there are still a few other cases in which autospec is not working properly, for example sqlalchemy tends to have decorators which inject arguments in to the call. can't really autospec that. :)13:21
*** sidx64 has quit IRC13:22
claudiubwell, autospecs are almost useless for methods which have *args / **kwargs13:22
*** yamamoto has quit IRC13:23
claudiubnot entirely, but still.13:23
*** sahid has quit IRC13:24
*** esberglu has joined #openstack-nova13:26
mriedemmadhaviy: i don't remember the details of that, but i do remember that the proposed patch wasn't going to work per garyk's comments. i also seem to remember an openstack-dev ML thread about this, but don't recall those details either. i would have to go back and dig into all of this and load it up into my head, which i'm not going to do right now (busy with other stuff), so unless you can summarize it's going to have to wait.13:26
mriedemi don't see any links to ML discussion in the patches though13:29
*** sidx64 has joined #openstack-nova13:30
mriedemthis reminds me, i think it's very weird that the use_neutron config option is deprecated https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.use_neutron even though it's in our install guide and is required while we still have nova-network around13:31
mriedemif anyone is going through their logs and sees a deprecation warning for using use_neutron, there isn't anything they can do about it13:31
mriedemi think oslo.service or one of the oslo libraries even has a flag where you can force services to not start if they are using deprecated options, so you can flush those out in pre-prod13:32
*** dklyle has quit IRC13:33
mriedemin other words, wouldn't it make more sense to *not* deprecate options required to run nova with neutron, until at least we've removed nova-network?13:33
mriedemstephenfin: thoughts? ^13:33
*** damien_r has quit IRC13:34
*** alexchadin has joined #openstack-nova13:34
stephenfinmriedem: You can filter out those warnings if you want. The intention is "this warning currently exists but is going away soon". The reason it's going away is given in the message13:35
stephenfin*this option currently exists13:35
openstackgerritRaoul Hidalgo Charman proposed openstack/nova master: Expose shutdown retry interval as config setting  https://review.openstack.org/55248313:36
efriedclaudiub: Yeah, I recognize that; what I'm asking for in this case is a way to signal that I want to get around the decorator and autospec the actual method underneath it.13:37
*** tbachman has quit IRC13:38
cdentefried: not really possible, your method has been redefined13:38
*** dpawlik has quit IRC13:39
efriedcdent: Yeah, hence "black magic"13:39
cdentthe original form is sort of gone13:39
cdentthat would be darker than black13:39
*** ratailor__ has quit IRC13:39
*** ratailor has joined #openstack-nova13:40
*** ratailor has quit IRC13:40
lpetrutefried: you may be able to retrieve the decorated methods, we do it in a few cases to avoid lock decorators within unit tests: https://github.com/openstack/os-win/blob/e0d7032dfb042f56fd02a52796b186cd8d67d240/os_win/_utils.py#L8213:41
mriedemmadhaviy: here is that ML thread http://lists.openstack.org/pipermail/openstack-dev/2017-September/121762.html13:41
efriedlpetrut: ooooo13:41
*** cristicalin has joined #openstack-nova13:42
*** lbragstad has joined #openstack-nova13:42
*** damien_r has joined #openstack-nova13:42
cdentefried, lpetrut: too dark13:42
efriedima try it anyway13:43
efriedcdent: hold my soul13:43
cdentefried: wouldn't it be better to extract the thing you want to test to an undecorated thing?13:43
efriedcdent: I tried that first.  Because it's already extracted thusly.  But the decorator itself makes the test suite freak out.  (It's the privsep entrypoint)13:44
cdentit's all a bit smelly to me (not your soul (but maybe?))13:44
cdentbut we already know how I feel about complexity in tests...13:44
efriedI'm trying to soften the blows I keep on dishing out to mikal13:44
* cdent goes back to sleep13:44
efriedcdent: FYI: https://review.openstack.org/#/c/552242/13:45
*** cristicalin has quit IRC13:47
mriedemmadhaviy: there is also a thread in the operators ML with some other options13:47
*** armaan has joined #openstack-nova13:47
*** cristicalin has joined #openstack-nova13:47
*** awestin1 has quit IRC13:48
*** awestin1 has joined #openstack-nova13:49
*** mlavalle has joined #openstack-nova13:49
*** madhaviy has quit IRC13:49
*** hongbin has joined #openstack-nova13:50
*** serverascode has quit IRC13:50
*** serverascode has joined #openstack-nova13:50
*** madhaviy has joined #openstack-nova13:51
*** kholkina has quit IRC13:51
claudiubefried: yeah, as lpetrut said, we're getting the undecorated method is some unit tests in os-win, but that would only be needed for decorators which has some sort of special behaviour (adds / injects new arguments). even if we do autospec the undecorated methods, there are still plenty of cases in which the methods expects some sort of key-value argument, something like:13:51
madhaviymriedem: thanks. But I do not see any conclusion out of this discussion. Can we get back dhcp_domain conf option (not to deprecate)13:51
claudiubif kwargs.get("something"): then do something13:51
*** yamamoto has joined #openstack-nova13:51
claudiubI've seen this in some oslo libs.13:51
*** cdent has left #openstack-nova13:52
*** kholkina has joined #openstack-nova13:52
mriedemmadhaviy: it definitely sounds like the option shouldn't be deprecated13:52
mriedemat least until we know what we're going to do with it13:53
mriedemi thought there was general agreement to use the dns_domain from the neutron network if there was one, and fallback to using the nova dhcp_domain option otherwise, but someone in the ops list punched some holes in that idea, but i'm not sure how valid those holes are, or if they are specific to that person's deployment13:53
efriedclaudiub: Yeah, I understand that.  That's not the case here, though - there are no arbitrary args.  In this case, in the course of the review (over many iterations) I saw with my eyeballs that the invocation was wrong, and wanted a way to enforce it via autospec.  But the decorator kills doing that directly.  Now I'm hacking at it trying to figure out how I would actually use the undecorated method to do what I want.13:53
mriedemmadhaviy: if there were going to be a nova/neutron forum session at the summit, i'd put that in the agenda since ops would be in the room13:54
*** yamamoto has quit IRC13:54
mriedemmelwitt: ^13:54
*** gregwork has quit IRC13:54
*** gregwork has joined #openstack-nova13:54
madhaviymriedem: sure.13:55
claudiubefried: well, instead of autospec=True, you can pass-in a function that has the signature you want to enforce?13:55
efriedclaudiub: As a side_effect to the mock, you mean?13:55
claudiubsomething like: @mock.patch('something', autospec=some_function_with_exactly_what_I_want)13:56
*** yikun has quit IRC13:56
claudiubI dunno if that works though.13:56
*** yikun has joined #openstack-nova13:56
efriedThat sort of defeats the purpose, which is to vet whether my (actual) method is being called with the args I expect.  If my test is wrong (in that it uses the wrong args) and then I make some_function_with_exactly_what_I_want have those same (wrong) args, then I'm just as effed.13:56
*** betherly has quit IRC13:56
*** betherly has joined #openstack-nova13:57
claudiubyeah, a bit, but at least you'll have tests that don't have autospecs with *args / **kwargs in their method signatures.13:59
mriedemmadhaviy: melwitt: added https://etherpad.openstack.org/p/YVR-nova-brainstorming14:00
mriedemmlavalle: ^14:00
*** eharney has joined #openstack-nova14:00
*** awaugama has joined #openstack-nova14:01
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: libvirt: Allow to specify granular CPU feature flags  https://review.openstack.org/55970014:01
mlavallemriedem: cool, thanks!14:02
*** r-daneel has quit IRC14:02
*** yamamoto has joined #openstack-nova14:02
mriedemdansmith: ^ rev'ed kashyap's backport if you want to hit that14:02
*** sahid has joined #openstack-nova14:03
kashyapmriedem: Ah, thanks.  Was duking around fixing the compat code14:03
kashyap(After removing the version stuff)14:03
kashyaps/removing/bumping/14:03
dansmithmriedem: done thanks14:03
*** DuncanT has quit IRC14:04
madhaviymriedem: thanks!14:04
*** DuncanT has joined #openstack-nova14:04
kashyapmriedem: For the 'pike' change, abandoning it, and doing a fresh cherry-pick from 'queens' is the correct way?14:05
mriedemkashyap: the change id is the same so you don't need to abandon14:05
*** yamamoto has quit IRC14:05
mriedemjust re-do the cherry pick locally14:05
kashyapAh, right14:05
*** chohoor has joined #openstack-nova14:05
*** chohoor has left #openstack-nova14:06
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: libvirt: Allow to specify granular CPU feature flags  https://review.openstack.org/55970014:07
*** ildikov has quit IRC14:08
*** ildikov has joined #openstack-nova14:09
*** amodi has joined #openstack-nova14:09
*** yamamoto has joined #openstack-nova14:10
*** jaypipes has joined #openstack-nova14:10
*** patrickeast has quit IRC14:11
*** patrickeast has joined #openstack-nova14:11
openstackgerritEric Berglund proposed openstack/nova master: PowerVM: Add proc_units_factor conf option  https://review.openstack.org/55468814:12
openstackgerritSylvain Bauza proposed openstack/nova-specs master: Proposes NUMA topology with RPs  https://review.openstack.org/55292414:12
*** yamamoto has quit IRC14:13
*** links has quit IRC14:13
*** tomhambleton_ has quit IRC14:14
*** tomhambleton_ has joined #openstack-nova14:14
mriedemseems the messages here should just say 'placement is required' right? https://github.com/openstack/nova/blob/6d4958b5c225a602d22069b920cbf1a37b652c58/nova/scheduler/client/report.py#L8714:15
*** mnaser has quit IRC14:15
*** mnaser has joined #openstack-nova14:16
jaypipesmriedem: ack14:16
*** kholkina has quit IRC14:17
*** markvoelker_ has joined #openstack-nova14:18
*** rodolof has quit IRC14:18
*** andrewbogott has quit IRC14:19
*** gouthamr has joined #openstack-nova14:19
*** andrewbogott has joined #openstack-nova14:19
*** csatari has quit IRC14:19
*** csatari has joined #openstack-nova14:19
kashyapHmm, unrelated: "suddenly" I start seeing this import error when running unit tests: http://paste.openstack.org/show/718823/14:19
mriedemok i'll make that change. was looking at https://review.openstack.org/#/c/554920/ which will add a requirement to configure placement for nova-api,14:19
*** rodolof has joined #openstack-nova14:19
mriedemso jaypipes - ^ will likely add the placement requirement before the mirroring patch does anyway14:19
*** karlamrhein has quit IRC14:20
mriedemkashyap: tox -r -e14:20
*** karlamrhein has joined #openstack-nova14:20
kashyapDarn, thanks14:20
*** markvoelker has quit IRC14:21
efriedkashyap: If you want to not wait forever, you can start upgrading packages manually in your venv...14:21
efried...but -r is certainly safest.14:21
*** samueldmq has quit IRC14:21
*** sergek_ has quit IRC14:21
*** sergek_ has joined #openstack-nova14:22
*** samueldmq has joined #openstack-nova14:22
*** zul has quit IRC14:22
jaypipesmriedem: ack14:22
*** r-daneel has joined #openstack-nova14:22
kashyapefried: Yeah, I hear ya.  The manual imports might result in "find the next dep" rabbit hole.  So just went with the "nuclear"14:22
*** zul has joined #openstack-nova14:22
efriedjust so14:22
*** andrewbogott has quit IRC14:24
*** andrewbogott has joined #openstack-nova14:24
*** eharney has quit IRC14:24
*** redondo-mk has quit IRC14:24
*** redondo-mk has joined #openstack-nova14:25
*** tommylikehu has quit IRC14:26
*** tommylikehu has joined #openstack-nova14:26
*** sidx64 has quit IRC14:27
*** zhuli has quit IRC14:28
*** zhuli has joined #openstack-nova14:28
*** dikonoor has joined #openstack-nova14:28
*** knikolla has quit IRC14:30
*** knikolla has joined #openstack-nova14:30
*** sidx64 has joined #openstack-nova14:31
*** r-daneel has quit IRC14:32
*** coreycb has quit IRC14:34
openstackgerritMatt Riedemann proposed openstack/nova master: Update wording in @safe_connect placement warnings  https://review.openstack.org/56003914:34
*** coreycb has joined #openstack-nova14:34
*** r-daneel has joined #openstack-nova14:35
bauzasefried: jaypipes: stephenfin: sean-k-mooney: cfriesen_: thanks all for the reviews of https://review.openstack.org/#/c/552924/6/specs/rocky/approved/numa-topology-with-rps.rst14:35
bauzasefried: jaypipes: stephenfin: sean-k-mooney: cfriesen_: now we have a new revision based on your comments  https://review.openstack.org/#/c/552924/14:36
openstackgerritMerged openstack/nova master: Remove mox in unit/api/*/test_instance_actions.py  https://review.openstack.org/55926914:36
*** jamespage has quit IRC14:36
*** jamespage has joined #openstack-nova14:36
*** felipemonteiro has joined #openstack-nova14:36
*** markvoelker has joined #openstack-nova14:36
*** lpetrut_ has joined #openstack-nova14:38
*** lpetrut_ has quit IRC14:38
jaypipesbauzas: k, reviewing now14:38
*** eharney has joined #openstack-nova14:38
*** markvoelker_ has quit IRC14:39
openstackgerritSurya Seetharaman proposed openstack/nova master: [WIP] Delete orphaned req_spec/inst_mapp records of archived instances  https://review.openstack.org/56004214:39
*** gouthamr has quit IRC14:40
*** lpetrut has quit IRC14:41
*** yamamoto has joined #openstack-nova14:41
*** yamamoto has quit IRC14:41
*** markvoelker_ has joined #openstack-nova14:42
*** markvoelker has quit IRC14:44
*** ragiman has quit IRC14:45
*** markvoelker has joined #openstack-nova14:46
*** dklyle has joined #openstack-nova14:46
*** yamamoto has joined #openstack-nova14:47
*** andreas_s has quit IRC14:47
*** felipemonteiro_ has joined #openstack-nova14:47
*** alexchadin has quit IRC14:47
*** andreas_s has joined #openstack-nova14:47
*** markvoelker_ has quit IRC14:49
*** markvoelker_ has joined #openstack-nova14:49
*** fragatina has quit IRC14:50
*** fragatina has joined #openstack-nova14:50
*** felipemonteiro has quit IRC14:51
*** markvoelker has quit IRC14:53
*** mvk has quit IRC14:53
*** QianYu has joined #openstack-nova14:54
*** artom has joined #openstack-nova14:55
openstackgerritChris Dent proposed openstack/nova master: Use nova.db.api directly  https://review.openstack.org/54326214:55
*** markvoelker has joined #openstack-nova14:56
*** andreas_s has quit IRC14:56
*** markvoelker_ has quit IRC14:58
*** Eran_Kuris has quit IRC14:58
*** yamamoto has quit IRC15:01
openstackgerritMerged openstack/nova master: Remove mox in test_user_data.py  https://review.openstack.org/55926415:01
openstackgerritMerged openstack/nova master: Remove mox in unit/api/*/test_server_metadata.py  https://review.openstack.org/55967315:01
*** yamamoto has joined #openstack-nova15:01
openstackgerritMerged openstack/nova master: Remove mox in unit/api/*/test_server_password.py  https://review.openstack.org/55964915:02
*** QianYu has quit IRC15:02
*** lajoskatona has quit IRC15:02
*** sar has quit IRC15:03
efriedSpec cores (jaypipes dansmith because this spec is near and dear to your hearts) can we get https://review.openstack.org/#/c/556971/ approved now?  Code is shaping up.15:04
dansmithefried: wake me when jaypipes is +2 on it15:04
efriedack15:05
*** markvoelker_ has joined #openstack-nova15:05
efriededleafe: You gonna rebase the rest of the consumer generation series to pick up that fix?15:08
*** markvoelker_ has quit IRC15:08
edleafeefried: already done (locally). Need to figure out one last bit before I push a new rev15:09
*** markvoelker has quit IRC15:09
efriedcoo15:09
*** markvoelker has joined #openstack-nova15:10
openstackgerritChris Dent proposed openstack/nova master: Use nova.db.api directly  https://review.openstack.org/54326215:10
*** markvoelker_ has joined #openstack-nova15:10
*** markvoelker has quit IRC15:15
*** QianYu has joined #openstack-nova15:15
*** belmoreira has quit IRC15:17
*** QianYu has quit IRC15:17
jaypipesdansmith: I'm +2 on the spec now.15:18
*** yamamoto has quit IRC15:19
dansmithwell, that was a short nap15:19
*** yamamoto has joined #openstack-nova15:19
mriedemlyarwood: at the ptg we talked about adding an online data migration to look for and remove duplicate bdm entries in the db, to eventually clear the way to adding a unique constraint on instance uuid and volume id in the bdm table - is that still on your radar, or something i can start hacking on?15:20
*** rodolof has quit IRC15:20
mriedemL575 https://etherpad.openstack.org/p/nova-ptg-rocky15:20
*** takedakn has joined #openstack-nova15:21
lyarwoodmriedem: yeah, only just got around to starting yesterday when I hit https://bugs.launchpad.net/cinder/+bug/176268715:21
openstackLaunchpad bug 1762687 in OpenStack Compute (nova) "Concurrent requests to attach the same non-multiattach volume to multiple instances can succeed" [Undecided,New] - Assigned to Lee Yarwood (lyarwood)15:21
mriedemor was it a unique constraint on device name? now i'm confused15:21
lyarwoodmriedem: https://blueprints.launchpad.net/nova/+spec/remove-and-block-duplicate-bdms created that a while ago, wanted to catch up with melwitt or you about getting it approved etc this week15:22
*** salv-orl_ has quit IRC15:22
dansmithefried: the first bullet under "if there is no record" mentions stuff about user_id and project_id, but I'm missing why that's related15:22
mriedemlyarwood: we don't need a blueprint for a bug fix15:22
lyarwoodmriedem: right, even if it's across two cycles?15:22
*** salv-orlando has joined #openstack-nova15:23
mriedemlyarwood: as for that new concurrent requests bug, i know what that's about, and why it's only since queens15:23
mriedemlyarwood: sure15:23
lyarwoodmriedem: kk, I'll nuke the bp then15:23
*** jaypipes has quit IRC15:23
efriededleafe: --^15:24
*** ccamacho has quit IRC15:24
efrieddansmith: It's because of the goofiness we implemented wrt user and project IDs earlier, plus having no endpoints that manage consumers directly.15:24
*** amoralej|lunch is now known as amoralej15:25
efrieddansmith: At earlier microversions, proj/user IDs were optional, so we wanted to not create the consumer record if they weren't specified.15:25
*** r-daneel_ has joined #openstack-nova15:25
efrieddansmith: But now we *always* want to set/maintain the generation, even at older microversions, so we *have* to create the consumer record.15:25
efrieddansmith: So we had to make proj/user ID fields nullable so that, at older microversions where they weren't required/specified, we could still create that record.15:26
*** r-daneel has quit IRC15:26
efriedI think I've got that right - edleafe help me out here ^15:26
*** r-daneel_ is now known as r-daneel15:26
*** yamamoto has quit IRC15:26
dansmithhmm, okay, that is.. odd,15:27
efriedit is indeed.15:27
dansmithso we didn't initially have a consumer record and then added it for user/proj?15:27
*** salv-orlando has quit IRC15:27
efriedI think that's the case, yes.15:27
dansmithI guess it seems weird that we didn't just start creating those records with null fields at that point15:27
efriedyeah.  That would have been a thing to do.15:28
efriedSomewhere I tagged the IRC discussion edleafe and I had about this.15:28
mriedemlyarwood: details https://bugs.launchpad.net/nova/+bug/1762687/comments/315:28
openstackLaunchpad bug 1762687 in OpenStack Compute (nova) "Concurrent requests to attach the same non-multiattach volume to multiple instances can succeed" [Undecided,New] - Assigned to Lee Yarwood (lyarwood)15:28
efriedpossibly in a spec comment.15:28
dansmithefried: so ... is it unreasonable to say that expecting the reader of the spec to have that context is.. unreasonable?15:28
*** rodolof has joined #openstack-nova15:28
efrieddansmith: Here's that IRC convo: http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-04-04.log.html#t2018-04-04T13:35:3015:28
dansmithbecause reading it from the top, I get stopped at that point with zero idea where it's going15:28
*** salv-orlando has joined #openstack-nova15:28
efrieddansmith: That's not unreasonable.  But trying to explain all that context probably would be.  How about a vague "for historical reasons" sentence?15:29
efriedor I suppose we could link that eavesdrop in15:29
dansmithwell,15:29
dansmithI kinda think the context is worthwhile in here15:30
dansmithmore than an irc link15:30
efriedOr perhaps this is an implementation detail that doesn't need to be in the spec at all.  Since I *think* the interface isn't changing.  (edleafe said it was changing a teeny bit; I never understood how)15:30
lyarwoodmriedem: I think you've missed that this is with two different instances, not one.15:30
*** yamamoto has joined #openstack-nova15:31
*** dpawlik has joined #openstack-nova15:31
*** gyee has joined #openstack-nova15:31
mriedemoh....15:31
mriedemyes, dear15:31
*** AlexeyAbashkin has quit IRC15:33
*** jchhatbar has quit IRC15:33
*** madhaviy has quit IRC15:34
dansmithefried: edleafe: comments in there.. if you're really concernedand want to do those in a follow-in that's fine, but I think it's probably fine to just roll them in here15:35
dansmithand I can fast approve if jaybird isn't around at that point15:35
*** dpawlik has quit IRC15:35
kashyapWhen anyone gets a moment later, I'm duking around a potentially stupid unit test mistake: http://paste.openstack.org/show/718840/.  Corrections / snide remarks / rotten tomatoes welcome.15:36
* kashyap bbia15:36
kashyaps/bbia/bbiab/15:36
openstackgerritSurya Seetharaman proposed openstack/nova master: Cleanup RP and HM records while deleting a compute service.  https://review.openstack.org/55492015:36
*** armaan has quit IRC15:38
*** psachin has joined #openstack-nova15:38
*** armaan has joined #openstack-nova15:38
*** rodolof has quit IRC15:40
*** tssurya has quit IRC15:41
mriedemlyarwood: i don't have great solutions off the top of my head15:41
*** udesale has quit IRC15:41
dansmithkashyap: L26 isn't a tuple15:41
mriedemwas thinking if we had a bdm.multiattach column that maybe that could somehow be used, but not really...15:41
*** udesale has joined #openstack-nova15:42
dansmithkashyap: so I think you're doing "(mock_getver,).return_value = "15:42
dansmithkashyap: (foo,bar) and (foo,) are tuples.. (foo) is not15:42
mriedemlyarwood: we have this... https://github.com/openstack/nova/blob/master/nova/objects/block_device.py#L327 but that doesn't alleviate the race15:42
dansmithkashyap: and of course, you should be removing test.nested15:43
*** yamamoto has quit IRC15:43
*** yamamoto has joined #openstack-nova15:44
*** takedakn has quit IRC15:46
*** AlexeyAbashkin has joined #openstack-nova15:47
edleafedansmith: yeah, I'll push a new rev of that spec shortly15:47
dansmithedleafe: ack thanks15:47
lyarwoodmriedem: yeah we can still race on our side, then again so could c-api when it's creating the attachment15:47
lyarwood*attachments15:48
mriedemso i can't remember what we said at the ptg the bdm unique constraint would be on, since it can't be volume_id and instance_uuid, since that would break multiattach15:48
mriedemoh, nvm,15:48
mriedemthat would be ok15:48
dansmithwhat if people want multiple attachments to the same vm and instance??15:49
dansmiths/??/?/15:49
lyarwoodto the same volume and instance you mean?15:49
dansmithheh yeah15:49
lyarwoodlike during LM15:49
dansmithor just for some sort of fictitious  multipathing sort of thing15:50
dansmithlike they want multiple VFs on the same physnet today15:50
mriedemvia the cinder api, you can create multiple volume attachments to the same instance and volume15:50
mriedemnova uses that for migrations15:50
lyarwoodwe wouldn't model that using attachments, that's all within a single attachment and the connection_info it provides15:50
*** zhaochao has quit IRC15:50
mriedemonly one attachment should be 'active' at any time15:51
mriedemlike what we're doing with the neutron port binding stuff15:51
mriedemactive = the attachment has a host connector and connection to the backend storage15:51
*** germs has joined #openstack-nova15:51
*** germs has quit IRC15:51
*** germs has joined #openstack-nova15:51
dansmithlyarwood: I dunno, if we have multiple paths to the host from the volume provider, we'd need different attachments because of differing addresses right?15:52
*** cristicalin has quit IRC15:52
dansmithI'm just playing devil's advocate here to make sure we don't regret a decision later15:53
dansmithremoving a constraint is easy I guess15:53
mriedemi don't even have a decision/solution for this race problem right now15:53
dansmithalthough I'm not sure if mriedem is saying current live migration behavior would break there15:53
lyarwooddansmith: hehe yeah I understand15:53
mriedemthe solution to fix the race with attaching the same volume to the same instance concurrently is a unique constraint on the bdms table over the volume_id and instance_uuid columns15:54
mriedembut that doesn't fix lyarwood's new bug15:54
mriedemyou can't put a unique constraint on just the volume_id column since that would break multiattach15:55
mriedemyou almost need a conditional constraint, where volume_id must be unique if multiattach=False15:55
mriedembut there is no such thing as a conditional unique constraint is there?15:55
mriedemand jaypibbles ran off15:56
dansmithmriedem: I think you need an active=$id column to do that15:56
dansmiththat's why we have deleted=$id I think15:56
*** germs has quit IRC15:56
mriedemhttps://en.wikipedia.org/wiki/Check_constraint15:56
dansmithhmm15:57
dansmithI wonder what the performance of that is15:57
mriedemi've always seen these in sqla-migrate but never played with one15:57
mriedemzzzeek_: how terrible are check constraints?15:58
dansmithwait,15:58
zzzeek_mriedem: most mysql / mariadb variants ignore them15:58
lyarwoodhttp://docs.sqlalchemy.org/en/latest/core/constraints.html#check-constraint15:58
lyarwoodNote that some databases do not actively support check constraints such as MySQL.15:58
zzzeek_mriedem: which is why you never see thme :)15:58
dansmithyou have to do your own uniqueness checking in the contraint then15:58
lyarwood^ yeah what zzzeek_ said15:58
mriedemgdi15:58
zzzeek_lyarwood: mariadb 10.2 does now.  oddly enough this creates more problems :)15:58
dansmithmriedem: I'm sure DB2 supports them and is just hanging out by the punch bowl waiting for someone to care15:59
mriedemi <3 DB215:59
dansmithI know you do15:59
mriedemi heard ms azure rolled out a dbaas service and i noticed it didn't include db216:00
mriedemi was hurt16:00
dansmithand shocked, I'm sure16:00
mriedemit does include pg16:00
*** edmondsw has quit IRC16:00
*** suresh12 has joined #openstack-nova16:00
*** edmondsw has joined #openstack-nova16:01
mriedemok so if we had an 'active' column on the bdms table, we could set that to true when we do something like set the connection_info on it16:02
mriedemwhich means it's attached16:02
*** ktibi_ has joined #openstack-nova16:02
mriedembut still,16:02
mriedemyou could have >1 bdm on the same volume which are both 'active'16:02
mriedemif that volume is multiattach=true16:02
mriedemwonder if there is something that can be done on the cinder side, i.e. a rule saying, you can't have >1 attachment record to the same volume for different instances if the volume is multiattach=false16:04
*** ktibi has quit IRC16:04
*** mgoddard has quit IRC16:04
*** lyarwood has quit IRC16:05
mriedemor if that's already the rule they have in place16:05
*** yamamoto has quit IRC16:10
*** yamamoto has joined #openstack-nova16:10
*** suresh12 has quit IRC16:12
mriedemlee bugged out, but i might have a fix on the cinder side16:14
smcginnismriedem: I think we can't due to things like migration.16:14
mriedemglory hallelujah16:14
*** lyarwood has joined #openstack-nova16:14
mriedemsmcginnis: i'll poke you with the patch when it's up, and i'll hope lee can apply and see if it solves his issue16:15
smcginnismriedem: OK, sounds like a plan.16:15
*** evin has joined #openstack-nova16:16
*** suresh12 has joined #openstack-nova16:17
*** lucasagomes is now known as lucas-afk16:18
*** sridharg has quit IRC16:19
openstackgerritLee Yarwood proposed openstack/nova master: rbd: flatten images when creating/unshelving an instance  https://review.openstack.org/45788616:19
melwittmriedem: thanks for adding the neutron stuff to the forum ideas etherpad16:21
mriedemnp16:21
*** speller_ has quit IRC16:22
mriedemlyarwood: does that also fix bug 1732428?16:22
openstackbug 1732428 in OpenStack Compute (nova) "Unshelving a VM breaks instance metadata when using qcow2 backed images" [Medium,In progress] https://launchpad.net/bugs/1732428 - Assigned to Matt Riedemann (mriedem)16:22
* lyarwood reads16:23
lyarwoodmriedem: no, flatten is specific to the rbd imagebackend16:24
*** suresh12 has quit IRC16:24
openstackgerritEric Berglund proposed openstack/nova master: PowerVM: Add proc_units_factor conf option  https://review.openstack.org/55468816:24
*** hemna_ has joined #openstack-nova16:25
jgriffithlyarwood: I added a note to https://bugs.launchpad.net/cinder/+bug/176268716:26
openstackLaunchpad bug 1762687 in Cinder "Concurrent requests to attach the same non-multiattach volume to multiple instances can succeed" [High,New]16:26
lyarwoodthanks ./me looks16:26
jgriffithI think the race is the condition check in _reserve_volume on the cidner side16:26
jgriffithmriedem: ^^16:26
*** felipemonteiro_ has quit IRC16:27
mriedemjgriffith: just about got something here16:27
*** felipemonteiro_ has joined #openstack-nova16:27
jgriffithmriedem: oh... so I guess that means I was wrong?16:27
mriedemhaven't read the comment yet,16:27
mriedemjust fixing tests16:27
jgriffithOh... LOL16:28
jgriffithmriedem: so what you're saying is "there's a chance" :)16:28
smcginnis:)16:28
jgriffithif this were slack I'd insert stupid gif here16:28
*** damien_r has quit IRC16:29
smcginnisI think that's the whole reason why folks like slack over irc. :)16:30
melwittdansmith: this is the patch we talked briefly about on friday at the ptg about flattening rbd images if not CONF.use_cow_images. I had asked the room if there was any usefulness in someone configuring that way and you had said some people would to get better performance https://review.openstack.org/#/c/45788616:31
mriedemlyarwood: can you test this out? https://review.openstack.org/56007416:31
lyarwoodmriedem: sure can16:31
*** yamamoto has quit IRC16:33
mriedemdansmith: melwitt: just fyi, i'll be out for a few hours this afternoon16:33
melwittk16:33
dansmithmelwitt: okay, was there more to that question?16:33
*** yamamoto has joined #openstack-nova16:34
*** madhaviy has joined #openstack-nova16:35
melwittdansmith: lyarwood rebased it a little while ago and it reminded me that I had been meaning to ask if you could review it. I added the bit about using the CONF.use_cow_images config option as a toggle for flattening16:36
dansmithokay16:36
*** mdbooth has quit IRC16:39
lyarwoodmriedem: that appears to be enough but I'm just spamming requests from the cli again16:40
*** mgoddard has joined #openstack-nova16:41
mriedemlyarwood: ok i'm updating it per jgriffith's comment16:43
*** vladikr has quit IRC16:43
jgriffithlyarwood: so just the refresh was enough?16:43
lyarwoodmriedem: that's a different issue though right? That's allowing concurrent attach requests for multiattach volumes that are reserved?16:44
* lyarwood might be missing something16:44
jgriffithlyarwood: if so that's great, and we can consider that if adding reserve to the status check has consequences (I still think it might)16:44
lyarwoodjgriffith: yeah as above I can't see how adding reserved helps with this non-multiattach race tbh16:46
*** psachin has quit IRC16:46
lyarwoodjgriffith: we only expect available or downloading in that case right?16:46
mriedemyeah16:46
jgriffithlyarwood: yes16:47
mriedemand yes i think adding 'reserved' would only be for racing to attach the same multiattach volume to separate instances16:47
jgriffithmriedem: +116:47
lyarwoodkk16:47
lyarwoodjust checking, thanks16:47
mriedemso if just the volume refresh fixes it, then i could remove the 'reserved' part of this patch, and that can be done later if it's a problem16:47
*** cristicalin has joined #openstack-nova16:48
*** udesale has quit IRC16:49
*** fragatina has quit IRC16:49
*** sambetts is now known as sambetts|afk16:50
lyarwoodmriedem: yup I'd drop it for now tbh but it's really up to the cinder folks16:52
*** felipemonteiro__ has joined #openstack-nova16:53
mriedemlyarwood: if it fixes your issue for non-multiattach volumes then i'm happy to simplify the patch16:53
mriedemi need some time to write a test anyway16:53
*** felipemonteiro_ has quit IRC16:57
*** AlexeyAbashkin has quit IRC16:59
*** yamamoto has quit IRC17:00
*** dikonoor has quit IRC17:00
*** derekh has quit IRC17:02
*** ssurana has joined #openstack-nova17:02
*** andreas_s has joined #openstack-nova17:03
*** AlexeyAbashkin has joined #openstack-nova17:07
*** dpawlik has joined #openstack-nova17:08
*** yamamoto has joined #openstack-nova17:08
cfriesen_mriedem: did you ever get any further with https://bugs.launchpad.net/nova/+bug/1696125  ?    I think we're seeing it too, though it showed up in the guise of a stalled heat stack deletion.17:08
openstackLaunchpad bug 1696125 in OpenStack Compute (nova) "Detach interface failed - timeout waiting to detach tap device in linuxbridge job (pike)" [High,In progress] - Assigned to Matt Riedemann (mriedem)17:08
*** mdnadeem_ has quit IRC17:10
*** david-lyle has joined #openstack-nova17:10
openstackgerritSam Yaple proposed openstack/nova stable/pike: Fix wrapping of neutron forbidden error  https://review.openstack.org/56008717:11
openstackgerritSam Yaple proposed openstack/nova stable/ocata: Fix wrapping of neutron forbidden error  https://review.openstack.org/56008817:11
*** AlexeyAbashkin has quit IRC17:12
cfriesen_mriedem: and we're not using linuxbridge17:12
*** dpawlik has quit IRC17:12
*** itlinux has joined #openstack-nova17:14
*** dklyle has quit IRC17:14
*** fragatina has joined #openstack-nova17:15
*** yamamoto has quit IRC17:15
*** yamamoto has joined #openstack-nova17:15
mriedemcfriesen_: no, slipped out of mind since we're not hitting it in the gate anymore17:16
*** tesseract has quit IRC17:16
*** andreas_s has quit IRC17:16
mriedemSamYaple: you have to first backport that to stable/queens17:17
*** annp has quit IRC17:17
mriedemoh wait17:17
SamYaplemriedem: its in stable queens17:17
SamYaplei checked17:17
mriedemyeah :)17:17
*** fragatina has quit IRC17:17
mriedemnvm17:17
*** annp has joined #openstack-nova17:18
*** fragatina has joined #openstack-nova17:18
*** ssurana has left #openstack-nova17:18
*** artom_ has joined #openstack-nova17:19
SamYapleyea it got me too. its just a 5 month old branch, when queens was still master17:20
SamYaple5 month old patch*17:20
kashyapdansmith: Just read the scroll.  Thanks for the explanation17:21
*** cristicalin has quit IRC17:21
*** artom has quit IRC17:21
*** andreas_s has joined #openstack-nova17:21
kashyapdansmith: And yes, I did realize I had to remove 'test.nested'.  Just didn't commit to it in the paste-bin.  /me tinkers a bit17:21
*** artom__ has joined #openstack-nova17:22
*** sidx64 has quit IRC17:23
*** sean-k-mooney has quit IRC17:24
*** nicolasbock has joined #openstack-nova17:24
*** artom_ has quit IRC17:24
openstackgerritEric Fried proposed openstack/nova master: Test case: ResourceClass.normalize_name with ß  https://review.openstack.org/56009217:26
openstackgerritEric Fried proposed openstack/nova master: Make ResourceClass.normalize_name handle sharp S  https://review.openstack.org/56009317:26
*** awaugama has quit IRC17:27
*** gjayavelu has joined #openstack-nova17:27
*** awaugama has joined #openstack-nova17:28
melwittefried: how did you find that? ^17:30
efriedmelwitt: Nice one, right?17:30
melwittyeah o.O17:30
efriedI actually found it while working on https://review.openstack.org/#/c/556628/ which I'm now going to abandon (because reasons I'm posting here is a minute)17:30
*** dpawlik has joined #openstack-nova17:31
efried(but mostly because jaypipes is right)17:31
*** artom__ is now known as artom17:32
mriedemwe might have a new dbdeadlock http://logs.openstack.org/14/554314/1/gate/tempest-full-py3/1aa1216/controller/logs/screen-n-cpu.txt.gz?level=TRACE#_Apr_10_13_49_39_29471017:33
*** openstackgerrit has quit IRC17:34
*** ralonsoh has quit IRC17:34
*** r-daneel_ has joined #openstack-nova17:35
*** andreas_s has quit IRC17:36
*** r-daneel has quit IRC17:36
*** r-daneel_ is now known as r-daneel17:36
artom(null)17:38
*** tbachman has joined #openstack-nova17:39
*** jpena is now known as jpena|off17:40
*** suresh12 has joined #openstack-nova17:48
*** tbachman has quit IRC17:49
*** jaosorior has joined #openstack-nova17:50
*** germs has joined #openstack-nova17:52
*** germs has quit IRC17:52
*** germs has joined #openstack-nova17:52
*** david-lyle has quit IRC17:53
*** dpawlik has quit IRC17:53
*** dklyle has joined #openstack-nova17:54
*** germs has quit IRC17:56
*** tbachman has joined #openstack-nova17:57
*** openstackgerrit has joined #openstack-nova18:01
openstackgerritEric Fried proposed openstack/os-traits master: normalize_name helper  https://review.openstack.org/56010718:01
*** dougshel_ has joined #openstack-nova18:02
*** amoralej is now known as amoralej|off18:03
*** dikonoor has joined #openstack-nova18:04
*** dougshelley66 has quit IRC18:05
*** madhaviy has quit IRC18:06
*** tbachman has quit IRC18:08
*** tbachman has joined #openstack-nova18:09
*** germs has joined #openstack-nova18:12
*** germs has quit IRC18:12
*** germs has joined #openstack-nova18:12
*** gouthamr has joined #openstack-nova18:13
openstackgerritEd Leafe proposed openstack/nova-specs master: Add Generation to Consumers  https://review.openstack.org/55697118:15
*** r-daneel_ has joined #openstack-nova18:16
edleafedansmith: ^^ Addressed your comments18:17
*** r-daneel has quit IRC18:17
*** r-daneel_ is now known as r-daneel18:17
efriededleafe: Thanks, that lgtm18:18
*** gouthamr has quit IRC18:19
*** dpawlik has joined #openstack-nova18:19
*** dpawlik has quit IRC18:20
*** dpawlik has joined #openstack-nova18:21
simondodsleyanyone help with https://review.openstack.org/#/c/558530 that breaks pep8 with a C901 'LibvirtConfigGuestDisk.format_dom' is too complex (40) error? My Python skills are not up to re-coding that module with confidence18:22
openstackgerritJimmy McCrory proposed openstack/nova master: Pass user context detaching volume on exceptions  https://review.openstack.org/56011518:22
openstackgerritEric Fried proposed openstack/os-traits master: normalize_name helper  https://review.openstack.org/56010718:22
dansmithefried: well, I still wanted more detail on the userid history thing, but I guess I'm the only one18:22
efrieddansmith: Oh, yeah, edleafe did you want to address that?18:23
efriedI would volunteer to write it up, but I'm not 100% sure I understand it well enough to articulate it.18:23
*** harlowja has joined #openstack-nova18:25
melwittsimondodsley: I think that just means the code you added pushed the format_dom method length over the limit for "complexity". so you just need to break some of the code in format_dom into a private helper method and call it from format_dom18:25
*** fragatina has quit IRC18:26
*** fragatina has joined #openstack-nova18:27
simondodsleymelwitt: Yeah - I get what the error is, but the whole section of that module is repeating if statements. I'm not sure I want to modify code that I didn't add for my first attempt at messing with core Nova code :)18:28
*** vladikr has joined #openstack-nova18:31
edleafedansmith: I didn't work on the user_id changes, so my knowledge of the whys and wherefores is limited18:32
melwittsimondodsley: oh, I see. I think what I would do is add a refactor patch to stack under your patch that adds a method like "iotune = self._get_iotune()" and puts all of the iotune.append stuff in there. then your additions would go in _get_iotune18:33
efriededleafe: Is http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-04-10.log.html#t2018-04-10T15:24:58 roughly correct to your understanding?18:34
melwittthat said, it looks like you need some review on your spec https://review.openstack.org/#/c/340168 (I will take a look)18:34
openstackgerritMerged openstack/nova-specs master: Add Generation to Consumers  https://review.openstack.org/55697118:35
edleafeefried: yeah, that's pretty much it18:36
*** AlexeyAbashkin has joined #openstack-nova18:36
efriedI can have a crack at an edit.18:36
efriedBecause when dansmith is happy, everyone's happy.18:36
efriedOr maybe it's the inverse.18:37
edleafeefried: wasn't there some discussion about trying to backfill those values, using the consumer_uuid to find the project/user for that VM18:37
efriedoh, sheesh, I don't remember any of that.18:37
edleafebut that that wouldn't work for non-VM consumers18:37
*** mgoddard has quit IRC18:37
*** gouthamr has joined #openstack-nova18:38
edleafeyeah, that was a while ago, well before the consumer generation stuff18:39
eanderssoncfriesen_, do you think the numa migration (not live) issues are fixed in newer releases?18:43
*** gouthamr has quit IRC18:43
eanderssonI haven't had time to build a non-mitaka lab yet to run the same tests18:44
*** mvk has joined #openstack-nova18:47
*** jaosorior has quit IRC18:48
*** amodi has quit IRC18:48
*** germs has quit IRC18:49
*** germs has joined #openstack-nova18:51
*** germs has quit IRC18:51
*** germs has joined #openstack-nova18:51
*** salv-orlando has quit IRC18:57
*** salv-orlando has joined #openstack-nova18:58
*** germs has quit IRC18:58
*** salv-orlando has quit IRC19:02
*** openstackgerrit has quit IRC19:04
*** dougshel_ has quit IRC19:06
*** damien_r has joined #openstack-nova19:07
cfriesen_eandersson: I don't regularly run migration/evacuate/resize tests on upstream master, so I can't say for sure.  I'm also confused why it's not working for you.  Did you ever get a chance to test with debug logging enabled to figure out why the claim logs weren't coming out?19:08
cfriesen_eandersson: generally I'd expect more recent versions to do a better job of resource tracking19:08
eanderssonI think I pasted you anything relavent19:08
eanderssonYea - I'll try to set up a lab with pike or newer this week19:08
eanderssonneed to do some research for our upgrade path anyway19:09
*** damien_r has quit IRC19:10
*** avolkov has quit IRC19:15
*** tbachman has quit IRC19:19
*** jafeha has joined #openstack-nova19:26
*** jafeha__ has quit IRC19:28
*** jafeha__ has joined #openstack-nova19:28
*** jafeha has quit IRC19:29
cfriesen_dansmith: in https://git.openstack.org/cgit/openstack/nova/commit/?id=804215017f38300ac429e4401ce9c23f0c8ff3c6  you have a comment suggesting that failing to detach a volume is expected and reasonable.  Was there a fix to keep heat from waiting forever if this happens when deleting a stack?19:30
*** jackie-truong has joined #openstack-nova19:32
*** dougshelley66 has joined #openstack-nova19:33
*** jafeha__ has quit IRC19:35
*** jafeha has joined #openstack-nova19:35
*** markvoelker_ has quit IRC19:41
*** markvoelker has joined #openstack-nova19:41
*** amodi has joined #openstack-nova19:42
*** awaugama has quit IRC19:43
*** markvoelker has quit IRC19:45
*** andreas_s has joined #openstack-nova19:48
*** jackie-truong has quit IRC19:52
*** andreas_s has quit IRC19:53
*** openstackgerrit has joined #openstack-nova19:53
openstackgerritEd Leafe proposed openstack/nova master: Add columns for generation to consumers  https://review.openstack.org/55795819:53
openstackgerritEd Leafe proposed openstack/nova master: Add handlers for consumer_generation  https://review.openstack.org/55795919:53
openstackgerritEd Leafe proposed openstack/nova master: Add a microversion for consumer generation  https://review.openstack.org/55895819:53
*** sidx64 has joined #openstack-nova19:53
edleafeefried: ^^ new revs for consumer generation. Still have a couple of functional tests failing in the last patch, but otherwise they're ready for review19:53
efriededleafe: ack19:54
*** markvoelker has joined #openstack-nova19:54
*** tbachman has joined #openstack-nova19:54
dansmithcfriesen_: that is about the instance not releasing the disk, it still raises19:54
dansmithcfriesen_: but no, if heat is going to try to detach things before it deletes an instance, then it's going to keep waiting19:55
dansmithif it's doing a stack delete, then it should just kill the instance and not wait for volume detach which is never going to happen19:55
*** gjayavelu has quit IRC19:56
*** salv-orlando has joined #openstack-nova19:58
cfriesen_dansmith: apparently heat has no way of knowing that the detach failed from nova's perspective, so currently it waits around forever.  And I suspect the volume was a separate heat resource and it was trying to tear it down cleanly.   (Looks like a stack update could also result in volume detach, which would be subject to the same problem.)19:58
*** READ10 has quit IRC19:59
dansmithcfriesen_: I think we log an instance action for it, no?20:00
dansmithbut regardless,20:00
dansmithat a minimum it should time out and then try shutting the instance down before doing the detach (or just delete it while it's off)20:00
dansmithactually just deleting it while it's running should work I would think20:00
*** pcaruana has quit IRC20:01
cfriesen_dansmith: delete the instance?  what about the stack update case where we just want to detach and replace the volume?20:01
dansmithyou said stack delet20:01
dansmithand that's where we hit the issue as well20:01
dansmithbut, if you're doing an update, then power off and detach20:01
*** jackie-truong has joined #openstack-nova20:02
dansmiththe deal is the instance didn't let go of the volume, so there's really nothing else to do other than shut it down, or tell the instance to get over itself20:02
cfriesen_dansmith: fair enough.  you mentioned an instance action, where would that get logged?20:02
dansmithin instance actions20:02
*** salv-orlando has quit IRC20:03
cfriesen_I mean where in the detach volume exception path would we report the failure to detach as an instance action?20:04
dansmithI'm not positive we do, I'm just saying I think we would20:04
dansmithI can look, but so can you :)20:04
cfriesen_yep..was hoping you knew off the top of your head.  Looking.20:05
dansmithnope20:07
*** salv-orlando has joined #openstack-nova20:07
dansmithah yeah,20:08
dansmithcfriesen_: @wrap_instance_event on compute manager detach_volume20:08
cfriesen_dansmith: looks like ComputeManager.detach_volume() has wrap_instance_fault and wrap_instance_event decorators20:08
dansmithI think that decorator ends up with it20:09
dansmithyeah20:09
efrieddansmith: You wanna finish up the paperwork on the bp here https://blueprints.launchpad.net/nova/+spec/add-consumer-generation20:09
cfriesen_dansmith: So heat should maybe poll those for updates as well as looking for the state change on the volume?20:09
dansmithefried: I hate paperwork20:10
dansmithcfriesen_: I'm guessin' that'd be smart :)20:10
efrieddansmith: :*20:11
cfriesen_time to go check the captured database logs and see if the appropriate info was there.20:12
*** AlexeyAbashkin has quit IRC20:16
*** AlexeyAbashkin has joined #openstack-nova20:17
*** markvoelker_ has joined #openstack-nova20:17
*** dpawlik has quit IRC20:17
*** dpawlik has joined #openstack-nova20:17
openstackgerritMerged openstack/nova stable/queens: libvirt: Allow to specify granular CPU feature flags  https://review.openstack.org/55970020:18
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: libvirt: Allow to specify granular CPU feature flags  https://review.openstack.org/55970220:18
*** markvoelker has quit IRC20:21
*** tssurya has joined #openstack-nova20:21
*** dpawlik has quit IRC20:22
openstackgerritSurya Seetharaman proposed openstack/nova master: Cleanup RP and HM records while deleting a compute service.  https://review.openstack.org/55492020:24
*** AlexeyAbashkin has quit IRC20:25
*** sidx64_ has joined #openstack-nova20:27
*** liuzz has quit IRC20:27
openstackgerritMerged openstack/nova master: Pick next minimum libvirt / QEMU versions for "Stein"  https://review.openstack.org/55817120:29
*** sidx64 has quit IRC20:29
*** artom has quit IRC20:29
openstackgerritMerged openstack/nova master: Add regression test for persisted RequestSpec.retry from failed resize  https://review.openstack.org/50577120:30
cfriesen_dansmith: I see relevent entries in "instance_actions_events" and "instance_faults", but I don't know of any API to get either of those.  Would the fault entry show up when doing a GET20:31
cfriesen_GET20:31
cfriesen_/servers/{server_id}20:31
cfriesen_whoops, paste error20:32
dansmithcfriesen_: the instance actions api20:32
*** sree has joined #openstack-nova20:32
mriedemGET /os-instance-actions20:32
mriedemthe fault is stored on the server20:32
mriedemhttps://developer.openstack.org/api-ref/compute/#servers-actions-servers-os-instance-actions20:32
dansmithcfriesen_: https://developer.openstack.org/api-ref/compute/#list-actions-for-server20:32
*** evin has quit IRC20:32
dansmithyeah20:32
mriedemhttps://developer.openstack.org/api-guide/compute/faults.html20:32
mriedem^ might be stale20:32
mriedemmost things in the compute api guide are old20:33
mriedeme.g. https://developer.openstack.org/api-guide/compute/faults.html#instance-faults20:33
mriedem"However, there is currently no API to retrieve this information."20:33
mriedemthat's totally bogus20:33
*** ktibi_ has quit IRC20:33
mriedemGET /server/{id} has a 'fault' key in the response20:34
mriedem"A fault object. Only displayed in the failed response. Default keys are code, created, and message (response code, created time, and message respectively). In addition, the key details (stack trace) is available if you have the administrator privilege."20:34
*** sree has quit IRC20:36
cfriesen_thanks, looks like heat should be able to get the necessary info20:38
openstackgerritMerged openstack/nova master: Don't persist RequestSpec.retry  https://review.openstack.org/55944720:38
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: Add regression test for persisted RequestSpec.retry from failed resize  https://review.openstack.org/56014220:39
openstackgerritMatt Riedemann proposed openstack/nova stable/queens: Don't persist RequestSpec.retry  https://review.openstack.org/56014320:39
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Add regression test for persisted RequestSpec.retry from failed resize  https://review.openstack.org/56014520:44
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Don't persist RequestSpec.retry  https://review.openstack.org/56014620:44
*** ssurana1 has joined #openstack-nova20:48
*** ssurana1 has left #openstack-nova20:52
*** dikonoor has quit IRC20:52
*** dikonoor has joined #openstack-nova20:54
*** sidx64 has joined #openstack-nova20:56
*** felipemonteiro__ has quit IRC20:56
*** sidx64_ has quit IRC20:58
*** priteau has quit IRC20:59
*** priteau has joined #openstack-nova21:00
*** slaweq has quit IRC21:02
*** slaweq has joined #openstack-nova21:02
*** priteau has quit IRC21:04
*** slaweq has quit IRC21:07
openstackgerritJackie Truong proposed openstack/nova master: Implement certificate_utils  https://review.openstack.org/47994921:10
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API  https://review.openstack.org/48620421:10
*** sidx64 has quit IRC21:11
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Add regression test for persisted RequestSpec.retry from failed resize  https://review.openstack.org/56014521:15
openstackgerritMatt Riedemann proposed openstack/nova stable/pike: Don't persist RequestSpec.retry  https://review.openstack.org/56014621:15
jackie-truongI have a patch that adds  documentation for the certificate validation feature. Should that be linked with the current nova-validate-certificates patches? I'll still include the bp link in the commit message21:16
*** dikonoor has quit IRC21:16
cfriesen_mriedem: dansmith: have you ever seen anything like this? http://paste.openstack.org/show/718865/       It seems like we ask nova to detach, but libvirt doesn't recognize the device.21:17
mriedemyes21:17
mriedemcfriesen_: you should be talking to lyarwood and melwitt21:17
cfriesen_cool, will do21:17
mriedemthey've been in the bowels of that code a few times21:17
openstackgerritJackie Truong proposed openstack/nova master: Add certificate validation docs  https://review.openstack.org/56015821:17
mriedemcfriesen_: which branch are you on? do you have all the latest fixes?21:18
cfriesen_this would be Pike, I'd have to check if it was totally up to date21:19
cfriesen_gotta run, parent-teacher interview21:19
*** cfriesen_ is now known as cfriesen_away21:20
openstackgerritJackie Truong proposed openstack/nova master: Implement certificate_utils  https://review.openstack.org/47994921:20
openstackgerritJackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API  https://review.openstack.org/48620421:20
openstackgerritJackie Truong proposed openstack/nova master: Add certificate validation docs  https://review.openstack.org/56015821:20
*** mchlumsky has quit IRC21:21
mriedemcfriesen_away: i was thinking of https://review.openstack.org/#/c/488545/ but that's in pike GA21:22
*** sree has joined #openstack-nova21:24
*** mchlumsky has joined #openstack-nova21:24
*** pchavva has quit IRC21:26
*** mchlumsky has quit IRC21:27
*** sree has quit IRC21:29
*** jafeha__ has joined #openstack-nova21:30
*** jackie-truong has quit IRC21:30
*** eharney has quit IRC21:30
*** tssurya has quit IRC21:31
*** jafeha has quit IRC21:31
*** gjayavelu has joined #openstack-nova21:34
*** suresh12 has quit IRC21:39
openstackgerritMatt Riedemann proposed openstack/nova stable/ocata: Add regression test for persisted RequestSpec.retry from failed resize  https://review.openstack.org/56016221:41
*** suresh12 has joined #openstack-nova21:41
*** edmondsw has quit IRC21:42
*** edmondsw has joined #openstack-nova21:42
*** edmondsw has quit IRC21:43
*** esberglu has quit IRC21:52
openstackgerritEric Berglund proposed openstack/nova master: PowerVM Driver: Localdisk  https://review.openstack.org/54930021:53
*** yamamoto has quit IRC21:54
*** yamamoto has joined #openstack-nova21:54
*** germs has joined #openstack-nova21:56
*** germs has quit IRC21:56
*** germs has joined #openstack-nova21:56
*** burt has quit IRC21:57
*** arvindn05 has joined #openstack-nova21:57
*** priteau has joined #openstack-nova21:58
arvindn05dansmith: can you please review the changes made per your suggestions? https://review.openstack.org/#/c/557795/ - Update ImageMetaProp object to expose traits21:59
openstackgerritEd Leafe proposed openstack/nova master: Add a microversion for consumer generation  https://review.openstack.org/55895822:04
*** priteau has quit IRC22:08
*** edmondsw has joined #openstack-nova22:09
*** edmondsw has quit IRC22:10
*** sdague has quit IRC22:12
openstackgerritMichael Still proposed openstack/nova master: Move xenapi disk resizing to privsep.  https://review.openstack.org/55224222:15
openstackgerritMichael Still proposed openstack/nova master: Sync xenapi and libvirt on what flags to pass e2fsck.  https://review.openstack.org/55407822:15
openstackgerritMichael Still proposed openstack/nova master: Move xenapi partition copies to privsep.  https://review.openstack.org/55360522:15
openstackgerritMichael Still proposed openstack/nova master: Move image conversion to privsep.  https://review.openstack.org/55443722:15
openstackgerritMichael Still proposed openstack/nova master: We don't need utils.trycmd any more.  https://review.openstack.org/55443922:15
openstackgerritMichael Still proposed openstack/nova master: We no longer need rootwrap.  https://review.openstack.org/55443822:15
*** itlinux has quit IRC22:15
*** tssurya has joined #openstack-nova22:17
*** wolverineav has joined #openstack-nova22:19
*** dougshel_ has joined #openstack-nova22:21
*** tssurya has quit IRC22:21
openstackgerritMatt Riedemann proposed openstack/nova stable/ocata: Don't persist RequestSpec.retry  https://review.openstack.org/56016722:23
*** rcernin has joined #openstack-nova22:23
*** dougshelley66 has quit IRC22:24
*** Guest8476 has quit IRC22:32
*** yamamoto has quit IRC22:35
*** yamamoto has joined #openstack-nova22:39
*** yamamoto has quit IRC22:40
*** lbragstad has quit IRC22:42
*** hongbin has quit IRC22:42
*** yamahata has quit IRC22:45
*** dave-mccowan has quit IRC22:49
openstackgerritMichael Still proposed openstack/nova master: Move xenapi disk resizing to privsep.  https://review.openstack.org/55224222:55
openstackgerritMichael Still proposed openstack/nova master: Sync xenapi and libvirt on what flags to pass e2fsck.  https://review.openstack.org/55407822:55
openstackgerritMichael Still proposed openstack/nova master: Move xenapi partition copies to privsep.  https://review.openstack.org/55360522:55
openstackgerritMichael Still proposed openstack/nova master: Move image conversion to privsep.  https://review.openstack.org/55443722:55
openstackgerritMichael Still proposed openstack/nova master: We don't need utils.trycmd any more.  https://review.openstack.org/55443922:55
openstackgerritMichael Still proposed openstack/nova master: We no longer need rootwrap.  https://review.openstack.org/55443822:55
*** r-daneel has quit IRC22:59
*** r-daneel has joined #openstack-nova22:59
*** fragatina has quit IRC22:59
*** fragatina has joined #openstack-nova23:02
*** slaweq has joined #openstack-nova23:03
*** slaweq has quit IRC23:08
*** lbragstad has joined #openstack-nova23:09
*** r-daneel has quit IRC23:14
*** sdague has joined #openstack-nova23:16
openstackgerritEric Fried proposed openstack/nova-specs master: Add history behind nullable project_id and user_id  https://review.openstack.org/56017423:17
efrieddansmith, edleafe, jaypipes: ^^23:18
efriedmikal: +2!23:19
efriedmikal: Thanks for putting up with me.23:19
openstackgerritEd Leafe proposed openstack/nova master: Add handlers for consumer_generation  https://review.openstack.org/55795923:20
openstackgerritEd Leafe proposed openstack/nova master: Add a microversion for consumer generation  https://review.openstack.org/55895823:20
edleafeefried: ^^ answered *some* of your concerns. The remainder can be discussed tomorrow.23:21
efriededleafe: Roger that.  I gotta bail.23:21
* edleafe heads out for a glass of wine.23:21
* efried heads out to choke some folk.23:21
openstackgerritMatt Riedemann proposed openstack/nova master: doc: cleanup docs about instance faults  https://review.openstack.org/56017823:34
mriedemcfriesen_away: ^ that one is for you23:34
*** yamamoto has joined #openstack-nova23:40
*** mlavalle has quit IRC23:46
*** takashin has joined #openstack-nova23:46
*** yamamoto has quit IRC23:46
openstackgerritMatt Riedemann proposed openstack/nova master: doc: cleanup docs about instance faults  https://review.openstack.org/56017823:48
mriedemalex_xu: gmann: Kevin_Zheng: ^ I just realized that we don't have 'fault' as a server blacklisted query parameter or sort key23:49
mriedembut it is a joined table23:49
mriedemlooking at https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/servers.py#L29823:50
Kevin_Zhengmriedem: got it, will check it the first thing when got to office23:51
mriedemhttps://bugs.launchpad.net/nova/+bug/176287023:54
openstackLaunchpad bug 1762870 in OpenStack Compute (nova) "server fault is not blacklisted for filtering/sorting" [Medium,Triaged]23:54
*** amodi has quit IRC23:59
*** cfriesen_away is now known as cfriesen23:59

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