summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disable form auto-complete on login formstable/ussuriDavid Hill2023-05-051-2/+2
| | | | | | | | Disable form auto-complete on login form with autocomplete="off" for the email/password field. Change-Id: Ie550eae36ece160d19186a404c0e688f2f6e785b (cherry picked from commit e4a13dbcde0df213f9b6e7d72f45c6610192204a)
* Merge "Modified the image page to use CSS class" into stable/ussuriZuul2023-01-171-2/+1
|\
| * Modified the image page to use CSS classWei Lingfei2022-09-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Pages can not display normal when language is Simplified Chinese(zh-cn), a row in the table can display only one Chinese character. Remove "width: 100%" rule from the "word-wrap" class. The page should now display normally. Partial-Bug: #1936830 Change-Id: If72d49c78a9f83687785a1225151d819b85e88d2 (cherry picked from commit e9ca0016234632f6ad0fbd766c5829c587b6a951)
* | Merge "Don't try and update port security if its not changing" into ↵Zuul2023-01-043-4/+22
|\ \ | | | | | | | | | stable/ussuri
| * | Don't try and update port security if its not changingSam Morrison2022-09-243-4/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default policy in neutron doesn't allow port security to change if network not owned by the user. To allow users to update other attributes of a port don't send port_security_enabled attribute to neutron unless it changes. If user tries to change port security on a port in a network not owned by them it will still error as it does now. Partial-Bug: #1841050 Change-Id: I301336103cabc3f1cab3ee72d7743385ff1a10d6 (cherry picked from commit d059b0bc40f04befc60657cd6504cc5711934b90)
* | Merge "Make readonly metadata properties unable to edit" into stable/ussuriZuul2022-12-012-0/+10
|\ \
| * | Make readonly metadata properties unable to editTatiana Ovchinnikova2022-11-252-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Image metadata properties os_hash_algo and os_hash_value are readonly, and attempts to edit them fail with unclear message. This patch makes these fields readonly in update metadata form. Also, if the existing metadata property is null, Horizon should consider it optional too, in addition to empty field fix: https://review.opendev.org/c/openstack/horizon/+/812009 Change-Id: I892465ca4688fce9f7123682d02f11c92c7d2c5c (cherry picked from commit 892080ec0ff6174d5fd5de221ec4802bd21371a6)
* | | Fix app cred create without project_id for domain adminsRodrigo Barbieri2022-11-222-3/+58
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users with domain admin role that are not cloud admins are not able to get scoped context and create an application credential with project_id, so this change forces the scoped context in that particular case. Closes-bug: #1827120 Change-Id: I076a97a6f943ab74a2db8bc5179a7db194009db4 (cherry picked from commit 6eeaf9852478e25ff77c21117664ac126c5357a4) (cherry picked from commit 778a52e66aeab883b31db729e04944eeecfec6a2) (cherry picked from commit 13e821a079134a458b24593d9593e0e5318e6cd6) (cherry picked from commit 084ee8aaea703d99720c0cdc2751b6479dab3b2f) (cherry picked from commit 2f8aaa03e8ed4c2c8e3628f1f723f304b24b1f82) (cherry picked from commit 37caed80e67fe71abf44a877908ffdf708239515)
* | Merge "Escape unicode characters when setting logout_reason cookie" into ↵Zuul2022-11-094-11/+21
|\ \ | | | | | | | | | stable/ussuri
| * | Escape unicode characters when setting logout_reason cookieRadomir Dopieralski2022-07-254-11/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | Conflicts: openstack_auth/views.py Resolved conflict caused by 6ffeb3cabad7e311a99094b2cf2a2a266be84990, which is present stable/victoria and later. Change-Id: Ic61a3958461a4a939acc40d1039881e2d4c3a1cd Closes-bug: #1894801 (cherry picked from commit e68e23937341d03be7475d71903f31a61403c1e2)
* | Merge "Fix flavor specification at instance overview page" into stable/ussuriZuul2022-10-292-5/+30
|\ \
| * | Fix flavor specification at instance overview pageTatiana Ovchinnikova2022-10-062-5/+30
| |/ | | | | | | | | | | | | | | | | | | The details page uses flavor id to resolve instance flavor, relying on legacy Nova API v2.46. This patch adds the current Nova API option, resolving instance flavor by flavor name, so flavor specification at instance overview page is displayed properly. Change-Id: I1fe45063c9d1cdd8682998329d81f843d30f80b3 (cherry picked from commit d0e9e976f2769b289196d481b0928893b702b011)
* | zuul: Declare queue at top levelTakashi Kajinami2022-10-191-1/+1
|/ | | | | | | | | | | | | | Zuul deprecated declaring shared queues at a pipeline level with release 4.1.0[1]. This updates the job definition to use the top level declaration instead. See [2] for details. [1] https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes [2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html Change-Id: Ie63dd3b161cb8fd9be89002027d699ce2c4a67a5 (cherry picked from commit 4212950a4a6b036f563a236cb005604e1c096f04)
* Merge "Fix Project Limits for resize instance dialog" into stable/ussuriZuul2022-06-041-20/+20
|\
| * Fix Project Limits for resize instance dialogTatiana Ovchinnikova2022-02-281-20/+20
| | | | | | | | | | | | | | | | Resize instance dialog should use proper calls for quota and usage. This patch fixes that. Change-Id: Ied6fd4ad69b38a721b23700c98344e0edf14771b (cherry picked from commit e2bb7d833526e3ea6117cb2a5d58cbf90548c6da)
* | Merge "Non-api filters not working with admin instance tab" into stable/ussuriZuul2022-05-111-6/+22
|\ \
| * | Non-api filters not working with admin instance tabvinay_m2022-02-021-6/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that the filtering opts like project_name, image_name, flavor_name that are not supported by nova API (non-api filters) do not work expectedly. These filters are mapped to their IDs [1], but an instance list retrieved before resolving non-API filters is used [2]. This commit changes the logic to resolve non-API filters first and then retrieve instances using the updated search_opts. Note that the image list is handled a bit specially. If 'image_name' is specified as a filter, we retrieve a corresponding image detail first before fetching instances to resolve the image name into its ID. Otherwise, we retrieve images only related to instances retrieved and this happens after retrieving instances. [1] https://opendev.org/openstack/horizon/src/commit/f90c3cd50174af4927737e29e2765cd2d7ca507f/openstack_dashboard/dashboards/admin/instances/views.py#L166 [2] https://opendev.org/openstack/horizon/src/commit/f90c3cd50174af4927737e29e2765cd2d7ca507f/openstack_dashboard/dashboards/admin/instances/views.py#L154 Closes-Bug: #1888490 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Id43adbd44778d3375c0d49da3f7530cbb99e16fe (cherry picked from commit 6b79cdcc1b92a968c967286cc267bac39803c85e)
* | Change to a proper policy for Resume operationKeigo Noha2022-04-042-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, ToggleSuspend class checked 'os-rescue' policy for resuming an instance. To align to resume operation, this fix changes to 'os-suspend-server:resume'. Closes-Bug: #1963652 Change-Id: If6386ecdb81fb1f0d88dab447ee81c251b9857b7 (cherry picked from commit 29da801528a357449264e546182bd629f4654275) (cherry picked from commit db40c8ceb6c403bc94ac839f65c00805a5e4ff66) (cherry picked from commit d3bb9cd86a72fb270ff4f4d2b5ddea04c899ef53) (cherry picked from commit 3e964000a80d271e02cea3deba02d578f8d21dbf)
* | Fix for "Resize instance" buttonThomas Goirand2022-03-095-22/+104
|/ | | | | | | | | | | | | | Currently, "Resize instance" widget is not working because it relies on legacy Nova API v2.46, obsoleted in Pike release. Proposed patch make Horizon use current Nova API (>=2.47). Note: It also cherry-picks a7956cd004 from the master branch which avoids the extra call of flavor_get in resize server form. Closes-Bug: #1940834 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Id2f38acfc27cdf93cc4341422873e512aaff716a (cherry picked from commit d269b1640f49e13aa1693a175083d66a3eaf5386)
* Merge "Add horizontal scrollbar to role dropdown" into stable/ussuriussuri-em18.3.5Zuul2021-11-251-0/+2
|\
| * Add horizontal scrollbar to role dropdownTatiana Ovchinnikova2021-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Manage members dialog has a dropdown which lists all the role names. If a role name is long enough, it pushes all the roles to the left and hides them partially. This patch adds horizontal scrollbar for such cases. Closes-Bug: #1926511 Change-Id: I1bbf3b23717f9924974920d6569e018b94e3dbe8 (cherry picked from commit 9b28ab402802e9848f5824b04d85cf4292f738d3)
* | Merge "Handle an attached volume without volume_image_metadata" into ↵Zuul2021-11-251-3/+10
|\ \ | | | | | | | | | stable/ussuri
| * | Handle an attached volume without volume_image_metadataAkihiro Motoki2021-10-181-3/+10
| |/ | | | | | | | | | | | | | | | | | | There is a case where volume_image_metadata attribute does not exist. It looks like it happens for example when a volume was created before the volume_image_metadata feature was implemented. Change-Id: I0b8e6b2e540a1782b9edd9921490a9371d31afc7 Closes-Bug: #1916891 (cherry picked from commit b841952906de33ff93c90cc04ea0509afeaab89f)
* | Dropping lower constraints testing from stable branchesmanchandavishal2021-09-223-167/+1
|/ | | | | | | | | | | | | This topic was discussed on the ML and QA team proposed to test lower constraints [1]. As decided in horizon weekly meeting in the past[2], stable branches will drop the lower-constraints job from CI. [1]http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html [2]https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2021-03-24.log.html#t2021-03-24T15:12:58 Change-Id: I3f4367817cdf04eacacba8b2ba2bbc06b09d3132 (cherry picked from commit 38ccf26b174c071f2ada5e65aa210634668786a3) (cherry picked from commit e96945376c1cdc69ab28e7820e3bcaf2a45fee71)
* Merge "Fix community image handling in launch instance form" into stable/ussuri18.3.4Zuul2021-08-022-33/+63
|\
| * Fix community image handling in launch instance formAkihiro Motoki2021-05-132-33/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Community images which are not owned by a focused project are not included in the normal image list API (i.e., without specifying "community" as visibility), so we need an extra call of the image list API specifying "community" visibility in a filter. It was originally fixed by [1] but was dropped in [2]. The main motivation of [2] is to address "Duplicates in a repeater are not allowed" error in the JavaScript console. The approach of [2] was to drop multiple glance API calls, but the right solution would be to check duplicated images included in both API calls. This situation with duplicated images happens when a community image is owned by a focused project. In such case, the community image is included in the responses of both API calls. This commit adds a logic to check image IDs already processed. [1] https://review.opendev.org/c/openstack/horizon/+/614688 [2] https://review.opendev.org/c/openstack/horizon/+/640762 Closes-Bug: #1914045 Related-Bug: #1779250 Related-Bug: #1818508 Change-Id: I2ed1b6064ddd6f62818d6112e98e5d5a98beae9d (cherry picked from commit c9bb0e95eaa7ae4f0cce21bc0a246a9b0cd2f880)
* | Merge "Change with_data=False for swift_get_container" into stable/ussuriZuul2021-08-022-2/+3
|\ \
| * | Change with_data=False for swift_get_containerTobias Urdin2021-07-192-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function is only used in the Container get method which retrieves details about a container. It's not used for listing data in the container even though with_data was True doing a GET instead of a HEAD on the container. This indirectly also fixes the Ceph bug [1] in the Swift API implementation that doesn't expose metadata correctly for a GET but does for a HEAD. [1] https://tracker.ceph.com/issues/47861 Change-Id: Iba4215b2e3a414d1794faa05be31bf69e0e48bec (cherry picked from commit c87f0e7a90d05f9355bd58165c25561dedae36d5) (cherry picked from commit 8232ac0385782e8131b071fa1324001c1c429aaf) (cherry picked from commit 0d14e7dd190a906895af74ee0e1cbc8037a3aaad)
* | | Merge "Fix Unable to use multiattach volume as boot for new server" into ↵Zuul2021-08-023-4/+5
|\ \ \ | | | | | | | | | | | | stable/ussuri
| * | | Fix Unable to use multiattach volume as boot for new servermanchandavishal2021-07-283-4/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we try to create a new server from a bootable volume that supports multiattach, it will fail to create with an error message that ``multiattach volumes are only supported starting with compute API version 2.60``. This patch fixes the issue. Closes-Bug: #1931440 Change-Id: Ic8330b947b1a733f70c3bdad8b3493f20a2f26fb (cherry picked from commit 64fe0abb653950c85d455dedd09ef42856c6b07b)
* | | Merge "Fix tooltips and popovers for flavor details on the instance list." ↵Zuul2021-08-021-1/+1
|\ \ \ | | | | | | | | | | | | into stable/ussuri
| * | | Fix tooltips and popovers for flavor details on the instance list.manchandavishal2021-06-241-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to some changes in bootstrap, the popup table for flavor details content is empty, on the instance list pages. This patch adds 'sanitize:false' which fix the issue. For more info. please refer[1]. [1] https://github.com/twbs/bootstrap/issues/28290 Closes-Bug: #1886025 Change-Id: I60788061d17a5529440ec1e3d6d5c11f5259d2e8 (cherry picked from commit 25816bd82433cae6cb9ec14a38c065cd435692ca)
* | | Fix create/update_port with python3Akihiro Motoki2021-07-082-10/+17
|/ / | | | | | | | | | | | | | | | | | | unescape_port_kwargs() in api/neutron.py changes a key of dict during the iteration and it is not allowed in python3. Change-Id: Ifc1b9a0191aacd32e8c8ecc082b6313f04003f63 Closes-Bug: #1900851 (cherry picked from commit f3927ffb3d5e8803115a436f27d15cf52f61d2e0) (cherry picked from commit 69e688728c19093eebf3b514a663e714e715d632)
* | doc: Update our IRC server to OFTCAkihiro Motoki2021-06-041-1/+1
| | | | | | | | | | Change-Id: I985ea0b19a96e5e3160b824efda20659d855c2dc (cherry picked from commit cdb08a1ad6b01693d30de9c27b809652af77ab27)
* | Merge "On the create instance from, when the image name is empty, show id" ↵Zuul2021-05-193-9/+10
|\ \ | |/ | | | | into stable/ussuri
| * On the create instance from, when the image name is empty, show idpengyuesheng2021-04-073-9/+10
| | | | | | | | | | | | Change-Id: I4ac734e0fb4ac3151ff56fa2c53d3071cdb9131d Closes-Bug: #1853551 (cherry picked from commit a8158f6c31675297c3d35ecfee2ef0e22243e529)
* | Merge "Save instace_id inside Associate Floating IP workflow" into stable/ussuriZuul2021-05-013-16/+22
|\ \
| * | Save instace_id inside Associate Floating IP workflowRadomir Dopieralski2021-03-233-16/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, rename instance_id field to proper port_id. Before this change, when instance_id was passed from the Instances page in the URL, the information would be lost on form submission, and if the form contained an error, the it would be redisplayed with the port drop-down containing all ports from all instances. This also made submitting this form slow, as the drop-down would be populated with all ports on form validation. It also creates a bug, where if there are more instances than Nova's pagination allows, the ports from newer instances would no longer appear in the drop-down, and the form would fail to validate, even though the choice of port on initial form was correct. Closes-bug: #1920010 Change-Id: I3ab26c19dc9ea1ed23fcff790d0db919039099eb (cherry picked from commit 3d82d57353d1a29fb5b568ffaa93db86998e9d94)
* | Fix Material theme to work with any combination of pyScss and MDI iconsIvan Kolodyazhny2021-03-197-2/+27
|/ | | | | | | | | | | ':before' class doesn't work as expected with current versions of xstatic-mdi and PyScss. It's a temporary workaround with copy ':before' styles from MDI directly into the Material theme. Closes-Bug: #1771559 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: I969ad70065c580ba90bb0a050c7a9cf242d805ec (cherry picked from commit f3bfa383417b270fce384fee18c5cb470cec15f7)
* Merge "Add WEBROOT to ngdetails navigation" into stable/ussuri18.3.3Zuul2021-02-123-2/+23
|\
| * Add WEBROOT to ngdetails navigationTatiana Ovchinnikova2021-01-043-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Default index URL for angular details page doesn't consider WEBROOT while building navigations. That is why refreshing details page or opening it in a new tab works perfectly when WEBROOT is "/" and fails for apache deployment where WEBROOT is "/dashboard/". This patch adds WEBROOT to index URL and builds a proper navigation. Closes-Bug: #1902821 Change-Id: Id609e5499cc8f53dbae36febc945568e45d291f3 (cherry picked from commit f7442851c4b85a6a091635f0930c07dbd43cf8fb)
* | Merge "Add default index URL to Server Groups module" into stable/ussuriZuul2021-02-121-0/+1
|\ \
| * | Add default index URL to Server Groups moduleTatiana Ovchinnikova2021-01-041-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | Default Index Url is missing for Server Groups which causes improper redirect to details page opened in a new tab. Related-Bug: #1902821 Closes-Bug: #1889397 Change-Id: I8d5e68085727bd7a6402a0041c93986b6b40bb32 (cherry picked from commit 0a4fda0c0c1d4031f18634ad749797cc3b06533d)
* | Merge "Fix full text search at containers page" into stable/ussuriZuul2021-02-101-67/+73
|\ \
| * | Fix full text search at containers pageTatiana Ovchinnikova2021-01-141-67/+73
| |/ | | | | | | | | | | | | | | | | | | | | Containers page uses the standard Magic Search filtering, however its full text search option doesn't work. This patch makes the filtering work properly with full text search. Closes-Bug: #1902610 Change-Id: Ie784d187c89eba1a2673ecafd72e903115a264d3 (cherry picked from commit 40acf5b75c1a889e767cec32fff24456e3e245d0)
* | Consume horizon tempest test from tempest masterAkihiro Motoki2021-01-261-4/+1
|/ | | | | | | | | | | | As disscussed in Wallaby PTG[1], QA and Horizon team decided to move the horizon dashboard test from tempest-horizon to Tempest. As next step, we can remove the tempest-horizon plugin which will ease the maintaince of horizon tempest test. Depends-On: https://review.opendev.org/c/openstack/tempest/+/771727 Change-Id: I0dc58db29825446381c319ec904e8bf225b210e1 (cherry picked from commit 15cb035efb746a7e0747e0e3e3bcf6ed40ccaea1) (cherry picked from commit 52d7a2935812a52578a106cf1cc3f6427bc5d8be)
* Merge "Define periodic jobs" into stable/ussuriZuul2020-12-211-0/+4
|\
| * Define periodic jobsAkihiro Motoki2020-09-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We sometimes create gate check changes but periodic jobs can do most of them, particularly in stable branhces. This commit is planed to backport to stable branches. Note that we already have periodic-stable-jobs (for pyXX and docs jobs) but it is nice to have npm and integration jobs in this coverage. Once it is available in stable branches, I will configure the Grafana dashboard to monitor healthiness in stable branches. Note on stable backport: In stable branches, we have a pipeline named 'periodic-stable' and it is used in periodic-stable-jobs template. It would be nice to use the same pipeline for all periodic jobs. Change-Id: Ieb2fe4d2c4453e572c9251dc03c34d08bed62a0f (cherry picked from commit 392bc2482eff851504b245c2e28de00694dd9eb8)
* | Imported Translations from ZanataOpenStack Proposal Bot2020-11-072-4/+310
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I1baf5d00da7e7750e4f87ef8bb7c7bb2b9d362d9
* | Merge "users: Correct lock_password status visibility (Yes/No) in user ↵Zuul2020-10-282-2/+2
|\ \ | | | | | | | | | details" into stable/ussuri