| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-05-17 | |||
| 13:25:04 | kashyap | aspiers: Haha | |
| 13:25:09 | aspiers | I'm sure sean-k-mooney could comment on whether this change would be useful for that bp | |
| 13:25:14 | efried | something something bowels when I wake up in general | |
| 13:25:17 | kashyap | aspiers: You got attacked by ZombieLoad | |
| 13:25:33 | aspiers | efried: TMI X-D | |
| 13:25:47 | efried | no doubt | |
| 13:26:00 | aspiers | on the plus side, I actually managed to get out of bed before 9am for the first time since Denver | |
| 13:26:06 | kashyap | aspiers: It's definitely useful -- as that _allows_ querying for the models. | |
| 13:26:11 | aspiers | but getting out of bed doesn't imply waking up | |
| 13:26:16 | aspiers | kashyap: right | |
| 13:26:57 | kashyap | aspiers: Wauw, I thought it was just me, whose sleep cycle got completely botched since Denver. | |
| 13:27:05 | aspiers | nope | |
| 13:27:14 | efried | my sleep cycle has been fine, thank you. | |
| 13:27:15 | aspiers | mine's been botched ever since SUSECON :-( | |
| 13:27:27 | kashyap | aspiers: I kept thinking: "No, it can't be Denver, it's been more than 8 days") | |
| 13:27:38 | efried | Shanghai will be a different story | |
| 13:27:42 | aspiers | oh god | |
| 13:27:47 | kashyap | efried: Right, enjoy :D | |
| 13:27:50 | aspiers | funny thing is, I was fine for Sydney | |
| 13:27:59 | aspiers | but then I made sleep spreadsheets for that trip, and stuck to them religiously | |
| 13:28:21 | aspiers | and with that teaser hanging, I'm really off for lunch | |
| 13:29:52 | cdent | I got the jetlag so hard | |
| 13:30:19 | sean-k-mooney | aspiers: which change was that? | |
| 13:30:39 | efried | sean-k-mooney: We're asking whether https://review.opendev.org/#/c/655268/ might be relevant to https://blueprints.launchpad.net/nova/+spec/libvirt-video-device-models | |
| 13:30:57 | sean-k-mooney | efried: oh not really | |
| 13:30:59 | efried | k | |
| 13:31:05 | efried | aslo | |
| 13:31:09 | efried | also* | |
| 13:31:11 | sean-k-mooney | that is not reported in the capablities api | |
| 13:31:14 | efried | could you review that patch please? | |
| 13:31:19 | efried | :) | |
| 13:31:21 | sean-k-mooney | ya | |
| 13:31:23 | efried | thanks | |
| 13:32:16 | sean-k-mooney | actully it looks like it has been added since i last looked | |
| 13:32:21 | sean-k-mooney | so i guess i could use it | |
| 13:32:31 | sean-k-mooney | i had planned to just to version checks | |
| 13:32:56 | sean-k-mooney | basically reusing the tables we already have in the code | |
| 13:33:45 | sean-k-mooney | like this one https://github.com/openstack/nova/blob/master/nova/virt/libvirt/vif.py#L67-L100 | |
| 13:35:15 | sean-k-mooney | so for disk bus and video yes i can use it but vif models are not repored and it will have to use the table approach | |
| 13:35:59 | stephenfin | kashyap, efried, aspiers: I can take a look at that now. Was Bugzilla wrangling this morning | |
| 13:36:24 | kashyap | stephenfin: Completely understand; aspiers diligently worked through all the feedback. I can't punch any holes in the change | |
| 13:36:36 | sean-k-mooney | hum actully i will have to use both as it look that info is not there for older libvirt | |
| 13:36:47 | kashyap | stephenfin: And it's a _very_ useful infrastructure patch that helps other features as well. So that can be merged regardless of SEV | |
| 13:37:01 | kashyap | (Although, aspiers might be shaking his fist at me, as I said "regardless of SEV") | |
| 13:37:33 | sean-k-mooney | kashyap: aspiers wehre did the fake libvirt capablites xml come form? | |
| 13:37:48 | sean-k-mooney | aspiers: did you take it form you machine? | |
| 13:38:40 | stephenfin | sean-k-mooney: I was just about to ask the same question :) | |
| 13:39:12 | kashyap | sean-k-mooney: I'd guess so, from his test box | |
| 13:39:31 | sean-k-mooney | this is what i get on my desktop | |
| 13:39:32 | sean-k-mooney | http://paste.openstack.org/show/751512/ | |
| 13:39:34 | stephenfin | Hmm, Fedora doesn't come with libvirt out-of-the-box | |
| 13:39:55 | sean-k-mooney | running libvirt 5.2.0 | |
| 13:40:03 | stephenfin | sean-k-mooney: That's capabilities, not domain capabilities | |
| 13:40:16 | stephenfin | There's a difference in command and output but I'm trying to remember what it is | |
| 13:40:48 | sean-k-mooney | ah i have this for that http://paste.openstack.org/show/751514/ | |
| 13:41:17 | sean-k-mooney | can we ask them to add interface to that list | |
| 13:41:58 | sean-k-mooney | i get similar output on 4.0.0 | |
| 13:42:04 | stephenfin | Those are available under a subcommand, but I don't recall what that's called either | |
| 13:42:07 | sean-k-mooney | so i guess it been around for a while | |
| 13:42:40 | sean-k-mooney | its sudo virsh domcapabilities | |
| 13:42:55 | stephenfin | no, for the interface capabilities | |
| 13:43:12 | sean-k-mooney | oh well there are two things | |
| 13:43:23 | sean-k-mooney | there are the physical nic feature flags | |
| 13:43:37 | sean-k-mooney | and what virtual nics qemu can emulate | |
| 13:44:03 | sean-k-mooney | the nic feature flags are under the nodedev-dumpxml command | |
| 13:44:07 | kashyap | sean-k-mooney: It renders the same data without `sudo`, too. (With the ultra-minor diff being: with `sudo` it links to actual emulator path /usr/bin/qemu-system-x86_64; instead of the wrapper /usr/bin/qemu-kvm) | |
| 13:44:08 | stephenfin | ah, I was referring to the former in this case actually, my bad | |
| 13:44:20 | sean-k-mooney | the models that can be emulated are not available | |
| 13:44:22 | openstackgerrit | Guo Jingyu proposed openstack/nova master: Skip existing VMs when hosts apply force_config_drive https://review.opendev.org/659703 | |
| 13:44:46 | stephenfin | Remind me, what's the "is my system set up correctly for KVM" command? | |
| 13:45:02 | sean-k-mooney | kvm-ok | |
| 13:45:49 | stephenfin | ta | |
| 13:46:25 | sean-k-mooney | its part of the cpu-its part of the cpu-checker package if you dont have it installed | |
| 13:46:42 | stephenfin | ta x2 :) | |
| 13:47:26 | sean-k-mooney | its also only available on debian/ubuntu i think :) | |
| 13:47:48 | sean-k-mooney | so if you use somethin else all its doing is checking for /dev/kvm and checik lsmod for kvm | |
| 13:47:52 | stephenfin | So it would seem. Damn. I thought libvirt provided some tool for this but maybe I'm mistaking it for something | |
| 13:48:28 | sean-k-mooney | on and /proc/cpu-info for vmx or svm | |
| 13:48:49 | sean-k-mooney | you can tell form virsh capablityes | |
| 13:48:51 | stephenfin | Yeah, I went and did it manually instead. All good now | |
| 13:49:05 | sean-k-mooney | it list the emulator that can be run | |
| 13:49:21 | sean-k-mooney | if you dont se a hvm section then you cant use kvm | |
| 13:49:26 | stephenfin | I was seeing "error: invalid argument: unable to find any emulator to serve 'x86_64' architecture" because I hadn't installed qemu-kvm yet, assuming libvirt would do it by default | |
| 13:49:32 | stephenfin | *installing libvirt | |
| 13:50:10 | sean-k-mooney | or do sudo virsh capabilities | grep "<domain type='kvm'>" | |
| 13:50:41 | sean-k-mooney | stephenfin: libvirt does not install qemu by defualt | |
| 13:50:48 | stephenfin | In any case, I'm seeing something similar to you but I've got references to the OVMF stuff | |
| 13:50:53 | stephenfin | Yup, I know that now :) | |
| 13:51:03 | sean-k-mooney | and annoying installing qemu-kvm does not install qemu anymore... | |
| 13:51:50 | stephenfin | and I'm missing the virtio disk models, oddly | |
| 13:52:08 | sean-k-mooney | strange | |
| 13:52:35 | sean-k-mooney | you have installed qemu and qemu kvm packages and restarted libvirtd after | |
| 13:52:52 | sean-k-mooney | what os are you testing by the way | |
| 13:53:33 | stephenfin | Yeah. Not the end of the world though | |
| 13:53:35 | stephenfin | Fedora 30 | |
| 13:53:50 | stephenfin | Hold your "popOS!" comments now :P | |
| 13:53:51 | sean-k-mooney | stephenfin: they have been makign the qemu packages modular | |
| 13:54:06 | sean-k-mooney | have you tried gentoo :P | |
| 13:54:27 | stephenfin | No, I figured I should give Slackware a shot first | |
| 13:54:54 | sean-k-mooney | gentoo is the most painful disto i have used even more painful then linux form scratch | |