8203 Commits

Author SHA1 Message Date
Hoang Nguyen
4916f3c90d
UI - Fix Locked "Override Root Disk Size" switch (#5843)
* Fix Locked "Override Root Disk Size" switch

* fixes ut
2022-01-10 19:04:46 +05:30
Hoang Nguyen
0f926b5d68
UI: Add s3 provider option to create secondary storage (#5726)
* add s3 provider option to create secondary storage

* fixes label name

* add storagepolicy for swift provider
2022-01-10 19:01:53 +05:30
Abhishek Kumar
feb4343abe
ui: fix create network/vpc offering form (#5840)
* ui: fix create network/vpc offering form

Fixes #5838

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

* fix inlinemode

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-08 08:41:58 +05:30
Hoang Nguyen
3cbde8cd6c
UI - Hide shrink disk option on XCP-NG/Xenserver (#5829)
* hide shrink disk option on XCP-NG/Xenserver
2022-01-06 17:41:54 +05:30
Hoang Nguyen
f071873d84
UI: Fix new UI missing 4 parameters when adding a BareMetal host (#5812)
* fix new UI missing 4 parameters when adding a BareMetal host

* remove test options

* add rule for hosttag with baremetal

* fixes password not provided
2022-01-04 15:13:31 +05:30
Rakesh
2bd1dc1e14
Enable resetting config values to default value (#4230)
* Enable resetting config values to default value

Provide reset button to zone,cluster,domain,account,
primary and secondary storage so that config values
can be reset to default value

* fix ui issue

* Update test/integration/smoke/test_reset_configuration_settings.py

* Update test/integration/smoke/test_reset_configuration_settings.py

Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-01-03 21:55:30 +01:00
Hoang Nguyen
4392cc4d48
ui: refactoring $notification according to the old version (#5819)
Related to PR #5549 changed the notification from $notification to $showNotification. This PR aims to change it back to the way it was for easier use while keeping the delete all button.
2022-01-03 20:59:49 +05:30
Hoang Nguyen
10bda8549b
ui: auto-prefill edit tariff label (#5714) 2021-12-30 16:27:56 +05:30
Abhishek Kumar
d7a9873053
ui: fix add network offering for vpc (#5809)
* ui: fix add network offering for vpc

Fixes issues with form related to supported services provider and router service offering when offering to be created for VPC.

Fixes #5807

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

* fix issues getting with making select element update on options change (loop infinity) (#72)

* fixes

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

Co-authored-by: Hoang Nguyen <hoangnm@unitech.vn>
2021-12-30 16:26:54 +05:30
Hoang Nguyen
eb04a46541
ui: Add clear all notification button (#5549)
* add clear all notification button

* change position set count notify

* get notification count

* set label transliteration

* add margin for notification

* change position of clear notification button
2021-12-30 16:24:17 +05:30
Hoang Nguyen
5eccbc9521
ui: Add footer text option for login screen (#5628)
* add footer text option for login screen

* using single key for policy

* set empty for default policy text

* rename footer text key

* rename the footer text property name

* change position avoid breaking with docHelp

* change position of properties
2021-12-30 16:21:40 +05:30
Wei Zhou
8952cd5955
kvm: add hosts using cloudstack ssh private key (ccc21 hackathon) (#5684)
This PR provides the option to add kvm hosts with empty or wrong password.
To support this, the cloudstack ssh public key needs to be added in the ~/.ssh/authorized_keys on host.

Feature work:

1. get cloudstack public key from management server (/var/lib/cloudstack/management/.ssh/id_rsa.pub)

![image](https://user-images.githubusercontent.com/57355700/141449653-85f644b5-c32e-44ca-9c6b-77570262c046.png)


2. add the key to ~/.ssh/authorized_keys on kvm hosts

![image](https://user-images.githubusercontent.com/57355700/141449722-e906eea5-74fd-4f81-a4d3-41563beeb79c.png)

3. add kvm host with empty password

<img src="https://user-images.githubusercontent.com/57355700/141449865-6ffee1f0-b0d7-4ea4-b11a-32df42e2fe91.png" height="50%" width="50%">

Tested as:
1. add host, with correct password,  works as expected.
2. put host to maitenance, stop cloudstack-agent, cancel maintenance, remove the host. all work.
3. add host, with empty password (ssh public key is added to  ~/.ssh/authorized_keys),   works as expected.
4. put host to maitenance, stop cloudstack-agent, cancel maintenance. all work as expected.
2021-12-30 16:20:04 +05:30
Nicolas Vazquez
c0ddda361a
[VMware] Fix service offerings listing on appliances deployment options (#5752)
* Fix list service offerings for VMware deployment options

* UI fix to allow selecting offerings
2021-12-30 16:13:41 +05:30
Gabriel Beims Bräscher
62089767f6
Fix UI issue 5777 Root disk size is not shown as 'Disk Size' on VM deployment. (#5796)
In the UI, when selecting a service offering that has a root disk enforced, stills show the root disk size of the template (or the custom size gave by the user). This PR fixes this issue, that thas been reported in #5777.
Fixes: #5777
2021-12-30 15:21:11 +05:30
Abhishek Kumar
d13057ace5
ui: show tags only for supported resources (#5798)
* ui: prevent incorrect tags displa for primary storage

Tags in info card of the UI are related to tags functionality(create/delete/lsitTags API)
UI was incorrectly showing storage tags as these tags in the UI.

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

* remove logging

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

* ui: show tags only for supported resources

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-12-30 15:20:37 +05:30
Pearl Dsilva
9a5a0738b0
ui: Fix configure Sticky policy form (#5814) 2021-12-30 10:31:24 +01:00
Hoang Nguyen
ae62e1dd5e
fixes cannot add new port forwarding rules after auto select VM next time (#5690) 2021-12-30 09:53:51 +01:00
Gabriel Beims Bräscher
19325d0286
Change UI VM deployment to show SSH keys only if user has keys (#5804) 2021-12-28 01:23:36 +05:30
Hoang Nguyen
12d95a2027
Remove unused gravatar fetch (#5806) 2021-12-24 17:07:14 +05:30
sureshanaparti
9b0a1418ec
Provision to sort ISOs from UI, and Updated Templates/ISOs API response to return in the order of sortkey (#5800) 2021-12-24 12:44:50 +05:30
Hoang Nguyen
29c7518613
UI: Fixes error when delete domain (#5710)
* fixes error when delete domain with polljob response not have jobstatus

* fix listdomain not refresh after deleted
2021-12-20 12:35:32 +05:30
Wei Zhou
cc856277de
UI: fix create Isolated/L2 network form (#5779) 2021-12-16 11:24:11 +05:30
dahn
8bc69e919c
conditional broadcastUri (#5745)
* conditional broadcastUri

* add filter to keep order and apply to details as well

* use global isAdmin method

Co-authored-by: Daan Hoogland <dahn@onecht.net>
2021-12-08 10:27:58 +05:30
Hoang Nguyen
19880687b7
UI fix: button next not working when adding more physical networks (#5734) 2021-12-06 12:31:38 +05:30
Wei Zhou
46fa7f473d
UI bug fix: 'Invalid ip address' when change vm ip address (#5744) 2021-12-03 06:58:42 +01:00
dahn
14d09a9fab
check security groups in basic zones (#5746)
Co-authored-by: Daan Hoogland <dahn@onecht.net>
2021-12-03 11:17:55 +05:30
Wei Zhou
458082234d
UI: Enable cancel host maintenance when resource state is 'ErrorInPrepareForMaintenance' (#5737) 2021-12-03 06:46:25 +01:00
Apurv Gupta
babf94f801
UI: Autoscroll to Error Field (#5200)
Fixes #4798
2021-11-18 14:01:22 +05:30
Peinthor Rene
e93d67444d
ui-primary-storage: hide provider if Linstor protocol (#5672)
* ui-primary-storage: hide provider if Linstor protocol

If Linstor protocol is selected it makes no sense to show other
providers as Linstor only works with the Linstor provider.

This was removed with the fix for #5613, that probably resulted from a
bad merge resolving from my part.

* ui-wizard: set correct provider for Linstor protocol
2021-11-18 13:44:52 +05:30
DH Park
a8e7315e53
UI : Fix SSL certificate submit button not working (#5682)
* Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT

Signed-off-by: nicolas <nicovazquez90@gmail.com>

* Fix build and version numbers

* SSL Certificates 버튼이 작동하지않는 버그

SSL Certificates 버튼이 작동하지않는 버그

* Revert "Updating pom.xml version numbers for release 4.17.0.0-SNAPSHOT"

This reverts commit e4dba9fb95b5be9f3f3c0ea84ffbc45c9ecfe2eb.

* Revert "Fix build and version numbers"

This reverts commit fd6161a9dfc2c4c9ab7d6d17677e142dfe473ea3.

Co-authored-by: nicolas <nicovazquez90@gmail.com>
Co-authored-by: Dajeong-Park <ekwjd7182@gmail.com>
2021-11-18 13:44:25 +05:30
Hoang Nguyen
0684aff529
ui: fix incorrect auto-select (#5693) 2021-11-18 13:42:24 +05:30
Abhishek Kumar
817c7c3480
ui: fix jobid key for migrate VM storage (#5644)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-10-29 15:13:37 -03:00
Hoang Nguyen
7105a05888
ui: show password after reinstalling VM (#5638) 2021-10-29 22:27:16 +05:30
Wei Zhou
269a57b94b
ui: ip6gateway is missing in createNetwork API (#5643) 2021-10-29 22:23:50 +05:30
davidjumani
ac75facb15
ui: Fix wrong label for addBrocadeVcsDevice (#5621) 2021-10-25 14:20:40 +05:30
DH Park
5ec7a29a2c
Replace multiple + and / symbols by - and _ to have URL-safe base64 going to the API (#5593)
Co-authored-by: YeoCheon Yun <ycyun@ycyun.xyz>
2021-10-24 02:59:28 +05:30
Nicolas Vazquez
6f8822099d
Fix duplicate provider field (#5614) 2021-10-23 09:48:42 +05:30
davidjumani
a93e771e6b
ui: Removing double footer in NSP forms (#5612) 2021-10-22 10:02:22 -03:00
Hoang Nguyen
646b95567f
fix incorrect switching between pages (#5608) 2021-10-22 08:59:38 -03:00
Pearl Dsilva
de6293b6f7
ui: Prevent multiple VM selection and list only VMs IP (#5609) 2021-10-22 13:56:03 +02:00
Hoang Nguyen
c66f308d38
fix the error of not being able to search for ostype selectbox (#5607) 2021-10-22 11:17:46 +05:30
Hoang Nguyen
298774e020
sort list idps by alphabest (#5599) 2021-10-21 14:24:23 -03:00
Hoang Nguyen
e63234e8fc
ui: Hidden features checkbox as user role (#5597)
* hidden features checkbox as user role

* change display conditions
2021-10-21 22:18:51 +05:30
Pearl Dsilva
6e67edcf50
ui: Prevent users from viewing - Project Configure Limits tab (#5601) 2021-10-21 12:15:36 -03:00
Wei Zhou
f29aef8b70
VPC: support LB in multiple vpc tiers if LB provider is VpcVirtualRouter (#5580)
* VPC: support LB in multiple vpc tiers if LB provider is VpcVirtualRouter

* server: fix unit test CreateNetworkOfferingTest failures

[ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 13.902 s <<< FAILURE! - in org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
[ERROR] createIsolatedNtwkOffWithVlan(org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest)  Time elapsed: 0.662 s  <<< ERROR!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadBalancerDaoImpl': Invocation of init method failed; nested exception is java.lang.NullPointerException
	at org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest.setUp(CreateNetworkOfferingTest.java:110)
Caused by: java.lang.NullPointerException
	at org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest.setUp(CreateNetworkOfferingTest.java:110)

* update #5580: use java.util.Optional

* update #5580: create method listByNetworkIdOrVpcIdAndScheme
2021-10-17 06:55:24 +05:30
Hoang Nguyen
26b5d9423a
fix the error of not being able to read the length of numeric (#5577) 2021-10-14 14:20:29 +05:30
Pearl Dsilva
4ed916d639
UI: Restrict viewing project invitation options when configuration is disabled (#5572) 2021-10-12 14:23:21 +05:30
Hoang Nguyen
daf29a085e
fix display ip address allow input (#5569) 2021-10-12 14:22:58 +05:30
davidjumani
6ac834a358
Adding AutoScaling for cks + CKS CoreOS EOL update + systemvmtemplate improvements (#4329)
Adding AutoScaling support for cks
Kubernetes PR : kubernetes/autoscaler#3629
Also replaces CoreOS with Debian
Fixes #4198

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Co-authored-by: Wei Zhou <w.zhou@global.leaseweb.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-10-06 21:17:41 +05:30
Abhishek Kumar
6e216dd0d1
vmware, network: add maclearning option (#5471)
* vmware, network: add maclearning option

Adds option for specifying MAC Learning property for network offering (useful for VMware Distributed Virtual Portgroup). Added global config - network.mac.learning for the default value.
MAC Learning is supported for DV portgroups for VMware Distributed vSwitches v6.6.0+ and vSphere 6.7+

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

* fix warning msg

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-10-04 20:00:45 -03:00