Problems with conjure-up openstack to Esxi 6.7 hosts, neutron-api is not deploying to LXD

I have an ESXi 6.7 with 6 VMs.
One of the VMs is configured with Ubuntu 18.04 updated.
I am following this instructions to the letter https://ubuntu.com/openstack/install
I use virsh as power type

Power type: Virsh (virtual system)
Virsh Address: esx://root@192.168.40.9/?no_verify=1>
Virsh password: xxxxx Virsh VM Id: “VM name on Esxi”

MAAS is controlling the VMs perfectly, I can deploy Ubuntu18.04 with no problems and SSH to it.
All machines are in “Ready state”

I have tried with this versions of conjure-up

sudo snap install conjure-up –classic
sudo snap install conjure-up –classic –beta
sudo snap install conjure-up –classic –edge
sudo snap refresh conjure-up –classic –edge
sudo snap refresh conjure-up –classic –beta

It always fails when juju is lauching the Neutron-api in the LXD container.

I am trying with this Guide also: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/stein/

I have tried with all this juju versions:

sudo snap install juju –classic
sudo snap install juju –beta –classic
sudo snap install juju –edge –classic

After following this page: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/stein/install-openstack.html#deploy-the-juju-controller
The moment I launch this command, juju stops and I loose connectivity to the host where the neutron-api should be launched.

juju deploy –to lxd:1 –config neutron.yaml neutron-api

It always fails when juju is lauching the Neutron-api in the LXD container.

Help, I need somebody. Help.

Read Only problems with shared Data Drive after Win 10 upgrade

I have Win 10, UbuntuMate, and Deepin plus a partition called Data on my machine.

I recently upgraded Win 10 because it asked me to. Now I cannot access my Data drive with write permission on Linux OS’s on my machine.

To test whether anything I did was successful, I right click in Caja and see if I can create a folder.. NOPE..it is grey

I have tried:

shift + shutdown (Usually works for c-drive r+w problems)

Changing permissions to full control in Windows

Changing sharing to everyone in Windows

problems with kernel package in Ubuntu(18.04.3 LTS)

I recently tried to install OBS for recording.After inputting sudo apt-get install obs-studio I got:

