Earlier  
Posted Nick Remark
#openstack-nova - 2019-07-31
11:43:15 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Parse the 'os' element from domainCapabilities https://review.opendev.org/673790
11:44:10 kashyap aspiers: Okay, an idea for your problem
11:44:38 kashyap aspiers: I learnt from Laszlo (OVMF maintainer) in the past that there's a QEMU debug port which captures OVMF error messages
11:44:49 kashyap aspiers: But, it requires you explicitly adding it in. This waY:
11:45:00 kashyap <qemu:commandline>
11:45:00 kashyap <qemu:arg value='-global'/>
11:45:00 kashyap <qemu:arg value='isa-debugcon.iobase=0x402'/>
11:45:00 kashyap <qemu:arg value='-debugcon'/>
11:45:00 kashyap <qemu:arg value='file:/tmp/ovmf.fedora.q35.log'/>
11:45:05 kashyap </qemu:commandline>
11:45:25 kashyap aspiers: To your test. (Yes, we're doing QEMU 'commandline' passthrough - because we're debugging)
11:45:30 kashyap s/test/guest/
11:45:56 kashyap Then, the error message can be read there
11:46:25 aspiers I'm not expecting any error though
11:46:30 aspiers it just stops at the UEFI shell prompt
11:46:38 aspiers as if that's what was supposed to happen
11:46:49 kashyap Hmm. What is different in Leap, compared to SLES?
11:46:58 aspiers It's the same guest image
11:47:02 aspiers only the hypervisor stack changed
11:47:29 kashyap aspiers: And previously your host was Ubuntu?
11:47:38 aspiers what?!
11:47:43 kashyap Hehe
11:47:43 aspiers wash your mouth out!
11:47:55 aspiers heathen
11:47:58 aspiers ;-)
11:48:10 kashyap aspiers: I'm just trying to understand the env 'before' and 'after'
11:48:11 aspiers It was working fine on SLES12 SP4, broken on Leap 15.0
11:48:22 kashyap Ah, okay.
11:48:23 aspiers which are supposed to be close IIRC
11:48:39 kashyap Right, Leap is upstream
11:49:38 kashyap aspiers: How about you try to create a guest from scratch on Leap 15.0?
11:49:57 kashyap Ideally 'virt-install' + "kickstart" (assuming SUSE has such a concept, too)
11:50:08 aspiers autoyast
11:50:21 kashyap Right
11:50:34 aspiers I think I was writing ks.cfg files in the 1990s though
11:50:42 aspiers certainly a lot in the early 2000s
11:50:53 kashyap I just a plain minimal '@core' only
11:51:10 aspiers autoyast was way more powerful, at least until 2010
11:51:11 kashyap See the bits after "fkstart" here: https://kashyapc.fedorapeople.org/Create-a-SecureBoot-enabled-VM.bash
11:51:13 aspiers no idea these days
11:51:23 kashyap aspiers: You wouldn't believe, 10 years ago I _was_ using SUSE :-)
11:51:30 aspiers haha I would
11:51:30 kashyap Why wouldn't you believe? It's perfectly believable
11:51:36 aspiers many people did
11:51:42 aspiers especially in the 1990s
11:52:11 kashyap And my laptop has SUSE chamelon stickers, too
11:52:53 aspiers :-O
11:53:00 aspiers you didn't get fired for that?
11:53:05 aspiers X-D
11:53:30 kashyap Not to mention: https://kashyapc.fedorapeople.org/geeko-key.jpg
11:55:06 kashyap aspiers: So back to the problem, I have no other ideas why it's stuck like that. Maybe as an experiment: re-install the image from scratch on Leap 15, _and_ try _that_ image on SLES12 SP4
11:55:27 aspiers well the image was built in OBS using kiwi
11:55:29 aspiers not manually
11:55:33 sean-k-mooney aspiers: at least kashyap uses fedora as his distro on his laptop unlike me...
11:55:34 kashyap Hmm
11:56:05 aspiers ah you patched the win key, nice
11:56:14 aspiers sean-k-mooney: don't tell me, Ubuntu
11:56:15 kashyap I'm also an official Fedora packager. Also the Virt Stack support is unparalleled on Fedora. "Eating your own cooking" and all that.
11:56:36 sean-k-mooney aspiers: technically pop-OS but its based on ubuntu
11:56:56 aspiers We have a few SUSE employees who use Ubuntu as their base OS. My mind explodes every time I see it
11:57:02 kashyap aspiers: Unrelated, before I go for a break, I still need tests here, but please tell me if I did anything glaringly wrong: https://review.opendev.org/#/c/673790/
11:57:23 sean-k-mooney aspiers: we also have people that use windows and mac
11:57:34 aspiers sean-k-mooney: I can almost understand that more
11:57:35 sean-k-mooney as long as you get your work donw people dont really care
11:57:48 kashyap sean-k-mooney: Not quite...
11:57:55 aspiers but if you're gonna use Linux, why not use the distro you're being paid to improve?
11:58:09 sean-k-mooney im not being paid to imporve it
11:58:12 kashyap I'd say, if you're at a Linux company, doing Linux-based dev. "Suffer the pain" and use Linux.
11:58:12 sean-k-mooney i dont work on rhel
11:58:22 kashyap No ifs, buts or maybes.
11:58:22 aspiers kashyap: I'm with you on this
11:58:36 kashyap It's not about "working on RHEL".
11:58:49 sean-k-mooney and i didnt join redhat for any of its products. i joined sole to work with people i enjoyed working with upstream
11:59:07 sean-k-mooney i am waiting for cento8 to come out however
11:59:13 kashyap Heh, yes
11:59:14 sean-k-mooney i would like to try it out
12:00:22 aspiers kashyap: you meant to add <enum> to the sparc fixture?
12:01:14 aspiers kashyap: https://review.opendev.org/#/c/673790/1/nova/virt/libvirt/config.py@165 that [] looks wrong
12:01:26 aspiers since you're not appending <os> to a list
12:05:11 aspiers kashyap: also please think about +1'ing https://review.opendev.org/#/c/348394/ as per my newest comment
12:13:42 kashyap aspiers: Oh, right. That [] is wrong. Indeed, one 'os' element
12:14:01 aspiers Thank god I'm actually some use as a reviewer occasionally
12:14:26 kashyap aspiers: Don't be silly, you know you give useful remarks a lot of times
12:14:36 aspiers sometimes I wonder ;-)
12:14:41 aspiers journalctl -f | lnav is truly a gift from the gods
12:14:55 aspiers if you haven't discovered the joys of lnav, do so immediately
12:15:07 aspiers http://lnav.org/
12:15:12 kashyap aspiers: On that other bug from Dirk -- I'll repost the patch with CentOS fix, too. And think more
12:15:29 aspiers kashyap: thanks. Yeah just upload a new patchset?
12:15:39 kashyap aspiers: Yea, brewing
12:16:04 kashyap aspiers: I take it that you've read my full comment on that patch; thanks
12:16:09 kashyap aspiers: On lnav - I noticed it, but haven't used it much
12:16:22 aspiers You should, it's insanely good
12:16:31 aspiers worth it for the histogram feature alone
12:16:34 sean-k-mooney yep
12:16:40 sean-k-mooney i found it like a year ago
12:16:43 sean-k-mooney its really nice
12:16:56 aspiers sean-k-mooney: did you know about "lnav -i extra" ?
12:17:04 aspiers my 3rd party repo gets included
12:17:05 sean-k-mooney i havent use that really but i like its ablity to filter things

Earlier   Later