Commit Graph

35035 Commits

Author SHA1 Message Date
Rohit Yadav 2b1c4fbe6e
.github: fix workflow settings and allow branch pushes to main by committers (#6225)
This fixes the comment message for merge conflict checker and resets the
github branch protection for main in case of need by the RM.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-04-07 13:49:03 +05:30
Rohit Yadav 1500e1f70c
.github: add merge conflict checker per RM request (#6221)
* .github: add merge conflict checker per RM request

Adds a merge conflict checker workflow per current RM (Nicolas's)
request.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* Update merge-conflict-checker.yml

* Update merge-conflict-checker.yml
2022-04-06 23:52:55 +05:30
Rohit Yadav 9a8c7b1a8c
.github: fix first PR welcome message by boring-cyborg (#6217)
* .github: fix first PR welcome message

Adds newlines

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* add community slack link

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* add rules for storage label

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* remove semantic yaml which is not needed now

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* disable the strict check to assist RM

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-04-06 23:52:26 +05:30
JoaoJandre afc819e5c8
Added new field to updateBackupOffering API. (#6190)
* Added new field to updateBackupOffering API.

* Fix some unit tests.

Co-authored-by: João Paraquetti <joao@scclouds.com.br>
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-04-06 09:56:35 -03:00
Rohit Yadav 133b195688
Probot integrations (#6211)
* .github: add boring-cyborg integration

This add boring-cyborg bot app added to apache org that provides:
- labeling PRs by file paths
- welcome and first msg for new contributors

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* .github: add semantic title checking app

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-04-06 16:50:00 +05:30
Daniel Gruno 0cb949451a
[infra] adding back original collaborator 2022-04-06 11:25:39 +02:00
Daniel Gruno 553809b4d6
[Infra] testing adding myself as collaborator 2022-04-06 11:24:22 +02:00
Rohit Yadav e65825c4a1
.asf.yaml: dummy fix to re-kick asf-infra integration (#6210)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-04-06 14:35:55 +05:30
Nicolas Vazquez 4193109c1d
ui: Logout before login (#6193)
This PR calls the logout API before login, to cleanup any duplicate sessionkey, as it was done on the legacy UI: #4326
Fixes: #6127
2022-04-06 14:33:30 +05:30
Wei Zhou ca8782b703
api: add vpcname to networkacl response (#6207)
This PR fixes the vpc uuid in info card of network acls
2022-04-06 09:33:28 +05:30
Pearl Dsilva 9cc8da2a30
api: Update account type when updating account role (#6156)
* api: Update account type when updating account role

* extract code to validate role change
2022-04-06 00:50:56 -03:00
nvazquez 306baea228
Merge branch '4.16' 2022-04-06 00:19:12 -03:00
Wei Zhou e4b6992def
server: fix list reserved/free public ips in project (#6198) 2022-04-06 00:17:31 -03:00
Wei Zhou c61ea9f96d
VR: Do not add iptables rules for the revoked ip addresses (#6189) 2022-04-06 00:16:47 -03:00
Wei Zhou 47454eca7d
VR: add '-m <protocol>' for tcp or udp protocol (#6188) 2022-04-06 00:16:12 -03:00
Rohit Yadav a66dee4374 .asf.yaml: introduce new .asf.yaml file
As per
https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2022-04-06 00:20:17 +05:30
Abhishek Kumar 7e6d1f1f85
ui: fix acl rules listing (#6206)
When a rule in the list has start-end port, UI listing was failing.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-04-05 19:40:41 +05:30
Pearl Dsilva 1c8d8cdef2
ui: Fix label for LUN number (#6204) 2022-04-05 12:03:44 +02:00
Wei Zhou 960513aa97
test: update test_kubernetes_clusters.py to support advanced zone with security groups (#6183) 2022-04-05 12:02:18 +02:00
David Jumani 5ab4309298
agent: Detect existing hosts with UEFI support (#6139)
* agent: Pass uefi enabled status as part of ready command

* Cleanup

* Fix checkstyle

* Save uefi status if different
2022-04-04 23:31:54 -03:00
John Bampton f12e1a39d9
Remove duplicate entry from `.gitignore` (#6192) 2022-04-04 14:42:15 -03:00
Pearl Dsilva 022906d9bd
UI: Fix minor UI issues (#6182)
* UI: Fix minor UI issues

* enable add button for acl tags - only when key and value are provided

* fix autosize deprecation warning

* update form variable

* fix issue observed when opening the createVPNConnection form

* list vpn gateway IPs when creating vpn connection

* fix issue when sumitting create vpn customer gateway form

* Fix updateAccount form - Physical Network View ; add confirmation message during update of physical network state

* revert backend change

* fix migrate data form

* fix disk offering form

* 13: remove redundant form entries

* 14: update form field for vpn customer gateway - dead peer detection

* cleanup

* remove newline
2022-04-04 09:54:21 -03:00
Rakesh b88cfc226e
Mount disabled storage pool on host reboot (#6164)
* Mount disabled storage pool on host reboot

Add a global setting so that disabled pools will be mounted
again on host reboot

* fix build error

* Update description

* add cluster-wide support

Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
2022-04-01 23:38:32 -03:00
Pearl Dsilva 2c8c476656
CKS: Support deployment of CKS clusters on Advanced zones with security groups (#6132)
* CKS: Support deployment of CKS clusters on Advanced zones with security groups

* use available constant

* address comments -
- Ingress sg rule for port 22 & 6443
- Use constant to define securityGroup Name
- rename variable name from type -> vmType

* unique name for security group + foreign key

* use constants
2022-04-01 13:19:54 -03:00
nvazquez 5f3a392eb5
Merge branch '4.16' 2022-04-01 13:14:09 -03:00
Abhishek Kumar 66a6671e0b
ui,refactor: fix missing label in update network form (#6181)
updateinsequence param for updateNetwork API wasn't have correponding label in UI.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-04-01 13:12:50 -03:00
Nicolas Vazquez 2f2d6cbe38
KVM: Enhance CPU speed detection on hosts (#6175)
* KVM: Enhance CPU speed detection on hosts

* Update agent/conf/agent.properties

Co-authored-by: dahn <daan.hoogland@gmail.com>

Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-04-01 12:12:34 -03:00
Abhishek Kumar e339c4b964
ui: fix vpc tier redirect to show details (#6178)
* ui: fix vpc tier redirect to show details

When redirecting to VPC tier, details tab should be active by default

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* fix

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-03-31 09:57:14 +02:00
Hoang Nguyen 1a304ccf68
UI - Fixes UI bugs (#6162)
* fixes

* remove console

* fix hidden clear notification button

* fixes

* fixes

* fixes navigation to ssh from comments
2022-03-30 07:05:36 -03:00
nvazquez 1c238e101d
Merge branch '4.16' 2022-03-30 00:00:34 -03:00
Wei Zhou ee27708ffb
SAML: replace first number with random alphabet if request ID starts with a number (#6165) 2022-03-29 23:59:44 -03:00
Wei Zhou d910c3c6cc
UI: fix update public IP ranges (#6177) 2022-03-29 13:16:38 +02:00
Pearl Dsilva aab1e8a9d0
ui: Fix scale kubernetes (cks) cluster form (#6176) 2022-03-29 11:38:40 +02:00
Wei Zhou 944b6037cc Merge remote-tracking branch 'apache/4.16' 2022-03-29 10:43:59 +02:00
Nicolas Vazquez a69ab3b28f
Ensure configdrive path is edited properly during live migration (#6173) 2022-03-29 10:09:08 +02:00
Pearl Dsilva 908f594f00
configDrive: Fix failure to delete (unstarted) VM (#6146)
* configDrive: Fix failure to delete (unstarted)VM

* Address comments

* Address comments
2022-03-29 09:56:54 +02:00
Pearl Dsilva bcd1a3274a
api: Fix reset configuration (#6168) 2022-03-29 09:54:34 +02:00
Rakesh 9162a9b77a
Avoid multiple if else (#6171)
Use map to avoid multiple if else statement. This will support
more types in future mithout much code change

Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
2022-03-29 09:51:29 +02:00
John Bampton 15937369fe
Fix spelling (#6161)
* Fix spelling

* Fix spelling
2022-03-29 00:21:07 -03:00
nvazquez cc70843555
Merge branch '4.16' 2022-03-28 23:33:02 -03:00
Wei Zhou f4b9ab034b
UI: fix create l2 network offering with userdata (#6174) 2022-03-28 23:32:10 -03:00
Pearl Dsilva 6d11e2faa9
ui, Adv zone + SG: Fix invocation of create/revoke APIs for ingress/egress security group rules (#6170) 2022-03-28 13:53:50 -03:00
John Bampton 182899d0b5
Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687)
* refactor: remove trailing whitespace from Python files

* Add the GitHub Super-Linter

Add Python flake8 linting for W291 trailing whitespace

* Add licenses
2022-03-28 11:40:26 -03:00
Pearl Dsilva add657a899
api: Remove redundant API parameters (#6143) 2022-03-25 14:41:38 -03:00
Rakesh aa00ef90c9
Prevent vm's from stopping while enabling maintenance mode (#4636)
Sometimes when host isput into maintenance, the connection get
disconnected and as result vm's are stopped. So check for extra state
before considering host as down and stopping the vm's
2022-03-25 11:46:45 -03:00
Wei Zhou 5845de4004
kvm: support multiple local storage pools (#6147)
* kvm: support multiple local storage pools

* Update #6147: add method configureLocalStorage

* Update #6147: add method validateLocalStorageUUID

* Update #6147: remove underscore

* Update #6147: add unit tests
2022-03-25 11:40:30 -03:00
David Jumani f0993ce098
ui: Remove misleading links for users (#6159) 2022-03-25 11:38:20 -03:00
David Jumani f596dbb1f5
Fix wrong label entity.type (#6157) 2022-03-25 10:27:43 -03:00
nvazquez 6d9b60adfb
Merge branch '4.16' 2022-03-23 13:42:54 -03:00
Michael fb43076f9e
Fix linux native bridge for SUSE in cloudutils (#6134)
* fix linux native bridge for SUSE

* apply suggestion
2022-03-23 13:42:15 -03:00