Commit Graph

266 Commits

Author SHA1 Message Date
resitdemir
a2f32fc234 Updating Target Attributes For Barbican Policy
Barbican policy contains target attributes which need to be updated in request context
like "target.secret.project.id". Otherwise certificate menu throws permission denied errors.
Also we need to set "target.secret.read" and "target.secret.read_project_access"
but i did not find a way how to set them.

Change-Id: I51631d0be023fc091b32aaeb71145c2893454bba
2023-09-28 08:15:10 +00:00
Zuul
0d8a69c413 Merge "Update master for stable/2023.2" 2023-09-27 04:10:08 +00:00
yangshaoxue
87019798fa fix: Compatible with member and _member_
When the default role is _member_ instead of member, the Skyline API response 401

Bug: 2034976
Change-Id: I7c633728c8de9f300eb718f615bc9950e0c96411
2023-09-19 17:28:45 +08:00
OpenStack Release Bot
d166ff404c Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I1dfd129aed9a9f9f40fbe5a9adc472c9a83beccd
2023-09-14 08:58:16 +00:00
Boxiang Zhu
2ceaa1e3ed fix: Add GLOBAL_VENV into skyline devstack plugin script
The devstack project has added GLOBAL_VENV env to adjust
the python env. So skyline needs to adjust the same check.

Change-Id: I5f5c3d40dc706cca2f2a91b48db50de67cb140e3
2023-08-18 13:12:31 +08:00
iauhsnaiq
69271313e3 docs: update kolla-ansible deploy skyline steps
remove kolla-ansible skyline patch
since that has been merged into kolla-ansible.

Change-Id: Ie7e552e9514b91b97a6d6a87b1ee477d56f58710
2023-07-07 17:37:01 +08:00
Zuul
ca3b13fd9a Merge "feat: Add time_expired into cookie" 2023-06-07 11:29:23 +00:00
Boxiang Zhu
9c4f5e5e74 feat: Add time_expired into cookie
Now the expired time for skyline and keystone is not the same
value. Sometime, when the token of keystone is valid but the
jwt token of skyline-apiserver is invalid.
The skyline-console will send the request to backend service
and then get 401 from skyline.
So we add time_expired into cookie, then skyline-console can
check whether time expired or not.

Change-Id: Id1d3a83eb433c18e88828115e8bd744151fb14f7
2023-06-05 16:40:49 +08:00
Wu Wenxiang
51c2b40e4d docs: add spec for feat 'Multi Region & Domain Switch'
Change-Id: I00e319f7c72256f9deb8505cb12b3a9699f12183
2023-06-02 10:18:24 +08:00
Danny Webb
de22d3ba3b change sso port to be optional
request.url.port can return None in the case of default ports (80,443)

Change-Id: I07b5fdf11199afefd2996ff36c6e997e52037308
Signed-off-by: Danny Webb <danny.webb@thehutgroup.com>
2023-04-04 15:27:07 +00:00
Boxiang Zhu
8d85cacab8 Update requirements and test-requirements
To match the upper constraints, update some versions in
requirements and test-requirements

Change-Id: I6d89c56d6e98cfb0927928af195a04867d426a82
2023-03-27 13:12:25 +08:00
OpenStack Release Bot
ef4fb138d3 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: I763262d1e306feaa9efe77da2d312821f38ce1ad
2023-03-01 09:44:59 +00:00
wang.chen
2723126f03 docs: Add docker image address
Add docker image address

Change-Id: I5a8423a0414f3af0ee52c8b705c084c26aaea80c
2023-01-18 18:36:29 +08:00
Boxiang Zhu
7292b43c60 fix: eliminate whitespace in passenv values
eliminate whitespace in passenv values

Change-Id: I295aa812235894056d6c8472ef6979621ae6ffb2
2023-01-03 17:03:32 +08:00
yangshaoxue
7f363390c8 fix: prometheus response 500
API /query_range always report 500 error

Bug: 1999839
Change-Id: I66a152c2c76d4984cc2fbf085e8c2d1da3701ece
2022-12-20 11:46:10 +08:00
yangshaoxue
ceabe71b7f feat: Add cafile conf
Add cafile conf and support keystone ssl verify

Change-Id: Id82f49009e2e6778568c629b9fe66e3e50cf73d7
2022-12-15 18:20:49 +08:00
yangshaoxue
c7c346de9a fix: Fix keystone_url default sample
Fixed the issue that keystone_url's default sample was incorrect

Change-Id: I0e5157c1f2cb3a89f3abcd6decc3371116a79835
2022-12-15 15:20:06 +08:00
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