[nova][openstack-ansible] "No Valid Host Found" when running on VirtualBox

Dave Hall kdhall at binghamton.edu
Fri Jun 10 17:01:47 UTC 2022


I do have 'nested VT-x/AMD-V' turned on on all of my VirtualBox VMs, but
not 'PAE/NX'.  Also, I have installed the VBox Guest Additions, but I
disabled vboxadd-service.service due to clock synchronization issues.

Lastly, I added

nova_virt_type: qemu

to /etc/openstack_deploy/user_variables.yml and re-ran the playbooks.   If
re-running the playbooks won't flip this setting, is there some other
approach, like destroying the LXC containers for nova and then re-run the
playbooks?  Add another compute node?

Side note:  I also added

# rsyslog server

to openstack_user_config.yml.  After doing so, 'openstack-ansible
setup-hosts' hangs during a task related to rsyslog, but the other two
playbooks complete successfully.



Dave Hall
Binghamton University
kdhall at binghamton.edu

On Thu, Jun 9, 2022 at 3:18 PM Dmitriy Rabotyagov <noonedeadpunk at gmail.com>

> Hey,
> One question - have you set nova_virt_type to qemu in overrides? As
> otherwise you indeed need to have nested virtualization enabled.
> чт, 9 июн. 2022 г., 20:21 Dave Hall <kdhall at binghamton.edu>:
>> Hello,
>> I'm trying to run a test/learning cluster on VirtualBox VMs deployed with
>> Openstack-Ansible prior to deploying on real hardware.
>> The playbooks succeed, and the basic functional checks all look good.
>> However, I am unable to deploy an instance due to 'No Valid Host Found'.  I
>> have seen that this might be because VirtualBox does not support KVM.  But
>> I am also perplexed - I am able to deploy instances on an AIO running in
>> VirtualBox on the same physical host.
>> If there is an easy fix for this please point me in the right direction.
>> If I need to destroy and re-clone my VMs I can try that as well.  In an
>> effort to learn, though, I'd really like to learn how to adjust the current
>> deployment.
>> Thanks.
>> -Dave
>> --
>> Dave Hall
>> Binghamton University
>> kdhall at binghamton.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220610/4438e72d/attachment.htm>

More information about the openstack-discuss mailing list