| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-07-31 | |||
| 10:38:54 | kashyap | # Only available from for libvirt 5.4 or above | |
| 10:38:54 | kashyap | $> virsh domcapabilities --machine q35 | xpath -q -e "//enum[@name='firmware']/value/text()" | |
| 10:38:58 | kashyap | efi | |
| 10:39:08 | kashyap | And this one (available for much older libvirts): | |
| 10:39:10 | kashyap | $> virsh domcapabilities --machine q35 | xpath -q -e "//loader/value/text()" | |
| 10:39:13 | kashyap | /usr/share/edk2/ovmf/OVMF_CODE.fd | |
| 10:46:14 | kashyap | aspiers: Ignore the pastebin; just spotted more problems w/ it | |
| 10:46:23 | aspiers | OK | |
| 10:46:46 | aspiers | I get Cannot open file '-q' at /usr/lib/perl5/vendor_perl/5.18.2/XML/XPath.pm line 53. | |
| 10:46:52 | aspiers | my xpath doesn't like -q or -e | |
| 10:47:16 | aspiers | from perl-XML-XPath-1.13-99.19.x86_64 | |
| 11:13:28 | openstackgerrit | Luyao Zhong proposed openstack/nova master: Indroduce new LibvirtConfigGuestPMEM https://review.opendev.org/672956 | |
| 11:13:29 | openstackgerrit | Luyao Zhong proposed openstack/nova master: Populates existing pmems in libvirt device manager https://review.opendev.org/672957 | |
| 11:13:29 | openstackgerrit | Luyao Zhong proposed openstack/nova master: Report pmem namespaces resources by provider tree https://review.opendev.org/634551 | |
| 11:13:30 | openstackgerrit | Luyao Zhong proposed openstack/nova master: Support instance creation and resize with pmems https://review.opendev.org/672958 | |
| 11:41:56 | fanzhang | Hey, I recently hit the bug https://bugs.launchpad.net/nova/+bug/1836204, and I was wondering why can't we just delete the mdevs after destroy the guest, and always create new mediated devices when booting instance? Is there any special reason why not clean mdevs up after deleting vms? | |
| 11:41:56 | openstack | Launchpad bug 1836204 in OpenStack Compute (nova) "The allocation of VGPU has race problem" [High,Triaged] - Assigned to Alex Xu (xuhj) | |
| 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 | |