Installing OpenStack on Unbuntu 18.04 LTS and ...

G.L Solaria - Sep 21 '19 - - Dev Community

I just kept conjuring up more failed OpenStack installs! Following on from my very frustrating experience documented here I, for some unknown reason, continued but by this stage I was feeling cursed.

$ juju list-machines
Enter fullscreen mode Exit fullscreen mode

I picked one of the juju machines and ran

$ juju ssh 3
$ sudo less /var/log/juju/machine-3.log
Enter fullscreen mode Exit fullscreen mode

Which told me

2019-09-15 04:55:50 WARNING juju.cmd.jujud machine.go:826 determining kvm support: INFO: /dev/kvm does not exist

HINT: sudo modprobe kvm_intel

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.0.0-27-generic/modules.dep.bin'

modprobe: FATAL: Module msr not found in directory /lib/modules/5.0.0-27-generic : exit status 1

no kvm containers possible

And so there is indeed nothing in /lib/modules

$ ls /lib/modules/*/modules.dep.bin
ls: cannot access '/lib/modules/*/modules.dep.bin': No such file or directory
Enter fullscreen mode Exit fullscreen mode

I try and re-install the kernel and everything is fine:

$ sudo apt-get install --reinstall linux-image-5.0.0-27
$ sudo modprobe kvm_intel
$ echo $?
0
Enter fullscreen mode Exit fullscreen mode

Well I soldiered on for a bit longer but various containers were not coming online and I couldn't figure out why. Also there were the obscure error messages like "subordinate application must be installed without constraints" being conjured up. I couldn't even figure out how to set the default number of cores and memory for various virtual machines in a reasonable amount of time.

In a last ditch attempt I removed all the voodoo and followed these instructions: https://www.journaldev.com/30037/install-openstack-ubuntu-devstack.

Mission Impossible: OpenStack Install

Now it wasn't all without issue. It installed more than I wanted. It took over 1 hour to install. There was a directory created with the wrong permissions and a directory with missing files that it choked on. But because it output all of the commands it was executing, it was easy to fix up the errors.

I think I will vomit if I ever have to deal with conjure-up again. It's all sunshine and light when the spells are properly maintained but a nightmare when things start to go wrong.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player