15740 Commits

Author SHA1 Message Date
Tobias Urdin
4eb8285b17 Fix missing comment in swift storage policy code
Change-Id: I3a3cccc5c26d6fb6991dd22e5bbe0cd255cb5790
2020-09-10 16:45:43 +02:00
Zuul
584aa54985 Merge "Bump pylint version to support python3.8" 2020-09-10 14:02:52 +00:00
Akihiro Motoki
235cbb839e Bump pylint version to support python3.8
pylint 2.2.2 which we currently use does not support python 3.8 [1].

Let's use a newer version of pylint.

pylint now declares strict versions for astroid and isort,
so we do not need to manage them in our test-requirements.txt.

All new checks are disabled temporarily. Let's visit them later and
judge whether we disable them permanently one by one.

[1] https://github.com/PyCQA/pylint/issues/2737

Change-Id: I106b250e632305365aaab4d881c9ba5ea93505b3
2020-09-10 11:43:57 +09:00
Zuul
2423bd0b04 Merge "Support extending in-use volumes" 2020-09-09 17:09:43 +00:00
OpenStack Proposal Bot
8e8d54775c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic8aa33f45aaad1f62af296ef2da8b97d052b5721
2020-09-09 07:01:16 +00:00
Zuul
c9561ad979 Merge "Added Bootstrap and css for responsive page" 2020-09-09 01:34:58 +00:00
Pavani Peddapalli
00f90b2998 Added Bootstrap and css for responsive page
As the label is not inline with filter added
bootstrap to make it adjust with screen-width

Change-Id: I189b0da7e4194e2e65230019f99598d97a50f802
Closes-Bug: #1445591
2020-09-08 21:26:35 +00:00
Zuul
467b218810 Merge "Cleanup for Refactor-error-messages" 2020-09-08 16:32:43 +00:00
Zuul
0e1fbe46ad Merge "Improve integration tests logging" 2020-09-08 13:18:18 +00:00
Zuul
3eba4a6a9b Merge "pep8: Cap isort version to <5" 2020-09-08 10:52:35 +00:00
Tobias Urdin
87f1de7f69 Support extending in-use volumes
This support was introduced in Cinder microversion 3.42
which has been around for a while.

Change-Id: Ie7051cb2095023ef6f0d273488a40d520752c6b5
2020-09-08 09:17:15 +00:00
Zuul
b6b1d70d67 Merge "Add heat-dashboard cross-project tests" 2020-09-07 16:07:42 +00:00
OpenStack Proposal Bot
fda9c47d2a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9a3704dd3e0bcc61f3168d45912bf8078bc9dc87
2020-09-07 07:25:01 +00:00
Ivan Kolodyazhny
41c449916d Add heat-dashboard cross-project tests
heat-dashboard is not active development now but it's still used
in a lot of deployments so it's good to check that at least
unit-tests works with the latest horizon.

python cross jobs now inherit openstack-tox-pyNN instead of
openstack-tox as openstack-tox-pyNN job has its own configuration
including node configuration and so on. It ensures the python
cross jobs are run in the same environment as they are run
in corresponding projects.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ibbb36743552295a13f6d9ff51f3ac2244d2e7f6d
2020-09-04 16:25:14 +00:00
manchandavishal
be461acd6f Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Partially-Implements blueprint refactor-error-messages

Change-Id: I46b632dbb6701785e7d654feff336a27d6ecea9c
2020-09-04 10:39:11 +00:00
Ivan Kolodyazhny
dc21158e31 Improve integration tests logging
* Add fetch-video-output role based on fetch-tox-output
* Fix test log collection to work with Python3
* Fix page HTML source log

Change-Id: I2e865cc5544d6e77bc3af5e413cbaedceb6df1c1
2020-09-04 12:46:17 +03:00
Zuul
49df5cffd8 Merge "Avoid stripping leading/traling spaces in password forms" 2020-09-03 16:41:24 +00:00
Zuul
5943532672 Merge "Refactor error messages." 2020-09-03 10:43:30 +00:00
Akihiro Motoki
cd3a97107d pep8: Cap isort version to <5
isort 5.0.0 is not API compatible with isort 4.0.0,
and our current pep8 job result has a lot of warnings:
module 'isort' has no attribute 'SortImports'.
A newer version of pylint has a version cap for isort, but
updating pylint version needs extra works.
Using isort 4.x looks like an easy workaround for us.

