Bump pydantic version which fixes skyline-apiserver
when running under python3.11.
Closes-Bug: #2047145
Change-Id: Idb1897f64ffaf0cd0fbee4f7f198935386a5f599
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>
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
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
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
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>
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
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
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
We use system session to filter volumes with snapshot_id.
The snapshot_id filter is non-available for member user.
Change-Id: I6424f117d28378a8eb1dcafa02e6c50029f62015
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
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
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
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
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