Reading package lists... Done Building dependency tree        Reading state information... Done The following additional packages will be installed:   libavdevice57 libdc1394-22 libfdk-aac1 libluajit-5.1-2 libluajit-5.1-common   libmbedcrypto1 libmbedtls10 libmbedx509-0 libqt5x11extras5 libsdl2-2.0-0 The following packages will be REMOVED:   linux-image-4.18.0-22-generic linux-image-4.18.0-24-generic The following NEW packages will be installed:   libavdevice57 libdc1394-22 libfdk-aac1 libluajit-5.1-2 libluajit-5.1-common   libmbedcrypto1 libmbedtls10 libmbedx509-0 libqt5x11extras5 libsdl2-2.0-0   obs-studio 0 upgraded, 11 newly installed, 2 to remove and 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/4.822 kB of archives. After this operation, 56,3 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 216936 files and directories currently installed.) Removing linux-image-4.18.0-22-generic (4.18.0-22.23~18.04.1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.18.0-22-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 38: /etc/default/grub: Syntax error: EOF in backquote substitution run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2 dpkg: error processing package linux-image-4.18.0-22-generic (--remove):  installed linux-image-4.18.0-22-generic package post-removal script subprocess returned error exit status 1 Removing linux-image-4.18.0-24-generic (4.18.0-24.25~18.04.1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.18.0-24-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 38: /etc/default/grub: Syntax error: EOF in backquote substitution run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2 dpkg: error processing package linux-image-4.18.0-24-generic (--remove):  installed linux-image-4.18.0-24-generic package post-removal script subprocess returned error exit status 1 Errors were encountered while processing:  linux-image-4.18.0-22-generic  linux-image-4.18.0-24-generic E: Sub-process /usr/bin/dpkg returned an error code (1) 

It seems like there’s something wrong with the packages linux-image-4.18.0-22-generic and linux-image-4.18.0-24-generic. I tried a few methods to get this fixed,including:

$ sudo apt-get dist-upgrade and $ sudo apt-get autoremove –purge

but neither worked,an the problem continues to happen.

I’d appreciate if anyone suggest another solution.

How can I configure Ubuntu to require answers to random math problems in place of a password?

For the home Linux laptop (running Ubuntu 18.04), for the kids, I would like to be able to configure the computer to require answer(s) to randomly selected math problems to log in, rather than requiring a password. (For a specific user account only, for graphical login only.)

I’ve searched the internet but haven’t found anything about this. It doesn’t seem likely that I’m the first one to think of this idea, but internet searches do suggest that. 🙂

Security isn’t an issue since the only people with physical access to the computer are all trusted. (If there is anything I should configure to disallow SSH access or for other security concerns, you could mention it, but I doubt my ISP would let port 22 traffic through from the internet anyway.)

The benefits should be obvious, but to be explicit about them – the point is that there could be a mild barrier to “getting screen time” that would involve something a little bit educational.

I am currently using Gnome with sddm as the display manager, but I don’t know if that really matters.

Elementary OS Problems: Installation, Resolution and Graphics

I’m relatively new to Linux distros, and my first shot at it was Elementary OS Loki. I installed it to my old PC with no hitches. It was an old i3, and a GTX 1050.

However, now, I installed Elementary OS Juno to my new laptop; an HP 14s that has a Ryzen 3 3200U, a dedicated Radeon 530, an integrated Radeon Vega 3, and 4GB of RAM. I used Rufus to write the ISO into a bootable USB. When I booted it up for installation, I couldn’t get past the splash, so I typed in nomodeset. I got past the splash, and into a low-res installation desktop. I installed the OS, and everything went swell until it finished and I rebooted only to find that I still couldn’t get past the splash screen unless I type in nomodeset. And when I did type it in, the desktop had no other resolution but 1024×768. My laptop monitor has a resolution of 1366×768. xrandr doesn’t work because the monitor shows up as unknown and I just recently discovered that nomodeset disables Radeon. How do I fix this?

What are some decidable problems which cannot be solved in real life(due to time and memory constraints)?

The first line of Sipser book for the Chapter- ‘Time complexity’, says that:

Even when a problem is decidable and thus computationally solvable in principle, it may not be solvable in practice if the solution requires an inordinate amount of time or memory.

My question is, yes we do have limited space and time, so the above statement makes the whole P and PSPACE concept as vague, right? If it so, what are these problems? Are such huge inputs acceptable in practice?

Getting a lot of boot problems on ubuntu 19.04

My Laptop:Nitro AN515-52

I’m getting a lot(10-12 times a week) of boot problems both fixable & some unfixable(for me). Mostly they are like initramfs unpacking failed, junk in compressed archive , kernel modules missing/unable to load , etc etc tried disabling Secure boot too but still getting errors. tried multiple installation with complete formatting too. I have been getting kernel problems during kernel updates & even when there’s no software or kernel update I have 2 questions 1) is my Laptop’s hardware responsible for ubuntu boot problems, if it so how to figure out whats wrong. 2) Why kernel files or boot files get corrupted,go missing after a perfect running session of Ubuntu. windows 10 works fine & shows no booting problem

Ubuntu 18.04 (WSL) problems with Python 3.7.4

I have a fresh install of Ubuntu 18.04 in WSL. Thus far, I have set up the system by installing Python 3.7.4 as follows:

$   mkdir -p $  HOME/bin $  HOME/.local/bin $   sudo add-apt-repository ppa:deadsnakes/ppa $   sudo apt update && sudo apt upgrade -y $   sudo apt install python3-pip python3.7 python3.7-dev python3.7-doc python3.7-venv python3.7-distutils python3.7-tk $   sudo curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $   sudo -H python3.6 get-pip.py $   sudo -H python3.7 get-pip.py $   sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 10 $   sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 20 $   sudo update-alternatives --set python3 /usr/bin/python3.7 

Now, when Python 3.6 is set as the system default, everything functions normally. However, when I switch to Python 3.7 being the default things go awry. The oddest behavior I see is whenever I type a bad command at the bash prompt I get error output from Python as shown here:

joe@Tyrion:~$   VIM Traceback (most recent call last):   File "/usr/lib/command-not-found", line 28, in <module>     from CommandNotFound import CommandNotFound   File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module>     from CommandNotFound.db.db import SqliteDatabase   File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module>     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' 

Again, with Python 3.6 configured as default, I get the output I would expect.

joe@Tyrion:~$   sudo update-alternatives --set python3 /usr/bin/python3.6 [sudo] password for joe: update-alternatives: using /usr/bin/python3.6 to provide /usr/bin/python3 (python3) in manual mode joe@Tyrion:~$   VIM VIM: command not found 

Can anyone point me in the right direction here? My Google searches have been fruitless. I’d very much like to run with 3.7 as the default.