Package: skyline-apiserver
English |简体中文Skyline is an OpenStack dashboard optimized by UI and UE, support
OpenStack Train+. It has a modern technology stack and ecology, is
easier for developers to maintain and operate by users, and has higher
concurrency performance.Skyline’s mascot is the nine-color deer. The nine-color deer comes from
Dunhuang mural “the nine-color king deer”, whose moral is Buddhist
cause-effect and gratefulness, which is consistent with 99cloud’s
philosophy of embracing and feedback community since its inception. We
also hope Skyline can keep light, elegant and powerful as the nine-color
deer, to provide a better dashboard for the openstack community and
users.Table of contentsSkyline API ServerResourcesQuick StartPrerequisitesConfigureDeployment with SqliteDeployment with MariaDBTest AccessDevelop Skyline-apiserverDependent toolsInstall & RunDevstack IntegrationKolla Ansible DeploymentResourcesDeveloper DocsRelease notesWikiBug TrackerQuick StartPrerequisitesAn OpenStack environment that runs at least core components and can
access OpenStack components through Keystone endpointsA Linux server with container engine
(dockerorpodman)
installedConfigureEdit the/etc/skyline/skyline.yamlfile in linux serverYou can refer to thesample file, and
modify the following parameters according to the actual environmentdatabase_urlkeystone_urldefault_regioninterface_typesystem_project_domainsystem_projectsystem_user_domainsystem_user_namesystem_user_passwordDeployment with SqliteRun the skyline_bootstrap container to bootstraprm-rf/tmp/skyline&&mkdir/tmp/skyline&&mkdir/var/log/skylinedockerrun-d--nameskyline_bootstrap-eKOLLA_BOOTSTRAP=""-v/var/log/skyline:/var/log/skyline-v/etc/skyline/skyline.yaml:/etc/skyline/skyline.yaml-v/tmp/skyline:/tmp--net=host99cloud/skyline:latest# Check bootstrap is normal `exit 0`dockerlogsskyline_bootstrapRun the skyline service after bootstrap is completedockerrm-fskyline_bootstrapIf you need to modify skyline port, add-eLISTEN_ADDRESS=<ip:port>in the following commandLISTEN_ADDRESSdefaults to0.0.0.0:9999dockerrun-d--nameskyline--restart=always-v/var/log/skyline:/var/log/skyline-v/etc/skyline/skyline.yaml:/etc/skyline/skyline.yaml-v/tmp/skyline:/tmp--net=host99cloud/skyline:latestDeployment with MariaDBhttps://docs.openstack.org/skyline-apiserver/latest/install/docker-install-ubuntu.htmlAPI DocYou can visit the API dochttps://<ip_address>:9999/api/openstack/skyline/docsTest AccessYou can now access the dashboard:https://<ip_address>:9999Develop Skyline-apiserverSupport Linux & Mac OS (Recommend Linux OS) (Because uvloop & cython)Dependent toolsUse the new feature Context Variables of python37 & uvloop(0.15.0+
requires python37). Considering that most systems do not support
python37, we choose to support python38 at least.make >= 3.82python >= 3.8node >= 10.22.0 (Optional if you only develop with apiserver)yarn >= 1.22.4 (Optional if you only develop with apiserver)Install & RunInstalling dependency packagestox-evenvSet skyline.yaml config filecpetc/skyline.yaml.sampleetc/skyline.yamlexportOS_CONFIG_DIR=$(pwd)/etcMaybe you should change the params with your real environment as
followed:-database_url-keystone_url-default_region-interface_type-system_project_domain-system_project-system_user_domain-system_user_name-system_user_passwordIf you set such assqlite:////tmp/skyline.dbfordatabase_url, just do as followed. If you set such asmysql://root:root@localhost:3306/skylinefordatabase_url, you should refer to steps1and2of the chapterDeployment with MariaDBat first.Init skyline databasesource.tox/venv/bin/activatemakedb_syncdeactivateRun skyline-apiserver$source.tox/venv/bin/activate$uvicorn--reload--reload-dirskyline_apiserver--port28000--log-leveldebugskyline_apiserver.main:appINFO:     Uvicorn running on http://127.0.0.1:28000 (Press CTRL+C to quit)
INFO:     Started reloader process [154033] using statreload
INFO:     Started server process [154037]
INFO:     Waiting for application startup.
INFO:     Application startup complete.You can now access the online API documentation:http://127.0.0.1:28000/docs.Or, you can launch debugger with.vscode/lauch.jsonwith vscode.Build ImagemakebuildDevstack IntegrationFast integration with Devstack to build an
environment.Kolla Ansible DeploymentKolla Ansible to build an environment.