Connect to SPICE console via Horizon on single-node deployment

asked 2018-03-26 10:38:09 -0600

Bshow gravatar image

Hello I installed Openstack via Conjure-up on Ubuntu 16.04 LTS. I am now trying to connect to the an instance I created via Horizon SPICE console, but everytime I try it I get the unable to load console error. I ran the command netstat to check if nova-spicehtlm5 is running and it indeed is. Now the thing that doesn't add up to me, I have a single-node deployment ( and it is supposed to remain like that), so I have only one nova.conf file, while every tutorial or documentiation on how to configure SPICE explain how to set the one for the controller and the one for the computer node. So what should I do with my conf file?. This is my nova.conf:

[DEFAULT]
web=/usr/share/spice-html5
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

[vnc]
enabled=False
web=/usr/share/spice-html5

[database]
connection=sqlite:////var/lib/nova/nova.sqlite

[api_database]
connection=sqlite:////var/lib/nova/nova.sqlite

[spice]
agent_enabled=False
enabled= True
html5proxy_host = 0.0.0.0
html5proxy_base_url=http://192.168.128.149:6082/spice_auto.html
html5proxy_port=6082
server_listen=0.0.0.0
server_proxyclient_address=192.168.128.149
keymap=en-us
edit retag flag offensive close merge delete