Commit Graph

249 Commits

Author SHA1 Message Date
Tobias Urdin
49259070ad Fix spelling for admin role in Barbican policy
See this patch fixing this [1].

[1] https://review.opendev.org/c/openstack/barbican/+/864226

Change-Id: I9ca2341a0d52d0516f77169783b47e194f16cb00
2022-12-15 01:14:12 +00:00
yangshaoxue
f5345ad824 fix: Fix test requirement
Modified from pytest-cov<=2.12.1 to pytest-cov>=2.12.1

Change-Id: I8b30b3edb217561fe751a8ed2b3e4ce53f9ceee9
2022-12-14 09:02:18 +00:00
Boxiang Zhu
95e1c13f74 fix: Fix the devstack for python3.8 and version in requirements
When the os is ubuntu, then we only need to make
sure that python exists.
Update the version in requirements.

Change-Id: I100fce84d94f2af5f07d68c5675a02ae05403110
2022-11-22 13:41:58 +08:00
Boxiang Zhu
9cf3f9d8cf docs: Update doc with how to enable ssl
Update doc with how to enable ssl

Change-Id: Ic8e932cb130ed0ab7d1c118093e23d3331c1f70f
2022-11-15 17:11:01 +08:00
lcyuzzz
47547cad59 Remove unicode literal from code
All strings are considered as unicode literal string from Python 3.

Closes bug: #1995571

Change-Id: I5321030cb9aeec8291bfddf3b4d5e013845ff137
2022-11-03 16:55:53 +08:00
yangshaoxue
ea69660e4d feat: Add API docs
Update the nginx configuration file to access API docs

Change-Id: I59dc9aee11f87f61d1ecb6095b16bed9658a58c0
2022-11-02 17:31:04 +08:00
Boxiang Zhu
1393aea120 feat: Support both http and https for nginx.conf.j2 template
By default, if we do not supply the ssl_certfile and ssl_keyfile,
nginx will use http.

Change-Id: Iba86cd119e1aeec892c2b663c994778b63767e3e
2022-10-21 14:59:23 +08:00
Boxiang Zhu
fb1d6d8d4b feat: Add log_file config into skyline.yaml.sample
Add log_file config. Now log path of skyline is log_dir
with log_file, no other hardcode path.

Change-Id: Ieb1fd567e02110238568840fe3641770def0994d
2022-10-19 17:29:14 +08:00
Boxiang Zhu
1edaacf735 fix: Use constraints file when build skyline image
We follow the constraints file of openstack constraints when
we build the skyline docker image.

Change-Id: I53ca823da45d56dd7a1b673cf3a0eda24467f39d
2022-10-19 13:39:21 +08:00
Boxiang Zhu
68e1a3cced fix: Update policy
Latest policy update for Zed RC2

manila:
  - https://review.opendev.org/c/openstack/manila/+/856394

Change-Id: I6d0c81354ca6b46d1e71bd0a7e44b9e8ab9cf094
2022-09-30 10:24:46 +08:00
Zuul
bbf905a839 Merge "Update master for stable/zed" 2022-09-19 08:58:47 +00:00
Zuul
fb2ea5ebf2 Merge "fix: Add enforce_new_defaults configuration" 2022-09-19 08:58:42 +00:00
yangsngshaoxue
18b61a1089 fix: Add enforce_new_defaults configuration
Fix barbican policy error

Change-Id: I57ebd29906378a67b5d6fe46ae2c584e0abc2a75
2022-09-16 18:15:29 +08:00
OpenStack Release Bot
7572d80208 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I7aec815207ee4d9a1e7e0a52aaacbec787cc3519
2022-09-15 08:57:47 +00:00
Boxiang Zhu
c6fd1d4147 fix: Lack of Octavia device owner of port
Add Octavia device owner of port

Closes-Bug: #1989551
Change-Id: Ic1d544bd9e61f68549cb052c40c666d6306524ef
2022-09-14 15:53:23 +08:00
Boxiang Zhu
e6cb920068 docs: Add rc1 release notes
Add rc1 release notes. Include all features of skyline-apiserver.

Change-Id: I7cfe83cde21e251bceabe70672065b8af2ddb146
2022-09-13 11:49:17 +08:00
Boxiang Zhu
c8e191b457 fix: Update policy
Latest policy update for Zed release(1.0.0).

Now no feature for openstack service.

