Commit Graph

788 Commits

Author SHA1 Message Date
OpenStack Release Bot bd200e53fe Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Id95031ed8e52e844f3a9f59ddad54ae05fb53ada
2024-03-12 17:39:03 +00:00
Zuul 463d21c813 Merge "Update python classifier in setup.cfg" 2024-01-09 08:42:19 +00:00
Zuul 7b609ce2f3 Merge "Add dropdown list to select fixed subnet" 2024-01-05 12:01:49 +00:00
Ghanshyam Mann 2dc3014640 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Id4d0ce8d3a24ef912ca286f12078c86465c6084a
2024-01-03 20:22:30 -08:00
Zuul fc95b618a4 Merge "Test 'trackBy' property in cluster template object" 2024-01-04 00:18:43 +00:00
Felipe Reyes 6f6c3db282 Add dropdown list to select fixed subnet
When creating a cluster and the user decides to reuse an existing
network, it must also choose a subnet, otherwise the resulting
configuration may be invalid when trying to allocate a port.

Closes-Bug: #2038663
Related-Bug: #2038109
Change-Id: I08943f10418385a39eecc7b4117d162854d2d010
2023-12-06 18:59:24 -03:00
Felipe Reyes 85290621fb Test 'trackBy' property in cluster template object
This change tests that the generated trackBy property contains the
expected value composed by the object id and updated_at when available
otherwise fallback to created_at.

Change-Id: I7becdd513cd17879d1c99c7b60ed708bb5a34a09
2023-12-06 18:59:24 -03:00
Corey Bryant 4fd2ebcd51 Drop use of features removed in Django 4.0
These functions were deprecated in Django 3.0 and have been removed
in Django 4.0. Switch to the functions they were aliased to.

Closes-Bug: #2039226
Change-Id: Iafb6615a7cd26a7746c52a18f11a86b27f1a66e4
2023-10-13 11:02:26 -04:00
OpenStack Release Bot 9d1365ee18 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I3a363d485eb9611f713860295e4ec3389308d2c0
2023-09-15 14:09:00 +00:00
songwenping a7278fce3e remove unicode from code
Co-authored-by: Jake Yip <jake.yip@ardc.edu.au>

Change-Id: I8f49f06df3894bda78c52a690bf0d712e33d862c
2023-09-14 21:04:21 +10:00
Zuul 39ddd7988e Merge "Cleanup py27 support" 2023-09-13 07:28:53 +00:00
OpenStack Proposal Bot df2de96e22 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I57446a2c588dcf9303c77091e75a90ef0c6bf6cd
2023-09-10 02:11:11 +00:00
ricolin e9dd132879 Bump magnumclient to support cluster config
Bump magnumclient in requirements to make sure we support feature
cluster config.

Change-Id: I287d4d0c56dbb31530fef0f5577a6b7c27fe32b8
2023-08-31 12:26:17 +08:00
Zuul 0fd21a5b62 Merge "Imported Translations from Zanata" 2023-08-30 07:52:21 +00:00
Zuul 4d69e88cc2 Merge "sign-certificate-modal.controller.js: replace success() with then()" 2023-08-30 07:48:08 +00:00
OpenStack Proposal Bot c1969f298c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iaa33578b56a2c4c6830f4f4c767b6abd7b3d3561
2023-08-17 03:11:01 +00:00
ricolin 61307d6aa5 Add magnum cluster config support
Add support to download cluster config from dashboard

Depends-On: https://review.opendev.org/c/openstack/python-magnumclient/+/890893
Change-Id: I533dbcefbe2828360b88291c0311cf3732050a68
2023-08-16 22:25:31 +08:00
niuke 280672d55d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py

Change-Id: I831942731fe64bfd75b97392e6c3fb80d7f92278
2023-08-07 15:02:51 +08:00
Andrew Bogott aab800ceb7 sign-certificate-modal.controller.js: replace success() with then()
success() is deprecated in modern Angular, causing
the 'Sign Certificate' UI to fail.

Fixes-bug: 2021588
Change-Id: Idf4ca74b8bc20a17bb53feeeaae9f9481b69b3e4
2023-07-31 13:28:09 -05:00
OpenStack Release Bot 3954cea91c Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I6b665dc9069825fba4ecbc6d3af1f44a04497e6f
2023-03-06 09:15:00 +00:00
Jake Yip 452ca7da23 Fix tox
tox4 errors if basepython and python in other envs are different. [1]

Bumped tox minversion as allowlist_externals is only supported in 3.18
[2]

[1] https://github.com/tox-dev/tox/issues/2838
[2] https://github.com/tox-dev/tox/issues/2730

