[nova][openstack-ansible] "No Valid Host Found" when running on VirtualBox
kdhall at binghamton.edu
Sat Jun 11 22:28:01 UTC 2022
I reran os-nova-install.yml. I observed from the dashboard that my compute
node is listed as running QEMU.
`openstack compute service list` shows my compute node as up and enabled.
I think I did find a way to get past 'No Valid Host'. But then the
instance failed with a volume error.
I think maybe I don't have all of the needed pieces in place - networks,
ports, security groups, etc. Is there a tutorial that you could point me
kdhall at binghamton.edu
On Fri, Jun 10, 2022 at 1:28 PM Dmitriy Rabotyagov <noonedeadpunk at gmail.com>
> The only playbook needs rerunning is os-nova-install.yml. And it should
> target "compute" VM where nova-compute service runs. There's no reason to
> destroy containers to apply setting, but yes, we have playbooks for
> destroying/recreating containers .
> We actually don't use rsyslog as of today. We should likely fix
> documentation to reflect that.
> All loges are stored in journald.
> What does `openstack compute service list` return as a result? Is there
> any nova-compute in the list and it's alive?
> if yes, you should check logs for nova-scheduler in nova_api container and
> placement in it's container.
> Eventually logs are exposed to host also but can't recall from top of my
> head the command to check from host efficiently.
> пт, 10 июн. 2022 г., 19:04 Dave Hall <kdhall at binghamton.edu>:
>> 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
>> ip: 172.29.236.14
>> 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> wrote:
>>> 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>:
>>>> 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.
>>>> Dave Hall
>>>> Binghamton University
>>>> kdhall at binghamton.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss