During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt
self.stop()
File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop
time.sleep(0.1)
File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld
self.reap_workers()
File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
+ echo '/usr/local/bin/gunicorn -c /etc/skyline/gunicorn.py skyline_apiserver.main:app'
+ mapfile -t CMD
++ tail /run_command
++ xargs -n 1
+ [[ -n '' ]]
+ GENERATOR_ARGS='--output-file /etc/nginx/nginx.conf'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ skyline-nginx-generator --output-file /etc/nginx/nginx.conf
OK ,I modified the configuration file again and rebooted the configuration.
User name, database has been created
#conf
root@controller:~# cat skyline.yaml token_expire: 3600 token_renew: 1800 allow_origins: [] //skyline: skyline@ controller/ skyline basic_auth_ password: '' basic_auth_ user: '' enable_ basic_auth: false endpoint: http:// localhost: 9091 HNVg5BDXCaeJgJQ zHJXwqbXr0Nmb2o new_defaults: true mapping: ip-port- forwarding: neutron_ port_forwarding 192.168. 100.10: 5000/v3/ instance_ interval: 604800 infra: magnum admin_roles: project_ domain: Default reader_ roles: user_domain: Default user_password: 'skyline' computing optimized_ type_with_ gpu compute_ optimized_ type_with_ gpu
default:
access_
access_
cors_
database_url: mysql+pymysql:
debug: false
log_dir: ./log
log_file: skyline.log
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
identity: keystone
image: glance
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
log(s)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): bin/gunicorn" , line 8, in <module> lib/python3. 8/dist- packages/ gunicorn/ app/wsgiapp. py", line 67, in run tion("% (prog)s [OPTIONS] [APP_MODULE] ").run( ) lib/python3. 8/dist- packages/ gunicorn/ app/base. py", line 231, in run lib/python3. 8/dist- packages/ gunicorn/ app/base. py", line 72, in run self).run( ) lib/python3. 8/dist- packages/ gunicorn/ arbiter. py", line 229, in run halt(reason= inst.reason, exit_status= inst.exit_ status) lib/python3. 8/dist- packages/ gunicorn/ arbiter. py", line 342, in halt lib/python3. 8/dist- packages/ gunicorn/ arbiter. py", line 393, in stop lib/python3. 8/dist- packages/ gunicorn/ arbiter. py", line 242, in handle_chld reap_workers( ) lib/python3. 8/dist- packages/ gunicorn/ arbiter. py", line 525, in reap_workers BOOT_ERROR) errors. HaltServer: <HaltServer 'Worker failed to boot.' 3> bin/gunicorn -c /etc/skyline/ gunicorn. py skyline_ apiserver. main:app' ARGS='- -output- file /etc/nginx/ nginx.conf' nginx-generator --output-file /etc/nginx/ nginx.conf
File "/usr/local/
sys.exit(run())
File "/usr/local/
WSGIApplica
File "/usr/local/
super().run()
File "/usr/local/
Arbiter(
File "/usr/local/
self.
File "/usr/local/
self.stop()
File "/usr/local/
time.sleep(0.1)
File "/usr/local/
self.
File "/usr/local/
raise HaltServer(reason, self.WORKER_
gunicorn.
+ echo '/usr/local/
+ mapfile -t CMD
++ tail /run_command
++ xargs -n 1
+ [[ -n '' ]]
+ GENERATOR_
+ [[ -n '' ]]
+ [[ -n '' ]]
+ skyline-
#docker inspect skyline
"/root/ skyline. yaml:/etc/ skyline/ skyline. yaml"
"Source" : "/root/ skyline. yaml",
"Destination" : "/etc/skyline/ skyline. yaml",
"Image" : "99cloud/ skyline: latest" ,
"skyline. build_branch" : "master",
"skyline. build_commit" : "95e1c13f743956 67aae3b5f63d845 d83a279d113" ,
"skyline. build_console_ commit" : "b4f23fd78c6bc4 223e9ee8e7c2f54 a660a0200b0" ,
"skyline. release_ version" : "95e1c13_ 2022-11- 29T21:00: 38+0000"
root@controller:~# docker inspect skyline|grep "skyline."
"Name": "/skyline",
#domain(S) ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------+ ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------+ 4a44ddb3f3b1597 a0 | example | True | An Example Domain | ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------+
root@controller:~# openstack domain list
+------
| ID | Name | Enabled | Description |
+------
| a4ce579372fc474
| default | Default | True | The default domain |
+------