Commit Graph

650 Commits

Author SHA1 Message Date
xusongfu
0568a3ea7c fix deleting and detail info showing of cluster
1. fix the delete condition of cluster instance
2. use card to show the health status reason
3. allowed jump to stack detail from cluster detail page
4. simplify the template card in cluster detail page

Change-Id: Ic932f3c9d0bd0d96af2ba01c1f3dfc3bf7b2fb52
2023-01-03 12:45:10 +00:00
xusongfu
583386d2ce fix: seprate clusters and templates by different project
1.use detail api to fetch list in console but no detail in administrator
2.fix the used quota with clusters detail api

Change-Id: I104495a2b7c9937a9e6e922c4fac00d3f4178235
2022-12-21 13:55:17 +08:00
xusongfu
e03182b072 fix: fix the magnum quotai and other infos
1. support volume quota when create cluster instance
2. fix subnet reseting when fixed network changed
3. show project id of cluster template if switch to administrator platform

Closes-Bug: #2000141
Change-Id: I6cb59e9f74c76cb3d0901e89c9bf01d48a85d747
2022-12-20 16:25:07 +08:00
xusongfu
d48aca89a4 fix: reset the subnet list when create cluster instance
the subnet list was not changed when the fixed network changed, fix the update context to solve this problem

Change-Id: I2882a63e58c5b2843b9c8e6070b6708d16c40b94
2022-12-19 19:10:45 +08:00
xusongfu
7b6e8253a6 fix: fix the delete operation of cluster instance
Disable the delete operation if the stack is not ready or the status is `DELETE_IN_PROGRESS`

Change-Id: I18457d3593761e36a7173488b646ebdedf656ec2
2022-12-19 16:07:26 +08:00
xusongfu
a307f457e4 fix: fix the magnum service
1. check cluster quota immediately when create page mounted
2. fix template coverage to instance information
3. fix detail fetch to show image name,flavor name...

Closes-Bug: #1999756
Change-Id: I586689d508cb838562ba4a0bef574a4e696e57c0
2022-12-15 18:59:28 +08:00
xusongfu
3ada93aae8 fix the validator of cluster name and labels
1. fix the validator of cluster name
2. replace the labels in cluster which from cluster template

Closes-Bug: #1999398
Change-Id: I244282686cab18ec69930b8221701a9363f70b74
2022-12-12 22:16:01 +08:00
xusongfu
c7e19491fe fix: support name validator and fix placeholder of magnum service
1. support validator of cluster name

2. fix placeholder of cluster and template

Change-Id: I5901ab64a9f45df8f0ca91ba883e2b225ddda000
2022-12-09 14:53:31 +08:00
xusongfu
77df05477e fix: Support search filter for cluster and template.
Support search filter for cluster instance and cluster template

Closes-Bug: #1999128
Change-Id: Ic1ec950f483f6eca845aa13ba3ae533b29d844e0
2022-12-08 09:17:11 +00:00
xusongfu
228ccff07b fix: Improve quota in magnum service
1.Show quota info by template when create cluster if did not select flavor or master flavor

2.Remove link of keypair if the keypair is not belong to the current user

Change-Id: Ic6faebfa21b92479b982770a00046a54882f21d8
2022-12-07 15:57:15 +08:00
xusongfu
7a4d17ee19 feature: Support quota in magnum service
1.Show quota info when create cluster
2.Support quota setting of magnum cluster when manage project quota

Change-Id: I90d1bc3c2bcb2aa95d728c245dd1b742d3fe6ae1
2022-12-06 16:07:48 +08:00
xusongfu
b4f23fd78c fix: fix health_status in magnum cluster
It should not use valueMap for health_status

Change-Id: Ib1418d2f4ba79ff7fb619365b8f71734d112e69d
2022-11-29 15:44:00 +08:00
xusongfu
0c3a946d21 fix: Move the keypair to node spec when create cluster instance
In order to be consistent with the cluster template creating, move the keypair to node spec step when create cluster instance

