Commit Graph

426 Commits

Author SHA1 Message Date
Zuul
a0a9813943 Merge "fix: Change the policy name" 2022-04-19 09:27:24 +00:00
Jingwei.Zhang
12adfbf380 refactor: update error handle in request
Make a separate function for request error reporting to better handle various error conditions

Change-Id: I08c44bd9af3258a3338902dcd49c78b954e06c49
2022-04-19 10:29:58 +08:00
zhu.boxiang
8e36355e41 fix: Change the policy name
Change the policy name.

Depends-On: https://review.opendev.org/c/openstack/skyline-apiserver/+/837834
Change-Id: Ie57de25e1d7897c7bac6a8376a84c9ea0665ab7c
2022-04-18 05:18:44 +00:00
xusongfu
f91454fdcb fix: Fix role list and monitor data and others
1. Fix the role list fetch in user manger and system role
2. Fix the state to get the right data of up and down
3. Add rest attribute for better extension functionality in select component
4. Fix create rule error

A recent git update broke our jobs, diskimage-builder was updated to fix

1. This issue but the grenade job doesn't use dib from master (our other
jobs do)
2. This commit ensure that our grenade job pulls dib from the git repo

Change-Id: I2de592a337e769d1604d72b117fd8a44d5777f58
2022-04-15 20:20:02 +08:00
xusongfu
d76bd458fc fix: Modify UserGroups and User definition
1. Modify UserGroups class definition to make it extensible
2. Modify getColumns definition to make it extensible

Change-Id: I8e97da2ec2078a8620cc212f76cfab9e1bedb14e
2022-04-14 15:34:05 +08:00
Zuul
30229526a4 Merge "fix: Fix database and tag" 2022-04-08 08:56:56 +00:00
Jingwei.Zhang
feb7bb1af1 fix: Remove batch delete port forwarding
Concurrent deletion will cause an error in neutron updating the routerId
 attribute of the floating IP, so remove batch delete port forwarding
action.

Change-Id: I18687b80f9a7e239a5ae23d84ae2169ad8491cf0
2022-04-08 03:45:54 +00:00
xusongfu
fed23d5613 fix: Fix database and tag
1. Add i18n for database
2. Add i18n for server tag and project tag
3. Add database instance status

Change-Id: If0d3d0782808a06f51c63bf9d817281ae027972b
2022-04-08 09:56:04 +08:00
Zuul
74df8da69e Merge "fix: Fix source port/port range" 2022-04-07 09:21:21 +00:00
yangao
250c344333 fix: Fix source port/port range
1. When the direction of the security group rule is egress, the following prompt should be the destination port/port range

Issue: 126898
Change-Id: I199fe1d9471c06eac1b00f2f0ec245d9dfb4177c
2022-04-07 14:46:16 +08:00
Zuul
786d956349 Merge "Add Trove UI to Skyline" 2022-04-07 05:19:30 +00:00
xusongfu
e0b40e0c4c fix: Fix error of cinder endpoint
Fix the rootStore path to solve the problem of incorrect cinder endpoint

Change-Id: I4a3b24959f74bfdaa8746d507b05dc3dffeeef4b
2022-04-07 09:39:14 +08:00
Reşit Demir
b3966843f8 Add Trove UI to Skyline
Change-Id: I0502a2043361a57b39c5804e74a443c01b920e62
2022-04-06 11:01:01 +00:00
xusongfu
adabf42783 fix: Fix tags column and validator tips
1. Fix tags error in hypervisors page
2. Fix validator tips about commas

Change-Id: Idb92d62e2f309476b647532e01d3e05fa23c7748
2022-03-30 10:28:29 +08:00
Zuul
76859287e8 Merge "feat: remove useless codes of snat" 2022-03-29 08:55:10 +00:00
xusongfu
981e653148 fix: Refresh data when database change in monitor
1. Refresh the node list when database change
2. Reset the current selected node when database change

Change-Id: Id12ebb729b44bd01893d20d2f2f91d7450fb3186
2022-03-29 09:27:14 +08:00
Jingwei.Zhang
948e246791 feat: remove useless codes of snat
1. Remove useless codes of snat
2. Remove duplicate key "extensions" in neutron client

Change-Id: I1bfa87f3588eac7bc68d2375f8330607b962314c
2022-03-28 16:08:24 +08:00
xusongfu
81c037de41 feat: Add tags to nova service and so on
1.Lists tags, creates, replaces tags for a server
2.Fix input autocomplete in Chrome browser
3.Fix some e2e test bugs

