Commit Graph

266 Commits

Author SHA1 Message Date
Boxiang Zhu
3641286cd5 fix: Set bool as string for bootable and multiattach
Set bool as string for bootable and multiattach query
params.
The cinder client only accept truth value for api as
query params.

Change-Id: Id26a0233c2ffc2d4165e96cab37c62c77fbefb24
2022-08-24 11:21:20 +08:00
yangsngshaoxue
8fadde52bf fix: Fix empty projects in profile
Fix empty projects in profile when using sso login

Change-Id: I2296cc88f04e3a3eeb2c51d8e83335923e0e5353
2022-08-24 10:57:16 +08:00
Boxiang Zhu
40b30101c3 feat: Return both id and name of children volume for snapshots
Return both id and name of children volume for snapshots

Change-Id: I194e13a368d01178b5e4751a42f8f3e6d0faa4f1
2022-08-23 16:41:37 +08:00
Boxiang Zhu
22ea97f536 refactor: Remove invalid codes for volumes and snapshots
The patch: https://review.opendev.org/c/openstack/python-cinderclient/+/767451
has been merged. And it has been released in Xena branch.

So We change the requirements.txt of the python-cinderclient
version as 8.1.0.

Change-Id: Ibf0ddb4c3ea532fdc1bffab210671bf63c128b02
2022-08-23 16:03:38 +08:00
Boxiang Zhu
aa77306945 fix: Fix member use has no snapshot_id filter for volumes
We use system session to filter volumes with snapshot_id.
The snapshot_id filter is non-available for member user.

Change-Id: I6424f117d28378a8eb1dcafa02e6c50029f62015
2022-08-23 15:06:08 +08:00
Boxiang Zhu
7f0a0818f7 feat: Support uuid filter for volume snapshots list
Support uuid filter for volume snapshots list API.

Change-Id: I916fdca140a05f70d8f558e24c92eb2221246ea7
2022-08-23 14:54:36 +08:00
Boxiang Zhu
21aa0719b7 docs: Add more for contributor introduction
1. Add more for contributor introduction
2. Cleanup README.rst
3. Update settings.rst

Change-Id: Id1736bec1b337228f81a9863f9fb0fd80ac186d5
2022-08-22 16:47:16 +08:00
Boxiang Zhu
6ca6f7dd1d docs: Add contributor introduction
1. Add contributor introduction
2. Fix Wiki link

Change-Id: I971f58b058dfbd1922bfe4139d72a5ec28749041
2022-08-22 14:15:53 +08:00
Boxiang Zhu
fd7f1ea843 docs: Add docker install of skyline-apiserver
1. Add docker install of skyline-apiserver.
2. Change the logo images folder
3. Change the swagger.json folder
4. Delete docs folder

Change-Id: If0ae9a83dd9465af7057115d5b803bc641347a66
2022-08-19 17:26:19 +08:00
Boxiang Zhu
33d5dd7023 docs: Add source install of skyline-apiserver
1. Add source install of skyline-apiserver.
2. fix pdf doc name

Change-Id: Ia9a1f1049098f34de466d5451428fcccdf44fff7
2022-08-19 14:14:41 +08:00
Zuul
aa07234869 Merge "fix: Fix server_name is null for ports list api" 2022-08-18 10:15:24 +00:00
Zuul
e375e24dd6 Merge "fix: Catch InternalServerError" 2022-08-18 09:04:50 +00:00
Zuul
0a61e680e6 Merge "fix: Update requirements" 2022-08-18 08:49:36 +00:00
Boxiang Zhu
4b8fed8f63 fix: Fix server_name is null for ports list api
1. Fix server_name is null for ports list api
2. Add more detailed description of params
3. Update swagger.json file

Change-Id: I3f4601235585db3896e7b1d25176b33ff59caf57
2022-08-18 16:20:38 +08:00
yangshaoxue
2fc7e6a405 fix: Update requirements
Add Form dependencies

Change-Id: I3028388ad6df316c5f3cbbaf114499cfd7f34c65
2022-08-18 15:12:17 +08:00
Boxiang Zhu
54e67e606c fix: Catch InternalServerError
We need to catch InternalServerError and then LOG. Just
use user_context.

Change-Id: Iaf4aa2d9c7935735bab600aa892f5d90b5800012
2022-08-18 14:49:20 +08:00
Boxiang Zhu
7f0bd27797 fix: Update the package version
Update the package version in test-requirements.txt

