Commit Graph

2092 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
3abedfe3bd CA-184521: Removed unnecessary code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-06 17:26:45 +01:00
Gabor Apati-Nagy
ef02590008 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Fixed code after code review
2015-10-06 15:56:36 +01:00
Gabor Apati-Nagy
80f855b981 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Fixed issues where total initial allocation for an SR was not calculated correctly. Also some minor improvements.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-06 14:04:36 +01:00
Gabor Apati-Nagy
4d3064c733 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 18:14:00 +01:00
Gabor Apati-Nagy
db9730b1d9 Merge pull request #691 from MihaelaStoica/CA-183959
CA-183959: Storage page of New VM wizard should not display over-comm…
2015-10-01 13:42:03 +01:00
Mihaela Stoica
8ab4c45779 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
- removed unneeded code, as the item.OverCommit is set to None at the beginning of the function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-01 13:39:32 +01:00
Gabor Apati-Nagy
7e9429c82c Merge pull request #690 from MihaelaStoica/CP-14048
CP-14048: Search for Virtualization Status
2015-10-01 13:29:20 +01:00
Stephen Turner
7ae0a4115d Merge pull request #693 from agimofcarmen/CA-184544
CA-184544: Change wording in SR Convert Dialog.
2015-09-30 18:00:27 +01:00
Carmen Agimof
8415fbd2b9 CA-184544: Change wording in SR Convert Dialog. 2015-09-30 17:16:04 +01:00
Mihaela Stoica
e1a78a7fcf Merge pull request #692 from agimofcarmen/CA-184303
CA-184303: Adds condition so that the "Allow XenCenter to delete upda…
2015-09-30 13:44:45 +01:00
Carmen Agimof
20899036fe CA-184303: Adds condition so that the "Allow XenCenter to delete update installation files" checkbox would be hidden if the any of the selected servers is older than 6.1. 2015-09-30 12:57:08 +01:00
Mihaela Stoica
e0ebcc77d5 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-30 10:29:03 +01:00
Mihaela Stoica
6b212d58b4 CP-14048: Search for Virtualization Status
The links displayed in the search result for not optimized VMs are:
- "XenServer Tools not installed", for all pre-Dundee VMs and Dundee non-Windows VMs
- "I/O not optimized" and/or "Management Agent not installed",  for Dundee Windows VMs not fully optimized

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-29 17:15:06 +01:00
Mihaela Stoica
027cf460c8 CP-14048: Search for Virtualization Status
Changed the virtualization state values on the search to: Not optimized, Unknown, Out of date, I/O optimized only, Management Agent installed, Fully optimized ("Management agent installed" not included)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-29 15:41:19 +01:00
Stephen Turner
d28e97093c Merge pull request #683 from MihaelaStoica/hide_convert_sr
Revert "Temporarily hide "Convert SR""
2015-09-29 14:58:19 +01:00
Gabor Apati-Nagy
659dd4778d Merge pull request #675 from MihaelaStoica/CP-13985
CP-13985: Add "Test credentials" button on the Health Check dialog
2015-09-29 14:48:56 +01:00
Mihaela Stoica
260e36ec4e Revert "Temporarily hide "Convert SR""
This reverts commit 127b60871c.
2015-09-29 14:44:13 +01:00
Stephen Turner
58261df9b9 Merge pull request #688 from huizh/CA-134554
CA-134554: Re-enable WLB Disk Read/Write configuration since WLB VPX is ready
2015-09-29 14:32:13 +01:00
Mihaela Stoica
c22429d7a3 Merge pull request #687 from stephen-turner/master
CP-12776: Increase VM memory to 1TB in anticipation of increased limi…
2015-09-28 17:43:21 +01:00
Hui Zhang
254b98048d CA-134554: Re-enable WLB Disk Read/Write configuration since WLB VPX is ready
Revert commit 32c945e104 which was used to
"Hide Disk Read/Write configuration until the backend server side is
ready."
2015-09-28 14:01:48 +08:00
Stephen Turner
d7c911fd54 CP-12776: Increase VM memory to 1TB in anticipation of increased limit in CAR-1874 2015-09-25 17:05:02 +01:00
Gabor Apati-Nagy
5bf96bdbae Merge pull request #686 from MihaelaStoica/master
CA-183816: Updated RPU hotfixes in XenCenter
2015-09-25 15:02:37 +01:00
Mihaela Stoica
2038a708aa CA-183816: Updated RPU hotfixes in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-25 12:47:39 +01:00
Gabor Apati-Nagy
5f0eb16a1c Merge pull request #685 from MihaelaStoica/CA-183321
CA-183321: Fix unit tests
2015-09-24 14:02:58 +01:00
Mihaela Stoica
6f08458766 CA-183321: Fix unit tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-24 09:56:18 +01:00
Mihaela Stoica
12895f7774 CP-13985: "Test Credentails" button on Health Check dialog - changes following code review
- Button enabled only when "New XS credentials" radio button is ticked and username and password textboxes are not empty
- Button and the textboxes are disabled while the test is in progress
- When test credentials fails, log userName, not UserDisplayName

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 15:07:05 +01:00
Gabor Apati-Nagy
3ef71a803b Merge pull request #681 from MihaelaStoica/CP-13770
CP-13770: Configure the alerts for SR physical utilisation in XenCenter
2015-09-23 14:33:23 +01:00
Mihaela Stoica
2bae0ddae9 CP-13770: Configure the alerts for SR physical utilisation in XenCenter - changes following code review
- change "utilisation" to "utilization"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:26:11 +01:00
Carmen Agimof
e44c7b20e2 Merge pull request #679 from MihaelaStoica/CA-183321
CA-183321 and more thin-lvhd-related fixes
2015-09-23 14:19:12 +01:00
Mihaela Stoica
c48c28968d Improvements to the Storage page of New VM Wizard - changes following code review
- renamed srSpace and srInitialSpace variables
- removed unnecessary checks for thin provisioned sr
- fixed some error on NewDiskDialog.SMConfig property (smconfig was wrongly populated based on controls enablement; the conversion to long was made before converting to bytes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:15:40 +01:00
Gabor Apati-Nagy
0ac03285da Merge pull request #682 from MihaelaStoica/CP-13983
CP-13983: Fix the SR convert action
2015-09-23 12:36:05 +01:00
Gabor Apati-Nagy
ad80ced66d Merge pull request #673 from MihaelaStoica/CA-182884
Use the Enum functions for string-to-enum and enum-to-string conversions
2015-09-23 12:35:28 +01:00
Stephen Turner
0bf66a113c Merge pull request #666 from GaborApatiNagy/master_CP-13786-4
CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
2015-09-23 11:51:19 +01:00
Gabor Apati-Nagy
438b8446c3 CP-13786: GetVirtualisationStatus: Removed unused method from Column class
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-22 21:43:06 +01:00
Mihaela Stoica
696e778a02 Merge pull request #684 from xenserver/GaborApatiNagy-patch-1
CP-14248: VM General Tab: fixing context menu on the Install Management agent link
2015-09-22 17:28:09 +01:00
Gabor Apati-Nagy
ff4da8b45e CP-14248: VM General Tab: fixing context menu on the Install Management agent link 2015-09-22 17:19:03 +01:00
Mihaela Stoica
0de5a2d310 CP-13983: Fix the SR convert action
- use SR.opaque_ref instead of uuid

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-22 11:05:39 +01:00
Gabor Apati-Nagy
3eb796d13e CP-13786: GetVirtualisationStatus
Moving GetVirtualisationWarningMessages back to VM
Also added EVACUATE_HOST_INSTALL_MGMNT_PROMPT what is shown on the EvacuateHostDialog when a 'new' VM is given and Management Agent can be installed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:59:43 +01:00
Gabor Apati-Nagy
acbc21597a CP-13786: GetVirtualisationStatus
More small fixes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:09:12 +01:00
Stephen Turner
ed625e081b Merge pull request #680 from MihaelaStoica/cifs_to_smb
CP-14240: Rename CIFS to SMB in the UI
2015-09-21 11:29:19 +01:00
Mihaela Stoica
e36b674f0e CP-14240: Rename CIFS to SMB in the UI
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 11:11:57 +01:00
Mihaela Stoica
84372eb118 CP-13770: Configure the alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 00:04:46 +01:00
Mihaela Stoica
46ac1981eb Improvements to the Storage page of New VM Wizard
- If the new disks cannot be created because their total initial size is greater than the SR free space, then an error icon (with tooltip) is displayed and Next button is disabled.
- If the total size of the new disks is greater than the SR free space, but the disks can still be created (because the initial allocation is smaller), then a warning icon (with tooltip) is displayed and Next button is enabled.
- The tooltip mentions the initial space required for thinly provisioned SRs (initial allocation).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-20 23:57:58 +01:00
Mihaela Stoica
14e0330291 Merge pull request #676 from agimofcarmen/CA-179502
Removes the extra line in the Disk Space Allocation Message in the Ge…
2015-09-18 17:28:19 +01:00
Mihaela Stoica
13d933ec22 Display overcommitted percentage for thinly provisioned SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:57:31 +01:00
Mihaela Stoica
7df999c532 Improved behavior of the SR picker in the New Disk dialog
- when the user changes the disk size (or initial allocation), the selection in the SR list should not change and the list should not be automatically resorted
- users should not be allowed to create disks larger than the SR size (the SR is disabled and an explicit reason is displayed)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:45:05 +01:00
Mihaela Stoica
687df9179e Hide the allocation fields in the New disk dialog if the SR is not thin lvhd
Also fixed the anchoring of the controls on this dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:25:57 +01:00
Mihaela Stoica
f507b65126 CA-183321: Fixed the bug where the disk initial and incremental allocations values were ignored while creating new VM's disk
When creating a new VM, we no longer use vm.provision to create VM's disks, but instead we create the disks ourselves using vdi.create; this way we can specify the initial and incremental allocations for the new disks.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 15:51:17 +01:00
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Mihaela Stoica
521b175ed2 Merge pull request #678 from MihaelaStoica/hide_convert_sr
Fix test failure introduced by previous commit
2015-09-17 16:50:58 +01:00