Change-Id: I6236da8670d36c88978317d34a50cde3974b83d9
2022-03-26 20:11:15 +08:00
Zuul
c8fee87d63 Merge "fix: Clear local storage when logout" 2022-03-26 10:03:23 +00:00
Zuul
c8eb7086ad Merge "refactor: Update style" 2022-03-26 09:36:40 +00:00
Zuul
7ee4ce8eaf Merge "feat: support network qos policy actions in console" 2022-03-26 04:29:41 +00:00
Jingwei.Zhang
82df36b307 fix: Clear local storage when logout
Clear local storage which storage keystone_token and other info

Change-Id: Ife904f05918a3b107c55a4db2244b84a01a2dde0
2022-03-25 16:04:15 +08:00
Jingwei.Zhang
9763ce317f feat: support network qos policy actions in console
Support qos policy actions in current project tab in console
1. Support create qos policy in console
2. Support edit qos policy in console
3. Support delete qos policy in console
4. Support create/edit/delete bandwidth in console

Change-Id: I3142f9e9386c85fd99438f7277eaebad0d2c2b6b
2022-03-25 14:47:52 +08:00
xusongfu
7ac40b2650 fix: Support no-cinder
1. Update base client to support service disable
2. Remove volume in create instance if no-cinder
3. Remove cinder services in overview page if no-cinder
4. Remove some storage services if no-cinder
5. Remove volume in monitor centers if no-cinder

Change-Id: Ib6f8f3ed86098b4097b0428b48f0b136bf5ee349
Closes-Bug: #1939984
2022-03-25 12:57:28 +08:00
Jingwei.Zhang
36c5a63196 fix: add json format check when editting setting config
1. Add JSON format check when edtting setting config
2. Update export

Change-Id: I532f6eeac33fb5fc8a8854131b5bc55e13009cf5
2022-03-21 23:06:30 +08:00
Zuul
548f6c684d Merge "feat: add floating ip tab in qos policy detail page" 2022-03-17 10:47:27 +00:00
Jingwei.Zhang
194ac88d24 feat: add floating ip tab in qos policy detail page
Add floating ip tab in network qos policy detail page

Change-Id: I07e30d08b27d51dca7facc12397aab7a72be3669
2022-03-16 10:41:23 +08:00
zhangke
05b28c9344 fix: the host name should show service.host instead of hypervisor_hostname, pages involved are as follows:
Management Platform: Virtual Machine Manager, Virtual Machine Manager Details, Migration, Live Migration

Change-Id: Icb8b9ed8bb61fb6c715193f1c48bd1c2da45316f
2022-03-16 02:30:31 +00:00
xusongfu
2960516e5e fix: Fix the user manager & group manager
Fix the page error when the role list is empty

Change-Id: Id72aaf1da2d96695fdf879de7f57f3a9f0183995
2022-03-15 11:52:49 +08:00
zhangke
83a1b938c1 fix: hide project_id when modifies metadata
1. project_id should not be modified when mirror modifies metadata
2. mirror details page does not need to display the custom attribute project_id

Change-Id: Id629f94429ea1ee6556046f5f3d9e22b3a578b40
2022-03-07 10:36:44 +08:00
Zuul
04d150cc5b Merge "fix: Fix the user manager & group manager" 2022-03-03 07:55:02 +00:00
zhangke
29a0435392 fix: set default expires day of keystone_token
1. set default expires day of keystone_token
2. add tips when keystone_token is expired

Change-Id: Ib5bb97c3c790d9f5c239fc19bb76a95a231ca838
2022-03-03 12:13:48 +08:00
xusongfu
58be21a2b9 fix: Fix the user manager & group manager
The select is single when configuring roles for projects, which is not
matched with horizon

Change to multi-select when configuring roles for projects

Change-Id: I3ecee8431f107e723c0046c549a8e016a846f6a2
2022-03-03 09:39:44 +08:00
Jingwei.Zhang
ce0042945f refactor: Update style
1. Support style check: stylelint
2. Add stylelint check in lint-staged husky
2. Update styles

Change-Id: Id793b0936e4c3ea27ddef0df794d5b711880599f
2022-03-02 11:04:01 +08:00
xusongfu
757047a1cb fix: Fix the encryption provider format
The encryption provider format is wrong, fix it to luks

Change-Id: I264640173e9fb07bf2a11cc8e29d2beeccf8ebae
2022-02-25 14:41:43 +08:00
xusongfu
04e8210fdd fix: Fix the style of AddSelect component
Use float instead of overflow to avoid the inner selects options
being occluded by outer element