Change-Id: If18981f8b31c1177ba33e5163417f4a65a6c0510
2022-08-18 13:44:30 +08:00
Boxiang Zhu
3dd6cb89fc fix: Fix the limit for ports list
We need set retrieve_all as False when we
use neutron client SDK. Default value is True,
it will retrieve all data.

Change-Id: I4e0222c28038fb1b769667951607376adbae284a
2022-08-17 14:57:10 +08:00
Boxiang Zhu
eb59b2614d fix: Remove invalid panko policy
1. remove invalid panko policy
2. remove install panko from post_install.sh
3. update policy

Change-Id: Icb23e4ff34ff47952294f711ddabd36cc9df706e
2022-08-17 14:05:06 +08:00
yangshaoxue
cbabcbce89 feat: Support SSO login via openID
1. add API sso and websso
2. add sso conf

Implements: blueprint skyline-sso-oid
Change-Id: I352200bb2ebf426adaea71826253730c51eeee03
2022-08-11 17:35:07 +08:00
yangshaoxue
f6cf14786b fix: Fix requirements conflict
Fix requirements conflict

Change-Id: I4c9e0fded336fe54533fcfd5356ee12448a43692
2022-08-05 19:01:25 +08:00
Boxiang Zhu
e9d782c0db docs: Add sample configuration into doc
Change-Id: I364938b4b1547bde0633a9c33af9fd0502b506a7
2022-08-01 18:43:26 +08:00
Boxiang Zhu
7ba07dbf70 feat: Add doc base frame
Add doc base frame

Change-Id: Id0a4168873232ef7feedaf1e1c1b6ed2b69a8f17
2022-07-29 14:31:57 +08:00
Boxiang Zhu
5f47c8346a refactor: Remove base_roles and add more into extension_mapping
1. remove base_roles from openstack group
2. add qos and floating-ip-port-forwarding into extention_mapping

Change-Id: I461ae3f8979377ae22ec851bf3315e509b22cfbd
2022-07-28 18:17:10 +08:00
Boxiang Zhu
88ef320dc6 feat: Support mypy check
1. support mypy check, tox -e mypy or tox -e pep8
2. fix error of mypy check

Change-Id: I41b0013d271f3c7d3a28e1ea6dd0b083893d8983
2022-07-28 16:09:31 +08:00
Boxiang Zhu
1591f34a25 fix: Add MANIFEST.in and remove templates from packages
Add MANIFEST.in and remove templates from packages.

Change-Id: I9e53143bdf52a38635057511d6863b1e285a334a
2022-07-21 13:42:09 +08:00
Boxiang Zhu
ce4d5bcc01 docs: Change md file to rst file
1. change md file to rst file for readme
2. add README.rst to description_file in setup.cfg

Change-Id: I3ece3849798d708a780c76453a49a2627126b316
2022-07-20 12:00:10 +08:00
Boxiang Zhu
0c5446f937 fix: Add templates into packages
1. remove MANIFEST.in file
2. add templates into packages

Change-Id: Ia0ca5b4f9696779b03a9d81c86eb2e3eb5e8757d
2022-07-20 10:38:45 +08:00
zhu.boxiang
212cdcc2d9 Add gunicorn log handler and formatter
Use handler and formatter for gunicorn.

Change-Id: I036720c4317cb234c16a4026d9b9bc4a193f69db
2022-07-18 06:48:39 +00:00
zhu.boxiang
08c6265d1e feat: Support system scope for policy list and check
1. support system scope for policy list and check
2. add target for check policy api
3. update version of requirements and test-requirements

Change-Id: If251d26bdb522b03a8fb94ae0034d8ca44be5b61
2022-07-18 14:47:12 +08:00
zhu.boxiang
4d6f784384 fix: Fix schemas of ServersResponseBase
1. Not alias field. Just description field.
2. fix the python-glanceclient version

Change-Id: I95bdda3e69ad3f55dd1213ea6ef01df6245025db
2022-07-15 13:23:27 +08:00
zhu.boxiang
6ca007c1d0 refactor: Refactor the extension schemas
1. remove prefix ext
2. update the swagger file
3. add more detailed info for schemas field

Change-Id: I08f30087e8889d772db3da09a92f1e9390d10dbe
2022-07-14 13:43:52 +08:00
zhu.boxiang
4d9b577007 refactor: Refactor schemas
1. adjust setting schemas
2. adjust prometheus schemas
3. adjust policy schemas
4. adjust policy_manager schemas
5. adjust login schemas
6. remove some invalid model
7. update the swagger.json file