Change-Id: I0c6c9c60901cc6be012780e8e1399dab69b50a47
2020-09-03 11:48:26 +09:00
Zuul
43fbc3dd96 Merge "Fix instance integration tests" 2020-09-02 17:35:40 +00:00
Zuul
8a349c483a Merge "npm job: Add 'nodejs' bindep profile" 2020-09-02 14:42:38 +00:00
Zuul
30430f3dbb Merge "[goal] Migrate testing to ubuntu focal" 2020-09-02 14:23:04 +00:00
Zuul
dae229c26b Merge "Cleanup references to Cinder API v1" 2020-09-02 10:43:32 +00:00
Akihiro Motoki
5dd94f6598 npm job: Add 'nodejs' bindep profile
During the focal migration, npm jobs in some plugins requires
extra packages like libfontconfig. They are specific to npm jobs,
so it would be nice to have a dedicated bindep profile (as 'test'
profile is too general for this purpose). horizon job definition
provides a common layer for the npm jobs, so we decide to add a
task to the job definition in the horizon repo. Each plugin can
add packages with 'nodejs' profile in its bindep.txt if needed.

Change-Id: I5eac6b1c724e9b21a78fda5ba41002224dd9b356
2020-09-02 19:14:18 +09:00
Zuul
96c64e8541 Merge "doc: Enable parallel build" 2020-09-01 19:45:16 +00:00
manchandavishal
c28b9b9bc3 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
Closes-Bug: #1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.
Story: #2007865
Task: #40187

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal

Change-Id: I81c150a9abc53242dfefd18c6c0ebc20c0484073
2020-09-01 15:37:23 +00:00
Zuul
318ec123f8 Merge "Fix tooltips and popovers for flavor details on the instance list." 2020-09-01 14:59:38 +00:00
Zuul
c4dbdd2099 Merge "Fix Angular mediumDateFilter" 2020-09-01 14:33:58 +00:00
manchandavishal
16c74ad62f Update geckodriver version to v0.27.0.
This patch updates geckodriver version to v0.27.0
from v0.23.0 to fix horizon-integration job.
Fo more info. please refer [1].

[1] https://github.com/mozilla/geckodriver/issues/1771

Change-Id: Ie550beddf54e5bc43c34046bb18970638d10f303
2020-09-01 06:16:08 +00:00
OpenStack Proposal Bot
b46572be1c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I08fc6a46af8e231c0b2b21b5039e26d0be937d06
2020-08-29 06:51:30 +00:00
manchandavishal
5081359295 Refactor error messages.
Error messages can come from different projects(cinder, keystone,
nova, etc.),but we are currently catching all the exceptions and
return a generic error message and it hard for the user to determine
the source of error. Horizon team decided to add a collapse-able box
for error messages which shows the detailed error message on the
horizon UI during shanghai summit[1]. This patch do the same.

Partially-Implements blueprint refactor-error-messages

[1] https://etherpad.openstack.org/p/horizon-u-ptg#110

Change-Id: If0bd24540562b8f1330ac6cb7db5f1d354e1d1b7
2020-08-28 13:20:09 +00:00
Ivan Kolodyazhny
51468ae21a Cleanup references to Cinder API v1
Cinder API v1 was removed from Horizon in Rocky release.

Change-Id: I6b64dcf797695d9a3eea892e6a5a4970f14cdd05
2020-08-28 15:24:13 +03:00
OpenStack Proposal Bot
01fa57f39c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9b3820da0b02b69b1257fc2f337af6a335441dab
2020-08-28 07:08:06 +00:00
Tatiana Ovchinnikova
71ed12f622 Fix Angular mediumDateFilter
Angular mediumDateFilter provides user with a readable date format
using predefined localizable format "medium". However it should be
more flexible with different types of inputs. This patch fixes the
filter and applies it at the images overview page.

Change-Id: I7079c306c6f98f13c779e6dae7357ccabba2d460
Closes-Bug: #1841049
2020-08-26 17:06:50 -05:00
Akihiro Motoki
e0afd0d21d [ussuri] [goal] Project PTL and contributor docs
This commit updates the horizon contributor docs to follow
what the community goal [1] recommended.

