1. Add kolla and kolla-ansible integrated patch
2. Add README to introduce how we can build skyline image with kolla
and deploy skyline with kolla-ansible
3. Add kolla folder as irrelevant files into jobs
Change-Id: I0cc7e9ddd62fc3e20564bf8a0d98d5c7b8f8abac
Add irrelevant-files for zuul jobs so that we can reduce the
job cost time when the patch is just docs changes or not-related
changes for these jobs.
Change-Id: I6323a3458927ca265136c8be91fda1c7138074d1
1. Add all tar.gz packages into one tar.gz package.
2. Keep one whl package under dist. Be carefull, we
should not use the whl package, because it is only for
the zuul job to publish.
3. Remove post and pre yaml files
Change-Id: I6d59bd5d6e4fd62f0b2f9c8d40d634e0ee01e327
1. Reuse nvm.sh before run yarn
2. Move all tar.gz and whell packages into dist under skyline-apiserver
Change-Id: I423b174d19e067eeb16cf4e3a8a51771468c1e4b
1. Use tox to make packages.
2. Change the way to install nodejs and yarn with nvm.
3. Update the skyline-console submodule
Change-Id: I363ec0dcda428701be2260893ebe97aa3dd77b5f
1. Change the way to install nodejs and yarn
2. Config nginx.conf before start nginx
3. add sudo into cleanup skyline
Change-Id: Id02e135fdbe880b9b052a6b644816f3273361e2a
The default pre.yaml will revoke the sudo. So we install the extra tools
before we revoke the sudo.
Change-Id: Ie4ae0dc8ee90e6ea79f2b463988c32aa4ddaadba
1. Add post into zuul. So we publish source package into tarballs.
2. Update submodule for skyline-console
Change-Id: I799e5658d0aca588d4f6b5b6ebcca218e1ca57d6
1. Remove -f of poetry build command. Merge two commands
as 'poetry build'.
2. Update submodule for skyline-console
Change-Id: I91a04439c3a605a0159890a4603684a785d7a90c
1. Add skyline-config unit test case and tools
2. Update immutables package type annotation
3. Adjust get_config_path function
Change-Id: Idc70ac164247c0d9cd5135f4e5bbef3994d05f22
1. Add skyline-policy-manager unit test case and tools
2. Update `setup` method type annotation
3. Move some constants to `skyline_policy_manager.constants`
4. Adjust import to use modules instead of functions
5. Update code format
Change-Id: Ic72e21126de0b16e4d969ad48ce64c57542c4667
1. add build sdist into Makefile
2. update the submodule for skyline-console
It's ready for kolla to build image with source packages.
Change-Id: Iee016f241e5c141de4f135a35a406517b3f87e1f
1. add ironic into service_mapping
2. add octavia into service_mapping
3. change interface_type as public
Change-Id: I9ffa419ffac3b7f20784cf7ae4e12a26e3e6bb4d
1. add skyline-functional-devstack which inherits from devstack
2. add skyline-functional-devstack into check and gate job
3. add playbook to integrate with devstack for zuul
4. change the port from 8080 to 9999 because the 8080 is used for s3api
5. rename functional-py38 as unittest-py38
6. add install extra tools ready for skyline-console's e2e test
Change-Id: I7f4b549bec6573661e62dd2bd9a3355253afd47d
Remove git_config when make venv. So when we integrate
with devstack, we will not be interrupted by git.
Change-Id: I23d6fac4dda5bc1c2caa269f0591cb4e6137743d
Add devstack plugin for skyline to deploy by devstack.
There are six main functions for this plugin:
1. install_skyline: to install main dependency of environment,
skyline-apiserver and skyline-console
2. configure_skyline: to config skyline.conf for skyline-apiserver
and nginx.conf for nginx
3. init_skyline: create database of skyline and make db sync
4. start_skyline: start skyline-apiserver as systemd and start nginx
5. stop skyline: stop skyline-apiserver and stop nginx
6. cleanup_skyline: remove all config directories
Change-Id: I632f059b26a3d8612fc1008758f1844498ce7b84
Use constants in contrib but lack of import it.
Here we import constants from skyline_apiserver.types to fix it.
Closes-Bug: #1942087
Change-Id: I6fd874400f77e9d201d6c5d7284c78345d52b63f
Since poetry 1.1.8 version introduces a large number of bugs[1], which
makes the process of building container image fail, so the 1.1.8
version of poetry is not used.
[1] https://github.com/python-poetry/poetry/issues/4429
Change-Id: Ia30c2c5e783401aa4bad85139b0bf2fa9a822847
1. Add x-openstack-request-id into header
Let the skyline API continue to pass down with Request ID using for tracking chain.
It contributes to find the problem preliminarily.
Change-Id: Ib7f7dcc98183aa99a00fc69b73eba53d87642502
The skyline-nginx is dependent on skyline-apiserver.
From the patch[0], we add aiosqlite into tool.poetry.dependencies.
So we need to re-generate the poetry.lock of skyline-nginx.
[0]: https://review.opendev.org/c/skyline/skyline-apiserver/+/803539
Change-Id: I82dc76ed286376d2c388e1dab95d4c24743d02f2
When using http protocol to access, nginx will respond with 400 and
report "400 The plain HTTP request was sent to HTTPS port".
The reason is that http 497 error[1] appeared in nginx, so 497
error was redirected to https protocol.
[1] 56f5331683/src/http/ngx_http_special_response.c (L274)
Change-Id: I01c35318dd5d219dbb31e6a89bdc05d2a4db7804
When a network failure occurs, the openstack client will be blocked for
a long time. Set a timeout on the session to feedback network problem
as soon as possible.
Change-Id: I2eec95b18241b0bf2103ad3dfa1efd2774f2bd77