Change-Id: I6b513498999f1c56481107ca78df656e4c8b38cb
2022-07-13 15:21:51 +08:00
zhu.boxiang
7eaa53c9db refactor: Adjust the common and contrib schemas
1. adjust the common schemas
2. adjust the contrib schemas
3. just use schemas directly because all include in __init__.py
4. update swagger.json file

Change-Id: I4b8c366cbb439fbcb7c118329588eab1b31b9370
2022-07-13 10:16:10 +08:00
zhu.boxiang
1b17da1b2c refactor: cleanup some invalid tests
Some tests codes are not used, so just to cleanup them.

Change-Id: I9596a54705150271ae6900a17448d9250af4f2db
2022-07-12 09:52:49 +08:00
Wu Wenxiang
22a2895ba9 docs: add skyline logo design
Change-Id: I3fa64de538066aee812925b817b47f605d59e7c5
2022-06-27 16:33:36 +08:00
Zuul
a79e1d2c75 Merge "fix: add single quotation markx for password" 2022-06-27 03:06:10 +00:00
Wu Wenxiang
85a7f5fdac fix: add single quotation markx for password
Some users forget to add single quotation marks for the password
value which contains blanks or back slashes, which cause login
failures. Adding signle quotation marks for password values in
the example file as a remind.

Change-Id: I0ab68d67f94a90b983b204ced76e85323eeaacdc
2022-06-27 10:00:29 +08:00
Zuul
e7b2fb01b0 Merge "fix: Check both service and endpoint" 2022-06-26 15:59:16 +00:00
zhu.boxiang
4f5b983a2a fix: Check both service and endpoint
When we decide whether the endpoint will add into profile, we will
both check whether the service has been set for openstack config
and the endpoint of this service exists.

Closes-Bug: #1979903
Change-Id: I0ad5558a0b6886d9af44c3e88eb43fc43f3cf58a
2022-06-26 22:52:38 +08:00
Zuul
7a3287503f Merge "Add skyline port settings" 2022-06-23 08:40:38 +00:00
yangshaoxue
068cf9c526 Add skyline port settings
1. skyline port can be set when skyline container starts
2. update readme

Change-Id: Ic7f81e3d753c041fd5ea89268855d4b68086807d
2022-06-23 14:44:23 +08:00
zhu.boxiang
e31e466f76 feat: Remove patch for barbican and update policy
1. remove patch for barbican
2. update heat policy
3. update requirements version

Depends-On: https://review.opendev.org/c/openstack/heat/+/812662
Depends-On: https://review.opendev.org/c/openstack/barbican/+/839147
Change-Id: I8f690c7c1e41cd78199de6386e986512edca9259
2022-06-22 21:54:39 +08:00
zhu.boxiang
fdd1064ab6 chore: Remove unused codes
Remove the coroutine.py file because unused codes.

Change-Id: I095ecd652c8ab17323ad330acb9bf4eddd790336
2022-06-14 21:19:17 +08:00
zhu.boxiang
fc547f8467 feat: Add barbican policy and service_mapping
1. add barbican related policy
2. add barbican into service_mapping
3. add releatenote for barbican
4. update releatenote for zun and magnum

Change-Id: I366e4482617654baab9091736e6f2b186aed6371
2022-06-07 14:05:47 +08:00
zhu.boxiang
10c910c6d5 refactor: Use source code instead of release packages
We install the service projects from opendev instead of
release packages. If the service projects are DEPRECATED,
then we will install them by latest release packages.

Update the neutron policy with the master branch.

Change-Id: I56a10452e731fd6e2597501659ce84e96c4c91ab
2022-06-07 13:29:04 +08:00
zhu.boxiang
32a00a6529 refactor: Register rule and apirule into enforcer
1. We register both apirule and rule into enforcer, so we can keep
the rule in the check_str
2. We re-generate all the services' policy, we just use the original
policy of them. If users want to change, they can change them by
themselves.
3. Adjust the post_install.sh, we install the service packages with
dependencies.
4. Split the ironic and ironic_inspector policy, they can not be in
the same policy file.

Change-Id: I9e152e33be4eef60432fb2030d388b3bec4c082e
2022-06-06 15:03:58 +08:00
Zuul
32990f9269 Merge "fix: Use debug config from default" 2022-05-30 12:47:07 +00:00
Zuul
62038c963e Merge "feature: Add zun config and policy" 2022-05-30 11:39:37 +00:00
zhu.boxiang
2d978cc755 fix: Use debug config from default
Use debug config from default. Set INFO as default level.

Change-Id: I03834f5a69d9f5b6b87d9c4c08296a4589952a92
2022-05-30 18:54:47 +08:00