Commit Graph

266 Commits

Author SHA1 Message Date
OpenStack Release Bot
5b33b76184 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: Ie2c03db28e7388eb3a6971d5f206576cd9254348
2024-09-13 11:15:55 +00:00
Wu Wenxiang
4e06ed4a5a feat: region field change to optional in login API
region filed default value is CONF.openstack.default_region

Change-Id: I11be6339d5f0d74499f0dd3b28664c27ace43b36
2024-08-21 16:02:00 +08:00
zhuboxiang
2a3a08e328 Change to use shell cat to fetch commit_id
Command file can not do correct when run it on centos 7
with docker to build. So Change it to use shell cat.

Change-Id: I1186b22c224bbc6e828f71014f5b7f920df3a651
2024-07-03 10:38:14 +08:00
zhuboxiang
d3c48c17f8 fix: Use update instead of insert
If insert will add a new data when the item exists.

Fix for this commit: https://review.opendev.org/c/openstack/skyline-apiserver/+/920163

Change-Id: I9c1cf197c1eb611ae81f072c9b35898414a2431b
2024-05-24 15:03:57 +08:00
resitdemir
ce7d977df4 fix: Update databases package version
Update databases package with compatiple sqlAlcehemy

Change-Id: If4a91e38d45a1a90ed27e9f4c6303955c07e83d8
2024-05-22 12:25:01 +00:00
Zuul
42567b8b1c Merge "Fix skyline-apiserver on python3.11" 2024-05-08 09:11:53 +00:00
OpenStack Release Bot
075d5725bf reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I420256103435017ab62b3215c8612e7ddb6212ef
2024-04-30 12:59:20 +00:00
Michal Arbet
eea81cef1e Fix skyline-apiserver on python3.11
Bump pydantic version which fixes skyline-apiserver
when running under python3.11.

Closes-Bug: #2047145
Change-Id: Idb1897f64ffaf0cd0fbee4f7f198935386a5f599
2024-04-08 17:11:16 +08:00
Zuul
fb8377af6e Merge "zuul: Use default python3 job template" 2024-04-05 10:38:01 +00:00
Dr. Jens Harbott
ef9de18d34 zuul: Use default python3 job template
Skyline should use the default template openstack-python3-jobs which
will be updated each cycle according to the PTI.

Drop the py38 jobs, the current tested python versions are 3.9 and 3.11.
Also drop the irrelevant-files lists, the unit tests should run fast
enough that this doesn't really matter and this way we don't have to
update the config once new python versions get tested.

Change-Id: I5e9da608e5b277110b77ca5e6378855046798cf8
2024-04-02 09:11:27 +02:00
OpenStack Release Bot
948228e460 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I16cf2c24085d7473594720c13692e065fe9c98da
2024-03-15 14:21:24 +00:00
Zuul
86c2fd5ce7 Merge "fix: Explicit host header in HTTP redirects" 2024-02-21 08:15:37 +00:00
Zuul
c194283b99 Merge "refactor: Prefer FHS-conformant location" 2024-02-21 07:43:43 +00:00
Zuul
3c97f57d80 Merge "feat: Cached download of Skyline Console tarball" 2024-02-21 07:43:42 +00:00
zhuboxiang
d2ed6e4b0c fix: Upgrade the version of databases
For this commit https://review.opendev.org/c/openstack/requirements/+/900435
The version of SQLAlchemy has been as 1.4.50

From the install_requires of databases, we need to upgrade it.
For 0.8.0 version of databases, sqlalchemy>=1.4.42,<1.5

Closes-Bug: #1974452
Closes-Bug: #2025755
Change-Id: I4c046d2e8a8188046f96809219eb6ddf1f950aa6
2024-01-31 17:02:13 +08:00
Florian Haftmann
0af15c5687 fix: Explicit host header in HTTP redirects
Configuration for nginx is now generated in a way such that redirects
have a suitable Host header, which is important e.g. to run skyline
on k8s.

Change-Id: I89503dcbcf988f3e13781d137fc1fde377c3076d
2024-01-24 13:03:13 +01:00
Florian Haftmann
9c58aef47c refactor: Prefer FHS-conformant location
Formally using a FHS-conformant location clarifies that the files
are needed during runtime also.

See also https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html