Change-Id: Id9b70108f4ac2dac289bb50fa83eeab18f08199e
2022-11-29 03:33:58 +00:00
xusongfu
ac1edd6e97 Fix keypair in magnum
1.The form items value will be resetted, when create a new keypair
2.Same issue when create instance

Closes-Bug: #1998077
Change-Id: Ie0021cbddc4c8730d604e4892a8cfa878a5bcb95
2022-11-28 09:12:59 +00:00
xusongfu
72b81c645e Fix: fix the image store in magnum node spec
fix the image store to get better extensions

Change-Id: Ia0256668b0dbcd4dad31048b36929a99205707ed
2022-11-24 17:12:45 +08:00
xusongfu
463ced2667 fix: Fix the store path in magnum and required name in zun container
1. Change the store path from 'src/stores' to 'stores' to avoid some strange bugs

2. Make the container name be required

Change-Id: If299e6791ce5c30be936fbd5fbc2b5427a59ff39
2022-11-23 18:20:46 +08:00
Zuul
d6b68d3f12 Merge "fix: Fix quick creating keypair in creating instance" 2022-11-23 08:40:46 +00:00
Zuul
b41b121a33 Merge "fix: fix the router path and logs in zun container" 2022-11-23 07:57:12 +00:00
xusongfu
f7ae6ff9d7 fix: Fix quick creating keypair in creating instance
Use public code for quick creating keypair when create cloud instance.

Change-Id: Ib0af8339fa8436ebeee958fd3f653ce0caa88a9d
2022-11-23 05:33:28 +00:00
Zuul
744463b861 Merge "fix: add confirm resize/migrate button in the administrator" 2022-11-23 04:07:25 +00:00
xusongfu
801bf664c2 fix: fix the router path and logs in zun container
1. fix the router path from 'container' to 'container-service' to get the same format as magnum

2. Follow the api doc to hide the log tab in the container detail if the status is not acceptable

Closes-Bug: #1997326
Change-Id: I3c1e4299ec2e10bfcd02bcf6cd07f0ed42b3b783
2022-11-22 16:23:34 +08:00
xusongfu
c49872654b feature: Support quick creating keypair in Magnum service
1. Support quick creating keypair when create cluster template

2. Support quick creating keypair when create cluster instance

Change-Id: If019d411b47752f738c0d43097fc00a3bf36892b
2022-11-22 07:51:45 +00:00
Jingwei.Zhang
c1eb34a589 fix: add confirm resize/migrate button in the administrator
Add confirm resize/migrate button in the instance list in the administrator

Closes-Bug: #1960388
Change-Id: I46b6e7f4dd5ecfeffe2845d5fb74a63092d875e7
2022-11-21 16:51:48 +08:00
xusongfu
47b3cead09 feature: Support magnum in administrator platform
1. Show list and detail of cluster instance
2. Show list and detail of cluster template
3. Hide the keypair if in administrator platform

Change-Id: I61532a12312383cdedf2fdfca10633b16064f77b
2022-11-18 14:24:13 +08:00
Jingwei.Zhang
9df7b6ca0f fix: fix the i18n of the status of vpn ipsec connection
Fix the status i18n in the vpn ipsec connection detail page

Closes-Bug: #1996700
Change-Id: I50215ece5cb28721ce9c9e8b6998636a8f6799ba
2022-11-16 16:02:58 +08:00
xusongfu
638ac6f2eb feature: Add translation for monitor center
Added Chinese translation for monitor center

Change-Id: I47cfc090099f3d5413012f5abee0558f78b5d94e
2022-11-11 18:15:16 +08:00
xusongfu
f89ffe6149 Fix the state and default value when create cluster instance
The clusterTemplate of state was not updated when clusterTemplate changed

