/srv/irclogs.ubuntu.com/2023/02/16/#ubuntu-server.txt

=== chris14_ is now known as chris14
=== Eickmeyer5 is now known as Eickmeyer
Alexey_Ваше здоровье! 🍺15:07
lotuspsychj3!english | Alexey_ 15:19
ubottuAlexey_: The main Ubuntu IRC channels are English only.  For a complete list of channels in other languages, please visit https://wiki.ubuntu.com/IRC/ChannelList15:19
=== kostkon_ is now known as kostkon
=== andypandy_ is now known as andypandy
pvh_saHey there... I have a 22.04 server (recently upgrade) that is hosting some VMs using libxl (Xen driver) in libvirt - trying to start a VM fails with "Failed to balloon domain0 memory" - does anyone know what this means and how to fix it?18:33
ChmEarlpvh_sa, its usually the xen hypervisor cmdline lacks max in dom0_mem=18:36
pvh_sathanks! let me look into that18:37
ChmEarlsee the hypervisor lines in /etc/default/grub18:37
ChmEarlGRUB_CMDLINE_XEN_DEFAULT=18:38
pvh_saok - so this is going to be the max RAM that all VMs can consume (together)?18:39
pvh_saor... the max memory used for the host?18:39
ChmEarlmax for host18:41
pvh_saok let me carve off 16 GB for that and leave the rest for VMs. I'm just using this machine for a few legacy VMs (the main stuff is over on OpenStack)18:42
pvh_saso reading some docs... Xen guests also have access to the balloon device to negotiate memory dynamically18:45
ChmEarlpvh_sa, mine has: dom0_mem=4096M,max:4096M18:46
pvh_saso the Xen hypervisor (dom0) runs in 4GB?18:47
ChmEarlso that any VM balloon won't hurt my dom018:47
ChmEarlit can be much lower, like 1024M18:47
ChmEarlpvh_sa, sudo xl dmesg | grep Command19:00
ChmEarlshows hypervisor cmdline19:01
pvh_sathanks... that resolved the balloon error - now its giving "libxenlight failed to create new domain" - the libxl log is saying "libxl__get_domid: failed to get own domid"19:09
pvh_saI see others found this was related to stale config - https://askubuntu.com/questions/1239384/xen-cannot-start-domains-after-upgrading-from-18-04-to-20-0419:10
=== sdeziel_ is now known as sdeziel

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