Change-Id: I569b4248ff0ab6f075e526cf62a41cbf84fa2d08
2024-01-24 13:03:13 +01:00
Florian Haftmann
73cef61356 feat: Cached download of Skyline Console tarball
The tarball is downloaded only once, changes to the sources do not
result in a re-download.

Change-Id: I80ad7ed0a849f639bd4e0655ba6307c09f56814c
2024-01-24 13:03:13 +01:00
Florian Haftmann
fac43ebbf5 feat: Separate devbuild goal for incremental build
A separate goal for incremental builds does not spoil the
existing sane clean rebuild.

Change-Id: I28f0a7bd6dc05881180e312386bdefd8e331436b
2024-01-24 13:03:13 +01:00
Florian Haftmann
aef1139897 style: Uniform order of arguments, shorter lines
Explicit line breaks make passed arguments clear.

Change-Id: I6ef3b7b52634bca05de63033b0baed2163a65ce9
2024-01-24 13:03:13 +01:00
Wenxiang Wu
b1a693d0a3 docs: add FAQ in README.rst
Closes-Bug: #2049807
Change-Id: I9beb1c1e7ba2d8c0378d4eabe8dbd05ffeb06c69
2024-01-24 06:04:49 +00:00
Dr. Jens Harbott
a725476ffc Revert "fix SQLAlchemy version"
This reverts commit 7b7a94bcce.

Reason for revert: This conflicts with upper-constraints.txt

Change-Id: I27a4a0f8ac4f63952167a8ec869db219efe34ded
2024-01-23 11:16:15 +01:00
Wenxiang Wu
ce10b6691f fix: user login failure due to no role assignment to its default project
This bug start from: https://review.opendev.org/c/openstack/skyline-apiserver/+/901229

Closes-Bug: #2049719
Change-Id: Icd7dbd5128dc8f4eb83a09d3304726ebb96cb074
2024-01-18 15:51:40 +08:00
Zuul
86707c7347 Merge "docs: bp-2024-h1-todo-list.md" 2024-01-18 00:02:55 +00:00
Zuul
122097ae08 Merge "Use service_type instead of service_name" 2024-01-17 07:52:53 +00:00
Zuul
d13f11f66a Merge "fix: remove console tarball before downloading" 2024-01-17 07:23:12 +00:00
Zuul
eef81f4f70 Merge "refactor: Prefer separate LABEL instructions" 2024-01-17 07:17:06 +00:00
Zuul
e201391d3b Merge "feat: Install requirements in separate step" 2024-01-17 07:17:05 +00:00
Zuul
744128f26b Merge "feat: Base installation independent of sources" 2024-01-17 07:17:03 +00:00
Wu Wenxiang
2d9a1c7e01 docs: bp-2024-h1-todo-list.md
make skyline more easier for development

Change-Id: Ia712c65522945766b2afedca6f19c5f1b64f2cc9
2024-01-17 13:46:22 +08:00
Wu Wenxiang
c4014a5019 fix: remove console tarball before downloading
if console tarball exist, the new downloaded package would rename
as xxxx.1, which cause unzip mistake (unzip the original one)

Change-Id: Iba121d1605749f78814d6a5720254184ebe56ba7
2024-01-17 13:38:27 +08:00
Zuul
4880acd608 Merge "fix SQLAlchemy version" 2024-01-16 15:50:59 +00:00
HyoBin Kim
7b7a94bcce fix SQLAlchemy version
https://bugs.launchpad.net/skyline-apiserver/+bug/2025755

the sqlalchemy package will be installed in versions 1.3 and 1.5 or higher due to the influence of the databases package.
(defualt install version 1.4.51) need to <=1.4.41

However, sqlalchemy version 2.0 has been released, so additional improvements to version 1.x will be difficult.

Change-Id: Id08257a74e3cbb7b59e793972a4f093b96a46d30
2024-01-03 14:38:34 +09:00
Arnaud Morin
51a5b4a483 Use service_type instead of service_name
When retrieving endpoints from keystone catalog, it's better to use
service_type rather than service_name because the name can be arbitrary
(some operator use custom names) while the service_type should always be
consistent.