Closes-Bug: #1996143
Change-Id: I4f781454b918662a8e46f4d4af06454df5993936
2022-11-10 16:27:10 +08:00
xusongfu
5eab747fb3 Fix the cluster and template of magnum
1. When creating a cluster instance, the parameters are the same as the template, change them to optional
2. Fix some tips of form item to get a better understanding
3. Change the filter for image list by zed spec of openstack magnum user guide document

Closes-Bug: #1996046
Change-Id: I5a698ccde7454f8d34e6d0d3ed726582708855b0
2022-11-09 17:56:59 +08:00
xusongfu
5ba32d6dde feature: Optimization of Magnum
1. Update some form item labels for better semantics
2. Make the template name be required when create the template
3. Support create cluster instance from template list

Change-Id: I588af877fe776dbf7d44b11ad350566bf231121f
2022-11-07 17:43:50 +08:00
Reşit Demir
0849ecea44 Fix : Update labels , filters , keypairs at Magnum Service
Update admissionlabels
Update autoheal and autoscaling labels
Update retrieving keypairs
Update project_id filter when retrieving external networks

Change-Id: Ibe5fc650a7c0cda2516aad09d67ac4f9d40e126f
2022-10-25 03:09:58 +00:00
zhangke
3b1ddc54a0 fix: Calculate quota based on the data disk of the selected instance snapshot
When the Start source is the instance snapshot, the quota
should be calculated according to the data disk of the selected
instance snapshot and the newly added data disk

Closes-Bug: #1992739
Change-Id: I035b1edb5e0441e63d7919ea5933731bd687c1d2
2022-10-19 17:05:05 +08:00
zhangke
33f90ae331 fix: No data disk is displayed on the ConfirmStep
1. get instance snapshot data disks when rendering data disk
2. support contentStyle property for Descriptions component
3. add contentStyle for the data disk item to present multiple data disk values

Closes-Bug: #1992739
Change-Id: I62d92620574a5ee4ffff8f8d20958ad42cc4221a
2022-10-19 16:41:25 +08:00
zhangke
fdd6dbb5e3 fix: Not show the data disk when creating vm by Instance snapshot
Not show the data disk when creating vm by Instance snapshot with system disk and data disk
1. fetch instanceSnapshotDataVolumes data when change instance snapshot
2. add Required Data Disk form item of BaseStep when create instance by snapshot
3. show instance snapshot data disk's info if instance snapshot has system disk and data disk
4. hide render default system disk when selecting Bootable Volume of Start Source's option

Closes-Bug: #1992739
Change-Id: I3a1daa8845cc9f73b8ea8d0216d49ad858b7168b
2022-10-19 16:40:05 +08:00
zhangjingwei
47c34e1100 fix: update the qos policy column in the floating ip list page
1. Update the qos policy name in the floating ip list page, if the user has the admin role, the user can fetch all the qos polices
2. Update the qos policy column title, and support qos policy id and name in the download data

Change-Id: I96a18f24ef2f2e6c09d56eb5ae980202c31b98dd
2022-10-18 17:24:37 +08:00
Zuul
824267546f Merge "fix: fix the download data in the all networks tab" 2022-10-18 09:22:09 +00:00
zhangjingwei
73e6153e24 fix: update the project name display in the rebuild instance action
Show the project name of the images in the rebuild instance action, when the current user has admin role

Change-Id: I1073c398941e43311ab6a6a03e7f36458d8ba70c
2022-10-18 14:35:33 +08:00
zhangjingwei
4edd0784e3 fix: fix the download data in the all networks tab
Fix the project id value in the download data file in the all networks tab in the console.

Closes-Bug: #1993233
Change-Id: I864481ffb8608776ebf000c6a196a215b428ff95
2022-10-18 14:16:31 +08:00
zhangjingwei
2e22275d60 fix: update the id/name column of listener members
Update the id/name column in the member list tab in the load balance listener detail page to keep the unified style