* Reorganize doc/source/contributor/contributing.rst to the format
  suggested in the community goal template.
* Cleanup obsolete information and topics covered by the general
  OpenStack contributor guide.
* Move contributing.rst to the top in TOC of the contributor guide
  as it is considered as the entry point for new contributors.
* Sync CONTRIBUTING.rst at the top level directory with the
  community goal template.
* Update the core reviewer expectation along with PTL expectation.

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38525

Change-Id: Idce7fc08e7fdf854d8a7bca55169d18403362c45
2020-08-20 08:34:11 +09:00
Akihiro Motoki
c897a8e444 doc: Reorganize contributor doc
Ussuri community goal "Project specific contributor and PTL docs"
want us to use doc/source/contributor/contributing.rst as an entry
point, but the current contributor/contributing.rst in horizon
contains a lot of information.

Before updating the file to satisfy the community goal criteria,
this commit reorganize the contributor doc.
It splits the existing contents in contributing.rst into pieces.

Change-Id: I8aa9a310a99e0eed5a93ed040a02a2829ee09bf7
2020-08-20 08:34:11 +09:00
Akihiro Motoki
92edabdcf3 doc: Enable parallel build
"-j auto" enable parallel documentation build with multiple processes
and the number of processors is detected automatically.
This speeds up local documentation build a lot.

Change-Id: I7fab3a37a4a15b886d3456eebad86115a1a63f11
2020-08-20 06:45:34 +09:00
Zuul
f00f013f16 Merge "Revert "Add required mark on Create and Update image form"" 2020-08-19 14:16:17 +00:00
Ivan Kolodyazhny
d5368c97a4 Revert "Add required mark on Create and Update image form"
This reverts commit 55878ae4b2c85f26350a8ddfae18930eaeea58d9.

Minimum Disk and Minimum RAM are not required in the Glance API [1].


[1]https://docs.openstack.org/api-ref/image/v2/index.html?expanded=create-image-detail#request

Change-Id: I79212d0b5552fce3dffb5c5527b65e48e1325f52
2020-08-19 10:31:49 +00:00
Zuul
9e968772bf Merge "Add miss comma of "REST_API_REQUIRED_SETTINGS" list" 2020-08-18 14:14:59 +00:00
OpenStack Proposal Bot
8a08cbf734 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic70bc83f8eea93cfb4087ba750da77488bf99791
2020-08-14 06:53:35 +00:00
chenxing
df5bf93138 Add miss comma of "REST_API_REQUIRED_SETTINGS" list
Change-Id: I1eae4be4464f55a29d169403a70c958c3b8a308b
2020-08-14 11:47:54 +08:00
OpenStack Proposal Bot
55222ec594 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I40042e3509c872a2962dc07ffba91ab50c9191be
2020-08-06 06:50:31 +00:00
OpenStack Proposal Bot
a2a173d2c5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie09e667608da03835d57d78338913dd33dd924b5
2020-08-03 08:04:20 +00:00
Zuul
98959351da Merge "Add use_required_attribute in workflow" 2020-07-31 16:20:45 +00:00
OpenStack Proposal Bot
eb86389fa4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6dc8c750bcced84d205c9eb3094f64a6732d94a0
2020-07-29 07:09:00 +00:00
OpenStack Proposal Bot
f6226c97d0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibecb11c886a167a68a5821ee007065ee34741f51
2020-07-27 06:56:20 +00:00
Oleksii Petrenko
85503a7c51 Fix instance integration tests
Fixes image and flavor selecting when creating instances.
Before this patch, selenium selected wrong column to compare
image names. This is reproduced when table consists of two or
more images, and the first image in table is not the one, that
we are looking for.


Change-Id: Iaedcdaaabb63c5f60d057fbd7927556a6038b89c
2020-07-21 10:41:39 +00:00
OpenStack Proposal Bot
11a04772f3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1e2d1b367840e28a60c93e07cbe92a10b9b0f63c
2020-07-21 06:49:54 +00:00
OpenStack Proposal Bot
99ffd59a56 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1c411bf07bffe6ee8423502855d2c1598a0bfe78
2020-07-12 07:01:58 +00:00