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
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
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
success() is deprecated in modern Angular, causing
the 'Sign Certificate' UI to fail.
Fixes-bug: 2021588
Change-Id: Idf4ca74b8bc20a17bb53feeeaae9f9481b69b3e4
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
This matches the default value in the Magnum API backend.
Signed-off-by: Md Safiyat Reza <reza.safiyat@gmail.com>
Change-Id: Idf74601b8efa195bae756005cc8f4b83400eac87
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
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
Support enable/disable loadbalancer when creating cluster to
override the master_lb_enable config in cluster template.
Task: 40425
Story: 2007949
Change-Id: If548c7b7c95c3db191272a505ba3bff451076b13
There are two fixes included in this patch:
1. List nodes correctly. We have renamed minion to node, which
cause the filter doesn't work correctly.
2. The response from magnumclient resize method is not a json,
so we need to convert it to dict before return. Rolling upgrade
has the same issue.
Task: 39810
Story: 2007697
Change-Id: I7a03dfea2c84a423f15cfbe4194a8492f72dbd35
1. Show health status on cluster list table
2. Show health status and health status reason on the cluster
details page
Change-Id: I4d0751fc39d90cddc909b28ca0767bc811b6c3b8
Task: 39794
Story: 2007682
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Ie3c9acbcfd21a7ef02c48dace486e80c502f0833
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
At present, resize cluster invocation via the magnum-ui fails because it
tries to resize production_group nodegroup which is not a thing. Until
we support ability to specify nodegroups, we ought to use the default of
default-worker nodegroup.
Change-Id: I3e9553e6d337ab1580c0e3bb3d1a88e8b97f2f23
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.
Note that six.text_type is "str" in Python 3, so we can remove the
clause completly.
Needed-By: https://review.opendev.org/701743
Change-Id: I7dbdf7b773d72db9204c6251b1ce561cf7675522
+ Improve the launch work flow form.
+ Add REST endpoint for available ingress controllers
+ Add REST endpint for available addons
Change-Id: Ic76d4d853bce0b1bfd107ca1bd6a7231939845df
Depends-On: https://review.opendev.org/#/c/697000/
+ Create new row action on clusters panel
+ Create new modal form for upgrading cluster
+ Create REST endpoint for upgrading cluster
+ Bump python-magnumclient lower constraint
Change-Id: Id3fd3ee80fb27b08673933800aea6e7ee7ac7cd0
Create new row action on clusters panel
Create new modal form for resizing cluster:wq
Create REST endpoint for resizing cluster
Bump python-magnumclient lower constraint
Add heatclient lower constraint
Change-Id: I591d4e6ebe85adac0bcefb3f95b1a7d2abf0ba88
Fedora-coreos driver has been added in train. So make its image can
be chosen in the UI.
Make distros listed in order.
Closes-Bug: #1855691
Change-Id: Ic436022b36470870f1ba6903515cee5b2bb1725f
At present, it is not possible to create a cluster template with only
the required values because the default value of `devicemapper` expects
a docker_volume_size greater than 3 and this is opaque to the users
since the end user simply sees `Cluster Template creation failed` error
message on Horizon. Removing the default value for
docker_storage_driver addresses this issue.
Change-Id: I3b294ba13800a6d2db592cd378413304e8c62cce
Story: 2006953
Task: 37639
Without this patch, starting from Train, a user is not able to create or
update a cluster template on the Horizon UI.
Story: 2006953
Task: 37638
Change-Id: I214e8bad1dbabfd2e82d6d195152289a89d40e8d