Change-Id: I966f2d9f40b8306ba645363a4967139f44d6adde
Signed-off-by: Arnaud Morin <arnaud.morin@gmail.com>
2023-12-06 23:13:56 +01:00
Florian Haftmann
4546837e14 refactor: Prefer separate LABEL instructions
LABELs can go to separate directives, which does not induce a penalty
on the image since docker 1.10.

See also https://dockerlabs.collabnix.com/beginners/dockerfile/Label_instruction.html

Change-Id: Iac33480bc3f4069ab904279ad61b5c58746318c0
2023-12-01 14:02:00 +01:00
Florian Haftmann
bec6c457e5 feat: Install requirements in separate step
Pre-installing the requirements avoids that a mere change of sources
triggers a re-download during incremental docker build.

Change-Id: I734e5d48866aea1b154c467536aaec751cb1740c
2023-12-01 14:02:00 +01:00
Florian Haftmann
8c5bdbe569 feat: Base installation independent of sources
With the aim of incremental development builds, a mere change
of the sources should not result in a re-download of a
substantial amount of distribution packages, including a potential
later re-upload into a container registry.

Change-Id: Ica516f2a40ffaae9ddf4d7dd51d466e23456154f
2023-12-01 14:01:38 +01:00
Florian Haftmann
9e9b76b991 refactor: Official solution for python(3) tools
The re-wiring from python to python3 does not need any manual low-level intervention
but can use official packages.

Change-Id: Idf08a85dd8060d1496802eeca04fb2ca470f6712
2023-12-01 09:02:14 +01:00
Florian Haftmann
f4f081c625 refactor: Tuned
The command git init optionally accepts an explicit working directory,
no need to cd.

Change-Id: I5703b86836170480a6873fd7da85626fa330c85a
2023-12-01 09:02:14 +01:00
Florian Haftmann
70d4677e54 refactor: Dropped redundant environment setting
With LANG set by ENV pervasively, it would be redundant to set
it again for the RUN command line.

Change-Id: Ia9f7d4cf81a268a9db238aa3cec1a9c1029f541f
2023-12-01 09:02:14 +01:00
Boxiang Zhu
55adae48a5 fix: Use system session to handle
Use system session to handle token data and user

Change-Id: I3b0534c4a5097553e3689fcaf7915c4be6df1fe3
2023-11-20 13:50:55 +08:00
Boxiang Zhu
235f7fb286 feat: Add default_project_id
1. add default_project_id into profile to return
2. if user has default_project_id, then we will login into
this project as default.

Change-Id: I147f7866163ae4d102e83f7c28bbf0077f463974
2023-11-17 18:22:54 +08:00
iauhsnaiq
99f557e19c fix: modify database connection way
modify parallelDatabase as Database

Bug: 2042812
Change-Id: I33f282e69e7383a51c3e69b4c8e9273609fb988d
2023-11-10 14:28:56 +08:00
yangshaoxue
1cedd57d6a fix: fix login API error message
the login API does not return an error message

Change-Id: I76be8ca033effe8da98b6e0f5281561b183b6266
2023-11-02 16:02:06 +08:00
root
a27c6daea6 Update the installation documentation
Add configurable policy files.

Change-Id: Ib4395b58dccf94aa18a88b66c9ee3e1e33df9787
2023-11-01 13:32:10 +08:00
yangshaoxue
1e4f72ca2b Add configurable policy files
Configurable policy files are added for services.

Change-Id: I53549fe80798bdd2e6ed3f92f548ed16393a269f
2023-10-31 13:58:22 +08:00
Zuul
cdfe0330d3 Merge "docs: update kolla-ansible deploy skyline steps" 2023-10-26 10:13:43 +00:00
iauhsnaiq
fe56f82f19 support masakari and designate
add masakari and designate policies file and configs.

Change-Id: Ic2d3431df3cb8d33e74d061337514ea3d91bb7ac
2023-10-25 17:23:50 +08:00
Zuul
454b2140f1 Merge "Updating Target Attributes For Barbican Policy" 2023-10-07 09:29:37 +00:00
Boxiang Zhu
9a8d68337d fix: Updated the version of gunicorn
The related patch: https://review.opendev.org/c/openstack/requirements/+/884564

Change-Id: I40786189b960500257967d93f976d528ade12de2
2023-10-07 14:39:11 +08:00