| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #1641383 was not fixed for REST API call.
The two implementation of create_image_metadata are merged
into api/glance.py.
There were minor differences in field naming and handling
(min_ vs minimum_, is_public vs public vs visibility).
This commit normalizes them to simplify the logic.
Closes-Bug: #1757136
Change-Id: I41e9d94345151bc4473d704cdc040ed77870ce45
(cherry picked from commit e3626260313c87aba6d9579c81f8dac415cc7235)
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
---
[Note on a backport to queens]
This is a preparation of a backport proposed in [1].
mock usage of api.rest.test_glance was improved in Rocky and
the test backported in [1] assumes the improved version of the test.
This is a test improvement which does not touch the main code,
so it is a safe backport.
The signature of create_mocks was changed in [2], so the arguments
of create_mocks in this backport are adjusted to Queens version.
[1] https://review.openstack.org/#/c/566267/
[2] https://review.openstack.org/#/c/545472/
Change-Id: Id573d97c467fe8457f60baff089d60c18345395e
Partial-Bug: #1752917
(cherry picked from commit dfa68461ea9d6599809d623bccbf2b5ddb9faec9)
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
Django 2.0 support was deferred to Rocky, so there is no reason
to run py35dj20 for queens changes.
Change-Id: Ie4f1894b6e15d833aab9ec605f760e4b0f46253a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I0447c1e746a442bca22ac9274dc6f1e1430a799d
|
|\ \ \
| |/ /
|/| |
| | | |
get_identity_provider" into stable/queens
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There was a typo in keystone's policy files, and it has been fixed in
Keystone already, we should also fix it to match.
Change-Id: I41e4381765f3bfc5988ca235e6cbeb6d1ba62fc2
Closes-bug: #1703369
(cherry picked from commit 93bb571888a1bff4fa1e110356dbf2cb9fb4ee52)
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The user links patch didn't use the same setting
variable name in context_processors.py, this fixes
that.
Closes-Bug: #1757112
Change-Id: Ie0e516d82c2c1cdc1c343075393cdf9c336f8e5f
(cherry picked from commit f588b4ee2e73c754a7565928c47552e159a1666d)
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make NG table get page size from the items per page setting
instead of a fixed number which is 20.
The styling of the pagination control is the same as the
django table with the prev and next links.
Co-Authored-By: Liuqing Jing <jing.liuqing@99cloud.net>
Co-Authored-By: Vladislav Kuzmin <vkuzmin@mirantis.com>
Change-Id: Ie5307e335ca3251a342d370e7277fe16067f7949
Closes-Bug: #1647677
(cherry picked from commit c58e5b8779b296d57e30bd547e46322b3d1e8d99)
|
| |/
|/|
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: If72fffb2a8fa8f4ac6bece53f7f13a3712552c49
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recent pep8 upgrade and corresponding pycodestyle update break
horizon pep8 job due to the new rules.
This commit fixes the following new errors:
- E226 missing whitespace around arithmetic operator
- E241 multiple spaces after ','
- E731 do not assign a lambda expression, use a def
The following errors are added to the ignore list
as there are many errors:
- E402 module level import not at top of file
- W503 line break before binary operator
Conflicts:
openstack_dashboard/dashboards/admin/aggregates/tests.py
openstack_dashboard/dashboards/admin/instances/tests.py
openstack_dashboard/dashboards/admin/routers/tests.py
openstack_dashboard/dashboards/project/networks/tests.py
openstack_dashboard/dashboards/project/routers/tests.py
Change-Id: I3478b0684175d2604bbcc1d89cbfca298b97f1e1
(cherry picked from commit f545272f129b8310fa44084cef0e23770c20f9dc)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Angular errors on login page are caused by loading ngdetails view.
Although registration of URL for ngdetails is executed on top level
of Horizon, ngdetails view is not needed to be loaded in login page,
i.e. openstack_auth side.
To fix this issue, this patch moves registration of URL for ngdetails
into openstack_dashboard side.
Change-Id: Ib039417b4e666c2341f17ac05fd7723bc758816c
Closes-Bug: #1754133
Closes-Bug: #1753557
(cherry picked from commit f494c6f2d475bfc936b78fda7ce11ed4d46c7224)
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I25e50de90e293350aaf80962342c76f6a0a59f2d
|
|/
|
|
|
|
|
|
|
|
| |
Because the nova API does not allow to set aggregates an empty
availability_zone which has availability_zone at first.
Add a warning to notice users to reduce confusion
Change-Id: I5864c58751ec5f182f30feb302a95923948ad2ad
Closes-Bug: #1644051
(cherry picked from commit 7cb2355dffa32951cc9f283dd5dcb5ff1836190f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, when launching an instance with an instance snapshot rather
than with an image, the error handling was not as pleasant. I.e. the
volume size was not automatically set to the minimum size and the error
message would only appear after attempting to launch an instance. This
is a small patch that addresses this and makes the user experience more
friendly.
Change-Id: Ib694f66c74e90ee2e15201673de953c08cf10122
Closes-bug: #1752360
(cherry picked from commit 3233de8f0d13ad9e0223da9f1cf895aa30a6177e)
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I41e2bd536e44629601c8618b154552e9fa079484
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Id96c0706b79ca9ae12093088fd28da091d170834
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ic4f41dd06da9aaea61fc7f24cc694ca98b5f728e
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I81364e61ba69a03dcce9d9e49ddca5be7fbb1919
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I76287466b53e5d6cafaf6d7b350a6503b240efa3
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I628317ef842f9da066d5d7a52d48b082697d721d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The template for testing ngdetails view is remaining in old directory,
so this patch moves it to more proper directory.
Change-Id: I321779ae115c462cf095cc7697fe8a3959f3d288
(cherry picked from commit f2bff1370f236d4f9c5ed9acc3bca9cfea316d44)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new stable upper-constraints file is only available
after the openstack/requirements repository is branched.
This will happen around the RC1 timeframe.
Recheck and merge this change once the requirements
repository has been branched.
The CI system will work with this patch before the requirements
repository is branched because zuul configues the job to run
with a local copy of the file and defaults to the master branch.
However, accepting the patch will break the test configuration
on developers' local systems, so please wait until after the
requirements repository is branched to merge the patch.
Change-Id: I90a6ca356f7271793963d9a19e789502b2a6c493
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Iad2b2be515e249e60d4ea95a504a2e80ad13692d
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
When doing theme customization with templates
collectstatic failes with a traceback
Change-Id: I0fdb80ddde1f73b657d445c75b55636d6f2e8d88
Closes-bug: #1744239
(cherry picked from commit dc0bce63a03e37e9f3f181930ba6d6b7c8b1346e)
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I2853210d553ad6dca6457da26d4d63d227b6065e
|
|/
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I11b75a6874232d6ef744f48495b5f10b2fb7ace3
|
|
|
|
| |
Change-Id: I7018cb82caa5b6ec5e3b12ace8bc33f17371e8f8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Network topology "Graph" tab always says "There are no networks,
routers, or connected instances to display."
This happens after a fix for bug 1661350
(commit f35eaa2d13fc5aff31b9a83dc729cc20b91fc611) was merged.
The problem with that in checking the length of object.
So always will be equal undefined,
also check the object before getting filled.
Closes-Bug: #1747196
Change-Id: I72dd8d2b472677411635f58309c780a8d602ffe3
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I20b7fdb3df2d998ba9b3f14ff9b22deb602c3870
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I don't know why we still have this. Even in Pike in django_openstack_auth
models.py file is empty and was created with initial commit.
Change-Id: Id7910c39b28356b68b71c17591a385418578319c
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before upgrading horizon, django-openstack-auth needs to be
uninstalled. Otherwise, openstack_auth python module will be
maintained by both django-openstack-auth and horizon python package
and this potentially brings confusion.
blueprint merge-openstack-auth
Change-Id: Iedf9b6087e35caf4f196780e94247554b360dd0e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I283149a60384dba6b58889c72fd3b773088397cf
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
novaclient version 10 has dropped the support for novaclient.v2.hosts.
os-aggregates and migrateLive APIs expects host from os-services,
so this commit retrieves host list from os-services API.
Change-Id: I5ec007ab1f244ca8caee1eb7b5d4262ac6c32171
Closes-Bug: #1745502
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Based on nova commit 32c8ac6b7dfe4ca0c211cbce7c5a67d88558126f
The new file was generated by oslopolicy-sample-generator:
oslopolicy-sample-generator --namespace nova --format json
nova uses policy-in-code now, so there is a lot of differences.
Sorted version diff is http://paste.openstack.org/show/628742/
All policies with "@" have been dropped.
Dropped policies used in horizon are:
os_compute_api:os-certificates:create
os_compute_api:os-scheduler-hints:discoverable
os_compute_api:os-server-groups:discoverable
[discoverable]
"discoverable" policies are related to nova API extensions
but the API extension mechanism has gone in Nova Queens,
so these policies now make no sense in Nova.
In Horizon side, we are still use a bit older API version
to launch instance, so it seems some fallback policies are needed
and they are added as conf/nova_policy.d.
[os_compute_api:os-certificates:create]
No corresponding policy is found, so the related policy check is dropped.
EC2 API is provided as a separate project from nova.
I guess this is the reason the policy was dropped.
DownloadEC2 action referred to it, but we already checks EC2 service
is available so I believe the policy can be dropped safely.
[openstack_dashboard.test.unit.api.rest.test_policy]
Unit tests are updated according to the nova policy change.
Note that test_rule_alone previously succeeded because it used
non-existing policy and fallbacked to 'default' rule.
The rule is changed to a policy for non-admin user.
Change-Id: I68f91bc29b20a4ecd613fc75735d38b9a48162ee
|
|\ \ \ \ |
|