Commit Graph

1613 Commits

Author SHA1 Message Date
David Jumani 6b913a76cf
ui: Add user initials as avatar if no icon present (#6070)
* ui: Add user avatar if no icon

* set initials to uppercase
2022-03-08 12:55:00 -03:00
David Jumani 92d831c6f1
ui: Add link to account role in listview (#6065)
* ui: Add link to account role in listview

* Ensure route exists
2022-03-08 08:11:00 -03:00
nvazquez 7631dede8a
Merge branch '4.16' 2022-03-08 07:54:09 -03:00
Nicolas Vazquez e4d70d4214
UI: Fix Autogenview cleared resource (#6066) 2022-03-08 07:53:22 -03:00
nvazquez c7c982f642
Merge branch '4.16' 2022-03-07 10:51:41 -03:00
Wei Zhou 84f19d8f36
UI: update vm with userdata (#6051)
* UI: update vm with userdata

* Update ui/src/views/compute/EditVM.vue

Co-authored-by: David Jumani <dj.davidjumani1994@gmail.com>

* Update #6051: small fixes

Co-authored-by: David Jumani <dj.davidjumani1994@gmail.com>
2022-03-07 07:59:52 -03:00
Pearl Dsilva 4d54e8e84c
Allow specifying disk size, min/max iops for offering linked with custom disk offering (#6018) 2022-03-05 00:11:25 -03:00
David Jumani 85c59979f7
Multiple SSH Keys support (#5965)
* keypairs added in api-constants

* names parameter added

* findbynames method added in dao

* change in impl to find and reset multiple keys

* findbynames method implemented

* log the publickeys, check the ssh keys given exists or not

* new ArrayList<>

* SQL IN toArray

* keypair

* null pointer exception solved with + concatanation

* null pointer exception solved with + concatanation

* error resolved

* keypair name to names in uservmresponse

* keypair name is set in the uservmresponse, from the details

* null checks are removed, keypairnames are stored in a string, sent to the resetvmsshinternal, and added in details

* commit first eval

* deploy vm takes multiple ssh-keys

* Deploy VM UI changed to accept multiple ssh keys

* Reset SSH UI API changed

* ResetSSH.vue

* ssh keys joined, ssh added in infocard

* changes made

* schema error resolved

* potential null pointer exception removed

* Update UserVmManagerImpl.java

unnecessary check removed.

* Update DeployVMCmd.java

* Update DeployVMCmd.java

* Update ResetVMSSHKeyCmd.java

* Update UserVmJoinDaoImpl.java

* .

* arraylist

* Update DeployVMCmd.java

* Update UserVmManagerImpl.java

* Update ResetVMSSHKeyCmd.java

* Update db

* Fix list vm by keypair

* ui fixes

* Fix typos

* ui fixes

* Cleanup

* Adding deprecated and since in api params

* Adding upgrade for existing vms with ssh keys

* Handle no key for cks

* Show existing keyparis in reset ssh key form

* get keys from the right account

Co-authored-by: bicrxm <bickrombishsass@gmail.com>
2022-03-01 21:30:55 -03:00
nvazquez 909c437cca
Merge branch '4.16' 2022-02-23 12:58:13 -03:00
dahn 19b8da290c
prevent <ctrl>-<enter> handler from <space> from toggling checkboxes (#6027)
* prevent <ctrl>-<enter> handler from <space> from toggling checkboxes

* enter vs ctrl-enter issue remaining: toggles active switch on submit

* some fixes by hook on containing div

* other identified forms

Co-authored-by: Daan Hoogland <dahn@onecht.net>
2022-02-23 21:21:44 +05:30
Pearl Dsilva bc1498de40
ui: Fix column names translation issue (#6025)
* ui: Fix column names translation issue

* update labels
2022-02-22 23:05:09 -03:00
davidjumani 982462b537
ui: Display yes / no for vm requiring upgrade (#6024) 2022-02-22 11:20:51 -03:00
davidjumani c0fe3dc827
ui : Fix linting issue (#6023)
* ui : Fix linting issue

* make it more appealing
2022-02-22 11:18:46 -03:00
davidjumani b4b1f9b861
ui: Hide column selector in detail view (#6022) 2022-02-22 11:17:29 -03:00
Pearl Dsilva e3d0ce9304
Improve default network offering setting for egress policy (#5970)
* Improve default network offering setting for egress policy

* descriptive info + restrict to only isolated n/ws

* add translation
2022-02-21 19:42:35 -03:00
davidjumani b9e973ab9b
ui: Adding option to select columns to display (#6001) 2022-02-21 12:28:55 -03:00
davidjumani 2a1a012a4d
Allow domain admin to change domain and account settings (#4339)
* Allow domain admin to change domain and account settings

* Cleanup

* Remove useless global setting

* Restrict regular users with listConfig access

* Address comments

* Moving upgrade path
2022-02-21 12:25:45 -03:00
Wei Zhou b8ce07475d
UI: fix network list when assign vm to other accounts in project view (#6009)
* UI: fix network list when assign vm to other accounts in project view

* PR#5009: return [] if empty result
2022-02-20 21:52:44 -03:00
Nicolas Vazquez e662535dce
UI: Fix move VM out of a project (#6010)
* Fix move VM out of a project

* Improve
2022-02-20 21:51:25 -03:00
Pearl Dsilva 72a77d553d
UI: Fix issue while listing projects in the Project Menu - DashBoard (#6006) 2022-02-18 10:28:29 -03:00
Hoang Nguyen 9eefc76fc5
UI: Filter menu UX improvements (#5994)
* fix filter menu

* fixes

* fixes

* fixes
2022-02-17 23:19:59 -03:00
Nicolas Vazquez ed30683e52
[Simulator] Add zone wide storage (#5986)
* [Simulator] Add zone wide storage

* Refactor
2022-02-16 22:50:55 -03:00
Suresh Kumar Anaparti b50542a11c
Merge branch '4.16' into main 2022-02-15 19:26:04 +05:30
Pearl Dsilva e0a5df50ce
CKS Enhancements and SystemVM template upgrade improvements (#5863)
* This PR/commit comprises of the following:
- Support to fallback on the older systemVM template in case of no change in template across ACS versions
- Update core user to cloud in CKS
- Display details of accessing CKS nodes in the UI - K8s Access tab
- Update systemvm template from debian 11 to debian 11.2
- Update letsencrypt cert
- Remove docker dependency as from ACS 4.16 onward k8s has deprecated support for docker - use containerd as container runtime

* support for private registry - containerd

* Enable updating template type (only) for system owned templates via UI

* edit indents

* Address comments and move cmd from patch file to cloud-init runcmd

* temporary change

* update k8s test to use k8s version 1.21.5 (instead of 1.21.3 - due to https://github.com/kubernetes/kubernetes/pull/104530)

* support for private registry - containerd

* Enable updating template type (only) for system owned templates via UI

* smooth upgrade of cks clusters

* update pom file with temp download.cloudstack.org testing links

* fix pom

* add cgroup config for containerd

* add systemd config for kubelet

* add additional info during image registry config

* update to official links
2022-02-15 18:27:14 +05:30
davidjumani b1bb22d984
ui: Pass rootdisksize only if template is not deployasis (#5995) 2022-02-15 09:07:19 -03:00
JoaoJandre 7aa9d3cd51
UI: fix delete domain (#5882)
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-02-11 16:45:16 -03:00
JoaoJandre b489b5828e
[UI] Added account field to upload volume (#5914)
* [UI] Added account field to upload volume

* Add license

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

Co-authored-by: Joao <JoaoJandre@gitlab.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2022-02-11 16:30:56 -03:00
Bryan Lima 47a170757a
[UI] Addressing Dynamically Scale of KVM VMs (#5923)
* Externalize config to increment or not VM metrics in memory

* UI fix for dynamically scale of KVM VMs

Co-authored-by: SadiJr <17a0db2854@firemailbox.club>
Co-authored-by: SadiJr <31869303+SadiJr@users.noreply.github.com>
Co-authored-by: SadiJr <sadijacinto@gmail.com>
Co-authored-by: José Flauzino <jose.wilson.vf@gmail.com>
2022-02-11 16:29:37 -03:00
elShiaLabeouf 2c0adabad6
Added customization options for menu and dashboard elements (#5937) 2022-02-11 15:34:06 -03:00
davidjumani a094dbc76e
Add option to infer boot type and mode from template (#5974)
* Add option to infer boot type and mode from template

* Rename to defaultBootType and mode
2022-02-11 15:28:59 -03:00
nvazquez e9d8d7942d
Merge branch '4.16' 2022-02-10 09:48:49 -03:00
davidjumani bc93163eec
ui: Allow domain admin to configure subdomain limits (#5978) 2022-02-10 07:55:45 -03:00
Suresh Kumar Anaparti 850714c1fc
Merge branch '4.16' into main 2022-02-10 10:57:29 +05:30
Yashika 38181b2afa
Optional chaining used to enhance readability (#5961)
* Optional chaining used to enhance readability

* Added Suggested change

Co-authored-by: YashikaSarkar <65132044+YashikaSarkar@users.noreply.github.com>
2022-02-10 01:27:54 -03:00
Hoang Nguyen b275c29709
UI - Add Network: shows "Offering for Isolated networks with no Source Nat service" on Network Offering for normal users (#5904)
* shows "Offering for Isolated networks with no Source Nat service" for normal users

* fixes roles

* fix selected tabs
2022-02-09 14:13:31 +05:30
davidjumani 453aeb02f0
Add ID search capability to sshkeypairs (#5963) 2022-02-09 09:34:00 +05:30
Rohit Yadav 41d25d54a7 Merge remote-tracking branch 'origin/4.16' 2022-02-08 23:20:12 +05:30
Wei Zhou 6495bc1a47
packaging: display First Install and Onboarding Message (#5851)
* packaging: display First Install and Onboarding Message

* Update #5851: Update as per Rohit's comments

* Update #5851: display package name in help message

* Update #5851: display links of installed cloudstack version on UI

* Update #5851: fix vue warnings
2022-02-08 16:11:03 +01:00
Suresh Kumar Anaparti 208ae84dd7
Merge branch '4.16' into main 2022-02-08 19:01:34 +05:30
Abhishek Kumar 81b49b835a
ui: fix select networks for template nic (#5933)
* ui: fix select networks for template nic

Fixes #5927

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-07 16:30:40 +05:30
Daman Arora 649be0d8c7
simplify code using optional chaining in multiple views (#5630)
* simplify code using optional chaining in multiple views

* Undo simplify chaining in CreateL2NetworkForm
2022-02-06 10:09:41 -03:00
dahn 0f1cd6009d
add logging to deployment planners (#5859)
Co-authored-by: sureshanaparti <12028987+sureshanaparti@users.noreply.github.com>

Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
Co-authored-by: sureshanaparti <12028987+sureshanaparti@users.noreply.github.com>
2022-02-04 17:02:32 +01:00
Suresh Kumar Anaparti e3f0e3b544
Merge branch '4.16' into main 2022-02-04 19:04:08 +05:30
Abhishek Kumar 966b32c234
ui: fix ssh keypair navigation (#5931)
Fixes #5930

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-04 18:29:47 +05:30
Abhishek Kumar f458964e52
ui: fix related key for section (#5929)
Fixes #5928

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-04 10:27:01 +05:30
Suresh Kumar Anaparti bf70566c2c
Merge branch '4.16' into main 2022-02-02 17:30:21 +05:30
Abhishek Kumar 8adb8df2fe
server: find suitable disk offering for volume upload (#5852)
* server: find suitable disk offering for volume upload

Fixes #5696

* fix npe check

* fixes, refactor, rename method and handle custom iops

* ui: allow offering selection

* list only disk offerings

* show name

* revert error check

* use checkaccess

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-02 16:35:47 +05:30
dahn c1bba2a308
Do not restart VPC tiers with cleanup (#5873)
* do not restart VPC tiers with cleanup

* no option for cleanup for VPC tiers

* Update server/src/main/java/com/cloud/network/NetworkServiceImpl.java

* paramNames

* remove superfluent parameter

Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
2022-01-31 17:59:26 +05:30
Abhishek Kumar 5f07e4daaf
ui: fix filtering readonly details while VM update (#5887)
* ui: fix filtering readonly details while VM update

* refactor

* error on add

Fixes #5724

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-31 17:19:31 +05:30
Suresh Kumar Anaparti f610e89ea9
Merge branch '4.16' into main 2022-01-28 13:43:00 +05:30
davidjumani 6fa8538666
Adding placeholders for custom NSP vues (#5620)
* Adding placeholders for custom NSP vues

* Fix decorator

* Fixing gslbproviderprivateip description
2022-01-27 20:11:35 +05:30
Harikrishna f15cab16da
server: Decouple service (compute) offering and disk offering (#5008)
Currently, our compute offerings and disk offerings are tightly coupled with respect to many aspects. For example, if a compute offering is created, a corresponding disk offering entry is also created with the same ID as the reference. Also creating compute offering takes few disk-related parameters which anyway goes to the corresponding disk offering only. I think this design was initially made to address compute offering for the root volume created from a template. Also changing the offering of a volume is tightly coupled with storage tags and has to be done in different APIs either migrateVolume or resizeVolume. Changing of disk offering should be seamless and should consider new storage tags, new size and place the volume in appropriate state as defined in disk offering.

more details are mentioned here https://cwiki.apache.org/confluence/display/CLOUDSTACK/Compute+offering+and+disk+offering+refactoring

* Schema changes and disk offering column change from "type" to "compute_only"

* Few more changes

* Decoupled service offering and disk offering

* Remove diskofferingid from vminstance VO

* Decouple service offering and disk offering states

* diskoffering getsize() is only for strict disk offerings

* Fix deployVM flow

* Added new API params to compute offering creation

* Add diskofferingstrictness to serviceoffering vo under quota

* Added overrideDiskOfferingId parameter in deploy VM API which will override disk offering for the root disk both in template and ISO case

Added diskSizeStrictness parameter in create Disk offering API which will decide whether to restrict resize or disk offering change of a volume

* Fix User vm response to show proper service offering and disk offerings

* Added disk size strictness in disk offering response

* Added disk offering strictness to the service offering response

* Remove comments

* Added UI changes for Disk offering strictness in add compute offering form and Disk size strictness in add disk offering form

* Added diskoffering details to the service offering response

* Added UI changes in deployvm wizard to accept override disk offering id

* Fix delete compute offering

* Fix VM deployment from custom service offering

* Move uselocalstorage column access from service offering to disk offering

* UI: Separated compute and disk releated parameters in add compute offering wizard, also added association to disk offering

* Fixed diskoffering automatic selection on add compute offering wizard

* UI: move compute only toggle button outside the box in add compute offering wizard

* Added volumeId parameter to listDiskOfferings API and the disksizestrictness flag of the current disk offering is honored while list disk offerings

* Added configuration parameter to decide whether to check volume tags on the destination storagepool during migration

* Added disk offering change checks during resize volume operation

* Added new API changeofferingforVolume API and corresponding changes

* Add UI form for changeOfferingForVolume API

* Fix UI conflicts

* Fix service offering usage as disk offering

* Fix unit test failures

* fix user_vm_view

* Addressed review comments

* Fixed service_offering_view

* Fix service offering edit flow

* Fix service offering constructor to address custom offering

* Fix domain_router_view to get proper service offering id

* Removed unused import

* Addressed review comments and fixed update service offering flow with storage tags

* Added marvin test cases for checking disk offering strictness

* review comments addressed

* Remove system_use column from disk offering join

* update volume_view to update system_use column from service offering and not disk offering

* Fix changeOfferingForVolume API for custom disk offering

* Fix global setting implementation

* Fix list volumes, after changing system_use column from disk offering to service offering in volume_view

* Changes for override root disk offering in deployvm wizard in case of custom offering

* Fix a unit test case

* Fixed recent unit test cases with new serviceofferingvo constructor

* Fix unit test in VolumeApiServiceImpl

* Added storage id for the list disk offering API and corresponding UI changes in migrateVolume and changeOfferingForVolume flow

* Rename global configuration parameter from storage.pool.tags.disk.offering.strictness to match.storage.pool.tags.with.disk.offering

* Fix smoke test failures

* Added tool tip for migrate volume UI form

* Address review comments and fix UI form of deploy VM in case of ISO.

* Fixed resize volume UI form for data disk

* UI changes to disable override root disk size when override root disk offering is enabled

* UI fix in deploy vm wizard

* Fix listdiskoffering after rebasing with main

* Fixed UI in migrate and changeofferingfor volume to handle empty disk offering list
Removed the volume's current disk offering from listDiskOffering response list

* Added custom Iops to resize volume form and removed the current disk offering during change offering for volume UI form

* Fix false response on updateDiskOffering API

* Added search field for changeofferingforvolume UI form

* Fix resize volume and migrate volume to update volume path if DRS is applied on volume in datastore cluster

* Removed DB changes from 4.16 upgrade file

* Resolving merge conflicts with main 4.17

* Added support for auto migration and auto resize of the root volume upon changing the service offering for VM.

* UI: Added automigrate checkbox in scale VM form

* Addes since attributes to new API params

* Added shrinkOK parameter to changeofferingforvolume API

* Added shrinkOk param to UI in changeOfferingforVolume form

* Added shrinkOk flag to scaleVM and changeServiceForVirtualMachines and UI form

* Removed old foreign key constraint on IDs of service offering and disk offering

* Allow resize and automigrate of root volume if required in all cases of service offering change

* Allow only resize to higher disk size from UI

* Fixing vue syntax error

* Make UI changes to provide root disk size box when the linked disk offering is of custom

* Converted from check box to toggle in scale VM, changeoffering, resize and migrate volume forms

* Fix resize volume operation to update the VM settings

* Fix migratevolume form to pick selected storage pool id in list diskofferings API
2022-01-27 15:08:42 +05:30
Daman Arora b9905c7e37
simplify code using object shorthand in multiple views (#5899) 2022-01-27 12:27:18 +05:30
Hoang Nguyen ee9c05b5fa
UI - Added option to allow users to select volumes when doing destroy the list of VMs (#5893)
* added option to allow users to select volumes when doing destroy list of VMs

* fixes
2022-01-27 11:09:48 +05:30
Hoang Nguyen 065847e6af
UI: Fixes asynchronous when destroying wrong item VM (#5884)
* fix asynchronous error when deleting VMs one by one

* fixes error open modal
2022-01-27 11:05:35 +05:30
Suresh Kumar Anaparti 982eef202f
Merge branch '4.16' into main 2022-01-26 12:21:24 +05:30
Abhishek Kumar d18ef1c0fd
ui: add custom form for update template (#5434)
* ui: add custom form for update template

* label fix

* changes and fix

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-25 10:47:41 +05:30
Abhishek Kumar 68a5e5aa77
ui: show password with success notification (#5889)
Fixes #5888

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-24 17:05:07 +05:30
Suresh Kumar Anaparti 97d6cd50a0
Merge branch '4.16' into main 2022-01-21 19:59:35 +05:30
sureshanaparti 4996b800b5
Now correct values are shown when configuring limits for a domain. (#5874) (#5880)
Now correct values are shown when configuring limits for a domain. (#5874) (#5880)

Co-authored-by: JoaoJandre <48719461+JoaoJandre@users.noreply.github.com>
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-01-20 14:37:51 +05:30
JoaoJandre 7f000f5016
Now correct values are shown when configuring limits for a domain. (#5874)
Co-authored-by: Joao <JoaoJandre@gitlab.com>
2022-01-20 10:28:56 +05:30
dahn fb35f46a96
Delete ldap config from UI (#5871)
* add params to delete command

* pass known params

Co-authored-by: Daan Hoogland <dahn@onecht.net>
2022-01-18 10:21:51 +01:00
Hoang Nguyen 0e2c09baca
UI - Fixes Pod, Cluster selected is incorrect on addHost dialog (#5869)
* fix pod selected is incorrect

* fixes fetch cluster with podid empty

* clear clusterid field
2022-01-18 14:35:28 +05:30
Suresh Kumar Anaparti 0efdc535a5
Merge branch '4.16' into main 2022-01-18 12:44:55 +05:30
Abhishek Kumar f5b0d2f056
ui: fix create user domain, account selection (#5487)
* ui: fix create user domain, account selection

* fetch accounts only after domains

* refresh on saml configure

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-17 16:30:29 +05:30
Hoang Nguyen a42ed1fb89
add a setting to config.json that allows users to set theme (#5584) 2022-01-17 11:30:56 +05:30
Abhishek Kumar 59a615cf21
ui: fix deploy vm in basic zone (#5856)
* ui: fix deploy vm in basic zone

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-14 16:29:35 +05:30
Hoang Nguyen 619c754903
Clear cache APIs when the switch domain with SAML user (#5855) 2022-01-14 16:20:56 +05:30
Suresh Kumar Anaparti a6271b8306
Merge branch '4.16' into main 2022-01-13 22:49:11 +05:30
Abhishek Kumar c86b98e682
ui: show account configure limits tab for domain-admin (#5858)
Fixes #5676

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-13 14:08:02 +01:00
Hoang Nguyen 4746509c82
[UI] Cancel all requests api, async jobs in UI when user logs out (#5663)
* cancel requests in UI when user logs out

* clear notification, message from UI after logout
2022-01-13 17:44:49 +05:30
Hoang Nguyen 001f4213c8
UI - Deploy VM with params from the template, iso, network pages (#5653)
* deploy VM with params from the template, iso, network pages

* remove default-checked not necessary
2022-01-13 16:59:41 +05:30
Suresh Kumar Anaparti 42a941cc70
Merge branch '4.16' into main 2022-01-13 12:47:08 +05:30
Abhishek Kumar c17ae740f4
ui: fix getDiagnosticsData files field (#5853)
Fixes #5707

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-12 13:52:01 +05:30
Abhishek Kumar 223bc11d2a
ui: fix paging in enable static NAT form (#5849)
Fixes #5715

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-11 22:31:02 +05:30
Gabriel Beims Bräscher 2e2d328cde
Add toggle button on the UI for list including elements in projects. (#5790)
* Allow to use projectid=-1 and list all resources (e.g. VMs) regardless of their project.
2022-01-11 21:30:30 +05:30
Abhishek Kumar c08592cad8
ui: update vm haenable only for supported vms (#5847)
For VMs which have service offering that does not allow HA, haenable option will be not shown in the UpdateVM UI form.

Fixes #5743

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-01-11 14:55:11 +05:30
Suresh Kumar Anaparti e1b56be67c
Merge branch '4.16' into main 2022-01-11 12:46:33 +05:30
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
Suresh Kumar Anaparti 5c02f6d507
Merge branch '4.16' into main 2022-01-06 17:47:37 +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
Suresh Kumar Anaparti 30ae9eedad
Merge branch '4.16' into main 2022-01-05 10:14:47 +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
Daman Arora 610b2d0dd0
simplify code using optional chaining in compute views (#5635) 2022-01-04 12:23:28 +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
Daman Arora fc49f5d0d8
simplify code using object shorthand in project view (#5820) 2022-01-03 13:14:07 +05:30
SadiJr 44f6730868
ui: Allow users to list VMs by Backup Offering Id in UI (#5818)
Co-authored-by: SadiJr <sadi@scclouds.com.br>
2021-12-31 00:07:59 +05:30
Rohit Yadav c84198d76d Merge remote-tracking branch 'origin/4.16'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-12-30 16:52:30 +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
Daman Arora 49b2dfc6e4
ui: simplify code using optional chaining in ZoneWizardLaunchZone view (#5619)
* simplify code using optinal chaining in ZoneWizardLaunchZone view

* simplify code using optonal chaining
2021-12-30 16:23:42 +05:30
SadiJr d0721c5d66
ui: Change permission to access console proxy button (#5625)
This PR fixes #5623.

Also, some more information that is not present in the issue in question:

Although the proxy console access button does not appear in the UI, users with access permission to the VM in question have access to the console as well. Simply generate the console access link using another user, copy that link, and, on the user without access to the console button, type that link.

Co-authored-by: SadiJr <sadi@scclouds.com.br>
2021-12-30 16:23:02 +05:30
Daman Arora 7791b3c10c
ui: simplify code using optional chaining in the zone view (#5626) 2021-12-30 16:22:28 +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
Daman Arora 7cb4604e98
simplify code using object shorthand in multiple files (#5766) 2021-12-30 15:29:25 +05:30
Daman Arora e3b0c0862f
simplify code using optional chaining in multiple config files (#5764)
* simplify code using optonal chaining in multiple config files

* add optional chaining to record too
2021-12-30 15:28:50 +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
Suresh Kumar Anaparti 0c0254d8f5
Merge branch '4.16' into main 2021-12-28 01:40:23 +05:30
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
Suresh Kumar Anaparti 99313f8eae
Merge branch '4.16' into main 2021-12-20 14:01:41 +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
Wei Zhou 51d4e5475f Merge remote-tracking branch 'apache/4.16' 2021-12-10 17:50:25 +01:00
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
Rohit Yadav 2e9c9417be Merge remote-tracking branch 'origin/4.16' 2021-12-03 15:41:56 +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
Abhishek Kumar 2df82d8188
ui: changes in migrate vm storage and migrate volume form (#5145)
Better forms in UI for migrating VMs and volumes.

- Show option to migrate with storage while live migrating a VM
- For VM storage migration (stopped VM), allow migrating volumes to specific primary storages
- Show primary storage details in migrate volume form

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-11-30 17:07:48 +05:30
Harikrishna 6635421f8e
ui: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now (#5703) 2021-11-23 16:42:17 +05:30
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 e4dba9fb95.

* Revert "Fix build and version numbers"

This reverts commit fd6161a9df.

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
SadiJr 93c0b602db
[UI] Edit backup offering (#5546)
* Allow edit backup offering

* Address reviews

Co-authored-by: SadiJr <sadi@scclouds.com.br>
2021-10-04 12:12:51 -03:00
Abhishek Kumar 4a42e7ef9e
vmware, ui: update portgroup on network update (#5470)
Enhanced update network form in the UI.
On network offering change for an isolated network,

- VMware portgroup should be updated accordingly.
- VMs on the network should be placed on the correct VMware portgroup based on the network rate, https://docs.cloudstack.apache.org/en/latest/adminguide/service_offerings.html#network-throttling.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-10-03 14:41:42 +05:30
Hoang Nguyen 75922bb727
remove duplicate endipv6 item in shared network (#5537) 2021-09-30 10:19:37 +05:30
Hoang Nguyen d08e2bcf3a
UI - Fixes modal width by device screen (#5526)
* fix modal width by screen width

* fix test unit fail

* fix overlaps dialogs
2021-09-30 10:19:10 +05:30
DK101010 9ef7355399
ui: show datastore cluster option in vmware zone deployment (#5522)
Co-authored-by: DK101010 <dirk.klahre@itelligence.de>
2021-09-29 09:52:38 +05:30
Pearl Dsilva e573d0ddcb
Allow users (User accout Role) to delete / archive events (#5520) 2021-09-28 09:45:04 -03:00
Rakesh a9c42fd0cd
Provide option to force delete the project (#4617)
* Provide a cleanup flag so that the project will
be deleted only when there are no resources left
in the project. If users click on delete project
by mistake then everything is deleted.

* fix travis failures

Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
2021-09-26 01:02:29 -03:00
Nicolas Vazquez 2601ee32d2
Fix VM state column (#5490) 2021-09-22 11:34:00 -03:00
Rohit Yadav 910d02466e
ui: recommend adv zone to new users and show basic zone as bottom option (#5496)
* ui: recommend adv zone to new users and show basic zone as bottom option

This shows the adv zone option in the create zone wizard before the basic
zone option and recommends it for new users. This is because adv zone
can offer more flexible and network topology options including what
basic zone offers in form of shared network (with/without security
groups).

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

* let's see if this ticks advanced by default

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-09-22 14:52:20 +05:30
Pearl Dsilva 5d63379ea4
ui: Add support to filter Roles permissions (#5488) 2021-09-21 11:38:50 -03:00
Abhishek Kumar 67be3da36e
ui: fix create account/user with saml (#5481)
Fixes #5477
Fixes #5478

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-21 17:32:58 +05:30
davidjumani d9154e8a69
ui: Fix editVM in projectview (#5485) 2021-09-21 17:04:57 +05:30
SadiJr 3eafbf7329
ui: edit tariff quota and allow user driven backups parameter in Import Backup Offering (#5454)
* [UI] Fixes: edit tariff quota and allow user driven backups parameter in Import Backup Offering

* Address reviews

Co-authored-by: SadiJr <sadi@scclouds.com.br>
2021-09-21 12:45:58 +05:30
Hoang Nguyen 121a72c4fa
UI - Fixes search error in selectbox (#5472)
* fix search select options

* fix error when selected zone

* fix filterOptions of selecbox
2021-09-20 14:42:18 -03:00
Pearl Dsilva ca870dfc73
UI: Fixes issue during logout as user / domain admin (#5476) 2021-09-20 12:20:19 -03:00
Wei Zhou 747608f75f
Add New API endpoint: UpdateVlanIpRange (#5411)
* Added Logic to update the user_ip_address table

* Edited ConfigurationManagerImpl

* Refactor UpdateVlanIpRangeCmd location

* Checkstyle corrections

* Mock updateVlanAndPublicIpRange

* Changes:
- UpdateVlanIpRangeCmd - changed since to 4.15.0
- ConfigurationService - Updated Javadoc
- ConfigurationManager - Updated Javadoc
- Added Unit tests
- Added license
- Update server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
- fix some bugs in #5411 and add support for ipv6 and forsystemvms
- fix #5411: disallow forsystemvms if ip range is dedicated
- update #5411: ui changes
- update #5411: support gateway/netmask change
- update #5411: change to sync call and fix bugs

Co-authored-by: kioie <kioieddy@google.com>
Co-authored-by: kioie <kioi@outlook.com>
Co-authored-by: dahn <daan.hoogland@gmail.com>
2021-09-20 10:56:29 +05:30
Pearl Dsilva 40b4b2c894
ui: Move resource icon to first colume for VM list view (#5465) 2021-09-19 21:50:06 -03:00
Rohit Yadav 939ef4ec4b Merge remote-tracking branch 'origin/4.15' into main 2021-09-17 12:57:44 +05:30
Wei Zhou f2315ec0e2
ui: list static routes with listall=true (#5463) 2021-09-17 12:56:55 +05:30
Rakesh 854a0a1a73
Display ACL id for the private gateway (#5460)
* Display ACL id for the private gateway

Display link for acl id which is associated
with the private gateway

* Update ui/src/components/view/InfoCard.vue

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>

* Update InfoCard.vue

* Update InfoCard.vue

Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
Co-authored-by: Rohit Yadav <rohit@apache.org>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2021-09-17 12:54:50 +05:30
Peinthor Rene 66c39c1589
storage: Linstor volume plugin (#4994)
This adds a volume(primary) storage plugin for the Linstor SDS.
Currently it can create/delete/migrate volumes, snapshots should be possible,
but currently don't work for RAW volume types in cloudstack.

* plugin-storage-volume-linstor: notify libvirt guests about the resize
2021-09-16 10:50:58 +05:30
Pearl Dsilva e6058b09a7
ui: Fix Load Balancer Rules alignment issue (#5451) 2021-09-15 14:41:48 +02:00
sureshanaparti 1f3f02b469
api: Updated pod response, moved the parameters: startip, endip, vlanid, forsystemvms to ipranges (new parameter to hold the list of IP range details). (#5424)
This PR updates the pod response, grouped the parameters: startip, endip, vlanid, forsystemvms as ip range response and added to ipranges parameter (a new parameter to hold the list of IP range details).
2021-09-15 14:46:42 +05:30
Pearl Dsilva 4b1fc195cf
ui: Refresh Usage dashboard when swapping between Project and Default view (#5447) 2021-09-15 10:50:25 +05:30
Pearl Dsilva 3f827ef22b
UI: Support to upload resource icons (#5157)
* Resource Icon support - backend

* Add API support for resourceicon

* update reponse params + ui support

* Add exclusive list api for icons and UI changes

* refactor upload view

* UI changes to support resource icon wherever necessary

* convert api to POST + refactor icon view

* Add response name to list API + cosmetic changes in UI

* Added support for the following:
resource icon support for vpcs, networks, domains, and projects
add icons to list view if reosurces support icons to be added
support for showing project icons in the project switching drop-down menu

* List resourceicon cmds to be allowed for user role too
Users to inherit account icon if present (in listUsers response)
Move common code to plugin.js
Add icon to project list view - while switching between projects - Dashboard page
Show icons against zones - Capacity Dashboard view
Show user / account icon at the login button if present

* cosmetic changes

* optimize ui code

* fix reload issue for domain view

* add access check for delete operation

* ui-related changes to show iso icons

* iso image in uservm response

* add icons to custom form's list resources

* some more custom forms aligned to show icon for resources

* conmitic changes + add listing of icons to listdomainchildren cmd

* Add backend/server-side validation for base64 string passed for image

* change preview border

* preselect zone if there's only one

* add default icon

* show icon for network list in deploy vm view

* add custom icons if any to the import-export VM view

* preselect zone persistence on clearing cache

* prevent root vol from inheriting template/iso icon

* show tempalte icon in the info card details

* fix icon not being show on hard-refresh / initial traversal

* fx success message
2021-09-15 00:50:42 -03:00
Pearl Dsilva f409e7a922
api: Update DNS on changing VM name (#5425)
* api: Update DNS on changing VM name

* refactor backend code + UI - add warning messaging to prompt users to restart VM in case particular fields are updated

* address comments
2021-09-15 00:26:12 -03:00
Hoang Nguyen 073a54bd6e
ui: removed whitespace after string (#5450) 2021-09-14 16:07:30 +05:30
Pearl Dsilva 7c7b624955
ui: Fix Scale VM failure - missing args when customized compute offering is used (#5439) 2021-09-14 02:46:40 -03:00
Abhishek Kumar 6e50e10470
ui: select newly created network in deploy vm (#5423)
Form tries to find newly created network which belongs to the same account, created in last 30s and was not present in the networks list before opening create network dialog.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-14 00:34:10 -03:00
davidjumani 470ceb4351
ui: Allow searching in dropdowns (#5395) 2021-09-13 11:50:19 -03:00
davidjumani d162005e4c
ui: Send deployvm api call as post (#5438) 2021-09-13 14:35:16 +05:30
davidjumani 8ca3e4a915
ui: Remove double footer (#5437) 2021-09-13 14:32:21 +05:30
nicolas 2a243b8b69
Merge branch '4.15' into main 2021-09-10 23:15:53 -03:00
Nicolas Vazquez 4147d5a888
ui: Move eventBus listener to mounted (#5435)
This PR fixes the action buttons for IP addresses, needed a refresh before the fix
2021-09-10 21:15:30 +05:30
Abhishek Kumar c6055a23f3
api, ui: return default ui pagesize as part of capability response (#5432)
listConfigurations is not available for all roles and therefore not fit to use in UI for a generic functionality.
This PR makes default ui pagesize a part for listCapabilities API response to make it available for UI across different role accounts.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-10 19:15:38 +05:30
Abhishek Kumar 8baf384359
ui: fix add management ip range form (#5427)
Add management IP range form shows same pod multiple times when the pods has multiple IP ranges.
This PR fixes the behaviour.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-10 19:02:32 +05:30
Nicolas Vazquez 35efdd1842
ui: Hide settings button if not on development mode (#5431)
* Display colors Save settings only in dev mode

* Hide entirely the dic section if not on dev

* Hide the settings floating widget if not on development
2021-09-10 18:23:49 +05:30
Abhishek Kumar eba577c0a9
ui: show nicAdapter selection for VMware non-readfromova template (#5429)
* ui: show nicAdapter selection for non-readfromova template

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

* show keyboardcontroller and ostype elements in different rows

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-10 17:32:36 +05:30
Nicolas Vazquez 413d10dd81
server: Extend the Annotations framework (#5103)
* Extend addAnnotation and listAnnotations APIs

* Allow users to add, list and remove comments

* Add adminsonly UI and allow admins or owners to remove comments

* New annotations tab

* In progress: new comments section

* Address review comments

* Fix

* Fix annotationfilter and comments section

* Add keyword and delete action

* Fix and rename annotations tab

* Update annotation visibility API and update comments table accordingly

* Allow users seeing all the comments for their owned resources

* Extend comments for volumes and snapshots

* Extend comments to multiple entities

* Add uuid to ssh keypairs

* SSH keypair UI refactor

* Extend comments to the infrastructure entities

* Add missing entities

* Fix upgrade version for ssh keypairs

* Fix typo on DB upgrade schema

* Fix annotations table columns when there is no data

* Extend the list view of items showing they if they have comments

* Remove extra test

* Add annotation permissions

* Address review comments

* Extend marvin tests for annotations

* updating ui stuff

* addition to toggle visibility

* Fix pagination on comments section

* Extend to kubernetes clusters

* Fixes after last review

* Change default value for adminsonly column

* Remove the required field for the annotationfilter parameter

* Small fixes on visibility and other fixes

* Cleanup to reduce files changed

* Rollback extra line

* Address review comments

* Fix cleanup error on smoke test

* Fix sending incorrect parameter to checkPermissions method

* Add check domain access for the calling account for domain networks

* Fix only display annotations icon if there are comments the user can see

* Simply change the Save button label to Submit

* Change order of the Tools menu to provent users getting 404 error on clicking the text instead of expanding

* Remove comments when removing entities

* Address review comments on marvin tests

* Allow users to list annotations for an entity ID

* Allow users to see all comments for allowed entities

* Fix search filters

* Remove username from search filter

* Add pagination to the annotations tab

* Display username for user comments

* Fix add permissions for domain and resource admins

* Fix for domain admins

* Trivial but important UI fix

* Replace pagination for annotations tab

* Add confirmation for delete comment

* Lint warnings

* Fix reduced list as domain admin

* Fix display remove comment button for non admins

* Improve display remove action button

* Remove unused parameter on groupShow

* Include a clock icon to the all comments filter except for root admin

* Move cleanup SQL to the correct file after rebasing main

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2021-09-08 10:14:06 +05:30
Pearl Dsilva ff4b49bdb7
UI: Add router links to notifications and show error description (#5402) 2021-09-07 00:56:12 -03:00
Rohit Yadav d1db7f4b7b Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-09-06 18:30:49 +05:30
Abhishek Kumar f564597e92
api, ui: fix NPE with deployVirtualMachine when null boottype (#5387)
* api: fix NPE with deployVirtualMachine when null boottype

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

* throw exception for empty bootmode

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

* fix

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

* ui: fix boot options

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

* check

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-09-06 18:28:32 +05:30
davidjumani a000361238
Merge remote-tracking branch 'apache/4.15' into main 2021-09-03 16:55:10 +05:30
davidjumani 0bc6e05bc4
ui: Honour default.ui.page.size (#5394)
* ui: Honour default.ui.page.size

* Moving db upgrade path
2021-09-03 16:23:26 +05:30
Abhishek Kumar 56f4da6dce Merge remote-tracking branch 'apache/4.15' into main 2021-09-02 16:13:33 +05:30
Hoang Nguyen ea2cd07708
UI - Scale VM - Fix compute offering selection not working (#5392)
* scale VM: fix compute offering selection not working

* hidden slider when cpuspeed empty & show customiops

* remove logs

* fix condition

* fix condition for coltranned
2021-09-01 14:08:26 -03:00
davidjumani aec034b942
ui: Refresh page on deployvm result (#5393) 2021-09-01 12:16:47 +05:30
Abhishek Kumar 73cabcd641
xcp-ng: allow passing vm boot options (#5335)
* xenserver: honor vm boot details

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

* ui: allow boot option selection for xenserver

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

* fix

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

* fix case

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

* fix

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

* host uefi capability

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

* change

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

* add detail only if uefi supported

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

* update host detail

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

* fix version comparison

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-31 16:10:12 +05:30
davidjumani d8a961e522
Fix action bar in place (#5368) 2021-08-30 20:20:18 -03:00
Rohit Yadav 7f3bb94099 Merge remote-tracking branch 'origin/4.15' into main 2021-08-27 16:47:06 +05:30
davidjumani 442f89cfdb
ui: Fix search with same parameters (#5367) 2021-08-27 16:27:42 +05:30
davidjumani f957457c05
Merge remote-tracking branch 'apache/4.15' into main 2021-08-27 15:39:16 +05:30
davidjumani b3dca8ca27
ui: Go back for delete actions before querying async job (#5360)
* ui: Go back for delete actions before querying async job

* Prevent redirecting if failed
2021-08-27 10:18:17 +02:00
davidjumani 8bc120b288
Merge remote-tracking branch 'apache/4.15' into main 2021-08-24 13:46:28 +05:30
Hoang Nguyen bc28ae4606
ui: Add storage name to delete primary/secondary storage dialog (#5359)
* Add storage name to delete primary/secondary storage dialog

* show display name in alert message

* Update AutogenView.vue
2021-08-24 12:58:41 +05:30
Hoang Nguyen 74b6332572
ui: VM - hide button take vm volume snapshot for Destroyed state (#5345)
Fixes #5340
2021-08-24 12:44:05 +05:30
Pearl Dsilva 089887646f
ui: Support to view template download progress across all stores (#5355)
* ui: Support to view template download progress across all stores

* update column name
2021-08-24 01:08:04 -03:00
Rakesh ee01522d3f
Allow users to update volume name (#4618)
Provide an api support to update volume name by all users
2021-08-19 11:56:35 -03:00
Rohit Yadav d23a9954e8 Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-08-19 17:46:58 +05:30
davidjumani 06f3d90d41
ui: Update placeholders for adding new tier (#5326)
* ui: Update placeholders for adding new tier

* Fix VpcTiersTab

* Removing icon style and colon
2021-08-19 08:40:17 -03:00
Rohit Yadav 953f5b81ed Merge remote-tracking branch 'origin/4.15' into main 2021-08-18 16:56:19 +05:30
Hoang Nguyen 6d98056d32
ui: Zone wizard - Fixes wrong add resource step with localstorageenabled (#5303)
* zone wizard: fix wrong step for localstorageenabled

* fix show zone resource, shorten the if-else
2021-08-18 16:53:15 +05:30
Hoang Nguyen 72182b6bd9
ui: fix error jobid not found & console error when using filter (#5323)
Fixes #5322
2021-08-17 12:54:07 +05:30
Pearl Dsilva 873dc5492b
ui: Show list projects of projects to which the instance is to be imported (#5325) 2021-08-17 12:53:38 +05:30
davidjumani 28e70c0a2a
Add missing labels (#5305) 2021-08-12 12:18:57 -03:00
nicolas 0011d45b22 Merge branch '4.15' into main 2021-08-11 12:36:48 -03:00
Hoang Nguyen 8680f7d9ad
UI: Dark mode toggle button on Management Server (#5052)
* add button toggle dark mode

* switch components corresponding to dark mode

* restructure the style dark mode file

* fix collapse & login page

* fix test failed

* fix dark mode styles by refer antd pro

* fix disabled colors of button, input,... & refactor file dark mode styles

* add setting drawer and save it into local storage

* add an alert for save the setting

* add `cursor: pointer`

* hide drawer when init

* change id name of svg icon

* fix after merged 4.15

* edit active color menu item

* fix plaholder color, project chart color & reset setting

* fix event change color picker & error input focus color

* fix empty data color
2021-08-11 16:32:46 +02:00
Abhishek Kumar fb0dedc896
ui: fix display host hypervisorversion (#5301) 2021-08-11 16:23:08 +02:00
nicolas 75b335e939 Merge branch '4.15' into main 2021-08-11 08:24:03 -03:00
Hoang Nguyen 1182051961
UI: Add multiple management server support (#4885)
* add multiple management server support

* display the server on the user menu

* remove primary color in server icon

* using `/client` from apiBase

* add a setting that allows users to customize whether to use multiple servers or not

* set default hidden the multiple server config
2021-08-11 08:22:38 -03:00
Hoang Nguyen 55174d5366
add ref=submit missing in button (#5298) 2021-08-11 01:37:19 -03:00
davidjumani 3395a652ee
ui: Prevent sending default false for isdynamicallyscalable, haenable in EditVM (#5299) 2021-08-10 13:57:50 -03:00
Wei Zhou 846efdbfe4
server: Optional destination host when migrate a vm (#4378)
* server: Optional destination host when migrate a vm

* #4378: migrate systemvms/routers with optional host

* #4378: fix mistake

* #4378: fix issue when migrate systemvm

* #4378 add autoselect to migrate api commands

* #4378: more ui change

* #4378: add label label.migrate.auto.select

* #4378: add method chooseVmMigrationDestination

* #4378: fix vm migration wih storageid on vmware

* #4378: add method to collect vm disk/network statistics

* #4378: set autoSelect to default 'true'

* #4378: use BooleanUtils.isNotFalse

Co-authored-by: Wei Zhou <weizhou@apache.org>
2021-08-10 01:25:57 -03:00
davidjumani d5015d7af1
ui: Prettify ManageInstances.vue (#5295)
* ui: Prettify ManageInstances.vue

* Update en.json

Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-08-09 15:51:37 +05:30
davidjumani cb1078aa20
Merge remote-tracking branch 'apache/4.15' into main 2021-08-09 15:10:51 +05:30
Rakesh 949cf71491
api: Display last updated time for VM (#4685)
Add a field in api response and ui to display last updated time
2021-08-09 14:17:53 +05:30
Hoang Nguyen d9503f4d76
UI - Zone Wizard - Fixes the IP range form fields are too narrow (#5287)
* resize form input to not cut text

* fix field width on firefox
2021-08-09 13:37:39 +05:30
davidjumani ee5b01f26a
ui: Show host as unsecure in listview (#5292) 2021-08-09 13:34:56 +05:30
Abhishek Kumar 766fc8031d
ui: fix capitalise filter (#5269)
filters do not provide reference to global context and hence raise error.

Fixes #5268

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-06 11:49:12 -03:00
Abhishek Kumar f421a961db
ui: fix handle action response (#5285)
Fixes #5284

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-06 11:20:20 -03:00
Pearl Dsilva f9fbd86efe
ui: Fix failure in deletion of templates (#5283) 2021-08-06 09:12:45 +02:00
nicolas b6350be6ec Merge branch '4.15' into main 2021-08-05 23:46:58 -03:00
davidjumani d8c407d94a
ui: Add 'on / off' to status icon and make it case insensitive (#5278)
* ui: Add 'on' to success status icon

* Add off state as well

* make it case insensitive
2021-08-05 09:37:11 -03:00
Abhishek Kumar 5b20e6f2a8
ui: fix import instance form for recent changes (#5257)
* ui: fix import instance form for recent changes

7123269 and 535761b introduced changes that affecting Import Instance form.
Custom compute selection was not showing properly.
On import error was seen with 'AddAsyncJob'.

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

* fix

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

* fix

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

* revert page refresh

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-08-02 16:27:41 -03:00
slavkap d6a77a72f0
Allow updating the storage/host tags of service offerings (#5043) 2021-08-02 15:48:07 +02:00
davidjumani 66e7bdedac
ui: Fix failing UI (#5263) 2021-07-30 15:48:55 +05:30
Rohit Yadav db31e67d51 Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

 Conflicts:
	ui/src/utils/plugins.js
	ui/src/views/AutogenView.vue
	ui/tests/mockData/ActionButton.mock.json
	ui/tests/unit/views/compute/MigrateWizard.spec.js
2021-07-30 15:00:09 +05:30
Hoang Nguyen 1ccd61cb26
[TEST] - Test unit - Fix failing UI unit test 4.15 branch (#5219)
* fix error test unit on MigrateWizard

* fix error test unit on AutogenView, ActionButton

* fix error lint

* fix error pollJob originalPage.starWith undefined

* Update ui/src/utils/plugins.js

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>

* Update ui/src/utils/plugins.js

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>

* uses a substitution variable if the originalPage is null with queryAsyncJob have jobstatus = 1

* remove argument null

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2021-07-30 12:58:53 +05:30
Hoang Nguyen c24aee989f
ui: fix error using value of ip6dns1 for ip6dns2 (#5253) 2021-07-30 10:52:02 +05:30
Abhishek Kumar 5033426057
ui: fix import instance form root disk label (#5252)
Wrong key 'title' was used instead of 'label'

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-29 14:43:59 +05:30
Sina Kashipazha 490658c5c3
display nics deviceid and order nics by deviceid on Nics tab of instances. (#4768) 2021-07-28 15:11:43 -03:00
Rohit Yadav c6cb30d1ea Merge remote-tracking branch 'origin/4.15' into main 2021-07-27 17:47:05 +05:30
Abhishek Kumar 6540d9965b
ui: submit form with false boolean params (#5224)
Skip only empty strings while submitting UI form.
Fixes #5223

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 15:03:45 +05:30
Abhishek Kumar 8ed5a4fae6
ui: fix create shared network with multi-zone (#5205)
Fixes create shared network form for multi-zone environments.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 15:01:54 +05:30
davidjumani 0c6b8fe205
ui: Update header notice if job failed (#5245) 2021-07-27 14:58:59 +05:30
davidjumani a436869212
ui: Fix comparator for boolean (#5246) 2021-07-27 14:58:18 +05:30
davidjumani 2643854173
ui: Fix current for vmsnapshots (#5247) 2021-07-27 14:57:55 +05:30
Abhishek Kumar 87ee86679e
ui: vmware vm import-unmanage (#5075)
Adds UI for importing and unmanaging VMs.
A new navigation section - Tools has been added in the UI.

Doc PR: apache/cloudstack-documentation#221

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-27 11:12:37 +05:30
davidjumani 37f3fc30c9 Merge remote-tracking branch 'apache/4.15' into main 2021-07-27 10:23:00 +05:30
Hoang Nguyen 8efc3ea0f5
UI: Submit the form when press CTRL + ENTER (#4766)
* fixes: submit the form when press enter

* add Enter submit for component missing

* add ctrl+enter event key for submitting form

* add directive.js check keyup event

* fix build test failure

* using directive in main.js

* fix warning show in the test unit

* fix multiple submits

* fix travis run test failures

* fix filter button style

* fix the problem of ctrl+enter keyup on firefox browser

* removed computed function not using

* remove space errror

* add ref for ctrl+enter submit

* resolve conflit and fix build

* add missing directive

* add missing directive & ref button

* fixes errors

* fixes errors

* add preventDefault()

* fix ctrl keypress not support on firefox
2021-07-26 08:29:19 -03:00
Wei Zhou 7678bc1293
ui bug fix: scalevm is disabled when vm is Stopped (#5233)
* ui: scalevm is disabled even if vm is Stopped

* ui: update #5233
2021-07-26 08:28:42 -03:00
Michael 29090fe4ab
Only display information, if they are relevant (#5206) 2021-07-26 08:28:07 -03:00
davidjumani b065e79ae3
ui: Fix refresh issue (#5232) 2021-07-26 09:58:05 +02:00
davidjumani c4388d78e0
ui: Refresh only on current / parent page (#5214) 2021-07-21 11:35:30 +02:00
davidjumani 84e52c9263
ui: Fix async poll job (#5221) 2021-07-21 10:30:32 +02:00
davidjumani 61de48904c
ui: Replace bulk delete icons (#5222) 2021-07-21 09:51:36 +02:00
davidjumani 908bf980a5 ui: Fix title error 2021-07-20 10:32:39 +05:30
davidjumani 27d674df7d Merge branch '4.15' into main 2021-07-20 10:20:31 +05:30
Hoang Nguyen 535761b2b9
UI: Refactor async job polling codebase-wide (#4782)
* refactor async job polling codebase-wide

* fix multiple call fetchData() when async job completed

* remove unnecessary functions

* remove const not use

* move closeaction out of handleResponse

* call closeAction without waiting for all group actions to complete

* refactor polljob network provider

* removed variable not use

* remove await
2021-07-19 08:50:54 -03:00
Pearl Dsilva 15d3d39cb2
UI: bulk action support for various resources (#5034)
* ui: support bulk action for various resources

* ui: support bulk action for various resources

* Bulk actions support - progress review

* Extract common code + suppress error notification with bulk actions

* cleanup + suppress notification

* add progress view

* Add routes to notification + add async jobs + refactor progress view

* minor tweaks

* fix group action for vpn users

* Refactor code

* Unique row key

* remove redundant cols

* address comments

* Added the following:
1. Make Cancel as default button for bulk actions
2. Add Filter Filter on the Operation status Column - Progress View
3. For Stop and delete bulk operations - add An alert message(in Red) to inform users that it is a destructive operation

* Add dynamism to column filtering
2021-07-16 10:33:04 +02:00
Abhishek Kumar 5ac184edd6 Merge remote-tracking branch 'apache/4.15' into main 2021-07-15 14:02:49 +05:30
Hoang Nguyen 7123269937
ui: deploy VM - FIX missing custom iops field (#5199)
Fixes #5192
2021-07-15 12:53:50 +05:30
Michael 6b5adb7ed5
ui: register vue component Descriptions (#5197) 2021-07-15 12:53:04 +05:30
Hoang Nguyen 476f77a683
ui: change `edit traffic type` form of VMware (#5178)
Fixes #5177
2021-07-15 12:51:11 +05:30
Abhishek Kumar 0406e27af3
ui: refactor get api params in forms (#5064)
* ui: refactor get api params in forms

Refactor code getting api params for APIs in UI forms.
Added a new util plugin in plugins.js

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

* fix

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

* fix

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-07-15 12:46:54 +05:30
Abhishek Kumar 041948c04f
ui: refactor labels with tooltip in forms (#5133)
* ui: refactor labels with tooltip in forms

Adds new Vue component TooltipLabel for easier re-use

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

* changes

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

* changes

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

* changes

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

* changes

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

* changes

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

* moved component in widgets

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

* moved TooltipButton in widgets

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

* missing change in previous commit

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

* changes

Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>

* fix

Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>

* form improvements

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

* tooltip icon class fix

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

* fix

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

* Update ui/src/views/storage/UploadLocalVolume.vue

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>

* Update ui/src/views/storage/CreateVolume.vue

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>

* fix

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

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
2021-07-15 12:45:38 +05:30
Pearl Dsilva 9678c7bd1e
ui: Fix traversal to domain details via domain router-link of a resource (#5182) 2021-07-13 17:37:29 -03:00
Hoang Nguyen f7cc3c9316
UI - zone wizard - fix undefined property when setting RBD primary storage (#5167)
* zone wizard launch: fix undefined property RBD primary storage

* simplycode by #4956
2021-07-09 15:04:18 +05:30
Hoang Nguyen 584c1cfbe0
ui: secondary storage - Display text and change the badge color of the Read-only column (#5176)
* change badge color and display text of read-only secondary storage

* change readonly label to access

Fixes #5169
2021-07-05 11:53:38 +05:30
Rohit Yadav 6e8c114288 Merge remote-tracking branch 'origin/4.15' into main 2021-07-02 22:54:51 +05:30
sureshanaparti f81d79da8e
Updated some offensive words in kubernetes plugin/service with inclusive words/terms. (#5171) 2021-07-02 13:18:33 +02:00
davidjumani 9ee6a57311
ui: deployvm - Add option to stay on page (#4843)
* ui: deployvm - Add option to stay on page

* Moving option to a dropdown
2021-07-01 12:28:39 +02:00
Rohit Yadav f58b72f6f7 Merge remote-tracking branch 'origin/4.15' 2021-06-27 18:25:46 +05:30
Pearl Dsilva a4448b4409
ui: Notify users of new VM password on resetting VM's SSH key (#5153) 2021-06-24 19:22:55 +05:30
Abhishek Kumar b9712c65ca
ui: fix missing component in SearchView (#5123)
TooltipButton was not added as Vue component. It was leading to error in page load.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-06-24 11:07:58 +05:30
Hoang Nguyen 0eeb094949
ui: watch the systemVM for enabling quickview when newly resource (#5137) 2021-06-24 11:06:05 +05:30
Gabriel Beims Bräscher 53c2e19d5f
ui: Fix UI issue when deploying VM with rootdisksize (GB now, not in bytes) (#5150) 2021-06-24 11:03:46 +05:30
Pearl Dsilva 3a51540c24
ui: Notify vm password on reinstall of VM (for password enabled templates) (#5129)
* ui: Notify vm password on reinstall of VM (for password enabled templates)

* refactor
2021-06-18 15:57:22 +02:00
davidjumani 85e4abf522
ui: Show default nic/network in infocard (#5080) 2021-06-17 09:25:31 +02:00
nicolas d2ab350a40 Merge branch '4.15' into main 2021-06-16 15:38:18 -03:00
Abhishek Kumar 006d0fe4c4
ui: show read from ova only for ova format (#5108)
Fixes #5107

Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
2021-06-15 16:58:38 +05:30
fermosan b6e4329aa3
ui: Greek (Hellenic) translation (#5109)
Modifications in TranslationMenu.vue as well
2021-06-15 15:31:49 +05:30
Abhishek Kumar 9dd0acf8c9
ui: add action syncStoragePool (#5098)
Added action in UI for syncStoragePool API for DatastoreCluster type primary storages.

Fixes #5086

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-06-11 20:07:07 +05:30
Rohit Yadav a0788f5816 Merge remote-tracking branch 'origin/4.15' 2021-06-10 12:39:44 +05:30
Abhishek Kumar da382993c3
ui: fix focus in deployvm form (#5089)
Fixes #5087

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-06-09 12:10:01 +05:30
Gabriel Beims Bräscher 1afcd823e0
server: Root disk size should be listed in GB at listServiceOffering (#5085)
* Root disk size should be listed in GB at listServiceOffering

* Update UI to handle rootdisk size in GB instead of Bytes
2021-06-09 11:14:18 +05:30
Harikrishna 083646b3c3
server: VM dynamic scaling option granularity (#4643)
This PR introduces new granularity levels to configure VM dynamic scalability. Previously VM is configured to be dynamically scalable based on the template and global setting. Now we bringing this option to configure at service offering and VM level also.

VM can dynamically scale only when all flags are ON at VM level, template, service offering and global setting. If any of the flags is set to false then VM cannot be scalable. This result will be persisted in DB for each VM and will be honoured for that VM till it is updated.

We are introducing 'dynamicscalingallowed' parameter with permitted values of true or false for deployVM API and createServiceOffering API.

Following are the API parameter changes:
createServiceOffering API: 
          dynamicscalingenabled: an optional parameter of type Boolean with default value “true”.
deployVirtualMachine API: 
          dynamicscalingenabled: an optional parameter of type Boolean with default value “true”.

Following are the UI changes:
Service offering creation has ON/OFF switch for dynamic scaling enabled with default value true
2021-06-08 17:10:00 +05:30
Rohit Yadav 1286ffd37b Merge remote-tracking branch 'origin/4.15' 2021-06-08 15:51:38 +05:30
Suresh Kumar Anaparti 958182481e cloudstack: make code more inclusive
Inclusivity changes for CloudStack

- Change default git branch name from 'master' to 'main' (post renaming/changing default git branch to 'main' in git repo)
- Rename some offensive words/terms as appropriate for inclusiveness.

This PR updates the default git branch to 'main', as part of #4887.

Signed-off-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-06-08 15:47:20 +05:30
Pearl Dsilva 8fe0ff854b
ui: remove redundant columns in list VMs view (#5084) 2021-06-08 13:00:10 +05:30
Rohit Yadav d10cdb495f Merge remote-tracking branch 'origin/4.15' 2021-06-07 15:34:52 +05:30
davidjumani d0e3745797
ui: Fix error when no ipv6 address (#5081) 2021-06-07 15:34:33 +05:30
Rohit Yadav 5aefd3e204 Merge remote-tracking branch 'origin/4.15' 2021-06-02 14:03:54 +05:30
Abhishek Kumar 937def533a
ui: fix adduser form (#5063)
AddUser form wrongly shows the account dropdown when adding a user for an account. Account dropdown remains empty in the form.
When an account is not selected prior to opening the form, the account input should be required.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-06-02 13:48:59 +05:30
Rohit Yadav d184e282b2 Merge remote-tracking branch 'origin/4.15' 2021-05-31 20:01:09 +05:30
Pearl Dsilva d04fa0201d
server: usage generated for destroyed VMs with no backups (#5017)
Fixes: #4990
When a VM associated with a backup offering is destroyed/expunged, the backup offering isn't unassigned, and despite the VM having no backups present, backup usage is generated. This PR prevent usage record generation when there are no backups present for a VM with a backup offering associated to it. This is done by ensuring that usage event for backups is generated only when a the backup size > 0
2021-05-31 18:59:48 +05:30
Spaceman1984 065ee9ecd3
ui: Removed download icon when iso is not extractable for users (#5028)
When an ISO is not marked as extractable, the download button should not be displayed in the UI.

Fixes: #4535
2021-05-31 16:06:35 +05:30
Abhishek Kumar b104aca587 Merge remote-tracking branch 'apache/4.15' 2021-05-31 09:47:33 +05:30
Abhishek Kumar 4ec337fd2a
ui: pass requireshvm param for register/upload template API (#5050)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-29 16:15:40 +05:30
Abhishek Kumar 4b7fa4e630 Merge remote-tracking branch 'apache/4.15'
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-24 16:43:53 +05:30
Wei Zhou c6ba3d1bea
ui: Make 'ACL' field as mandatory and add warning message for default_allow and default_deny (#5003)
Co-authored-by: Wei Zhou <weizhouapache@gmail.com>
2021-05-21 15:15:54 +05:30
Spaceman1984 5f734f718e
vmware: Disk controller vmware deploy as is (#5006)
Fixes #4344
2021-05-19 14:33:16 +05:30
Abhishek Kumar 426f14b6ed Merge remote-tracking branch 'apache/4.15'
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-18 15:19:20 +05:30
Pearl Dsilva cc7f426564
ui: Allow IP range creation for Physical Network - Guest Traffic in Basic Zones (#5020)
* ui: Allow IP range creation for Physical Network - Guest Traffic

* get guest network only for basic zone
2021-05-14 23:14:12 +05:30
Abhishek Kumar 57c8286602
ui: pass podid for basic zone createvlaniprange (#5022)
While add IP range for a basic zone, podid parameter must be passed with createVlanIpRange.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-14 23:13:43 +05:30
Abhishek Kumar 4ecef4bfb4
ui: prevent same string docHelp override (#5014)
Prevent same string docHelp suffix override.
List all existing docHelp suffixes in the config file during the build process.
Updated apache/cloudstack-documentation#199

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-12 16:20:17 +05:30
Pearl Dsilva 493d6a08d2
ui: Display Zone Name instead of Zone UUID in list view (#5011) 2021-05-10 20:48:44 +05:30
Rohit Yadav cb167072a1 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-05-07 16:37:42 +05:30
Abhishek Kumar 1eea9c5939
ui: add tooltips for actions in tab (#4842)
Adds tooltips for buttons in tabs

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-05-07 16:28:16 +05:30
Rohit Yadav ee5f92e292 Merge remote-tracking branch 'origin/4.15' 2021-05-06 18:25:04 +05:30
DK101010 21b0b0f84e
allow zero as cpu speed value in service offerings (#4986)
Co-authored-by: DK101010 <dirk.klahre@itelligence.de>
2021-05-06 16:13:36 +05:30
Hoang Nguyen 1654391309
ui: update treeview when clicking the refresh button (#4999)
Fixes #4975
When a domain is generated by another client, the treeview is modified when clicking the refresh button.
2021-05-06 15:00:25 +05:30
Rohit Yadav fce84e62ab Merge remote-tracking branch 'origin/4.15' 2021-05-06 00:27:43 +05:30
Pearl Dsilva bc80815cf5
server: Adding VPN options for IKE version and IKE split connections (#4953)
IKE version allows selecting ike (autoselect), ikev1, or ikev2.
Split connections gives an option of separating the first right subnet from the rest, and kicking out individual statements for each right subnet for better cross-compatibility.

Backported from PR: #4137
update per PR suggestion

Fixes #3138

Co-authored-by: Greg Goodrich <ggoodrich@ippathways.com>
Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-05-05 12:54:23 +05:30
Rohit Yadav 1abd10199c Merge remote-tracking branch 'origin/4.15' 2021-05-04 19:37:45 +05:30
Pearl Dsilva 4df8d7ade3
ui: Prevent reset of port-forward rules on cancelling a form (#4981)
* ui: Prevent reset of port-forward rules on cancelling a form

* add check for undefined value
2021-05-04 19:34:53 +05:30
davidjumani 1cb8ca69d9
ui: Adding success message for DomainActionForm (#4987) 2021-05-04 19:34:11 +05:30
davidjumani eb2e5f73d3
ui: show VR offering when provider is VR (#4988)
* ui: show VR offering when provider is VR

* send serviceofferingid not index
2021-05-04 19:33:45 +05:30
Pearl Dsilva 5b6ab3d248
ui: fix for filtering network offering for VPC tiers (#4989) 2021-05-04 19:33:23 +05:30
Pearl Dsilva d92022ee5c
ui: Hide reset password button for a running VM (#4991) 2021-05-04 19:33:13 +05:30
Pearl Dsilva 155636902c
ui: Close Create network form from Zones -> Physical Network (Guest) -> Traffic Types view (#4993) 2021-05-04 19:33:00 +05:30
Abhishek Kumar 0c47d4efd2
ui: show domain paths for offering domain selection (#4979)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-04-30 16:37:24 +05:30
davidjumani 603a83066d
ui: rename acl reason to description (#4980) 2021-04-30 13:17:14 +05:30
Pearl Dsilva 92f9c9922c
ui: Fix Settings Tab view (#4964)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-30 11:51:28 +05:30
Nicolas Vazquez 9349d20dd3
vmware: Make deploy-as-is optional (#4901)
* [Vmware] Make deploy-as-is optional

* Do not use deployasis on create volume test

* Update api/src/main/java/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java

Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* Update api/src/main/java/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java

Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

* Review comments

* Refactor condition to select suitable template

Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-04-30 09:47:50 +05:30
Rohit Yadav 4742ac15f7 Merge remote-tracking branch 'origin/4.15' 2021-04-29 21:50:40 +05:30
Pearl Dsilva 39cb2bf0af
ui: Display 'Add LDAP Account' button when LDAP configuration is added (#4971)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-29 15:52:12 +05:30
Pearl Dsilva 98e2ed3c4f
vmware: Add force parameter to iso attach/detach operations (#4907)
Fixes: #4808, #4941

This PR adds a force flag to the attachIso / detachIso commands, especially for VMware where it is noticed that when trying to either detach an iso or attach an iso when there already exists another present it fails to do the necessary operation as from ACS end we either answer the question returned by Esxi for CDRom disconnect operation as No (for detach operation) or do not answer the question at all (for Attach operation).

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-28 13:46:03 +05:30
Hoang Nguyen 73f82ae9dd
ui: Save the tab and re-activate it after submitting the form. (#4962)
* save the tab and reactivate it after submitting the form.

* fix for quota resource

Fixes #4961
2021-04-28 12:15:42 +05:30
Rohit Yadav 1e859a0e2c Merge remote-tracking branch 'origin/4.15' 2021-04-27 22:20:30 +05:30
Hoang Nguyen d68b098a43
UI: Show IPv6 address of Instance (#4948)
* vm: show IPv6 address

* show ipv6 address on listview
2021-04-27 21:47:49 +05:30
Abhishek Kumar 42c83b08f5 Merge remote-tracking branch 'apache/4.15' 2021-04-26 14:33:58 +05:30
davidjumani 96ccd6d3e3
ui: Show traffic type in physical networks tab (#4952) 2021-04-26 14:24:20 +05:30
davidjumani f9ca881ebe
ui: Show domain path instead of name (#4949) 2021-04-26 13:03:27 +05:30
davidjumani bc2a6e82a7
ui: Fix error in adduser (#4950) 2021-04-26 13:03:14 +05:30
Rohit Yadav e107f9aa93 Merge remote-tracking branch 'origin/4.15' 2021-04-21 13:07:44 +05:30
Abhishek Kumar a5e53dc5c7
ui: fix autogen form exec with action mapping options (#4909)
For an auto-generated form, with list mapping of action, mapped API parameter was not getting added to the request when first index from the list is selected. Change added to fix this.

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

Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-04-21 13:01:29 +05:30
Hoang Nguyen 8edd709cad
ui: disabled root disk size customization if Service Offering has a fixed size (#4933) 2021-04-20 17:17:30 +05:30
slavkap 0bbf114c79
ui: Support to update disk/network offering tags from UI (#4923)
added support to update tags of disk and network offerings from UI
fix deletion of the last tag
2021-04-16 12:37:24 +05:30
davidjumani 90fc5acda4
ui: Show diskoffering for create volume from ROOT volume snaps (#4912)
Fixes the issue of not being able to select the diskofferingid while creating volumes from snapshots of ROOT volumes
2021-04-16 12:36:38 +05:30
Rohit Yadav f42024714c Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-04-15 16:17:13 +05:30
Hoang Nguyen 8fec222af0
ui: fix not find tab name due to language other than English (#4920)
Fixes #4919
2021-04-15 13:01:11 +05:30
Rohit Yadav a69bf67ac4 Merge remote-tracking branch 'origin/4.15' 2021-04-13 18:12:55 +05:30
Hoang Nguyen 6200ac8431
ui: Search view - Fixes the color style of the filter icon (#4917)
* fixes the color style of the filter icon

* fixes for router leave/enter
2021-04-13 18:10:39 +05:30
Rohit Yadav 8fd9150a89 Merge remote-tracking branch 'origin/4.15' 2021-04-13 00:10:17 +05:30
Pearl Dsilva 4c16024a78
ui: fix login when username is email (#4910)
Fixes #4908

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-12 23:57:59 +05:30
Abhishek Kumar 6d0d7012f1
api,engine/schema,server: vm readonly details rename (#4671)
* api,engine/schema,server: vm readonly details rename

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

* ui: update api response key

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-04-09 13:20:11 +05:30
Rohit Yadav ecc18163ca Merge remote-tracking branch 'origin/4.15' 2021-04-07 11:41:16 +05:30
Hoang Nguyen be781804f1
ui: fix physical network setup in zone wizard (#4892) 2021-04-06 17:35:58 +05:30
Rohit Yadav ca5c11a29a Merge remote-tracking branch 'origin/4.15' 2021-04-06 12:55:08 +05:30
Rakesh c2d51cb20e
ui: Fix bug in creating shared network (#4666)
* Fix bug in creating shared network

Sometimes creating shared network fails because the physical network
data is null and redereferencing it causes NPE.
Wait till the physical network data is available before accessing it

* Update CreateSharedNetworkForm.vue

Co-authored-by: Rohit Yadav <rohit@apache.org>
2021-04-06 12:47:58 +05:30
Hoang Nguyen a92b294c5d
ui: Save and auto-expand list domain when reloading (#4769)
* save and auto-expand list domain when reloading

* fix for simplify the code

* clear variables, prop of common component

* fix lint errors found
2021-04-06 11:58:03 +05:30
Rohit Yadav 3066c95548 Merge remote-tracking branch 'origin/4.15' 2021-04-05 14:59:15 +05:30
Pearl Dsilva 0dbeb262e4
server: Support for persistence mode in L2 networks (#4561)
This PR aims at introducing persistence mode in L2 networks and enhancing the behavior in Isolated networks
Doc PR apache/cloudstack-documentation#183

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-05 14:37:11 +05:30
Hoang Nguyen 4dcd9a2329
ui: Moves fetchdata() to the created() (#4811)
This PR to move fetchData() to created() insteadof mount()
2021-04-05 14:28:00 +05:30
Rohit Yadav 3783fd5cec Merge remote-tracking branch 'origin/4.15' 2021-04-05 13:00:18 +05:30
Rakesh c75c6baa3f
ui: Display public ip addresses for shared network (#4676)
If a vm belongs to shared network then display the list
of ip addresses available which can be used to assign for
secondary IP addresses.

Also display "Public IP addresses" tab for shared networks
2021-04-05 12:37:03 +05:30
Rohit Yadav d4635e3442 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-04-01 14:35:01 +05:30
Hoang Nguyen 575e18c00a
ui: Restored the Basic Networking (#4882)
* zone wizard: restored the basic networking

* set enabled Basic Networking
2021-04-01 14:31:57 +05:30
Abhishek Kumar 251368361e
ui: allow docHelp override using config.json (#4745)
config.json can have a property named 'docHelpMappings' which can be used to override docHelp suffixes.
In config.json admin can add mappings as follows:

"docHelpMappings": {
  "virtual_machine.html": "some.html",
  "some_string": "override_string"
}

UI will use these mappings and will make appropriate replacements in the documentation links for different sections and forms.

Addresses #4731

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-04-01 13:10:00 +05:30
Pearl Dsilva 69825f6cb6
ui: Display root disk size in Compute offering details (#4862)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-04-01 12:31:07 +05:30
davidjumani fd4bc612d7
ui: assignVM: Set isrecursive to false when fetching accounts (#4867)
* Set isrecursive to false when fetching accounts

* Adding exception handling
2021-04-01 12:29:57 +05:30
Hoang Nguyen 5b986be5ba
ui: fix the style of zone wizard on mobile view (#4764)
This PR for fixes create zone form in mobile view
2021-03-30 14:09:56 +05:30
Rohit Yadav c1a02e1697 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-29 16:34:22 +05:30
Hoang Nguyen caa55a5742
ui: fix page size on mobile view (#4765) 2021-03-29 16:20:22 +05:30
Hoang Nguyen 3e8dbc0584
ui: add cancel button missing on dialog (#4763) 2021-03-29 16:19:38 +05:30
Hoang Nguyen 642878063d
ui: Auto-focus input, form (#4762)
* autofocus into the first element (form/dialog)

* add autofocus missing

* add autofocus to missing elements
2021-03-29 16:19:26 +05:30
Pearl Dsilva 97176690b8
server: Fix issue with volume resize on VMWare (deploy as-is templates) (#4829)
This PR fixes the issue pertaining to volume resize on VMWare for deploy as-is templates. VMware deploy as-is templates are those that are deployed as per the specification in the imported OVF. Hence override root disk size will not be adhered to for such templates. Moreover, when we deploy VMs in stopped state and resize the volume, the root disk doesn't get resized but the volume size is merely updated in the DB.
This PR also includes the following (for deploy as-is templates):
- Disables overriding root disk size during VM deployment on the UI
- Disables selection of compute offerings with root disk size specified, at the time of deployment
- Provided users with the option to deploy VM is stopped state via UI (so as to give an option to users to resize the volumes before starting the VM)

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-03-29 12:54:47 +05:30
Daan Hoogland 8903647187 Merge branch '4.15' 2021-03-25 17:48:45 +01:00
Hoang Nguyen 5df1337f27
ui: fix update template permission (#4744) 2021-03-24 17:02:48 +05:30
Rohit Yadav 9f730eabfa Merge remote-tracking branch 'origin/4.15' 2021-03-24 12:46:24 +05:30
davidjumani 61de2371ab
ui: Disable login button until redirected (#4857) 2021-03-24 12:18:19 +05:30
Daan Hoogland 64f792bd7c Merge release branch 4.15 to master
* 4.15:
  ui: Consider overprovisioning factor when displaying allocated progress bar (#4850)
  ui: Fix the styles action button (#4856)
  ui: Fill out the search filter form field after performing a filter (#4855)
  ui: fix add cluster form for vmware (#4841)
  ui: Fix add primary store during Zone Deployment for PreSetup protocol (#4845)
  tests: Extend wait time after interrupt (#4815)
2021-03-23 15:36:30 +01:00
davidjumani bd79e1a9d4
ui: Consider overprovisioning factor when displaying allocated progress bar (#4850) 2021-03-23 19:24:50 +05:30
Hoang Nguyen eaefc2a69f
ui: Fix the styles action button (#4856) 2021-03-23 19:22:59 +05:30
Hoang Nguyen a53ecacf41
ui: Fill out the search filter form field after performing a filter (#4855)
* Fill out the search filter form field after performing a filter

* fix button reset not work when refresh page
2021-03-23 19:21:44 +05:30
Abhishek Kumar 83b568ecde
ui: fix add cluster form for vmware (#4841)
Filter null values else API returns error.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-03-22 12:14:29 +05:30
Pearl Dsilva 6262366d85
ui: Fix add primary store during Zone Deployment for PreSetup protocol (#4845)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-03-22 12:13:21 +05:30
Rohit Yadav 850ea61dc9 Merge remote-tracking branch 'origin/4.15' 2021-03-18 13:33:15 +05:30
Hoang Nguyen faf27e2b39
listview: goto account info instead of list account (#4767) 2021-03-18 13:18:38 +05:30
Hoang Nguyen 6836a94b0e
ui: create a new component and display the instance group as autocomplete (#4820) 2021-03-18 13:13:31 +05:30
Hoang Nguyen d105d6a770
ui: Show display text instead of name (#4831) 2021-03-18 13:13:18 +05:30
sureshanaparti b658cf12d0
ui: Added info / tooltip for add role and import role dialogs in the UI (#4836) 2021-03-18 13:13:08 +05:30
Pearl Dsilva 45e6800501
ui: Fix route to ISO From VM's Info Card / Detail View (#4839)
* ui: Correct route to ISO on Info Card

* Change label based on template/iso

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-03-18 13:11:32 +05:30
Rohit Yadav 775de36688 Merge remote-tracking branch 'origin/4.15' 2021-03-17 17:46:16 +05:30
davidjumani f07e4d347e
ui: Show vm name along with password (#4821) 2021-03-17 17:44:47 +05:30
davidjumani a291dea26a
ui: Fixes for action messages and forms (#4824)
* ui: Fixes for storage

* ui: fixes for compute

* ui: Fixes for network and accounts

* ui: Fixes for domain

* ui: Fixes for infra
2021-03-17 17:38:26 +05:30
davidjumani 9caa535eb6
ui: Show label for view console action (#4823) 2021-03-17 17:37:38 +05:30
davidjumani abcd07c93f
ui: change createAccount to use post (#4812) 2021-03-17 17:35:19 +05:30
Pearl Dsilva d81141ed37
Project Role Permission: Change default permission type to 'Deny' (#4832)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-03-17 17:33:30 +05:30
Rohit Yadav c8f7c0d823 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-11 13:33:44 +05:30
Abhishek Kumar a691e87f0c
ui: fix update vm details wrt backend changes (#4670)
PR #4629 made changes in updateVirtualMachine behaviour wrt readonly details.
This change updates UI wrt new behaviour.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-03-11 13:17:23 +05:30
davidjumani 9454edd0f3
ui: Show memory allocated percentage when migrating vm (#4784) 2021-03-11 13:06:11 +05:30
davidjumani 8510344129
ui: Show vm name in info card in deployvm (#4786) 2021-03-11 13:04:28 +05:30
davidjumani c6e8b8c4d5
ui: Show displayname in compute list view (#4787) 2021-03-11 13:03:56 +05:30
davidjumani 314baec444
ui: Fix breadcrumb discrepancy (#4788) 2021-03-11 13:03:36 +05:30
Rohit Yadav 843dfaf942 Merge remote-tracking branch 'origin/4.15' 2021-03-10 10:58:33 +05:30
Hoang Nguyen 54853aa7c5
UI: Fix upload SSL certificate failed in the project view (#4761) 2021-03-09 14:52:33 +01:00
Rohit Yadav a1be9b02a6 Merge remote-tracking branch 'origin/4.15' 2021-03-06 16:02:09 +05:30
Rohit Yadav 41c2e944a6 ui: Remove make redundant option for isolated networks
Fixes #4052

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-06 15:59:02 +05:30
Hoang Nguyen 03bfe9a2a3
ui: FIX error in "Port forward" and "Load Balancing" (#4746)
* fix error show in fetching port forwarding tab

* clear all list vm when tier empty
2021-03-06 15:10:07 +05:30
sureshanaparti 81dfcbb5f5
server: Use ACPI event to reboot VM on KVM, and Use 'forced' reboot option to stop and start the VM(s) (#4681)
* Updated libvirt's native reboot operation for VM on KVM using ACPI event, and Added 'forced' reboot option to stop and start the VM (using rebootVirtualMachine API)

* Added 'forced' reboot option for System VM and Router

- New parameter 'forced' in rebootSystemVm API, to stop and then start System VM
- New parameter 'forced' in rebootRouter API, to force stop and then start Router

* Added force reboot tests for User VM, System VM and Router
2021-03-06 14:58:56 +05:30
Rohit Yadav 77290df0d5 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-02-26 12:09:11 +05:30
Abhishek Kumar fef0e66764
ui: fix add Vmware cluster (#4663)
When adding a cluster from existing host-datacenter UI shoudl list and autofill host, DC name while making addCluster API call.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-02-25 22:04:00 +05:30
Hoang Nguyen a234501172
ui: Add guest IP ranges (#4716)
Fixes #4697
2021-02-25 22:01:40 +05:30
Hoang Nguyen 1545bf8dac
ui: add missing antd component use (#4728)
Fixes #4724
2021-02-25 21:58:42 +05:30
sureshanaparti eba186aa40
storage: New Dell EMC PowerFlex Plugin (formerly ScaleIO, VxFlexOS) (#4304)
Added support for PowerFlex/ScaleIO (v3.5 onwards) storage pool as a primary storage in CloudStack (for KVM hypervisor) and enabled VM/Volume operations on that pool (using pool tag).
Please find more details in the FS here:
https://cwiki.apache.org/confluence/x/cDl4CQ

Documentation PR: apache/cloudstack-documentation#169

This enables support for PowerFlex/ScaleIO (v3.5 onwards) storage pool as a primary storage in CloudStack

Other improvements addressed in addition to PowerFlex/ScaleIO support:

- Added support for config drives in host cache for KVM
	=> Changed configuration "vm.configdrive.primarypool.enabled" scope from Global to Zone level
	=> Introduced new zone level configuration "vm.configdrive.force.host.cache.use" (default: false) to force host cache for config drives
	=> Introduced new zone level configuration "vm.configdrive.use.host.cache.on.unsupported.pool" (default: true) to use host cache for config drives when storage pool doesn't support config drive
	=> Added new parameter "host.cache.location" (default: /var/cache/cloud) in KVM agent.properties for specifying the host cache path and create config drives on the "/config" directory on the host cache path
	=> Maintain the config drive location and use it when required on any config drive operation (migrate, delete)

- Detect virtual size from the template URL while registering direct download qcow2 (of KVM hypervisor) templates

- Updated full deployment destination for preparing the network(s) on VM start

- Propagate the direct download certificates uploaded to the newly added KVM hosts

- Discover the template size for direct download templates using any available host from the zones specified on template registration
	=> When zones are not specified while registering template, template size discovery is performed using any available host, which is picked up randomly from one of the available zones

- Release the VM resources when VM is sync-ed to Stopped state on PowerReportMissing (after graceful period)

- Retry VM deployment/start when the host cannot grant access to volume/template

- Mark never-used or downloaded templates as Destroyed on deletion, without sending any DeleteCommand
	=> Do not trigger any DeleteCommand for never-used or downloaded templates as these doesn't exist and cannot be deleted from the datastore

- Check the router filesystem is writable or not, before performing health checks
	=> Introduce a new test "filesystem.writable.test" to check the filesystem is writable or not
	=> The router health checks keeps the config info at "/var/cache/cloud" and updates the monitor results at "/root" for health checks, both are different partitions. So, test at both the locations.
	=> Added new script: "filesystem_writable_check.py" at /opt/cloud/bin/ to check the filesystem is writable or not

- Fixed NPE issue, template is null for DATA disks. Copy template to target storage for ROOT disk (with template id), skip DATA disk(s)

* Addressed some issues for few operations on PowerFlex storage pool.

- Updated migration volume operation to sync the status and wait for migration to complete.

- Updated VM Snapshot naming, for uniqueness in ScaleIO volume name when more than one volume exists in the VM.

- Added sync lock while spooling managed storage template before volume creation from the template (non-direct download).

- Updated resize volume error message string.

- Blocked the below operations on PowerFlex storage pool:
  -> Extract Volume
  -> Create Snapshot for VMSnapshot

* Added the PowerFlex/ScaleIO client connection pool to manage the ScaleIO gateway clients, which uses a single gateway client per Powerflex/ScaleIO storage pool and renews it when the session token expires.

- The token is valid for 8 hours from the time it was created, unless there has been no activity for 10 minutes.
  Reference: https://cpsdocs.dellemc.com/bundle/PF_REST_API_RG/page/GUID-92430F19-9F44-42B6-B898-87D5307AE59B.html

Other fixes included:

- Fail the VM deployment when the host specified in the deployVirtualMachine cmd is not in the right state (i.e. either Resource State is not Enabled or Status is not Up)

- Use the physical file size of the template to check the free space availability on the host, while downloading the direct download templates.

- Perform basic tests (for connectivity and file system) on router before updating the health check config data
	=> Validate the basic tests (connectivity and file system check) on router
	=> Cleanup the health check results when router is destroyed

* Updated PowerFlex/ScaleIO storage plugin version to 4.16.0.0

* UI Changes to support storage plugin for PowerFlex/ScaleIO storage pool.
- PowerFlex pool URL generated from the UI inputs(Gateway, Username, Password, Storage Pool) when adding "PowerFlex" Primary Storage
- Updated protocol to "custom" for PowerFlex provider
- Allow VM Snapshot for stopped VM on KVM hypervisor and PowerFlex/ScaleIO storage pool

and Minor improvements in PowerFlex/ScaleIO storage plugin code

* Added support for PowerFlex/ScaleIO volume migration across different PowerFlex storage instances.

- findStoragePoolsForMigration API returns PowerFlex pool(s) of different instance as suitable pool(s), for volume(s) on PowerFlex storage pool.
- Volume(s) with snapshots are not allowed to migrate to different PowerFlex instance.
- Volume(s) of running VM are not allowed to migrate to other PowerFlex storage pools.
- Volume migration from PowerFlex pool to Non-PowerFlex pool, and vice versa are not supported.

* Fixed change service offering smoke tests in test_service_offerings.py, test_vm_snapshots.py

* Added the PowerFlex/ScaleIO volume/snapshot name to the paths of respective CloudStack resources (Templates, Volumes, Snapshots and VM Snapshots)

* Added new response parameter “supportsStorageSnapshot” (true/false) to volume response, and Updated UI to hide the async backup option while taking snapshot for volume(s) with storage snapshot support.

* Fix to remove the duplicate zone wide pools listed while finding storage pools for migration

* Updated PowerFlex/ScaleIO volume migration checks and rollback migration on failure

* Fixed the PowerFlex/ScaleIO volume name inconsistency issue in the volume path after migration, due to rename failure
2021-02-24 14:58:33 +05:30
Rohit Yadav 0b67e16730 Merge remote-tracking branch 'origin/4.15' 2021-02-23 16:31:58 +05:30
Abhishek Kumar 06c16ac8f4
ui: fix systevmtype for create service offering form (#4683)
Fixes #4682

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-02-23 09:39:43 +00:00
Rohit Yadav 6634382f69 Merge remote-tracking branch 'origin/4.15'
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-02-19 15:30:21 +05:30
Rakesh 06b5bd2966
ui: display account name only if its not null (#4667)
If account is null then "undefined" is displayed in ui
2021-02-19 14:07:38 +05:30
Rakesh 13ba9d5100
Display creation date for domain and account (#4686) 2021-02-18 14:25:46 +00:00
Pearl Dsilva aa01580381
network: Specify IP for VR in shared networks (#4503)
This PR enables admins to specify IP for a VR in a shared network.
2021-02-18 13:54:09 +05:30
Rohit Yadav 40c14b4552 Merge remote-tracking branch 'origin/4.15' 2021-02-12 13:06:33 +05:30
Abhishek Kumar 0d04bd621f
ui: fix tags selection for add disk offering (#4665)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-02-12 12:50:32 +05:30
Abhishek Kumar d6e8b53736
vmware: vm migration improvements (#4385)
- Fixes inter-cluster migration of VMs
- Allows migration of stopped VM with disks attached to different and suitable pools
- Improves inter-cluster detached volume migration
- Allows inter-cluster migration (clusters of same Pod) for system VMs, VRs on VMware
- Allows storage migration for stopped system VMs, VRs on VMware within same Pod if StoragePool cluster scopetype

Linked Primate PR: https://github.com/apache/cloudstack-primate/pull/789 [Changes merged in this PR after new UI merge]
Documentation PR: https://github.com/apache/cloudstack-documentation/pull/170

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2021-02-12 12:41:41 +05:30
Hoang Nguyen 2a7f84eafd
ui: Add quickview to the list of VM Snapshot (#4614)
This PR is used to fix the Quick access menu bar missing for VM Snapshots
Fixes #4607
2021-01-27 15:33:35 +05:30
Pearl Dsilva c5b1fec11b
ui: Storage Pool Tags unable to delete last tag (#4611)
* UI Storage Pool Tags: unable to delete last tag

* add updatePhysicalNetwork to the list

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
2021-01-25 12:23:44 +05:30
Rohit Yadav 95c221d5ae ui: fix rat checks after import
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 08:25:52 +05:30
Hoang Nguyen 338de72665 Explore Test Automation (#320)
* config jest and add setup for unittest

* config jest coverage

* example of unit testing a Status widget/component

* add license for test file

* add test/run command in the .travis.yml

* add mock store and i18n for vue jest

* add mock file missing

* add mock router

* add lincence to mock file & decodeHtml to setup file

* add mock axios instance & fix eslint on tests folder

* add test components > views > ActionButton component

* fix for test coverage success

* refactor test file

* add test Views > Autogenview.vue (Navigation Guard, Watchers, Computed)

* history mode mockRouter, refactor test code, test Autogenview > fetchData (routeName)

* test Views > AutogenView.vue (processing 31%)

* add mock router exception & test Views > AutogenView.vue (processing 43%)

* test Views > AutogenView (processing 65%), add test onSearch, closeAction, execAction, listUuidOpts

* refactor and add comment test files

* test Views > AutogenView (processing 91%)

* add comment file AutogenView.spec.js

* test Views > AutogenView.vue (handleSubmit method)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:24 +05:30
Hoang Nguyen 64d95fb6e3 npm: Build and packaging improvements (#568)
* remove unused plugins and minimizer js

* update dependencies

* fix build, update dependencies

* using lazy_use components

* add additional components

* optimization: lazy loading i18n locales

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 87c1950f4f ui: Remember tab on page change (#780)
* Remember tab on page change

* fix for resourceview

* Fix instance tab

* Fix vpc tab

* Fix kubernetes tab

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 1dbbffc412 Show enable field only if paramter is present (#917)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani fafaf11a15 Using post for uploadSslCert api (#842)
* Adding post param to actions

* Using post for uploadSslCert api

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva fbb3a7aed5 Allow enabling network/vpc offering at creation (#911)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh e9df682021 Display all data volumes for vm while destroying (#915)
If a root admin tries to destroy VM of different
domain then the data disks are not displayed and
hence they wont be destroyed.
Make sure that root admin can see all data disks
of a vm while destroying it

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 31dff52536 FIX - compute - Create snapshot from virtual machine with managed storage (#808)
* compute: add button and modal `take VM volume snapshot`

* add awesome camera retro plugins

* modified to using component

* fix for quiescevm

* add quiescevm to api params

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani beeb34b007 migratewizard: Fix fetching jobid from api response (#913)
* migratewizard: Display error and unfreeze form when api call fails

* migratewizard: Fix fetching jobid from api response

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rohit Yadav 123291fd04 component: remove Primate name from the footer, fix bug report link
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani f0d08c5978 migratewizard: Display error and unfreeze form when api call fails (#912)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen ecf5e92af9 continue with the Zone deployment without shared primary storage (#908)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 8430bedd99 ui: Allowing user to use local/browser timezone (#903)
Allowing user to use local/browser timezone

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 89c9534e14 Handle redirect to sub menu when click parent menu (#876)
* Handle redirect to sub menu when click parent menu

* renamed the function

* allow click on menu for desktop

* reset cache path when click menu item without submenu

* Fixes click parent menu with full expanded

* removed the expand submenu block segment

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 2c30e27f4e Fix description for api parameter (#905)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 240c241ee8 locales: Translation, notification, API request (#902)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 5ee41a51c9 createnetwork: Show tabs only when supported networks are determined (#901)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 0e071c2e9c Displaying time as per user timezone (#899)
* Displaying time as per user timezone

* Refactor

* Fixing annotation created time

* Adding comments

* Fix typo

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Gabriel Beims Bräscher e01dd119ff Fix label on Zone network setup step (#897)
label: label.zonewizard.traffictype.management
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 2b89141621 locales: Add missing translation labels (#900)
* add missing translation labels

* add translation for modal button

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Gabriel Beims Bräscher 0cee41dd2a Add options for OOBM action commands (#894)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rohit Yadav dffbe329b3 config: don't show redudant isrouting when templatetype is show to admin
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen f1ec81a250 Fixes ostype combobox not respond (#890)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 4e369c67de Fix empty server details for SharedMountPoint protocol (#891)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 100251cfa9 compute: startVirtualMachine - Fetching pods, clusters && hosts from the vm's zone (#887)
Custom component for start VM for admins

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 8fc4839eb1 createnetworkform: Displaying api errors (#885)
createnetworkform: Displaying 'technical' API error message caused by backend configuration errors.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 3edda6c05d Disable edit and delete of UI read-only settings (#886)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva db292da93f storage: Close snapshot form in case of an error (#880)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen aba0f56e9c zone: Update physical network traffic labels (#884)
* update infra physical network traffic labels

* add translation label

* Use blank traffic label to placeholder instead set value

* fix to reset the traffic label

* Update src/views/infra/network/EditTrafficLabel.vue

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>

Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani ea0802b4c8 phynetworks: Adding tags and zonename to list & detail view (#883)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani e4b3b73592 createsharednetworkform: Fix for multiple physical networks (#878)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 9b7f3d620c Fix showing esxi host label instead of vCentre host (#879)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Gabriel Beims Bräscher f400a4e0b1 Add button to enable/disable storage pool (#874)
* Add button to enable/disable storage pool

* Disable only if pool state is Up

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 2998da0995 Showing networks from selected physical network (#877)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh 26566fa9d4 Allow changing template type by admin (#838)
* Allow changing template type by admin

Currently the template has following types:
'BUILTIN', 'USER', 'SYSTEM', 'ROUTING', 'PERHOST'

Provide ui support for admins os that they can change
the template type

* add extr afields

* remove perhost

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 76f87ff179 List all suitable/available zones while creating networks (#873)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh 482e223fae Display network type in network overview (#845)
* Display network type in network overview

Display "VPC Tier" as type if an isolated network belongs to VPC
else display its regular type

* Display vpc name with router link

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 1934a61936 hostinfo: Fixing host hypervisor version (#870)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 2067454537 FIX - Detail setting tab interface (#861)
* fixes detail setting tab interface

* autofocus to the key

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh 89445d24f8 Display IP address while deleting it (#868)
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani b447fb1566 deployvm: Hiding networks for basic zones (#864)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 8316bc4841 setting tab: autofocus on the input field (#862)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh c576a71ae8 Fix typo in display message (#866)
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani e6b73d44fa Adding message to deleteKubernetesSupportedVersion (#850)
* Adding message to deleteKubernetesSupportedVersion

* Apply suggestions from code review

Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>

Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 8150855050 kubernetesservicetab: Fixing instance tab (#858)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 4c8288c062 Allow domain admins to configure resource limits (#855)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 0c076ac636 project invitations: add expired filter state (#856)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 71111f2160 domain: reset tree selected when resetting search. (#857)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 73a03c58fa addldapaccount: Fix defensive check
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
utchoang 7b01fe03ef show clear the add LDAP account button
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Pearl Dsilva 2189ebb4ca Use scaleVirtualMachine API instead of changeServiceForVirtualMachine (#818)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 4f46f3d66c Fixing cks instance view (#832)
* Fixing instance view

* Chaning from ip to ssh port

* Fixing html tags in text

* Adding messages to kube actions

* Removing redundant code

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 147794d103 FIX - Changing project no longer changes the sidebar background/theme (#821)
* fix customize navigation background color when change project view

* remove change color for the logo when switch project view

* add doc help for customizing the navigation background color of the project view

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 0f3586a011 Fixes incorrect results of list view when refreshing the page by (#813)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 3c0579d48d infocard: Adding support to redirect to publicip (#812)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 114d017567 Fixing host count for migratevm (#788)
* Revert "Not relying on erroneous count returned by findHostsForMigration (#774)"

This reverts commit c6624403556df286f1b61e9d34f948a089af8326.

* Fixing host count for migratevm

* Sorting based on suitability

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani b6715375fb Destroying messages and notifications after logout (#817)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 157e4a0dbe change the color of scheduled state (#822)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 23b928e1b2 add a link to the private gateway (#828)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 5f402e1037 config: add autofocus into the input field (#829)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 6c386945b6 network: remove the required account in creating a network (#830)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Hoang Nguyen 02884e1e0e private gateway: show ACL NAME instead of the UUID (#831)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
Rakesh 1ec7d6e3e3 Display day name instead of label (#834)
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani e7088115d7 registeroruploadtemplate: Setting osdefault as default rootDiskControllerType
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
nvazquez 941c4d47c9 Keep boot into BIOS and advanced settings on
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:23 +05:30
davidjumani 28598bc93c Adding option to copy resource name and ip address (#804)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Pearl Dsilva f394f2f596 allow adding docker Private registry details while deploying cluster (#802)
* allow adding docker Private registry details while deploying cluster

* Set min master node count for HA to 2

* generalize refresh of features list

* Update user.js

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani dd64c7709c kubernetesservicetab: Selecting the right ip (#800)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani 6371bc20d3 Adding netowrk type filter to listview (#811)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
nvazquez 808ed6fa6a Selectively hide boot type
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
nvazquez 7c7f467807 Fix templates registration and revert boot type
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani 66cc46bab1 Fixing hosts listview labels
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani f5d6e43133 Hiding boot mode and boot type for VMware
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Pearl Dsilva b9695de7f8 Close form after submission (#797)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Nicolas Vazquez 308dcf63c3 Set deploy-as-is to default on VMware (#777)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Pearl Dsilva 9a73c3eaf9 Add storage policy details in the detail view (#796)
* Add storage policy details in the detail view

* check if API exists

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani b89264a01a Adding label for isolationmethod (#795)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Rakesh 688dce6cee Load balancing and Port forwarding are not displayed properly (#768)
Fixes #766

For isolated networks, load balancing, port forwarding and firewall
options are not displayed.
For source nat ip of vpc, all options are displayed but it should not be

Below are the expected actions according to legacy UI

for isolated networks

if static nat is disabled then display all options
if static nat is enabled then display only firewall tab

for VPC networks

for source nat IP, dont display any option
for other ip's firewall is always disabled.
Load balancing and port forwarding options are mutually exclusive

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Abhishek Kumar 8c1ad8cbe4 actions: return back on vm unmanage (#783)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Hoang Nguyen 32fe0520d7 Confirmation by pressing Space on confirm screens (#784)
* submit button when pressing Space on confirm modal

* removed console

* add auto-focus into switch & remove keyup function

* revert message on storagejs

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani 5640434068 addprimarystorage: Filtering unique storage tags (#787)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Pearl Dsilva 7c8fc60471 Fix visibility of action buttons for Isos and templates (#775)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
davidjumani b15f3dca26 Not relying on erroneous count returned by findHostsForMigration (#774)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Hoang Nguyen 432d0c19ad Fix reload data after delete vm (#761)
* fix reload data after delete vm

* fix call fetchData after pollJob success response

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Gabriel Beims Bräscher 28b0477425 Add rootdisk size on compute offering (#770)
* Add rootdisk size oncompute offering

* Change "leftover" apiParams.provisioningtype to apiParams.rootdisk

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30
Pearl Dsilva 77650b9535 Fix dedicate zone to a domain / account (#776)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:22 +05:30