809 Commits

Author SHA1 Message Date
858e814f99 Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: I22adaa53d65d8b6c5ff22a5b0d13d100cac08df7
2025-03-17 11:09:28 +00:00
Zuul
829919fe52 Merge "reno: Update master for unmaintained/2023.1" 16.0.0.0rc1 16.0.0 2025-01-09 12:40:48 +00:00
542f5f0f8d reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: Iedb76cf853dacef1244c10e5fe46f0e21d15c48a
2025-01-09 12:03:22 +00:00
Zuul
77cf1a5074 Merge "reno: Update master for unmaintained/zed" 2025-01-09 11:05:57 +00:00
Zuul
fc04b91de9 Merge "reno: Update master for unmaintained/yoga" 2025-01-09 10:49:43 +00:00
e90c4a702b reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Depends-On: I587977b2c5247e11657100a43a8a8d9ccc5fe8ab
Change-Id: I495ddd1e2464782787a08755510d9dab30cc3e92
2025-01-09 10:32:55 +00:00
Jake Yip
a5ff9ecb4f Fix resize for CAPI clusters
Clusters created by the magnum-capi-helm driver do not have a heat stack, so
resize currently fails as it depends on the heat stack for a list of worker
nodes. To fix this, we change to querying the nodegroup information and
use that instead.

We keep the old heat stack way for now, as that is the way to get a list
of worker nodes to select candidate(s) for scaling down. This is not
available in capi driver yet, so capi will return an empty list of
worker nodes.

Change-Id: I0d66fc02a7f2c608a4a0b09b98c343017e04ed41
2024-12-16 21:10:20 +11:00
Jake Yip
c9fdb537ea Bump hacking
This has began failing in python 3.12.

Change-Id: I6d0e4ee67570340c03bb971fd2b8e5ae57a39bfa
2024-12-16 21:09:40 +11:00
Andrew Bonney
bd7662480f Fix indexing into subnet list during cluster creation
When creating a cluster using an existing network,
once the network has been selected from the dropdown
the subnet dropdown fails to populate. This is due to
an off-by-one indexing error.

Closes-Bug: #2087843

Change-Id: I0f7b20576e25c9f93ddc90fcfb501422d2adb7e1
2024-11-13 08:46:55 +00:00
Zuul
3f8a06e895 Merge "Change floating_ip to use master_lb_floating_ip_enabled." 2024-10-10 05:50:03 +00:00
d1b6e1e982 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: Id095e35e22e69c9e812e7f82b59f653874f7fee5
2024-09-16 11:21:38 +00:00
2b6ecf826a reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Depends-On: I587977b2c5247e11657100a43a8a8d9ccc5fe8ab
Change-Id: I137ffba5b3e83581ad19875af67640726f769cb2
2024-06-11 12:33:10 +00:00
OpenStack Proposal Bot
736edbaa86 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifd62f8ca08db229792618475379bffd30fd406ae
15.0.0.0rc1 15.0.0
2024-06-07 03:10:59 +00:00
Zuul
64627563d8 Merge "Restrict actions based on cluster state" 2024-06-06 07:16:03 +00:00
Zuul
7a4d1d72cc Merge "Cluster Overview: Change columns and drawer items" 2024-06-05 06:57:56 +00:00
Dale Smith
207503080d Change floating_ip to use master_lb_floating_ip_enabled.
* Replace 'floating_ip_enabled' with 'master_lb_floating_ip_enabled',
  as the former implies floating ip on all nodes in addition to a
  Floating IP on the API loadbalancer.
* Add 'api_master_lb_allowed_cidrs' so limitations can be placed
  on K8s API loadbalancer.

Change-Id: I18bf64be9d9ddb4ee043cfba37bffe8e82f33d0d
2024-05-17 13:46:54 +00:00
Dale Smith
c724172972 Workflow updates for Create Cluster
* Apply limitations to 'master_lb_enabled' checkbox
  interactions, such as master_count.
* Basic validation for cluster name, to reduce create failures.
* Rename 'Master' to 'Control Plane' in line with upstream Kubernetes.
* Add validation for 'master_count': min/max and odd numbers.
* 'Network' tab required indicator no longer shows when the
  'create new network' checkbox is selected. This tab has no required
  options initially and the form can submit without visting the tab.
* Help text updates to reflect the updated options.

Change-Id: I7840ab606eb4a39fe34509d7b49d738391148bae
2024-05-16 11:16:45 +12:00
Simon Merrick
08e0d728b2 Restrict actions based on cluster state
Restrict enabled row actions on clusters which are not in
a 'COMPLETED' state. For example: disable resize cluster
action while cluster in 'IN_PROGRESS' or '_FAILED' state.

Change-Id: I78411dd91fb6e885a3407678472cbc6eef445cdb
2024-05-03 15:02:17 +12:00
Dale Smith
8680420c34 Fix all lint warnings
* Resolve all npm lint warnings so we don't hide new ones.
* Any functionality changes from this change are unintentional
  and should be fixed.

Change-Id: Ief1433bbe7e873999c94ca763f93a443d4234739
2024-05-03 12:14:31 +12:00
Dale Smith
8ceb568e70 Cluster Overview: Change columns and drawer items
* Remove column 'keypair'
* Add column 'coe_version' as "Kubernetes Version"
* Add 'status_reason' and 'health_status_reason' sections
  to cluster drawer.
* Rename 'Master' to 'Control Plane' in line with upstream.

Change-Id: I437d0f0f1ae07f29d41e1cd5d09b046d3d42b69e
2024-05-02 15:52:46 +12:00
OpenStack Proposal Bot
e85d41fd8b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iebf8bb328c9f446952e647f0f592400312590833
2024-04-19 04:22:58 +00:00
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" 14.0.0.0rc1 14.0.0 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
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
13.0.0.0rc1 13.0.0
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
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
12.0.0.0rc1 12.0.0
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
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
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