Thursday, 2019-03-14

*** wolverineav has quit IRC00:02
melwittgmann: I'll get it. thank you for all your work on this00:03
gmannthanks.00:04
*** tetsuro has joined #openstack-nova00:08
*** slaweq has joined #openstack-nova00:11
fungithanks melwitt!00:13
*** slaweq has quit IRC00:15
*** marst has joined #openstack-nova00:19
openstackgerritmelanie witt proposed openstack/nova master: Re-enable Ceph in live migration testing  https://review.openstack.org/64315000:19
*** xek has joined #openstack-nova00:23
*** igordc has quit IRC00:24
*** igordc has joined #openstack-nova00:25
*** Swami has quit IRC00:26
*** wolverineav has joined #openstack-nova00:28
*** dklyle has quit IRC00:31
*** dklyle has joined #openstack-nova00:31
*** igordc has quit IRC00:31
*** wolverineav has quit IRC00:35
*** gyee has quit IRC00:39
*** marst has quit IRC00:42
*** takashin has joined #openstack-nova00:42
*** mikal has joined #openstack-nova00:43
*** dklyle has quit IRC00:46
*** mikal has quit IRC00:47
*** erlon has quit IRC00:54
*** igordc has joined #openstack-nova00:58
*** liuyulong has joined #openstack-nova01:10
*** slaweq has joined #openstack-nova01:11
*** mriedem_afk has quit IRC01:11
openstackgerritMatt Riedemann proposed openstack/nova master: Add functional recreate test for bug 1819963  https://review.openstack.org/64315101:12
openstackbug 1819963 in OpenStack Compute (nova) "Reverting a resize does not update the instance.availability_zone value to the source az" [Medium,In progress] https://launchpad.net/bugs/1819963 - Assigned to Matt Riedemann (mriedem)01:12
openstackgerritMatt Riedemann proposed openstack/nova master: Update instance.availability_zone on revertResize  https://review.openstack.org/64315501:12
*** slaweq has quit IRC01:16
*** snevi has quit IRC01:33
*** zhubx has quit IRC01:51
*** zhubx007 has joined #openstack-nova01:51
*** whoami-rajat has joined #openstack-nova02:02
*** wolverineav has joined #openstack-nova02:10
openstackgerritTakashi NATSUME proposed openstack/nova stable/rocky: Fix resetting non-persistent fields when saving obj  https://review.openstack.org/64321502:14
*** hongbin has joined #openstack-nova02:15
*** wolverineav has quit IRC02:15
openstackgerrithuanhongda proposed openstack/nova stable/queens: Fix resource tracker updates during instance evacuation  https://review.openstack.org/64321902:31
*** BjoernT has joined #openstack-nova02:40
openstackgerritBoxiang Zhu proposed openstack/nova master: Raise error when force_raw_images and images_type are incompatible  https://review.openstack.org/64027102:44
*** BjoernT_ has joined #openstack-nova02:45
*** BjoernT has quit IRC02:48
*** dave-mccowan has joined #openstack-nova02:49
*** dave-mccowan has quit IRC02:54
*** hoonetorg has quit IRC02:59
*** psachin has joined #openstack-nova03:01
*** slaweq has joined #openstack-nova03:11
*** hoonetorg has joined #openstack-nova03:12
*** slaweq has quit IRC03:15
*** alex_xu has quit IRC03:32
*** hongbin has quit IRC03:36
*** alex_xu has joined #openstack-nova03:36
openstackgerritMerged openstack/nova master: Disable the tls-proxy in nova-next & fix nova-tox-functional-py35 parent  https://review.openstack.org/64312904:06
*** slaweq has joined #openstack-nova04:11
openstackgerritTakashi NATSUME proposed openstack/nova master: Override the 'get' method in DriverBlockDevice class  https://review.openstack.org/63882104:14
*** slaweq has quit IRC04:15
*** udesale has joined #openstack-nova04:22
*** janki has joined #openstack-nova04:35
*** lpetrut has joined #openstack-nova04:55
*** lbragstad has quit IRC05:00
*** lpetrut has quit IRC05:19
*** cfriesen has quit IRC05:19
openstackgerritLuyao Zhong proposed openstack/nova master: object: Add pmem_namespaces field to the NUMACell obj  https://review.openstack.org/63454705:20
openstackgerritLuyao Zhong proposed openstack/nova master: object: Add virtual_pmems fields to the InstanceNUMACell obj  https://review.openstack.org/63454805:20
openstackgerritLuyao Zhong proposed openstack/nova master: libvirt: Enable driver configures PMEM namespace when initiating libvirt driver  https://review.openstack.org/63454905:20
openstackgerritLuyao Zhong proposed openstack/nova master: libvirt: Update PMEM namespaces info and usage  https://review.openstack.org/63455005:20
openstackgerritLuyao Zhong proposed openstack/nova master: libvirt: report pmem namespaces resources by provider tree  https://review.openstack.org/63455105:20
openstackgerritLuyao Zhong proposed openstack/nova master: API: parse pmem related flavor extra spec  https://review.openstack.org/63455205:20
openstackgerritLuyao Zhong proposed openstack/nova master: scheduler: translate virtual pmems request to placement request group  https://review.openstack.org/63455305:20
openstackgerritLuyao Zhong proposed openstack/nova master: update _numa_fit_instance_cell for the support of virtual_pmems  https://review.openstack.org/63455405:20
openstackgerritLuyao Zhong proposed openstack/nova master: libvirt: boot VM with vpmems and cleanup vpmems when destroying  https://review.openstack.org/63455505:20
openstackgerritLuyao Zhong proposed openstack/nova master: support VM resizing with vpmem data migration  https://review.openstack.org/63455605:20
*** sridharg has joined #openstack-nova05:56
*** alex_xu has quit IRC06:06
*** alex_xu has joined #openstack-nova06:07
*** slaweq has joined #openstack-nova06:11
*** slaweq has quit IRC06:16
*** wolverineav has joined #openstack-nova06:18
*** slaweq has joined #openstack-nova06:19
*** igordc has quit IRC06:26
*** ivve has joined #openstack-nova06:37
*** wolverin_ has joined #openstack-nova06:42
*** wolverineav has quit IRC06:45
*** Luzi has joined #openstack-nova06:46
*** wolverin_ has quit IRC06:49
*** BjoernT has joined #openstack-nova07:00
*** BjoernT_ has quit IRC07:02
*** lpetrut has joined #openstack-nova07:07
*** markvoelker has quit IRC07:19
*** dpawlik has joined #openstack-nova07:22
*** tosky has joined #openstack-nova07:23
*** mikal has joined #openstack-nova07:25
*** wolverineav has joined #openstack-nova07:27
*** dpawlik has quit IRC07:27
*** dpawlik has joined #openstack-nova07:29
*** mikal has quit IRC07:30
*** wolverineav has quit IRC07:31
*** lpetrut has quit IRC07:35
openstackgerritzhaixiaojun proposed openstack/nova master: Fix bug: non-admin user can not filter instance by instance-uuid  https://review.openstack.org/64240307:35
*** lpetrut has joined #openstack-nova07:42
*** yaawang has quit IRC07:45
*** yaawang has joined #openstack-nova07:47
openstackgerritBoxiang Zhu proposed openstack/nova master: Raise error when force_raw_images and images_type are incompatible  https://review.openstack.org/64027107:47
*** luksky has joined #openstack-nova07:54
*** takashin has left #openstack-nova08:01
*** tesseract has joined #openstack-nova08:07
*** pcaruana has joined #openstack-nova08:07
*** awalende has joined #openstack-nova08:08
*** dpawlik has quit IRC08:09
*** dpawlik has joined #openstack-nova08:10
*** pcaruana has quit IRC08:11
*** tssurya has joined #openstack-nova08:12
*** tkajinam__ has quit IRC08:13
*** ccamacho has joined #openstack-nova08:20
*** BjoernT has quit IRC08:23
*** pcaruana has joined #openstack-nova08:23
*** hoonetorg has quit IRC08:32
openstackgerritYongli He proposed openstack/nova master: Clean up orphan instances  https://review.openstack.org/62776508:34
*** ttsiouts has joined #openstack-nova08:37
*** helenafm has joined #openstack-nova08:38
openstackgerritMerged openstack/nova master: Update compute rpc version alias for stein  https://review.openstack.org/64259908:44
*** hoonetorg has joined #openstack-nova08:45
*** slaweq has quit IRC08:53
*** slaweq has joined #openstack-nova08:55
*** dtantsur|afk is now known as dtantsur08:59
*** kashyap` has joined #openstack-nova09:02
*** kashyap` is now known as kashyap09:04
openstackgerritMerged openstack/nova master: Migrate legacy jobs to Ubuntu Bionic  https://review.openstack.org/63901709:04
openstackgerritBoxiang Zhu proposed openstack/nova master: Remove unsafe convert of lvm imagebackend  https://review.openstack.org/64266709:05
*** panda|rover|off has quit IRC09:07
kashyapgibi: Morning, mind having a quick gander at this (simple change, but brings non-trivial perf benefit): https://review.openstack.org/#/c/640781/09:08
openstackgerritzhaixiaojun proposed openstack/nova master: Fix bug: non-admin user can not filter instance by instance-uuid  https://review.openstack.org/64240309:12
*** IvensZambrano has joined #openstack-nova09:23
*** IvensZambrano has quit IRC09:24
*** mikal has joined #openstack-nova09:41
*** mikal has quit IRC09:46
*** pcaruana has quit IRC09:48
*** cdent has joined #openstack-nova10:11
*** rpittau|afk is now known as rpittau10:13
*** sapd1 has joined #openstack-nova10:34
*** tbachman has quit IRC10:46
jangutterkashyap: 15x --- there's that story that nearly every programming  task reduces to either a caching or string manipulation problem.10:49
*** wolverineav has joined #openstack-nova10:49
kashyapjangutter: Yeah...10:49
kashyapIt was a "one-worder" change, but I guess you read the full commit message10:50
kashyapIt took 2 days to dig into QEMU and talk to Block Layer folks10:50
jangutterand the persistent nagging feeling that it can't be this simple.10:51
*** wolverineav has quit IRC10:54
*** liuyulong has quit IRC10:54
*** udesale has quit IRC10:56
*** udesale has joined #openstack-nova10:56
*** mdbooth has joined #openstack-nova11:14
*** udesale has quit IRC11:15
*** udesale has joined #openstack-nova11:15
*** zbr has quit IRC11:16
kashyapjangutter: Yeah, need to consider impact on multiple use cases11:22
kashyapmdbooth: Morning, if you get a moment: https://review.openstack.org/#/c/641981/ and https://review.openstack.org/#/c/640781/11:23
kashyap(You were already +1 on those before.)11:23
mdbooth"But that's not correct, because of our misunderstanding of how cache modes work."11:24
mdboothI'll say again: we never understood how cache modes work, only what they're called ;)11:24
mdbooth...misunderstood...11:24
mdboothDon't change that, though.11:24
kashyapHehe, noted.11:25
kashyapNow I think not in terms of just named cache modes, but the three booleans each one impacts11:25
kashyapmdbooth: FWIW, the little blob of text written in driver.py -- I got it reviewed by Kevin (of QEMU) over a few emails.  So it's not me just riffing on it :-)11:27
*** udesale has quit IRC11:27
*** udesale has joined #openstack-nova11:28
*** derekh has joined #openstack-nova11:29
*** pcaruana has joined #openstack-nova11:32
mdboothack11:37
*** ttsiouts has quit IRC11:44
*** dave-mccowan has joined #openstack-nova11:45
*** luksky has quit IRC11:50
openstackgerritFan Zhang proposed openstack/nova master: Retry after hitting libvirt error VIR_ERR_OPERATION_INVALID in live migration.  https://review.openstack.org/61227211:52
*** gcerami_ has joined #openstack-nova11:57
*** zbr has joined #openstack-nova11:59
*** tbachman_ has joined #openstack-nova12:09
*** tbachman_ is now known as tbachman12:10
awalendeI'am trying to use hugepages with nova and qemu/libvirt. Hugepages is enabled and I have reserved a bunch of hugepages in standard 2048kb size. I added flavor properties with "flavor set hugePagesTest --property hw:mem_page_size=2Mb". However starting instances fails with "Exceeded maximum number of retries". Nova-compute log does not show any exceptions. Any Idea how to debug this?12:10
*** ttsiouts has joined #openstack-nova12:17
*** luksky has joined #openstack-nova12:18
*** helenafm has quit IRC12:30
*** tetsuro has quit IRC12:32
*** eharney has quit IRC12:32
efriedawalende: Have you looked at the scheduler log?12:34
awalendeYes, I could narrow it down. It has something to do with NUMA-Topology:12:36
awalendeInsufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology.12:36
awalendeWhich is weird, I have setup hw:numa_nodes=4 in the flavor, since my Intel Xeon has 4 Nodes.12:36
awalendebeforeheand there is a bunch of repeating logs like: Attempting to fit instance cell InstanceNUMACell(cpu_pinning_raw=None,cpu_policy=None,cpu_thread_policy=None,cpu_topology=<?>,cpuset=set([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),cpuset_reserved=None,id=0,memory=512,pagesize=256) on host_cell NUMACell(cpu_usage=0,cpuset=set([3,51,35,7,15,11,47,43,19,23,39,27,55,31]),id=3,memory=193532,memory_usage=0,mempages=[NUMAP12:37
awalendeagesTopology,NUMAPagesTopology,NUMAPagesTopology],pinned_cpus=set([]),siblings=[])12:37
*** gcerami_ is now known as panda12:40
efriedmdbooth: are you a NUMA guy?12:43
efriedawalende: (looking for someone who can spell NUMA)12:43
awalende:D12:43
*** zhubx007 has quit IRC12:44
*** zhubx007 has joined #openstack-nova12:45
openstackgerritJens Harbott (frickler) proposed openstack/nova master: Re-enable Ceph in live migration testing  https://review.openstack.org/64315012:46
openstackgerritElod Illes proposed openstack/nova stable/ocata: WIP: Use ubuntu-xenial for sphinx jobs  https://review.openstack.org/64332012:55
mdboothefried: I am not, unfortunately.12:57
efriedkashyap: what about you? :)12:58
mdboothefried: I can spell it, though. Our 2 best numa guys are travelling today.12:58
efriedokay.12:58
efriedeventually here I'm gonna need to learn something about it...12:58
kashyapefried: Hi, I have a NUMA-capable machine, and occasionally do testing of NUMA+SR-IOV stuff; besides that I am not an expert12:59
* kashyap --> goes to cook late lunch12:59
*** breton has quit IRC12:59
kashyapefried: What's the question, it might make curious enough to learn the answer :-)12:59
*** jchhatbar has joined #openstack-nova13:00
efriedkashyap: awalende is having trouble scheduling an instance requesting 4 numa nodes and hugepages, see logs starting around :1013:00
*** janki has quit IRC13:00
efriedI'm guessing it's a simple thing - for somebody with a clue how NUMA-related scheduling works13:00
efriedhttp://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2019-03-14.log.html#t2019-03-14T12:10:1713:01
*** dklyle has joined #openstack-nova13:01
*** awaugama has joined #openstack-nova13:02
kashyapHmm; the error "Requested instance NUMA topology cannot fit the given host NUMA topology" is indeed weird *if* you have told the scheduler to use more than one NUMA node13:04
kashyap... which you did.13:04
* kashyap --> kitchen; bbiab13:05
mdboothkashyap: Did you rebase that writeback patch for some reason?13:06
*** dpawlik has quit IRC13:07
mdboothIncidentally, ^^^ is a super-obvious change in light of the informative comment kashyap has added to disk_cachemode()13:08
*** mriedem has joined #openstack-nova13:08
mdboothErm... https://review.openstack.org/#/c/641981/13:08
kashyapmdbooth: Had to rebase because "add the compress flag" thingie to 'qemu-img' got merged (you'll recall it, as you reviewed it)13:09
mdboothkashyap: Ah, ok.13:09
*** jchhatbar has quit IRC13:10
*** janki has joined #openstack-nova13:10
kashyap(It caused a conflict, so I was forced to fix it and rebase :-))13:12
* kashyap back to kitchen13:12
kashyapmdbooth: What about also doing: s/writethrough/writeback/ for SMBFS and virtuozzo?13:15
kashyapSee: nova/virt/libvirt/volume/smbfs.py and nova/virt/libvirt/volume/vzstorage.py.13:15
mdboothkashyap: We should do that.13:16
mdboothkashyap: Separate patches though, please.13:16
kashyapYes!13:16
kashyapThat's what I noted in the TODO13:16
mdboothAlso super-low priority, because likely nobody cares.13:16
kashyap(In the commit)13:16
kashyap[quote]13:16
kashyapTODO: Investigate if this is okay for Cinder volume drivers such as SMBFS and Virtuozzo. If so, then change them to use 'writeback' as well (probably in separate patches).13:16
kashyap[/quote]13:16
kashyapmdbooth: Yes, nobody cares, except when it comes to bite you.13:16
kashyapMight as well do it when I remember it; or else it goes into /dev/null of my brain13:17
mdboothkashyap: It would only bite you if you used those things.13:17
kashyap(Yep.)13:17
*** eharney has joined #openstack-nova13:24
*** lbragstad has joined #openstack-nova13:26
openstackgerritBoxiang Zhu proposed openstack/nova master: Raise error when force_raw_images and images_type are incompatible  https://review.openstack.org/64027113:28
*** marst has joined #openstack-nova13:31
openstackgerritBoxiang Zhu proposed openstack/nova master: Remove unsafe convert of lvm imagebackend  https://review.openstack.org/64266713:34
*** erlon has joined #openstack-nova13:36
zhubx007mdbooth: looking forward to your review on two patches ^ thanks :)13:37
mriedemdansmith: can i get your +2 back on https://review.openstack.org/#/c/643151/ - i had to fix a test otherwise it's the same13:45
dansmithmriedem: well, the test failed in a weird way in functional,13:45
dansmithso I was waiting to see how the recheck turned out13:45
*** marst has quit IRC13:45
mriedemthat's the infra changes13:45
mriedembut ok13:45
mriedemthis https://review.openstack.org/#/c/643129/13:45
dansmithI looked in the log and couldn't see anything actually broken13:45
mriedemit was this https://review.openstack.org/#/c/643129/4/.zuul.yaml13:46
mriedembroke everything over night13:46
dansmithokay... and the result is it just doesn't even run?13:46
mriedemthe old func py35 job couldn't find the py35 interpreter13:46
mriedemwith the new job parent it should be setup for that13:46
mriedemuses a xenial rather than bionic node13:46
dansmithokay I didn't see anything about that in the log, but that's fine, just sayin' I was looking at it already this morning and that's why I didn't just slap back on there13:47
dansmithbut if it's known13:47
dansmith..13:47
mriedemthanks13:47
mriedemfrickler: looks like you fixed that ceph thing https://review.openstack.org/#/c/643150/13:52
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289913:53
*** janki has quit IRC13:58
*** marst has joined #openstack-nova14:10
*** erlon has quit IRC14:10
openstackgerritMatt Riedemann proposed openstack/nova master: Re-enable Ceph in live migration testing  https://review.openstack.org/64315014:10
openstackgerritMatt Riedemann proposed openstack/nova master: Customize irrelevant-files for nova-live-migration job  https://review.openstack.org/64334614:10
*** helenafm has joined #openstack-nova14:16
*** rcernin has quit IRC14:17
openstackgerritElod Illes proposed openstack/nova stable/ocata: Use ubuntu-xenial for sphinx jobs  https://review.openstack.org/64332014:18
*** mlavalle has joined #openstack-nova14:19
*** _pewp_ has quit IRC14:30
*** zhubx007 has quit IRC14:30
*** zhubx007 has joined #openstack-nova14:30
*** _pewp_ has joined #openstack-nova14:30
*** lpetrut has quit IRC14:38
*** tbachman has quit IRC14:38
*** lpetrut has joined #openstack-nova14:39
*** tbachman has joined #openstack-nova14:39
dansmithis jaypipes just never around anymore?14:40
cdentdansmith: I _think_ he's travelling this week. Not sure if it was business or pleasure.14:46
dansmithoh okay14:46
cdenthe was at least on a plane on monday14:47
*** yaawang has quit IRC14:47
*** Swami has joined #openstack-nova14:47
*** mlavalle has quit IRC14:48
*** yaawang has joined #openstack-nova14:48
*** wolverineav has joined #openstack-nova14:50
*** ttsiouts has quit IRC14:50
*** ttsiouts has joined #openstack-nova14:51
*** mordred has quit IRC14:51
*** ttsiouts has quit IRC14:51
*** ttsiouts has joined #openstack-nova14:52
*** burt has joined #openstack-nova14:54
*** wolverineav has quit IRC14:54
*** mordred has joined #openstack-nova14:57
*** dpawlik has joined #openstack-nova14:58
*** awalende has quit IRC14:59
*** awalende has joined #openstack-nova14:59
*** BjoernT has joined #openstack-nova15:02
*** cfriesen has joined #openstack-nova15:03
*** awalende has quit IRC15:04
*** awalende has joined #openstack-nova15:04
*** awalende has quit IRC15:09
*** lpetrut has quit IRC15:12
*** ccamacho has quit IRC15:16
*** mordred has quit IRC15:23
*** mriedem is now known as mriedem_away15:24
*** zhubx007 has quit IRC15:24
*** dpawlik has quit IRC15:25
*** mordred has joined #openstack-nova15:29
*** mikal has joined #openstack-nova15:32
*** agopi has quit IRC15:34
*** ccamacho has joined #openstack-nova15:36
*** mlavalle has joined #openstack-nova15:36
*** mikal has quit IRC15:37
*** awaugama has quit IRC15:39
kashyapaspiers: When you're about, refer to comment#11 here: https://review.openstack.org/#/c/633855/1115:41
*** hamzy has quit IRC15:43
openstackgerritKashyap Chamarthy proposed openstack/nova master: qemu: Make disk image conversion dramatically faster  https://review.openstack.org/64078115:47
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: Use 'writeback' QEMU cache mode for Nova instances  https://review.openstack.org/64198115:47
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: vzstorage: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337615:47
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: smbfs: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337715:47
*** awaugama has joined #openstack-nova15:48
cdentI15:54
*** zhubx has joined #openstack-nova15:54
*** sapd1 has quit IRC15:55
edleafecdent: Roman numerals, anyone?15:57
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: vzstorage: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337616:00
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: smbfs: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337716:00
kashyapSome simple catch above, if anyone wants a change of scenery.16:00
kashyap(The core change and documentation is in: libvirt: Use 'writeback' QEMU cache mode for Nova instances  https://review.openstack.org/641981)16:00
cdentedleafe: α ω16:02
*** jangutter has quit IRC16:02
edleafecdent: make up your mind: greek or roman??16:02
*** sridharg has quit IRC16:03
*** jangutter has joined #openstack-nova16:03
*** mlavalle has quit IRC16:03
*** Luzi has quit IRC16:03
*** jding1_ has quit IRC16:03
*** jackding has joined #openstack-nova16:04
cfriesenkashyap: quick question.  did you try running a "sync" after the writeback image conversion test to ensure the data had actually hit the disk?16:04
cfriesenor do we even care if it did or not?16:05
kashyapcfriesen: No, I didn't do.  But, 'sync' is not required at all in this case -- why?16:05
cfriesenwell, your numbers look a lot like it just wrote to the cache.  If the host crashes at that point, it might think it has valid data on-disk but actually have a corrupt image.16:06
*** jmlowe has quit IRC16:07
*** dpawlik has joined #openstack-nova16:09
cfriesennow this may not actually be a problem in practice, just thought I'd raise it.16:09
kashyapcfriesen: I got dropped off my IRC proxy; what was the last message you got from me?16:11
kashyap(And if you wrote anything else after your "quick question ...", please re-post)16:11
cfriesenI just said... your numbers look a lot like it just wrote to the cache.  If the host crashes at that point, it might think it has valid data on-disk but actually have a corrupt image.  Now this might not be a problem in practice, but I thought I'd mention it.16:12
*** dpawlik has quit IRC16:13
kashyapcfriesen: Noted, but ... I spent careful 4 days talking to QEMU Block Layer maint folks.16:14
kashyapAnd not sure if my messages got through:16:14
kashyap17:05 < kashyap> cfriesen: No, I didn't do.  But, 'sync' is not required at all in this case -- why?16:14
*** agopi has joined #openstack-nova16:14
kashyap17:06 < kashyap> cfriesen: After image conversion completes successfully, QEMU issues fsync(), thus flushing the content down to disk.16:14
kashyapcfriesen: So, the numbers are correct, FWIW.  The data _is_ on disk.16:14
kashyapcfriesen: I even audited QEMU's code (with call trac) to track down 'qemu-img convert' ends up calling fsync().16:15
kashyapcfriesen: There is the call trace (since I sometimes see you pop into #qemu on OFTC :-)) -- https://kashyapc.fedorapeople.org/qemu-img-call-trace-to-fsync.txt16:15
kashyapdansmith: Hehe, saw your "church retreat" remark on the channel archives (my IRC proxy kicked me, thanks to the IDENTIFY)16:16
kashyap(I commented on that weshay asked)16:16
kashyaps/on that/on that review/16:16
cfriesenkashyap: I just did an strace of qemu-img convert, and I see it calling fdatasync() rather than fsync().  But that should still be sufficient.16:20
kashyapYes, if fdatasync() is available it is used, otherwise its cousin fsync()16:21
kashyapSee the QEMU function call trace I posted earlier :-)16:21
kashyapcfriesen: Shall I respin for the s/multiple orders/multiple times/?16:21
* kashyap has OCD (the positive kind) to get "all sentences right" :D16:22
cfriesenI did make it a nit. :)16:23
kashyapcfriesen: Saw that; that's what I was referring to16:24
cfriesenI mean, if I really thought it required a respin I'd have done -116:25
cfriesenbut if you're respinning for any other reason you could fix that up too16:25
*** ivve has quit IRC16:25
cfriesendo we need four separate commits for this?  I mean, if we make the change one place it makes sense to make it everywhere, right?16:27
*** jangutter_ has joined #openstack-nova16:27
cfriesenI've gotten flack for too-big patches though, so maybe my opinion is biased. :)16:28
*** jangutter has quit IRC16:30
kashyapcfriesen: See the discussion in the scrollback here in the channel with mdbooth (who asked for separte patches)16:31
kashyapBecause: each one is touching a completely different driver (SMBFS vs. Virtuozzo, etc)16:32
*** tbachman has quit IRC16:32
kashyap(It is the "one logical change per patch" rule.)16:32
*** tbachman has joined #openstack-nova16:33
mdboothcfriesen: Just MHO, but the potential for fallout and therefore reverts seems slightly different in each case.16:33
cfriesenokay, works for me.16:33
mdboothBut they all definitely have the same theme.16:33
mdboothcfriesen: And we can't test virtuozzo16:34
kashyapExactly, the "potential for reverts" is the thing16:34
openstackgerritKashyap Chamarthy proposed openstack/nova master: qemu: Make disk image conversion dramatically faster  https://review.openstack.org/64078116:35
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: Use 'writeback' QEMU cache mode for Nova instances  https://review.openstack.org/64198116:35
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: vzstorage: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337616:35
openstackgerritKashyap Chamarthy proposed openstack/nova master: libvirt: smbfs: Use 'writeback' QEMU cache mode  https://review.openstack.org/64337716:35
kashyapcfriesen: ^ Mind re-acking?16:35
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289916:36
cfriesenI suspect the biggest impact will be I/O usage patterns on the host, since now we'll be queueing up a bunch of writes and flushing them all at once.16:37
cfriesenkashyap: done16:37
*** gibi has quit IRC16:38
*** gibi has joined #openstack-nova16:38
kashyapcfriesen: Thank you16:38
*** agopi has left #openstack-nova16:40
*** luksky has quit IRC16:41
*** jangutter_ is now known as jangutter16:43
*** Swami has quit IRC16:45
*** tssurya has quit IRC16:45
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289916:45
*** dpawlik has joined #openstack-nova16:48
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289916:50
*** dpawlik has quit IRC16:52
*** mriedem_away is now known as mriedem16:54
*** tbachman has quit IRC16:55
*** jaosorior has quit IRC16:57
*** jaosorior has joined #openstack-nova16:58
*** dpawlik has joined #openstack-nova16:59
*** hongbin has joined #openstack-nova16:59
*** wolverineav has joined #openstack-nova16:59
*** wolverineav has quit IRC17:02
*** wolverin_ has joined #openstack-nova17:02
*** wolverin_ has quit IRC17:02
*** wolverineav has joined #openstack-nova17:02
*** dpawlik has quit IRC17:03
jackdingCould cores look at https://review.openstack.org/#/c/621646/? It's been too long.17:03
*** dakshina-ilangov has joined #openstack-nova17:05
*** rpittau is now known as rpittau|afk17:05
*** IvensZambrano has joined #openstack-nova17:05
*** udesale has quit IRC17:06
*** gyee has joined #openstack-nova17:07
*** tesseract has quit IRC17:08
*** hamzy has joined #openstack-nova17:09
*** dpawlik has joined #openstack-nova17:11
*** tbachman has joined #openstack-nova17:14
*** dpawlik has quit IRC17:15
kashyapcfriesen: Fancy having a gander at: https://review.openstack.org/#/c/631154/ (WIP: Gracefully handle QEMU machine types for guests)17:18
*** dtantsur is now known as dtantsur|afk17:18
*** psachin has quit IRC17:21
dansmithmriedem: who was asking about the infinite recursion ssl thing yesterday?17:27
dansmithoh EmilienM17:28
dansmithhttps://review.openstack.org/#/c/626952/17:28
mdboothdansmith: Yeah, so I was previously going on faith, but it didn't appear to fix the test.17:29
mdboothBut it *did* just fix the reproducer system I had direct access to.17:29
dansmithhrm, this looks weird, I'll have to do some poking17:30
mdboothIt's very weird. If you look in the BZ I have a minimal non-nova python reproducer.17:30
mdboothBased on my understanding of the eventlet bug, the issue is that we need to do monkey patching really early before importing most things.17:31
mdbooth...as some code runs at import time.17:31
dansmithyeah17:31
mdboothSo that was the goal of my patch.17:31
cfriesenkashyap: I think the blueprint name is supposed to match the spec filename17:31
mdboothHave one thing that you import first that does the monkey patching without importing anything else.17:31
*** cdent has quit IRC17:32
mdboothOSP15 bz is here: https://bugzilla.redhat.com/show_bug.cgi?id=168681717:32
openstackbugzilla.redhat.com bug 1686817 in openstack-nova "[osp15] nova is broken on the undercloud with ssl" [Urgent,Assigned] - Assigned to mbooth17:32
dansmithmdbooth: if you're patching now before importing oslo.context, I imagine that reload is no longer necessary17:33
kashyapcfriesen: Yeah, noticed it.  Can I still update the BP URL?17:33
kashyapcfriesen: I wrote that BP while still the discussions were still hot on QEMU and libvirt lists on the default17:33
cfriesenkashyap: no idea17:34
kashyapcfriesen: Where they were on the verge to change the default to 'q35', but backed out due to "maybe we're breaking backwards compat"17:34
* kashyap tries17:34
*** panda is now known as panda|off17:34
mdboothdansmith: Quite possibly, but I just moved it.17:34
dansmithyeah I know17:34
dansmithjust answering your TODO17:34
dansmither, note17:35
kashyapcfriesen: Yep, I could change it.17:35
dansmithyikun: FYI https://review.openstack.org/#/c/592285/17:37
openstackgerritKashyap Chamarthy proposed openstack/nova-specs master: WIP: Gracefully handle QEMU machine types for guests  https://review.openstack.org/63115417:37
*** derekh has quit IRC17:38
dansmithmdbooth: why are there two identical LP bugs?17:39
dansmithor am I confusing something?17:39
kashyapcfriesen: Fixed.17:40
mdboothdansmith: Unclear.17:40
mdboothdansmith: Is the other one a tripleo tracker?17:41
dansmithshouldn't be necessary with LP17:41
dansmithmdbooth: so, the cmd/__init__.py one.. does that get run by the entrypoint before anything in something like cmd/compute ? because at first glance, it seems to not move it for those commands, if it comes in the first time they import cmd.common17:42
dansmithI guess it must..17:42
mdboothdansmith: Yes, it does. The BZ is against nova compute in the undercloud, which isn't wsgi.17:42
dansmithright, okay so this ends up actually running sooner in the compute case because we've done the patching before we import utils, which imported oslo stuff?17:43
mdboothYes.17:44
dansmithbecause you changed things to run at import time, it's maybe a little more obscure, but really the fix here is detaching the monkeypatch from the utils module (or anything else that has a bunch of stuff in it)17:44
*** igordc has joined #openstack-nova17:45
*** priteau has joined #openstack-nova17:45
mdboothYeah. I don't think there's any way to avoid running anything at import time, tbh, because that's the fundamental underlying issue17:45
mdboothyou need to run monkey_patch() before importing stuff17:45
*** cdent has joined #openstack-nova17:46
dansmithno, I know.. I get that part17:46
mdboothYes. The purpose of the monkey_patch module is to do monkey patching with minimal dependencies.17:47
*** dpawlik has joined #openstack-nova17:51
*** eharney has quit IRC17:54
*** dpawlik has quit IRC17:55
mdboothdansmith: Thanks17:55
dansmithaye17:55
*** ttsiouts has quit IRC17:55
*** ttsiouts has joined #openstack-nova17:56
kashyapdansmith: If you want some fresh change of scenery, a simple catch: https://review.openstack.org/#/q/topic:bug/1818847+(status:open+OR+status:merged)17:56
dansmithI really don't17:57
kashyapHehe17:57
kashyapdansmith: It brings 15 times faster performance for image conversion :D -- https://review.openstack.org/#/c/640781/17:58
kashyapI ran it through the QEMU Block Layer maintainer, who also reviewed the patches over e-mail.  And gave their: "Looks-good-to-me'd-by", FWIW17:58
*** ttsiouts has quit IRC18:00
*** panda|off has quit IRC18:01
*** panda has joined #openstack-nova18:04
*** awaugama has quit IRC18:13
*** wolverineav has quit IRC18:16
*** ivve has joined #openstack-nova18:17
*** wolverineav has joined #openstack-nova18:19
*** wolverineav has quit IRC18:21
*** wolverineav has joined #openstack-nova18:22
*** awaugama has joined #openstack-nova18:26
*** wolverineav has quit IRC18:28
*** wolverineav has joined #openstack-nova18:29
*** IvensZambrano has quit IRC18:34
*** eharney has joined #openstack-nova18:43
*** awaugama has quit IRC18:43
mriedemsomeone want to approve these for gate goodness? https://review.openstack.org/#/q/topic:bug/1819944+(status:open+OR+status:merged)+project:openstack/nova18:46
mriedemgets the ceph portion of our live migration (+grenade) jobs running again18:46
mriedemefried: maybe you want to hit https://review.openstack.org/#/c/643150/ and melwitt can get the one below18:46
efriedmriedem:  is that reverting something?18:47
mriedemyeah in part18:47
mriedemrevert + fix18:47
mriedemit's reverting this https://review.openstack.org/#/c/643122/18:48
efriedk, Ima update commit message accordingly18:48
*** cdent has quit IRC18:48
openstackgerritEric Fried proposed openstack/nova master: Re-enable Ceph in live migration testing  https://review.openstack.org/64315018:48
efriedmriedem: done18:50
*** gmann is now known as gmann_afk18:51
mriedemthanks18:52
*** priteau has quit IRC18:56
*** awalende has joined #openstack-nova19:00
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289919:01
*** awalende has quit IRC19:04
*** wolverineav has quit IRC19:07
*** tssurya has joined #openstack-nova19:08
*** mikal has joined #openstack-nova19:08
*** mvkr has quit IRC19:10
*** mikal has quit IRC19:15
*** dakshina-ilangov has quit IRC19:15
*** awaugama has joined #openstack-nova19:16
*** priteau has joined #openstack-nova19:17
*** tbachman has quit IRC19:20
*** priteau has quit IRC19:21
edleafepython19:36
edleafedoh!19:37
*** wolverineav has joined #openstack-nova19:42
*** luksky has joined #openstack-nova19:43
*** wolverineav has quit IRC19:43
*** wolverineav has joined #openstack-nova19:44
*** wolverineav has quit IRC19:47
*** dpawlik has joined #openstack-nova19:51
*** wolverineav has joined #openstack-nova19:51
*** wolverineav has quit IRC19:52
*** wolverineav has joined #openstack-nova19:53
*** dpawlik has quit IRC19:56
*** martinkennelly has joined #openstack-nova19:59
mriedemyour secret is out19:59
martinkennellyHey all, I just inherited an openstack deployment that I do not think is consuming the whole node. It is a single node deployment of OS. How can I help it consume the whole node?20:00
*** IvensZambrano has joined #openstack-nova20:00
mriedemdrop reserved host config values for cpu/ram/disk, create finer grained flavors20:01
mriedemreally pack it tight20:01
mriedemand then not be able to resize anything....20:02
*** dpawlik has joined #openstack-nova20:02
*** dpawlik has quit IRC20:07
*** IvensZambrano has quit IRC20:09
openstackgerritMatt Riedemann proposed openstack/nova master: Start functional testing for cross-cell resize  https://review.openstack.org/63625320:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add functional test for cross-cell migrate with target host  https://review.openstack.org/64259120:23
openstackgerritMatt Riedemann proposed openstack/nova master: Validate image/create during cross-cell resize functional testing  https://review.openstack.org/64259220:23
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add confirm_snapshot_based_resize_at_source  https://review.openstack.org/63705820:23
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add ConfirmResizeTask  https://review.openstack.org/63707020:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add confirm_snapshot_based_resize conductor RPC method  https://review.openstack.org/63707520:23
openstackgerritMatt Riedemann proposed openstack/nova master: Confirm cross-cell resize from the API  https://review.openstack.org/63731620:23
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add revert_snapshot_based_resize_at_dest compute method  https://review.openstack.org/63763020:23
openstackgerritMatt Riedemann proposed openstack/nova master: Deal with cross-cell resize in _remove_deleted_instances_allocations  https://review.openstack.org/63945320:23
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add finish_revert_snapshot_based_resize_at_source compute method  https://review.openstack.org/63764720:23
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add RevertResizeTask  https://review.openstack.org/63804620:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add revert_snapshot_based_resize conductor RPC method  https://review.openstack.org/63804720:23
openstackgerritMatt Riedemann proposed openstack/nova master: Revert cross-cell resize from the API  https://review.openstack.org/63804820:23
openstackgerritMatt Riedemann proposed openstack/nova master: Confirm cross-cell resize while deleting a server  https://review.openstack.org/63826820:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add CrossCellWeigher  https://review.openstack.org/61435320:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add cross-cell resize policy rule and enable in API  https://review.openstack.org/63826920:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add zones wrinkle to TestMultiCellMigrate  https://review.openstack.org/64345020:23
openstackgerritMatt Riedemann proposed openstack/nova master: Add negative test for cross-cell finish_resize failing  https://review.openstack.org/64345120:23
*** awaugama has quit IRC20:25
*** priteau has joined #openstack-nova20:26
mriedemsob, time to rebase20:30
mriedem44 changes20:30
openstackgerritMatt Riedemann proposed openstack/nova master: Add functional recreate test for bug 1818914  https://review.openstack.org/64152120:34
openstackbug 1818914 in OpenStack Compute (nova) "Hypervisor resource usage on source still shows old flavor usage after resize confirm until update_available_resource periodic runs" [Low,In progress] https://launchpad.net/bugs/1818914 - Assigned to Matt Riedemann (mriedem)20:34
openstackgerritMatt Riedemann proposed openstack/nova master: Remove unused context parameter from RT._get_instance_type  https://review.openstack.org/64179220:34
openstackgerritMatt Riedemann proposed openstack/nova master: Update usage in RT.drop_move_claim during confirm resize  https://review.openstack.org/64180620:34
openstackgerritMatt Riedemann proposed openstack/nova master: Fix ProviderUsageBaseTestCase._run_periodics for multi-cell  https://review.openstack.org/64117920:34
openstackgerritMatt Riedemann proposed openstack/nova master: Improve CinderFixtureNewAttachFlow  https://review.openstack.org/63938220:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add Migration.cross_cell_move and get_by_uuid  https://review.openstack.org/61401220:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add InstanceAction/Event create() method  https://review.openstack.org/61403620:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add Instance.hidden field  https://review.openstack.org/63112320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add TargetDBSetupTask  https://review.openstack.org/62789220:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add CrossCellMigrationTask  https://review.openstack.org/63158120:34
openstackgerritMatt Riedemann proposed openstack/nova master: Execute TargetDBSetupTask  https://review.openstack.org/63385320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add can_connect_volume() compute driver method  https://review.openstack.org/62131320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add prep_snapshot_based_resize_at_dest compute method  https://review.openstack.org/63329320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add PrepResizeAtDestTask  https://review.openstack.org/62789020:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add prep_snapshot_based_resize_at_source compute method  https://review.openstack.org/63483220:34
*** marst has quit IRC20:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add nova.compute.utils.delete_image  https://review.openstack.org/63760520:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add PrepResizeAtSourceTask  https://review.openstack.org/62789120:34
openstackgerritMatt Riedemann proposed openstack/nova master: Refactor ComputeManager.remove_volume_connection  https://review.openstack.org/64218320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Deal with cross-cell resize in _remove_deleted_instances_allocations  https://review.openstack.org/63945320:34
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add finish_revert_snapshot_based_resize_at_source compute method  https://review.openstack.org/63764720:34
openstackgerritMatt Riedemann proposed openstack/nova master: WIP: Add RevertResizeTask  https://review.openstack.org/63804620:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add revert_snapshot_based_resize conductor RPC method  https://review.openstack.org/63804720:34
openstackgerritMatt Riedemann proposed openstack/nova master: Revert cross-cell resize from the API  https://review.openstack.org/63804820:34
openstackgerritMatt Riedemann proposed openstack/nova master: Confirm cross-cell resize while deleting a server  https://review.openstack.org/63826820:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add CrossCellWeigher  https://review.openstack.org/61435320:34
openstackgerritMatt Riedemann proposed openstack/nova master: Add cross-cell resize policy rule and enable in API  https://review.openstack.org/63826920:34
mgoddardhi nova. Hitting an issue on ubuntu bionic where libvirt has a guest arch (armv6l) unknown to nova, causing nova-compute to error20:37
mgoddardInvalidArchitectureName: Architecture name 'armv6l' is not recognised20:38
mgoddardhttp://logs.openstack.org/08/643308/4/check/kolla-ansible-ubuntu-source/eee856d/primary/logs/kolla/nova/nova-compute.txt.gz#_2019-03-14_19_11_31_70920:38
mgoddardIs this a known issue?20:38
mgoddardqemu 2.11.120:42
mgoddardlibvirt 4.0.020:42
melwittlooks like it, if the arch isn't in this list, calls to canonicalize() will raise that exception https://github.com/openstack/nova/blob/master/nova/objects/fields.py#L10220:43
*** priteau has quit IRC20:43
mgoddardmelwitt: better hope no one invents any new arches after a nova release then :)20:44
melwitthaha, yeah20:45
*** hamzy has quit IRC20:45
melwittI don't know the story behind it, dansmith or someone might know20:45
dansmiththe story behind why we have enums?20:45
mgoddardmelwitt: I'll push a patch for armv6l, but maybe an item for the nova team TODO list to make it a bit more resilient to the unknown?20:45
melwittdansmith: yeah, why it's a limited set that has to be added to when new arch arrive20:46
dansmithmelwitt: kindof the definition of an enum right?20:46
melwittdansmith: well, ok, then yes, why we have enum. you know what I mean20:46
dansmithwe have enums for known image properties so one we don't support doesn't sneak into place, and we have enums for virt drivers for ...20:46
*** takashin has joined #openstack-nova20:47
dansmithI mean, everything on the wire could just be strings and dicts, but, the whole point of this stuff was to nail it down so we could tell when something changed20:47
melwittmgoddard: in what way, a better error maybe? like ArchitectureUnknown?20:47
mgoddardthe problem here is that a new arch in libvirt capabilities causes nova-compute to fail20:47
mgoddardit doesn't have to support the arch, but it shouldn't break everything else20:48
dansmithsure, so the driver maybe should catch the failure to set the enum, log an error and exit on startup20:49
mgoddardexit?20:50
melwittnova meeting in 10 min20:50
mgoddardI don't think that libvirt adding an obscure new arch should break nova20:51
dansmithmgoddard: I haven't clicked on your link so I don't know what's happening specifically20:51
dansmithmgoddard: obviously if it's just a new supported emulated arch, then the driver just needs to not fail when it can't set that on an object, for sure20:51
mgoddarddansmith: +120:51
melwittok, looks like update_available_resource is raising because of the unknown arch20:51
dansmithmgoddard: if it's something more fundamental like it's the native system arch or something, it would make sense for it to not start if it isn't going to function20:52
melwittI know we've talked before about whether we should except-continue for things that raise during update_available_resource. maybe this would be an acceptable one. for anything else, we let it halt20:52
*** helenafm has quit IRC20:53
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289920:53
dansmithit of course depends on the context of the issue20:53
dansmithif it's unable to do something fundamental, it should abort20:53
dansmithif it just can't expose support for some thing because of a new libvirt (which is sounds like in this case) then of course it should just not break on forward compat20:54
melwittyeah, I mean in update_available_resource, if InvalidArchitectureName is raised20:54
dansmithit's some virt specific place it's crashing I imagine, so it would be in there, not directly in update_available_resource()20:55
dansmithyou surely don't want the resource tracker ignoring something like ArchNotSupported20:55
dansmithbut the libvirt driver can know if it's okay to skip that20:55
melwittoh20:55
dansmith_get_instance_capabilities()20:56
dansmithjust needs to catch and ignore that20:56
openstackgerritMark Goddard proposed openstack/nova master: Add armv6l to Architecture enum  https://review.openstack.org/64345520:56
mriedemthis is why it breaks https://review.openstack.org/#/c/356067/20:56
mriedemi mean, there is no major reason for that change except "use the enums we have"20:56
mriedemw/o considering side effects20:56
mgoddardI'll leave this one in your capable hands - it's long past home time here. Thanks for your input20:57
dansmithmriedem: one reason (even if presumptive) so that each driver doesn't call the arches something slightly different causing the api to return inconsistent results20:57
mriedemit would blow up before that as well https://review.openstack.org/#/c/356067/12/nova/compute/arch.py20:57
mriedemso this is super latent behavior20:57
mriedemdansmith: like the 50 different ways to describe power20:58
dansmithpoint being, the bug (aside from the missing arch) is just in the libvirt driver being stupid20:58
dansmithwe need a catch and ignore right here, is all: https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5942-L594520:59
melwittmgoddard: ok, thanks for letting us know. I can open a bug for that and propose a patch, if no one else wants to20:59
* melwitt switches to nova meeting21:00
*** wolverineav has quit IRC21:00
dansmithmelwitt: I'm already rage typing it21:00
mriedemi would not be surprised if that value is used elsewhere though21:00
melwittdansmith: cool21:00
mriedemand could blow up elsewhere21:00
dansmithmriedem: could be, but it's clearly wrong for that loop to not continue21:01
*** wolverineav has joined #openstack-nova21:01
mriedemyeah sure21:01
mriedemjust exclude that one with a warning i guess21:01
*** marst has joined #openstack-nova21:01
dansmithI don't thin it should even be that, otherwise we'll log that over and over for every instance and every run of the periodic21:02
mriedemoh right this is the periodic21:02
mriedemwell you could log once and set a flag in the driver instance, or are you just going to exit?21:02
dansmithno, not exit that makes no sense, just continue the loop21:03
dansmithnova should expose whatever arches libvirt reports that it supports, that's really all21:03
dansmiththis code is intending to do that, assuming it knows about everything21:03
openstackgerritDan Smith proposed openstack/nova master: Avoid crashing while getting libvirt capabilities with unknown arch names  https://review.openstack.org/64345821:11
openstackgerritDan Smith proposed openstack/nova master: Avoid crashing while getting libvirt capabilities with unknown arch names  https://review.openstack.org/64345821:14
*** itlinux has joined #openstack-nova21:17
*** hrw has joined #openstack-nova21:21
*** dpawlik has joined #openstack-nova21:23
mriedemjroll: TheJulia: fyi https://bugs.launchpad.net/nova/+bug/181579921:26
openstackLaunchpad bug 1815799 in OpenStack Compute (nova) "Attempting to delete a baremetal server places server into ERROR state" [Low,Confirmed]21:26
mriedemmaybe a simple retry loop in the ironic driver on node destroy would solve that21:27
*** mriedem is now known as mriedem_away21:27
*** dpawlik has quit IRC21:27
TheJuliamriedem_away: we should be able to just pass on it if if we've already started the process of deleting the node in ironic21:28
* TheJulia thought someone was working on this21:28
*** whoami-rajat has quit IRC21:31
*** BjoernT has quit IRC21:34
*** dpawlik has joined #openstack-nova21:34
*** wolverineav has quit IRC21:36
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in virt/test_block_device.py  https://review.openstack.org/56615321:36
*** wolverineav has joined #openstack-nova21:37
openstackgerritTakashi NATSUME proposed openstack/nova master: Fix cleaning up console tokens  https://review.openstack.org/63771621:37
*** dpawlik has quit IRC21:38
openstackgerritMarcin Juszkiewicz proposed openstack/nova master: virt/arch: use 'armv6l' for ARMV6 architecture  https://review.openstack.org/64346721:44
hrwthat ^^ change may fix Kolla CI error21:46
*** tbachman has joined #openstack-nova21:51
*** tssurya has quit IRC21:55
melwittdansmith ^21:57
hrwand sorry for writing 3rd patch to what looks the same22:02
hrwdansmith: after reading https://review.openstack.org/#/c/643458 and https://review.openstack.org/#/c/643455 I think that 643355 is wrong, your patch is good (left comment) and mine https://review.openstack.org/643467 just fixes to comply with capabilities contents22:07
hrwbut that's me - random guy from the internet D:22:07
*** dpawlik has joined #openstack-nova22:09
openstackgerritMerged openstack/nova master: Customize irrelevant-files for nova-live-migration job  https://review.openstack.org/64334622:13
openstackgerritMerged openstack/nova master: Re-enable Ceph in live migration testing  https://review.openstack.org/64315022:13
*** dpawlik has quit IRC22:13
*** pcaruana has quit IRC22:21
openstackgerritEric Fried proposed openstack/nova master: WIP/PoC: Bypass ironicclient for node.get  https://review.openstack.org/64289922:21
*** marst has quit IRC22:25
dansmithmelwitt: what are you pointing me to?22:26
melwittdansmith: hrw's patch https://review.openstack.org/64346722:27
melwittit's related to the unknown arch blowup, sort of22:28
dansmithyeah, I'm not sure which is the official arch name and/or if they're both legit as I'm not an arm specialist22:28
dansmithbut my patch is still something we should do as (as hrw said)22:28
hrwdansmith: armv6 armv6l depends on kernel.22:29
melwitthrw: if you think https://review.openstack.org/643455 is wrong, it would be helpful to put your comment on it about why. I'm curious anyway22:29
dansmithhrw: my concern would be it might also depend on libvirt behavior22:29
melwittdansmith: yeah, not saying your patch isn't something we should do. just that along that line, if you knew anything about changing that enum, hrw's patch was there22:29
dansmithhrw: because if the l just means long or something, then I would expect both or either could be emulatable22:29
dansmithmelwitt: hopefully it's obvious that hrw's patch to change the value of the enum is not okay :)22:30
melwittdansmith: gah, I thought maybe you could comment on the review22:31
*** wolverineav has quit IRC22:31
melwittnevermind me22:31
hrwdansmith: libvirt mentions only armv6l and armv7l.22:31
dansmithmelwitt: I just did22:31
melwittthanks22:32
dansmithhrw: on your system you mean right?22:32
hrwhttps://gitlab.com/search?utf8=%E2%9C%93&snippets=&scope=&search=VIR_ARCH_ARMV6L&project_id=192693#L3022:32
hrwin libvirt code22:32
dansmithhrw: okay, like I said, I'm not really able to say whether armv6 or armv6l (or both) are right22:33
dansmithbut we can't just make the change you've proposed because it has effects to versioned objects and will break communication between services22:33
hrwok.22:33
hrwperfectly fine for me.22:34
dansmithhrw: I will say, if you're right that it's always armv6l, then we definitely need a variant of your patch over mgoddard's22:34
hrwdansmith: let me discuss it tomorrow with libvirt guys, ok?22:34
hrw23:34 here22:34
dansmithsure22:35
hrwas nova/virt/libvirt gets capabilities from libvirt so is it armv6 or armv6l is more or less their decision. if they say 'no, it was always armv6z' then we both are wrong22:36
*** ivve has quit IRC22:36
*** wolverineav has joined #openstack-nova22:36
dansmithyeah22:36
hrwthe good point is that armv6 is not able to be a host so it is only guest issue22:36
openstackgerritKevin Rasmussen proposed openstack/nova master: created AggregateSubnetAvailabilityFilter  https://review.openstack.org/63317822:38
dansmithI'm not sure that's relevant to the thing that nova has to do in this case, but.. okay :)22:38
hrwnothing in this case ;D22:38
*** gmann_afk is now known as gmann22:40
hrwok, went, asked, go to sleep. wake up in ~6h22:42
dansmithgo :)22:42
hrwand I promised myself to not play with nova for at least a year... ;d22:44
hrwhave a nice day22:44
*** rcernin has joined #openstack-nova23:00
*** tkajinam has joined #openstack-nova23:02
openstackgerritEric Fried proposed openstack/nova master: Remove [ironic]api_endpoint option  https://review.openstack.org/64348323:03
openstackgerritJulia Kreger proposed openstack/nova master: [ironic] ignore conflict upon cleaning up node  https://review.openstack.org/64348423:03
TheJuliamriedem_away: melwitt: ^^^23:03
*** wolverineav has quit IRC23:04
*** hongbin has quit IRC23:04
melwittTheJulia: commented. I had thought jroll or someone had said we shouldn't do that in _cleanup_deploy unilaterally23:06
TheJuliaI really don't know what to do then23:07
* TheJulia thinks through it for a few23:08
*** wolverineav has joined #openstack-nova23:08
*** martinkennelly has quit IRC23:09
melwittTheJulia: well, I just mean that try-except would move to the destroy() method23:10
TheJuliaI'm checking to see if we can do that23:11
*** luksky has quit IRC23:11
melwittif I'm remembering correctly that it should be done for all clean deploys. I might be wrong23:11
melwitt*shouldn't23:11
*** wolverineav has quit IRC23:11
*** wolverineav has joined #openstack-nova23:12
*** _pewp_ has quit IRC23:13
*** _pewp_ has joined #openstack-nova23:14
TheJuliawell, making sure we nuke everything and if we can just tolerate it on a destroy23:14
*** mvkr has joined #openstack-nova23:18
TheJuliamelwitt: looks like we can tolerate a conflict anywhere along there because ironic will do cleanup. Some of the things more recently, but yeah... we should be good to just move it23:19
melwittTheJulia: ok. maybe we'll double check with jroll first before you change anything. bc I'm not 100% sure I remembered that right and don't remember what date to look for #openstack-ironic logs23:20
TheJuliamelwitt: I just double checked the paths and coductor behavior23:20
melwittTheJulia: oh, sorry, I misunderstood. you confirmed it should be only for destroy() and not all cleanup deploy23:20
TheJuliayeah23:21
melwittok, cool23:21
*** mriedem_away has quit IRC23:23
*** slaweq has quit IRC23:25
*** tosky has quit IRC23:26
openstackgerritJulia Kreger proposed openstack/nova master: [ironic] ignore conflict upon cleaning up node  https://review.openstack.org/64348423:27
TheJuliamelwitt: ^^23:27
melwittcoolness23:28
melwittTheJulia: there's comments on PS1 about whether it's ok to ignore any and all conflict (only one way that conflict can occur)23:29
melwittif you could reply and confirm that23:30
*** gyee has quit IRC23:34
openstackgerritTakashi NATSUME proposed openstack/nova master: Add description about sort order in API ref guideline  https://review.openstack.org/62728223:36
*** wolverineav has quit IRC23:41
*** wolverineav has joined #openstack-nova23:42
*** wolverineav has quit IRC23:46
*** wolverineav has joined #openstack-nova23:49
*** wolverineav has quit IRC23:53
*** wolverineav has joined #openstack-nova23:55
*** wolverineav has quit IRC23:56
*** wolverineav has joined #openstack-nova23:56
*** wolverineav has quit IRC23:58

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