Mailing List Archive

Nova VNC console broken
After setting up HA for my openstack cluster, the nova console no longer works. Nothing of note appears in any of the logs at /var/log/nova on the controller or the compute node running the instance. I get a single line that looks relevant output to /var/log/apache2/errors.log on the controller node:

[Fri Apr 20 15:14:07.666495 2018] [wsgi:error] [pid 25807:tid 139801204832000] WARNING horizon.exceptions Recoverable error: No available console found.

Trying to run the command "openstack console url show" with a verbosity of 2 outputs the following:
http://paste.openstack.org/show/719660/

Does anybody know the solution to this or of any way that I can further troubleshoot the issue?

Thanks,
Re: Nova VNC console broken [ In reply to ]
Could you describe your HA set up a little bit? I assume your controllers
are behind a load balancer. Did you alter the novnc URL to point to the
virtual ip?

-Erik

On Apr 20, 2018 3:43 PM, "Torin Woltjer" <torin.woltjer@granddial.com>
wrote:

After setting up HA for my openstack cluster, the nova console no longer
works. Nothing of note appears in any of the logs at /var/log/nova on the
controller or the compute node running the instance. I get a single line
that looks relevant output to /var/log/apache2/errors.log on the controller
node:

[Fri Apr 20 15:14:07.666495 2018] [wsgi:error] [pid 25807:tid
139801204832000] WARNING horizon.exceptions Recoverable error: No available
console found.

Trying to run the command "openstack console url show" with a verbosity of
2 outputs the following:
http://paste.openstack.org/show/719660/

Does anybody know the solution to this or of any way that I can further
troubleshoot the issue?

Thanks,
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Nova VNC console broken [ In reply to ]
According to the command output that you posted, the first API that
fails is this:

GET http://controller:8774/v2.1/servers/zktubntu

It's the equivalent of openstack server show zktubntu. I wonder if you
run console url show as the owner of that instance, or as admin. As
admin, you can't find an instance by its name (except if the instance is
owned by admin).

What happens if you issue the server show command? What happens if you
issue console url show with the instance ID instead of its name?

In any case, it would be useful to check the Nova logs to understand why
this API fails.

On 4/21/2018 4:36 AM, Torin Woltjer wrote:
> After setting up HA for my openstack cluster, the nova console no longer works. Nothing of note appears in any of the logs at /var/log/nova on the controller or the compute node running the instance. I get a single line that looks relevant output to /var/log/apache2/errors.log on the controller node:
>
> [Fri Apr 20 15:14:07.666495 2018] [wsgi:error] [pid 25807:tid 139801204832000] WARNING horizon.exceptions Recoverable error: No available console found.
>
> Trying to run the command "openstack console url show" with a verbosity of 2 outputs the following:
> http://paste.openstack.org/show/719660/
>
> Does anybody know the solution to this or of any way that I can further troubleshoot the issue?
>
> Thanks,
>
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack