Commit Graph

266 Commits

Author SHA1 Message Date
Reşit Demir
7260c09fae feature: Add zun config and policy
1. add zun install into post_install.sh
2. add zun into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add zun policy

Change-Id: I741922f06ad5103417a817ed0695f6b3d67fb926
2022-05-30 10:17:16 +00:00
zhu.boxiang
193f2ed6c7 refactor: Use pbr to get package version
1. use pbr to get package version
2. update the dependencies' version

Change-Id: If221a54a2eecbca76c212838fddef272bfd48484
2022-05-30 14:42:53 +08:00
zhu.boxiang
c12b6edcf0 fix: Fix the folder name of skyline-console
Fix the folder name of skyline-console when build
skyline docker image to get skyline console commit id.

Change-Id: I4d8e55c0ddd2914ceabf7a2546ebae213ff864ca
2022-05-27 20:00:57 +08:00
zhu.boxiang
72e7cf3cf5 refactor: Remove invalid config
Remove invalid config show_raw_sql.

Change-Id: Id839175530a6de441b3a3c90e94650c3ca851c6f
2022-05-27 16:49:39 +08:00
zhu.boxiang
ee6d1a7a49 fix: Add manila into service mapping
Add manila into service mapping. So if we deployed the
manila service, we can get the endpoint of it by default.
Re-sort the service mapping by its' initial.

Change-Id: I88dbafbe34b0e95eff0b00d9260f1b7a6fc0db77
2022-05-27 11:11:34 +08:00
zhu.boxiang
ed1fb8ffca fix: Use the correct job for post
Use the correct job for post. Use publish-openstack-python-branch-tarball
instead of publish-openstack-python-tarball.

Change-Id: If0e8a2e73d0a7bf238e36119e678f813aedcbd40
2022-05-26 22:13:39 +08:00
zhu.boxiang
37a0cacf26 style: Re-generate the default config yaml
Re-generate the default config yaml.

Change-Id: I4b536694ae311308cdc9b3a43b32c146613daf18
2022-05-26 20:19:51 +08:00
zhu.boxiang
1a050ec2c4 chore: Remove poetry
1. remove poetry dependency
2. add requirements.tx, test-requirements.txt, setup.py and setup.cfg
3. add more env into tox.ini
4. remove some command from Makefile
5. cleanup the dependencies
6. change some commands of README
7. update the devstack

Depends-On: https://review.opendev.org/c/openstack/skyline-console/+/843257

Change-Id: I4cefc4cfdaadf7b3ba03ffe8441e9ae760772349
2022-05-25 22:26:42 +08:00
Numan MENEKŞE
60144767cd feature: Add magnum config and policy
1. add magnum install into post_install.sh
2. add magnum into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add magnum policy

Change-Id: I10d2d337331d8c4857f6e58331e545eead0bf26f
2022-05-25 15:59:28 +08:00
zhu.boxiang
a7856401a9 fix: Remove invalid constant NEUTRON_PORTS_API
Remove invalid constant NEUTRON_PORTS_API.

Depends-On: https://review.opendev.org/c/openstack/skyline-apiserver/+/839462
Change-Id: I05bfcd1483af9daf7da3873cca84df22096e44f2
2022-05-23 21:35:16 +08:00
chenliufeiyang
9aa12defca feature: Add skyline-console commit-id
1. add wget and tar into makefile to get skyline-console package
2. set skyline-console commit into skyline docker image as label

Depends-On: https://review.opendev.org/c/openstack/skyline-console/+/841664
Change-Id: Id69ba06c91343ca6bdccab85c45d258a3a6eaa19
2022-05-20 14:14:21 +08:00
zhu.boxiang
8cb60f0833 chore: Move skyline_apiserver out of libs
1. move skyline_apiserver out of libs
2. remove libs folder
3. remove old skyline folder
4. adjust zull, devstack and dockerfile

Change-Id: I27a4babd3df077d1dfc7555f67a6ea618d4b2966
2022-05-18 17:21:00 +08:00
zhu.boxiang
6949568886 chore: Remove invalid folder from libs
1. remove skyline-log from libs
2. remove skyline-config from libs
3. remove skyline-policy-manager from libs
4. remove skyline-nginx from libs

Change-Id: I26ffdd75384a1949388b1bfc0129245065a04346
2022-05-18 11:14:31 +08:00
zhu.boxiang
9312010923 chore: Merge skyline-nginx into skyline-apiserver
1. merge skyline-nginx into skyline-apiserver

Change-Id: Ib2f31435ce69c52ea2c27d63177f9c8f936c033e
2022-05-16 21:38:38 +08:00
zhu.boxiang
ba249b0741 chore: Merge skyline-policy-manager into skyline-apiserver
1. merge skyline-policy-manager into skyline-apiserver
2. move tests into skyline-apiserver
3. we will remove skyline-policy-manager after we merge
skyline-nginx into skyline-apiserver

Change-Id: Id57598f3726c891e399af81eb0383746f78386b5
2022-05-16 17:12:54 +08:00
zhu.boxiang
6a1bdd4fb4 chore: Merge skyline-config into skyline-apiserver
1. merge skyline-config into skyline-apiserver
2. move tests into skyline-apiserver
3. we will remove skyline-config after we merge skline-policy-manager
and skyline-nginx into skyline-apiserver

Change-Id: I76091eb0f19333bafd999f3e03cb8bfc2ada6640
2022-05-13 14:01:26 +08:00
zhu.boxiang
b4d2d670cf chore: Merge skyline-log into skyline-apiserver
1. merge skyline-log into skyline-apiserver
2. move tests into skyline-apiserver
3. we will remove skyline-log after we merge skline-policy-manager
and skyline-nginx into skyline-apiserver

Change-Id: I04b6e0a8bcddc3139a423a6e31dd603d39498ad8
2022-05-12 16:19:40 +08:00
zhu.boxiang
240e26691d feat: Update policy for manila and trove
1. update policy for manila, use role instead of rule
2. update policy for trove, use role instead of rule
3. update the dependencies for skyline-policy-manager

Change-Id: I57f010f769575f7b75673c5c154eac4fed07b708
2022-05-10 15:16:05 +08:00
zhu.boxiang
370b8bf229 feat: Change the command for testenv:releasenotes
1. change the command for testenv:releasenotes
2. add releasenotes as irrelevant-files for skyline-functional-devstack
job

Change-Id: Ia50312a136841ac42d77dcd5f23774161c9ae141
2022-05-07 15:47:14 +08:00
zhu.boxiang
4dc1583958 feat: Add releatenotes
1. add releatenotes
2. add releatenotes into tox

Change-Id: I96414e63f36e4f481c35c82b9cd2c32e25f1a88b
2022-05-06 19:35:51 +08:00
zhu.boxiang
c104db6a72 chore: Update dependency packages and remove invalid
1. update dependency packages
2. remove invalid packages from pyproject.toml

Change-Id: I3c4d2c875e1d03a2a41304ccf82d4ca1187d6c7d
2022-05-06 09:54:41 +08:00
Zuul
6c8baadfdc Merge "feat: Add manila policy" 2022-05-05 17:03:10 +00:00
Wu Wenxiang
1fc924798f doc: add skyline community icons
1. add skyline community icons
2. add vscode debugging tips
3. add quotas in skyline.yaml.sample
4. add flake8/bandit/pycodestyle plugins

Change-Id: Ib63c12c613c4f6cb24879324b6445cedc268724b
2022-05-04 07:15:31 -07:00
Wu Wenxiang
a7272af0c8 doc: add sqlite connection string example
add sqlite connection string in skyline.yaml.sample

Change-Id: I117f8c51eee9d007399b1e2342952654dbe92db6
2022-05-03 17:30:02 -07:00
zhu.boxiang
a20c42ae90 feat: Add manila policy
1. add manila install into post_install.sh
2. add manila into SUPPORTED_SERVICE_EPS and PREFIX_MAPPINGS
3. add manila policy

Change-Id: I731b6aae1bbfd9bb88dc33d61b1660b71bf60b3a
2022-04-29 17:14:57 +08:00
zhu.boxiang
988185cbdf fix: Fix trove policy
1. add trove into SUPPORTED_SERVICE_EPS
2. add PREFIX_MAPPINGS
3. change manage to remove/add prefix auto

Change-Id: Ia6bfa83cb721655c25952e0fd7c0c12020bdf9ff
2022-04-29 16:52:01 +08:00
zhu.boxiang
4b35a82ea3 fix: Remove invalid count of ports list
Neutron does not supply the count of ports from
list ports api. So we need to remove invalid count
of ports list api from skyline.

Closes-Bug: #1948615
Change-Id: I8858c242957a6cda47c08efa1e1d233db15cad18
2022-04-27 12:22:11 +08:00
zhu.boxiang
e50d2a6bc5 fix: Fix the url path pattern when generate nginx config
Fix the url path pattern when generate nginx config.

Closes-Bug: #1970007
Change-Id: Ifadfee974189f7b1426f29b20f6b23642a45bfee
2022-04-23 12:41:28 +08:00
zhu.boxiang
1ab2cec63b fix: Use -U to upgrade the skyline-console with tarball
Use -U to upgrade the skyline-console with tarball when
building the skyline container.

Change-Id: I494ee49e8ce5983823388c60124364e0a7064f36
2022-04-23 12:01:55 +08:00
zhu.boxiang
ce16e7249b fix: Add prefix for trove policy APIRule
Some rule names are duplicated. So we add prefix for
trove policy APIrule.

Change-Id: Ib49431ffeea170f74163641df2d4f06e97ca06ae
2022-04-14 15:30:46 +08:00
Zuul
643d19e885 Merge "Add Trove configs and policies to Skyline-Apiserver" 2022-04-08 15:05:11 +00:00
Reşit Demir
3aa06f7853 Add Trove configs and policies to Skyline-Apiserver
Change-Id: I28d627dc00dcaafc1582b13b9c0416966978b594
2022-04-06 09:32:10 +00:00
Zuul
9399e80917 Merge "fix: markupsafe ImportError" 2022-03-28 10:14:17 +00:00
yangshaoxue
3c8259e723 fix: markupsafe ImportError
Bug Description
===========
I'm trying to install a skyline image, and getting following error
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/site-packages/markupsafe/__init__.py)

Result
==================
MakeupSafe==2.1.0 is not supported in Jinja2
Using markupsafe==2.0.1 fixes the issue

Issue: https://bugs.launchpad.net/skyline-apiserver/+bug/1966360
Change-Id: I85857c254874f123505a31044f9145de8a1a9ea1
2022-03-25 04:41:59 +00:00
zhu.boxiang
8bfc3ed08c fix: Only use system_session when use id filter
Only use system_session when use id filter

By default, id filter is valid for admin user.

Closes-Bug: #1957142
Change-Id: I57d3014f18e7b2ba832421453f45f71d04489e07
2022-03-24 18:55:31 +08:00
chenliufeiyang
461ddb6632 fix: Use admin permission to list volumes with ids
By default, id filter for list volumes is only availabe
for admin user. So if we login as a normal user. It will
fail to list volumes with ids.

So we use admin permission to list volumes with ids.

Closes-Bug: #1957142
Change-Id: Ia18bf377b34a11d11df898003242eb763f8cfeea
2022-03-17 13:38:20 +08:00
zhu.boxiang
6494ff6a46 fix: Fix the log_dir
If the log_dir is /var/log/kolla, and when we
deploy with devstack, we only chown the permission
for /var/log/kolla/skyline with stack user.
But the permission for /var/log/kolla is still root.
So it can not be access by stack user.
We will both change the log_dir in skyline-console
project.

Change-Id: I852c44cda2f9879aa8d8e405bb39bba13f35b8ca
2022-03-14 10:22:24 +08:00
yangshaoxue
babe6fe563 fix: Update .zuul.yaml
fix: Update .zuul.yaml
Change-Id: I8bc5bdefcfc56c0e91b2b6ff6125e6b9f9b44996
2022-03-10 19:10:57 +08:00
yangshaoxue
c397f97cc4 fix: Add nginx option "listen_address" and "log_dir"
Add nginx option "listen_address" and "log_dir"

Change-Id: I161f76155b7cf34ef3bf4ea1f2416798aa533920
2022-02-16 13:42:13 +08:00
yangshaoxue
47291a2365 fix: Update README.md
Update README.md

Change-Id: I1c07a63700d2f0b9c3474f95dae8d430d0ef03bb
2022-02-14 09:50:48 +08:00
yangshaoxue
14433d9774 fix: update skyline nginx log file address
Update skyline nginx log file address

Change-Id: I150064a8a0175b073c2cb31303a812763cb02f78
2022-02-09 16:42:42 +08:00
zhu.boxiang
e646bd65fe fix: Remove skyline_console when rename whl files
Remove skyline_console when rename whl files

Change-Id: Ia9e49bf284bfaae12536eadeb780005636027cb1
2022-01-12 21:16:35 +08:00
zhu.boxiang
a7ccf5e0fb fix: Cleanup skyline-console in .zuul.yaml and publish job
1. Remove skyline-console from irrelevant-files in .zuul.yaml file
2. Remove skyline-console from publish job

Change-Id: I242ad9dc6ef3491f207dd3ebf93bce853f6a96ff
2022-01-12 11:36:09 +08:00
zhu.boxiang
047f197844 refactor: Remove skyline-console submodule
1. Remove libs/skyline-console submodule
2. Delete .gitmodules file
3. Update the dependencies
4. Update the Dockerfile

Change-Id: I80eae423ba3c308bb7f4d817f9142d9877855e7a
2022-01-06 13:43:46 +08:00
zhu.boxiang
36e4e5ce0e chore: Update submodules
Update submodules of skyline-console

Change-Id: I8ca833da45979b0668e201d55c5dbc528edc9a24
2021-12-02 16:48:59 +08:00
Zuul
70babad06a Merge "feat: Add swift endpoint url when generate nginx.conf" 2021-11-29 03:49:01 +00:00
王晨
01582540ca feat: add query api
Add calling prometheus interface

Change-Id: I2aeac35d91c9b94dcd0549f1a0ac7ca25f6d268f
2021-11-26 07:08:38 +00:00
zhu.boxiang
c5ec9e0faf feat: Add swift endpoint url when generate nginx.conf
Add swift endpoint url when generate nginx.conf.
Add swift type into service mapping. Also update
the sample file of skyline.yaml.

Change-Id: Ib7dc4202bb390557afb665da7f5ae4004d40f324
2021-11-26 09:40:48 +08:00
zhu.boxiang
872f2f4847 docs: Execute make swagger to fill in information
Lack of information for swagger.json. So we execute
make swagger to fill in information.

Change-Id: I2f18df3bf5056579206508cf248bd7bdd1b08618
2021-11-25 11:21:23 +08:00
zhu.boxiang
27d22a984d fix: Error build image
Fail to build skyline image. We should upgrade the pip and setuptools
version.

Remove irrelevant files for skyline-tox-lint-py38 job to retain one job
to trigger zuul.

Refer: https://github.com/python-poetry/poetry/issues/3329

Change-Id: I444faa3aefaa8ef8cfeb5284bc2a7a49bb0cb91b
2021-11-23 11:04:50 +08:00