Change-Id: I41c6ef3d60e5717c8c9b929091b4383365aa4d29
2022-02-24 18:38:57 +08:00
Zuul
22be7ac616 Merge "fix: fix routerId of router port page" 2022-02-24 08:18:07 +00:00
zhangke
25c36f1bf8 fix: fix routerId of router port page
fix routerId of router port page

Change-Id: I389b588e9aa7e0642649243b5099947c72ab40f6
2022-02-24 15:30:08 +08:00
xusongfu
237ea4a901 fix: Fix the Qos policy data in the list
Modify request parameters to ensure that data can be separated under
different tabs

Change-Id: I2eb396031c140f215b0ea4c1a87269b290d35dcf
2022-02-24 14:23:33 +08:00
xusongfu
088c38e65c fix: Fix the router port & security group
1. The name of router port is empty but it is id in the download file,
we need to modify the column to get the correct name in download file

2. Incorrect routing path parameters cause errors in jumping to the
security group details page

Change-Id: I91bd0873c7b767da5b9b2cdc566389897c230ae1
2022-02-24 09:43:59 +08:00
xusongfu
10c3abdc4b fix: Fix the mtu when create network
Remove mtu if it is empty

If the mtu is empty, it should be removed
from the params of the request, otherwise it will cause
createing net error

Change-Id: I88f1d4398efd2ee70ab984d7598b04f8743c8d66
2022-02-23 10:59:07 +08:00
xusongfu
4f40768854 fix: Fix the gateway_ip when create network
Remove gateway_ip if it is empty

If the gateway_ip is empty, it should be removed
from the params of the request, otherwise it will cause
createing sub-net error

Change-Id: Iecd927034ca9bc14c1bfb28b27f34ef585afa945
2022-02-22 16:59:51 +08:00
xusongfu
0dcf7bd0e3 fix: Fix the status list of volume
Administrators can reset the volume status to in-use

If the volume status is 'error', the volume can not be deleted or
detached, we need to change the status to 'in-use' then do this

Change-Id: Ia250a449fea4dc96186bd1440eadfc0c791f48ac
2022-02-22 16:31:21 +08:00
xusongfu
438772f6f3 fix: Fix the search filters
1. Add search filters of baremetal node list
2. Use public function getOptions to format some select options

Change-Id: I2952878ab21656364031db0216a32879ce87862c
2022-02-21 16:00:47 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
zhuyue
937a17062b feature: update to support configuration
update to support configuration

Change-Id: I9da4178175c3cc5eec9dccab24d1db543ca62821
2022-01-13 19:14:07 +08:00
zhuyue
9bfc537493 fix: Fix for fip's binding resource that not belong to current project
fix for fip's binding resource that not belong to current project

Change-Id: I26e52a4a31e7dd12023fe5fabfb748eb328870f2
2022-01-12 01:18:16 +00:00
Jingwei.Zhang
7419565aa2 refact: Refactoring generation of the link of network and security group when creating instance
Use route name in menu to generate network && security group link

Change-Id: I84c9470a06a5bc41eba19c91c40d40d8cab7f26a
2022-01-10 15:34:30 +08:00
Zuul
24feb71191 Merge "refact: Refact Monitor page" 2022-01-09 14:02:28 +00:00
zhuyue
656ccfc9f6 refact: Refact Monitor page
refact monitor page

Change-Id: Ic7ff74641da63c236e27a146b6f1ab712a780f49
2022-01-09 17:09:34 +08:00
Zuul
37c7f440da Merge "feat: Optimize simple-form component" 2022-01-07 14:03:58 +00:00
Jingwei.Zhang
256d7d473e feat: Optimize simple-form component
1. Optimize simple-form component to support form item onChange function
2. Update login to support custom render

Change-Id: I8952d4bd3cff85eeccd76363a8a9c3f3aff3ee25
2022-01-07 10:07:43 +08:00
Jingwei.Zhang
c96180b723 feat: Support the use of ports when creating an instance
1. Add port select in network step when creating an instance
2. Show port in confirm step when creating an instance

Change-Id: I4adb832d194433f2b201c02c067e72251c6e61e6
2022-01-06 17:27:27 +08:00
xusongfu
6872acf19b fix: Fix the create member disappear when status is changing
Show create member when status is from PENDING_UPDATE to ACTIVE

Change-Id: I594be49113215e2cb9b950d61dae810f6608d61c
2021-12-28 18:20:28 +08:00
Zuul
5b288e6daa Merge "feat: Support ceph rgw swift" 2021-12-22 07:20:40 +00:00
Jingwei.Zhang
0c68086249 feat: Support ceph rgw swift
1. Add format=json when request swift container && object list
2. Remove delimiter when params has path prop