Change-Id: I9d24395a7cc5d8423a58ec1e3ed8468ca6984e77
2023-02-17 15:35:00 +11:00
Zuul 92518c90b0 Merge "Imported Translations from Zanata" 2022-09-26 13:32:43 +00:00
Zuul a56bcdc3f5 Merge "Remove references to sys.version_info" 2022-09-26 13:19:34 +00:00
OpenStack Proposal Bot a994f97770 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iad486b95e998865d52eafca52d6765cb8e5aabe8
2022-09-24 03:00:44 +00:00
OpenStack Release Bot 273d5e1b1f Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3c60948fd4db3fa8f97c2c1ff77bc933fbb4d895
2022-09-16 15:11:29 +00:00
OpenStack Release Bot e698ca1027 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I311698f8aa383fdfcc5638ed74a16d0fca4bdf78
2022-09-16 15:11:27 +00:00
Zuul 7f27167a2e Merge "Imported Translations from Zanata" 2022-09-16 06:10:53 +00:00
Zuul 3fc1937949 Merge "Address RemovedInDjango40Warning" 2022-09-16 06:08:38 +00:00
Zuul db90cd670d Merge "setup.cfg: Replace dashes by underscores" 2022-09-16 06:04:58 +00:00
OpenStack Proposal Bot 0a7bbdd079 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6a8d7e1eb6abe70a629f326ccf90868a2ae558ed
2022-09-02 04:32:35 +00:00
Zuul f8580d7c2b Merge "Use Horizon project template for nodejs jobs" 2022-09-01 09:49:56 +00:00
songwenping 0e541e856e setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ie59fc55bdb2f8ac20ac4a7a6718e9cdb27c4ad8a
2022-08-19 10:24:29 +08:00
manchandavishal 44697255ee Migrate to AngularJS v1.8.2
This patch aligns current code with AngularJS v1.8.2 requirements.
It also updates zun-ui to use the Firefox browser instead of phantomjs
browser to fix "nodjs-run-test" job because phantomjs browser has some
issue with backticks.

Change-Id: I61d9cfb795f7e789cd3c160934f05f54eb48fcda
2022-08-12 13:56:45 +05:30
manchandavishal e74bd828ba Use Horizon project template for nodejs jobs
Horizon defined a project template 'horizon-nodejs-jobs'
for nodejs jobs. This patch updates ``.zuul.yaml`` to
use that template to run nodejs jobs here.

Depends-On: https://review.opendev.org/c/openstack/horizon/+/831929
Change-Id: I2812afb4ec02fdcadb0284db2c95651ce8e8dbf3
2022-05-24 09:29:21 +00:00
Ghanshyam Mann 4c63756e4b Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I54657ef425f274cc6ed860b3600652dfd2c03438
2022-05-11 09:55:21 +00:00
manchandavishal 5c806bf3a1 Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I542d4a61168b294fda5a7f40b9759825cc4eef38
2022-04-29 18:29:16 +05:30
manchandavishal e203d7791f Fixed Unit test for magnum-ui
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates magnum-ui to import RestAPITestCase
class instead of TestCase. For more info. see [1]

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

Change-Id: I4ef0cd315e615e390f15a8fa16fe4aaa380a2470
2022-03-31 17:11:24 +05:30
OpenStack Release Bot 36b57fae1e Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ic168f4c3d562fb8c57bda8a2b1d8e49dc1a340a2
2022-03-10 12:50:08 +00:00
OpenStack Release Bot b4ec1826ac Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I2d9691981efb0bf33696ae5d22cce22659df3072
2022-03-10 12:50:06 +00:00
manchandavishal 731488eaef Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ieab82b0547f52e435d075de5b771287372ef8f20
2022-01-31 10:42:22 +05:30
wu.shiming 43bdc93796 Remove references to sys.version_info
We support Python 3.6 as a minimum now, making these checks no-ops.

Change-Id: Ie5297e3682834099d2a403652dd875654dc2224e
2021-09-18 10:23:35 +08:00
OpenStack Release Bot fede1bee32 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3e1fe890025a5f9fe02eaf2072fc6c5e64d3a25c
2021-09-15 02:10:56 +00:00
OpenStack Release Bot 2d29851f12 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I4479b0cb6d367b8a5c20211fd799c9b23544a3ef
2021-09-15 02:10:55 +00:00
Md Safiyat Reza bcd7fbfde7 Default `floating_ip_enabled` to true in cluster template
This matches the default value in the Magnum API backend.

Signed-off-by: Md Safiyat Reza <reza.safiyat@gmail.com>
Change-Id: Idf74601b8efa195bae756005cc8f4b83400eac87
2021-06-21 13:54:50 +00:00
Zuul defed81ab7 Merge "Update horizon nodejs template" 2021-06-17 07:09:48 +00:00
manchandavishal c2a6accb15 Update horizon nodejs template
Nodejs10 is already EOL[1] . So this patch updates
horizon-nodejs10 template with horizon-nodejs14 template
which is next LTS vesrion of nodejs.

[1] https://nodejs.org/en/about/releases/

Change-Id: Iceb9652c52fc68d52d842edf80ad475020a88f41
2021-06-16 19:20:59 +05:30
Tobias Urdin 565614ff35 Add overlay2 to Docker storage driver dropdown
Change-Id: I382a56ddf4ecf7e76b1a0ecb4446754c1ceecce3
2021-04-22 15:15:31 +02:00
Zuul e5a8eb4d2a Merge "Support zero workers nodes on Horizon dashboard" 2021-04-13 00:11:47 +00:00
Bharat Kunwar 1fc627fb21 Support zero workers nodes on Horizon dashboard
This ensures that magnum-ui requests default to DEFAULT_API_VERSION=1.10
to allow resize to zero worker nodes unless otherwise configured.

Story: 2005054
Task: 41835

Change-Id: I96d5cdbb669c4d2b92db6f7aa4f9970e33adf093
2021-04-08 13:39:20 +00:00
Jake Yip 335fb71a58 Remove hard_limit check in dashboard
This erroneously displays a quota of 20 if quota is 0. Since Change
I1b278d221d0f15d92d67869cd3ac897d041eaf90, API always returns a quota,
so this check is no longer necessary.

Also fixed to show 100% if quota = 0; without this dashboard will show
NaN% when 0/0 .

Change-Id: Id59e63639667e2ec5fa01b57ef4a7ff5cd0db37d
2021-03-29 03:14:04 +00:00