Earlier  
Posted Nick Remark
#openstack-nova - 2019-01-15
10:53:35 brinzhang I don't particularly understand which files are included?
10:54:10 brinzhang For example the devstack folder?
10:54:13 Kevin_Zheng and systemd files
10:54:29 Kevin_Zheng check your apache2/site-enabled
11:26:28 kashyap time tox -e docs
11:26:53 kashyap Oeps, false window
11:33:21 kashyap stephenfin: Before I waste too much time on this, the `below <`Prerequisites`>__ hyperlink to a section in rST doesn't seem to fly :-(
11:33:27 kashyap The result: http://logs.openstack.org/27/629627/5/check/openstack-tox-docs/bde0494/html/admin/Prerequisites
11:33:43 kashyap Source on line-19: https://review.openstack.org/#/c/629627/5/doc/source/admin/secure-live-migration-with-qemu-native-tls.rst@19
11:34:17 stephenfin kashyap: Ah, whoops. `below <#Prerequisites>`__
11:34:29 kashyap Darn, was just reading the man page.
11:34:33 stephenfin kashyap: Alternatively, :ref:`below <Prerequisites>`
11:34:42 kashyap Yeah, read the :ref: too
11:34:50 kashyap It is a so subtly frustrating that it tests my stoic skills.
11:34:52 kashyap :D
11:35:07 kashyap Thank you!
11:38:11 kashyap stephenfin: Strange, the former (with #) didn't work; now trying the latter.
11:39:17 kashyap (By "didn't work", clicking on 'below' results in nothing.)
12:09:05 kashyap (Yep, the latter works. Most excellent.)
12:13:16 cdent I'm going to write a book on RST. It's going to be a compelling tale of the master and his student, staring stephenfin and kashyap . It will sell millions
12:13:30 kashyap Heh
12:14:23 cdent it will be framed as a series of vignettes
12:15:40 kashyap Funny you mention vingettes—
12:16:10 kashyap The other day when my Dutch language teacher asked for ideas for "different kinds of creative writing", I sent the idea of vignettes
12:16:50 cdent a worth style
12:16:55 cdent worthy
12:16:59 kashyap With an example pointing to the vignettes about "The House on the Mango Street" (the first story here: https://www.sausd.us/cms/lib/CA01000471/Centricity/Domain/457/The%20House%20on%20Mango%20Street.pdf)
12:18:23 kashyap cdent: But we ran out of time, we had our last class (and exam) of "level-10" yesterday. Next Monday are the results...
12:18:46 kashyap (But the teacher said she's going to do that vignet exercise for the next set of students.)
12:18:56 kashyap Although nothing is stopping me from practising it myself.
12:19:50 cdent good luck
12:30:51 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: docs: Secure live migration with QEMU-native TLS https://review.openstack.org/629627
12:31:39 brinzhang Kevin_Zheng: Thanks for your help, my devstack
12:31:51 brinzhang is ok now :)
12:36:09 Kevin_Zheng yw
12:50:09 kashyap stephenfin: Squashed all the additional into the main doc: https://review.openstack.org/629627
12:50:33 kashyap Rendered version:
12:50:34 kashyap http://logs.openstack.org/27/629627/6/check/openstack-tox-docs/39c0a0b/html/admin/secure-live-migration-with-qemu-native-tls.html
12:50:42 kashyap (All the damn hyperlinks work. :D)
12:51:29 dpawlik kashyap: Hi, does Openstack documentation have any information, which cpu_model_extra_flags are "recommended" to enable?
12:51:51 kashyap dpawlik: Hi, I wrote some docuemntation for it, and linked to it as well
12:51:53 kashyap Let me find
12:52:08 dpawlik kashyap, thx
12:53:26 kashyap dpawlik: A couple of URLs:
12:53:37 kashyap (1) See slides 35 (76 of 80) here: https://kashyapc.fedorapeople.org/Effective-Virtual-CPU-Configuration-in-Nova-Berlin2018.pdf
12:53:41 kashyap (2) https://www.berrange.com/posts/2018/06/29/cpu-model-configuration-for-qemu-kvm-on-x86-hosts/
12:53:50 kashyap (3) https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/
12:54:16 dpawlik kashyap: thank you :)
12:54:24 kashyap (4) `grep` for "cpu_model_extra_flags" here: https://docs.openstack.org/nova/rocky/configuration/config.html
12:54:29 kashyap That's it.
12:56:14 dpawlik kashyap: I guess for now I will test just those PCID, VMX, pdpe1gb
12:56:40 dpawlik I was thinking that there are more of them, that are recommended
12:57:22 kashyap dpawlik: For Intel hosts, don't forget: "spec-ctrl", "ssbd" as well.
12:57:48 amorin yes
12:58:42 dpawlik kashyap: it will be nice to have "default suggested" features that should be enabled
12:59:02 dpawlik right now I just add PCID and pdpe1gb
12:59:19 dpawlik but about "spec-ctrl", "ssbd" i didn't know that they should be also enabled
12:59:22 kashyap dpawlik: That "suggestion" is not as easy as it sounds -- because that requires several checks to be done.
12:59:45 kashyap E.g. what host microcode you have, what host/guest kernel, what version of libvirt and QEMU
13:00:00 kashyap And _then_, some magic code among libvirt/QEMU should do what you have and _then_ suggest something.
13:00:29 dpawlik wow
13:00:29 kashyap We had some discussion about this with the KVM/QEMU/libvirt folks at one of the recent confereces. More details to emerge...
13:01:01 kashyap Until dpawlik Until then, I only have: "x86: Updating to patched vCPU models" section
13:01:04 dpawlik it seems like table with "which features are available in which kernel version and qemu/libvirt"
13:01:36 kashyap But that has to wait...
13:02:13 dpawlik kashyap: ack. Thanks a lot
13:02:45 kashyap NP.
13:26:38 ShilpaSD mriedem: Hi, replied to your comment and uploaded patch https://review.openstack.org/#/c/612626/2, Please give your feedback on the latest patch.
13:48:01 openstackgerrit Jan Gutter proposed openstack/os-vif master: Clean up versioned object backlevelling code https://review.openstack.org/630976
13:51:34 openstackgerrit Maria Luisa Arches proposed openstack/nova master: Update network info during confirmed cold migration https://review.openstack.org/630978
14:03:07 alex_xu will NUMACell.memory include the size of hugepages?
14:08:09 stephenfin alex_xu: No, it's just a basic values, i.e. what you'd get from 'cat /sys/devices/system/node/nodeN/meminfo | grep MemTotal'
14:08:13 stephenfin *value
14:08:22 sean-k-mooney actully i think it will
14:08:35 sean-k-mooney the memory field should be the total memory on that numa node
14:08:56 sean-k-mooney mem total include hugepages
14:09:43 stephenfin Oh, I read that directly (as in would it have information about hugepages, which is actually reported via 'NUMACell.mempages')
14:09:48 alex_xu I doesn't configure hugepage on my pc, so can't verify that...
14:10:10 sean-k-mooney one sec ill post a past bin of the output
14:10:14 stephenfin alex_xu: I can give you info from one of my machine, if you'd like
14:10:24 stephenfin Or, better yet, let sean-k-mooney do it :)
14:10:40 alex_xu hah, I just want an answer :)
14:10:41 sean-k-mooney http://paste.openstack.org/show/742643/
14:10:58 sean-k-mooney so i have 64GB of ram on that numa node
14:11:06 sean-k-mooney Node 0 MemTotal: 65998248 kB
14:11:16 alex_xu just want to ensure whether we have this problem https://review.openstack.org/#/c/629281/1/nova/virt/hardware.py@1050 or not
14:11:54 sean-k-mooney i have hugepages allocated too "HugePages_Total: 27136" these are 2MB huge pages
14:12:05 stephenfin alex_xu: I saw the comment, but I'm not sure I understand the actual problem. What do you think could go wrong?
14:12:28 stephenfin Just saw you replied. Oops
14:13:11 sean-k-mooney instance_cell.memory is the amoung of guest ram
14:13:18 stephenfin alex_xu: So I think you're saying that https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L982 could be wrong?
14:13:20 sean-k-mooney on that virtual numa node
14:13:40 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: A few miscellaneous items related to "native TLS" https://review.openstack.org/630980
14:13:52 stephenfin alex_xu: Or rather that 'host_cell.avail_memory' includes memory that's not actually available because it's used for hugepages
14:13:58 sean-k-mooney this will be compared to the amount of ram available for the page size selected
14:16:05 stephenfin alex_xu: Do I understand correctly? If so, I guess this would be easily checked. On a 64GB host, I create 34 1GB huge pages then try to boot a 32GB pinned instance. If it doesn't fail, we're likely overcommitting
14:16:26 stephenfin though if that is the case, it's a different bug again that I think we should probably handle in a follow-up
14:16:39 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: A few miscellaneous items related to "native TLS" https://review.openstack.org/630980
14:17:20 alex_xu stephenfin: yes, that is the case I talk about
14:17:22 sean-k-mooney host_cell.available is compareing free memory not total but the page size check is done by https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L1021-L1056 which is run after

Earlier   Later