Change-Id: I53e978d44d077337ff555a1aa50489638df37970
2021-12-22 11:58:42 +08:00
xusongfu
c185571953 fix: Fix the create listener disappear when status is changing
Show create listener when status is from PENDING_UPDATE to ACTIVE

Change-Id: I2571548c89ae4b37a5f09d54d277064bd2d6ba5d
2021-12-22 11:03:09 +08:00
xusongfu
bf22ea704e fix: Fix the validate message for some fields with empty value
Change the validate messge for the form item whitch type is select or select-table

Change-Id: I839575099d2385469f4269d1dee4c8c11cc1e9b7
2021-12-20 11:23:37 +08:00
xusongfu
0aaca80308 fix: Fix the value of the name column in the network list which use the simple table
Show id and name to match column headings

Change-Id: Ifea9927b024ae613d2db4f402aa4ad020d767c6e
2021-12-16 15:37:01 +08:00
Zuul
d884b0ba6e Merge "feat: Update flavor detail page" 2021-12-16 07:21:26 +00:00
Zuul
507a86ecd7 Merge "fix: Add tip for ipv6 subnet" 2021-12-16 04:58:45 +00:00
zhuyue
6ea6e2c8d0 fix: Add tip for ipv6 subnet
1. add tip for ipv6 subnet
2. set default value of ipv6_ra_mode & ipv6_address_mode

Change-Id: Ie2cfe736052892b52e508a81a7d5c8e0e2a3528b
2021-12-16 02:40:54 +00:00
Jingwei.Zhang
20cc08159c feat: Update flavor detail page
1. Add numa node info in flavor detail page
2. Add memory page size info in flavor detail page

Change-Id: I6fc4a93c4e78e9a75f32fe1f35e4b73cb504bcca
2021-12-16 10:04:16 +08:00
Jingwei.Zhang
2b82344212 fix: Fix qos policy jump in fip list page
Fix qos policy jump in fip list page

Change-Id: I4912fe6bad60a307a6fe5035f2221489ad226f56
2021-12-15 15:41:14 +08:00
Jingwei.Zhang
91d9c80d09 feat: Support flavor mem page size prop
1. Add mem page set when create flavor
2. Update i18n
3. Update RightContent component extends

Change-Id: I8c714e97300e70cfe8c761736db7076127ba1e7c
2021-12-15 12:21:24 +08:00
Zuul
5d4e204ebe Merge "fix: The default remote ip prefix is ::/0 if ethertype is IPv6" 2021-12-10 07:11:40 +00:00
xusongfu
62149658da fix: The default remote ip prefix is ::/0 if ethertype is IPv6
Use different default remote ip prefix between IPv4 and IPv6

Change-Id: I9f851562da8d8b59cc7ecc51ebeaa285076e1831
2021-12-10 14:18:56 +08:00
zhuyue
7cd19fe428 fix: fix for lb members subnet id params
fix for lb members subnet id params

Change-Id: I875557396867938119ac1f22f3df2818b33b5a48
2021-12-10 12:26:25 +08:00
Zuul
979fbfe6e5 Merge "fix: The default remote ip prefix is ::/0 if ethertype is IPv6" 2021-12-09 07:50:55 +00:00
xusongfu
f562454c5f fix: The default remote ip prefix is ::/0 if ethertype is IPv6
Use different default remote ip prefix between IPv4 and IPv6

Change-Id: I6b50000c0acdeb7956ee9343c295ed62493f7095
2021-12-09 14:23:53 +08:00
zhuyue
a070ecd94e fix: Fix for monitor page
1. fix for object data of formatedData
2. fix for evictions
3. fix for chart modal

Change-Id: I757387714a1088647538870e80615662f830ac1e
2021-12-09 11:16:20 +08:00
zhuyue
1834f92c8a fix: Fix for compute node status & "observable" big array data
1. fix for compute node status
2. fix for observable big array data in monitor

Change-Id: If6946246a8ffe8bbc6a880f0150658a436884613
2021-12-07 08:25:25 +00:00
Jingwei.Zhang
a956a9f3df fix: Hide download btn in swift container page
Hide download btn in swift container list page

Change-Id: I47d0e60220dc216b2a68afd14e2b37e40402e5b5
2021-12-06 10:03:39 +08:00
Zuul
d3674e04a2 Merge "fix: Fix menu click range" 2021-12-03 13:43:16 +00:00
Zuul
ee77a5eab3 Merge "fix: Fix delete swift folder" 2021-12-03 11:19:41 +00:00
Zuul
d74f418f52 Merge "fix: Fix for create lb members" 2021-12-03 11:16:58 +00:00
zhuyue
ea9cbb9455 fix: Fix for create lb members
fix for create lb members

