On Thu, Dec 07, 2017 at 09:43:12PM +0100, Thomas Goirand wrote: > On 12/07/2017 12:39 PM, Wouter Verhelst wrote: > > - After doing all that, I can go through the "Launch instance" wizard in > > the webinterface. It accepts my choices; but when it gets around to > > actually trying to spawn the VM, the machine becomes unresponsive. > > Once it starts being responsive again, it says "No valid host was > > found. There are not enough hosts available." It's not clear to my > > what exactly went wrong; this may be fixed by some configuration, or > > it may not. > > The "No valid host was found" should be interpreted as "no compute host > is working, I can't start the VM". Since you have only one compute node, > it means that host doesn't work. > > Have you made sure to replace nova-compute-kvm by nova-compute-qemu, > since you're in a VM? After doing so, make sure to restart nova-compute.
Well, on the bare metal I do have... root@latin ~ # cat /sys/module/kvm_intel/parameters/nested Y ...so I was under the impression that that should just work? I now see that you also need to configure the host VM to have particular CPU bits set, so maybe that was my mistake. Anyway, since this is just meant for a test setup it's not critical, so if my new attempt doesn't work I'll try the qemu thing. > > At this point, I can't remove the instance anymore either, > > with a "CSRF token missing or incorrect" error message. > > This is a known bug in Horizon in Stretch, due to an incompatibility > with Django 1.10. It has been fixed since, but I haven't investigated in > which commit, so I could backport it. > > Instead of selecting the instance with the checkbox, just click on the > dropdown and click on terminate. This should work. Well, between this and the above and a few other mistakes I'd made, I decided that starting over would be a good idea, so I destroyed the containing VM and started over from scratch. So I can't test this right now, but I think I couldn't do "terminate" since the VM wasn't running... > > It feels like the system is fairly close to a working setup, though. > > Once you've fixed the nova issue, I'm quite sure you'll have trouble > with the networking (unless you've followed the install guide to make > your networking setup). I did have some network up, but I don't know whether it worked :-) [...] -- Could you people please use IRC like normal people?!? -- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008 Hacklab