Change-Id: I9c648b56316a48786ae5c67b3dc248ebbd1d481c
2022-10-18 10:41:27 +08:00
Jingwei.Zhang
265e3c7916 feat: remove id link in the name column in the role list page
1. remove id link in the name column in the role list page
2. update the bold name style check: if the name column has the withoutId attribute with the true value, the name defaults unbold

Change-Id: Ia03397d064ae67193382aca483943b92805cfd7c
2022-10-12 11:09:24 +08:00
Jingwei.Zhang
115015821f feat: update name column in the keypair list page
1. Update nameRender to support without id
2. Update name column in the keypair list page: only show the name with link to the detail page
3. Fix the id value in the keypair detail page

Change-Id: I8c983875425b1c9b31f8b3ea8eb80667b5cfabf6
2022-10-11 14:54:06 +08:00
Jingwei.Zhang
d158a05bfb feat: display the id/name column in the table in a unified style
1. update the port id/name column in the MemberAllocator component which is used in create load balancer action
2. update the database backup id/name column in the database backup list page
3. update the configuration id/name column in the database configuration list page
4. update the id/name columns in the vpn endpoint/ike policy/ipsec policy/gateway list page
5. update the volume id/name column in the volumeSelectTable component which is used in instance attach volumes action
6. update the port id/name column in the network step in create instance action

Change-Id: Idc3bc161a56b06cb83f9e4c9543edaf0762a4669
2022-10-11 11:46:09 +08:00
Jingwei.Zhang
6371effd7c feat: support id/name in non-bold form
Update the nameRender in the column, to support id/name in non-bold form, usually only the name of the first id/name column is shown in bold, and the id/name of the other associated resource columns does not need to be shown in bold, such as the volume backup list page: the backup name is bold, but the releated volume name is non-bold

Change-Id: I2cff14d64d4a4aa2521b2147f478518fd5203617
2022-10-11 10:09:14 +08:00
Zuul
cd7f9bfdf6 Merge "Hide the certificate info in administrator platform" 2022-10-09 11:17:06 +00:00
xusongfu
b927f6c5f5 Hide the certificate info in administrator platform
Certificate information should only be displayed on the console platform

Closes-Bug: #1992274
Change-Id: Iebd5d16fb78ba1704492ae52cab025b3cfb04b24
2022-10-09 16:59:16 +08:00
zhangke
574580a7fa fix: modify padding of security groups on instance detail english page
modify padding of security groups on instance detail english page

Change-Id: Id597c693127d5578b0671ab0173bf55c31d25e91
2022-10-09 11:58:11 +08:00
Zuul
965844d557 Merge "feat: support flavor to add cpu/memory search filters" 2022-10-08 12:03:28 +00:00
zhangke
2f286ce361 fix: add Specify Physical Node label of manually specify when create instance
When creating an instance, switch to manually specify the physical node. The physical node label is missing in compute page.

Change-Id: Ia1c709dc06b8c767c1004a794b22541535f2a2e5
2022-10-08 15:56:36 +08:00
zhangjingwei
5fc0635853 feat: support flavor to add cpu/memory search filters
1. Support cpu/memory fuzzy search in the flavor list page
2. Support flavor cpu/memory fuzzy search in the FlavorSelectTable component, which is used in:
(1) create instance page
(2) create ironic page
(3) instance resize form
(4) create database instance page
(5) create cluster template page
(6) edit cluster template page

Change-Id: Iba1303a7641621a50b92e21e9173ba65fd7ac669
2022-10-08 09:31:40 +08:00
xusongfu
f9cc92a032 Fix edit member of lb listener
It is forbidden to have the same ip and port when editing a member

Closes-Bug: #1991356
Change-Id: I6e867a9ae70a678574914b639fd5db6d9b32a82b
2022-09-30 14:11:38 +08:00
Zuul
c160574dce Merge "fix: add vm state check for modify instance tags" 2022-09-29 11:19:50 +00:00