Change-Id: Iabd009f90dfcda329f809d48220bfce97fe63717
2021-12-03 09:27:26 +00:00
Jingwei.Zhang
870907aae3 fix: Fix delete swift folder
Fix delete empty swift folder

Change-Id: I0c781285d35f8585df487634e656ba7464c3c78a
2021-12-03 16:57:36 +08:00
Jingwei.Zhang
6b05d343f1 fix: Fix menu click range
Fix menu click range

Change-Id: Iee68fac62d1f406b7f560ff16ca7e0829eda0c49
2021-12-03 16:00:57 +08:00
Jingwei.Zhang
f37c2338a7 fix: fix i18n
fix i18n due to rebase

Change-Id: I2ff1f3c5cef26354f38eb94f04482f4e746eba01
2021-12-03 11:24:15 +08:00
Zuul
6113ab6331 Merge "fix: Remove pfw tab from fip detail page" 2021-12-02 08:27:30 +00:00
Zuul
cb4502f61c Merge "fix: Fix selection style in header table" 2021-12-02 08:21:27 +00:00
zhuyue
7b2ad4de84 fix: Remove pfw tab from fip detail page
remove the pfw tab in an environment where pfw service is not deployed

Change-Id: Ibc0e3c28e1ef34097818aea5be432d01208d384a
2021-12-02 14:22:27 +08:00
Jingwei.Zhang
18c475987a fix: Fix selection style in header table
Fix selection style in header table

Change-Id: Id2c17ff4dcb0c0c15409268d12e891424de640e5
2021-12-02 10:39:15 +08:00
zhuyue
b4e1789027 feature: Add other service monitor page
add other service monitor page

Change-Id: I1e17919d8d93bf5b46e8f399f1128addf3fbbd6c
2021-12-02 10:10:03 +08:00
Zuul
a78c4a9379 Merge "fix: Fix table header style" 2021-12-02 01:52:15 +00:00
Zuul
8f449b1149 Merge "feature: Add openstack service monitor page" 2021-12-02 01:43:57 +00:00
Zuul
c8f9e19e63 Merge "feature: Add storage cluster monitor page" 2021-12-02 01:24:55 +00:00
Jingwei.Zhang
625342f178 fix: Fix table header style
Fix table header style

Change-Id: I7bc83f1a5fa9c5684e6384f091ff6db5558c469d
2021-12-01 17:49:01 +00:00
Zuul
b2e7aaa3d7 Merge "feat: Add swift" 2021-12-01 17:47:57 +00:00
Zuul
c8319fe03b Merge "feature: Add physical node monitor" 2021-12-01 16:45:16 +00:00
Zuul
145bdfea65 Merge "feature: Add monitor overview" 2021-12-01 13:29:03 +00:00
zhuyue
8dc8a6b200 feature: Add openstack service monitor page
add openstack service monitor page

Change-Id: Ib3e6501bec43edfedb1333aac3a2404173126e8f
2021-12-01 09:30:04 +00:00
zhuyue
8cdbb3d259 feature: Add storage cluster monitor page
add storage cluster monitor page

Change-Id: Ib2eb0e1c711f541713822aae8ec200e9cd0d86f5
2021-12-01 09:30:00 +00:00
zhuyue
4879410e85 feature: Add physical node monitor
add physical node monitor

Change-Id: Ieb7082c91fc5a3da89e76e06abba8b4cac536972
2021-12-01 09:29:53 +00:00
zhuyue
a210d80f5c feature: Add monitor overview
add monitor overview

Change-Id: I1e66ffde80ae2c162c1a68411cdd2cfa98ec8931
2021-12-01 09:27:08 +00:00
Jingwei.Zhang
ace9ca0ece feat: Add swift
1. Add swift container list page
2. Add swift container object list page
3. Add create/delete container
4. Add create/edit/delete/copy/cut/paste/rename file
5. Add create/delete folder

Change-Id: Id4a675688b4a8beb40921173d7637e331a77b77e
2021-12-01 16:20:02 +08:00
Jingwei.Zhang
34976a77b0 fix: Fix baremetal set boot device
Fix baremetal set boot device

Change-Id: I2dec622e6d80016d5884c2b9234ec9681c2e6734
2021-12-01 14:20:50 +08:00
Zuul
bfa613bd34 Merge "fix: Fix create ipv6 subnet with ipv6_address_mode" 2021-12-01 04:15:49 +00:00
Zuul
220f8d4723 Merge "fix: Fix environment with no pfw" 2021-11-30 13:54:32 +00:00