nova:
  - https://review.opendev.org/c/openstack/nova/+/849209
ironic:
  - https://review.opendev.org/c/openstack/ironic/+/852794
glance:
  - https://review.opendev.org/c/openstack/glance/+/855435
barbican:
  - https://review.opendev.org/c/openstack/barbican/+/854656
  - https://review.opendev.org/c/openstack/barbican/+/854661
  - https://review.opendev.org/c/openstack/barbican/+/854655
  - https://review.opendev.org/c/openstack/barbican/+/854677
  - https://review.opendev.org/c/openstack/barbican/+/854786
manila:
  - https://review.opendev.org/c/openstack/manila/+/825008

Change-Id: I5d5940a0c15672aee4a0b4cdacab4460e69511a3
2022-09-13 09:55:04 +08:00
Boxiang Zhu
def775692d fix: Fix to add compute:kuryr for device_owner filter
Fix to add compute:kuryr for device_owner filter

Closes-Bug: #1988946
Change-Id: I109560a8e2b9584c654dfa47fa6dc11a9eee2072
2022-09-07 15:54:28 +08:00
Wu Wenxiang
a3cb40460e docs: fix rst syntax error about links
remove <>

Change-Id: Id699576edd4d7928dfa53c96a7d1adfd6187322d
2022-08-27 11:50:53 +08:00
Wu Wenxiang
2b2f4f9974 docs: replace "deployment with mariadb" chapter with links
1. formating indents
2. remove redundant "deployment with mariadb" chapter

Change-Id: I4f2f830c83bcb996da90b89b0e927eceb7940d83
2022-08-27 11:10:01 +08:00
Boxiang Zhu
3f8106a07b docs: Restore the README.rst
1. restore the README.rst
2. add two links about developer docs and release notes

Change-Id: I0174db34ce42736f86a601ac7fea3857eb3d9f96
2022-08-27 07:50:31 +08:00
Zuul
00af398d92 Merge "fix: Fix server_name is null in volumes attachment" 2022-08-26 11:51:11 +00:00
Zuul
1730bc5129 Merge "fix: Add enable field in profile" 2022-08-26 07:16:09 +00:00
Boxiang Zhu
71473abbdc fix: Fix server_name is null in volumes attachment
Fix server_name is null in volumes attachment when volume
is attached to server(s).

Change-Id: I69132a2de6c1974e3c081b7cfff0f29b126837bc
2022-08-26 13:42:32 +08:00
yangsngshaoxue
85da8bd976 fix: Add enable field in profile
Add enable field in profile

Change-Id: I1b7b314d49dcd08e8b01be090a7d5206c2f83d4f
2022-08-26 13:14:00 +08:00
Boxiang Zhu
3ccfeefb6c chore: Add description for api params
Add description for api params.

Change-Id: I2f245f52a610dfeb20e8973bcf2b3dec7e000fb8
2022-08-25 17:41:06 +08:00
Boxiang Zhu
f3dacbcea7 chore: Add license for python file and update policy
1. Add license for python file
2. Update the policy for all services

Change-Id: I4bc6a68874afe1cc51da1a24d278165356d5dec3
2022-08-25 14:35:55 +08:00
Zuul
f097842c86 Merge "fix: Check project_id when supply uuid filter" 2022-08-24 12:06:21 +00:00
Zuul
e7809a0002 Merge "refactor: Move all wrapper into wrapper folder" 2022-08-24 11:23:57 +00:00
Zuul
eee3fe81dc Merge "fix: Set bool as string for bootable and multiattach" 2022-08-24 11:23:55 +00:00
Boxiang Zhu
fefc145642 fix: Check project_id when supply uuid filter
Check project_id when supply uuid filter for volume snapshots list.
If project_id is not the same as login project_id when not supply
all_projects, just return None.

Change-Id: Idba709fe5d85087129144aa6bbbfe811fc36359f
2022-08-24 18:30:01 +08:00
yangsngshaoxue
d1260ffc4d fix: Add envdir to common commands in tox
Add envdir to common commands in tox

Change-Id: I60ad7e0263bde421eb766a01ec15b4177119a727
2022-08-24 14:05:36 +08:00
Boxiang Zhu
74b29b8c5c refactor: Move all wrapper into wrapper folder
Move all wrapper into wrapper folder

Change-Id: I3f809a15bebdd3284a07acfde4dc887efc0fe36e
2022-08-24 11:54:11 +08:00
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