spice console not accessible from skyline dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
skyline console |
New
|
Medium
|
zhangjingwei |
Bug Description
Description
===========
spice console not working with skyline
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
* I installed openstack Antelope 2023.1 using openstack helm with nova console type spice
* Installed skyline apiserver using ubuntu 20.04 and docker
* I tested integration of skyline with openstack working , i can login to dashboard and list VMs , network and images etc, I did it only using GUI of skyline dashboard.
* created a VM using ubunt 20.04 using skyline dashboard it is created and ruuning
* I tried to take console of this VM , but it failed with below error
Expected result
===============
spice console of VM should be accessible
Actual result
=============
attempt to access console from skyline for vm (console type spice ) failed
error
{
"badRequest": {
"code": 400,
"message": "Unavailable console type novnc."
}
}
Where as on openstack , novnc console is disabled and spice console is enabled. spice console is accessible for horizon dashboard without any additional config.
Environment
===========
1. version of openstack Anetlope 2023.1
2. version of skyline apiserver : latest (https:/
3. version of OS, ubuntu 20.04
Logs & Configs
==============
1. Error
{
"badRequest": {
"code": 400,
"message": "Unavailable console type novnc."
}
}
2. the yaml of config for skyline_
default:
access_
access_
cafile: ''
cors_
database_url: mysql:/
debug: false
log_dir: ./log
log_file: skyline.log
policy_file_path: /etc/skyline/policy
policy_
prometheus_
prometheus_
prometheus_
prometheus_
secret_key: aCtmgbcUqYUy_
session_name: session
ssl_enabled: true
openstack:
base_domains:
- heat_user_domain
default_region: RegionOne
enforce_
extension_
floating-
fwaas_v2: neutron_firewall
qos: neutron_qos
vpnaas: neutron_vpn
interface_type: public
keystone_url: http://
nginx_prefix: /api/openstack
reclaim_
service_mapping:
baremetal: ironic
compute: nova
container: zun
container-
database: trove
dns: designate
identity: keystone
image: glance
instance-ha: masakari
key-manager: barbican
load-balancer: octavia
network: neutron
object-store: swift
orchestration: heat
placement: placement
sharev2: manilav2
volumev3: cinder
sso_enabled: false
sso_protocols:
- openid
sso_region: RegionOne
system_
- admin
- system_admin
system_project: service
system_
system_
- system_reader
system_
system_user_name: skyline
system_
setting:
base_settings:
- flavor_families
- gpu_models
- usb_models
flavor_families:
- architecture: x86_architecture
categories:
- name: general_purpose
properties: []
- name: compute_optimized
properties: []
- name: memory_optimized
properties: []
- name: high_clock_speed
properties: []
- architecture: heterogeneous_
categories:
- name: compute_
properties: []
- name: visualization_
properties: []
gpu_models:
- nvidia_t4
usb_models:
- usb_c
I tried to check if there any configuration option at skyline api server to set console protocol to spice or auto (like horizon have auto by default) , but not found it.
skyline is installed using docker.
Could you please suggest on it, how I can configure skyline to work with spice console.
Thanks you.
Got it, we will check it again :)