Commit Graph

750 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
7b7bcb0aa5 CP-14379, CP-14461, CP-14462, CP-14463, CP-14464, CP-14465, CP-14467:
Implementing Upgrading VMs to Windows Update

New screen features:
-Create skeleton of the Upgrade VM dialog
-Implement a Go To Console link (just a link that opens a vm console)
-Implement logic to show the right status for a VM (includes rules to
get the states). Includes updating the dialog whenever the status changes.
-Add status texts to Messages, proper text on the UI
-Add stub methods to VM class in XenAPI-Extensions to r/w states from
Guest Agent
-UI: Implement rules what vms to display, checkbox rules, read only vms,
and when to enable the Upgrade button
-Implement Upgrade button (writes state for GA, mounts ISO) + maximum
parallel executions/actions

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-16 12:47:00 +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
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
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
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
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
Carmen Agimof
34024a7427 Removes the extra line in the Disk Space Allocation Message in the General Tab.
Creates a new function MemorySizeStringSuitableUnits that takes one more parameter that specifies the units that must be used when the number of bytes is 0.
2015-09-17 13:24:21 +01:00
Gabor Apati-Nagy
a3ab8f6ad4 CP-13786: GetVirtualisationStatus: Refactoring
extracted common code

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:33:12 +01:00
Gabor Apati-Nagy
cb861b0c2a CP-13786: GetVirtualisationStatus: Refactoring
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:22:16 +01:00
Gabor Apati-Nagy
21a74d3d49 CP-13786: GetVirtualisationStatus: More fixes after code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 13:57:32 +01:00
Mihaela Stoica
3d6bed5f3f Merge pull request #674 from agimofcarmen/CA-181512
CA-181512: new RRDs xapi_open_fds, pool_task_count and pool_session_c…
2015-09-15 15:05:51 +01:00
Mihaela Stoica
2766a18987 Use the ToString() function directly for enum-to-string conversions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-15 13:55:18 +01:00
Gabor Apati-Nagy
371f6bdb00 CP-13786: VM.VirtualisationStatus: Changes following the code review
Removed Optimized state and using I/O & Management instead (even for old VMs)
Changed messages to be different for old and new VMs instead of saying Tools or I/O drivers for instance
Removed the extra enum property from the VM class that had been added for search
Fixed code in GroupingTypes class (possible KeyNotFoundException)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-14 17:08:23 +01:00
Carmen Agimof
caa2c92f31 CA-181512: new RRDs xapi_open_fds, pool_task_count and pool_session_count are now hidden from the XenCenter graphs. 2015-09-14 12:09:39 +01:00
Gabor Apati-Nagy
bf8e2cfc77 Merge pull request #669 from agimofcarmen/CA-179502
CA-179502: Reviewed all use of MemorySizeStringMB and came to the con…
2015-09-11 12:20:40 +01:00
Mihaela Stoica
fc75ceb4ce Use the Enum functions for string-to-enum and enum-to-string conversions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-11 11:55:51 +01:00
Mihaela Stoica
50176afc14 CA-182884: Fixed typo which caused the wrong severity icon to be displayed on the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-11 11:29:16 +01:00
Gabor Apati-Nagy
caf203da94 Merge pull request #668 from MihaelaStoica/CP-13149
CP-13149: Updated Policy statement for Health Check
2015-09-11 10:45:27 +01:00
Gabor Apati-Nagy
f98e22936f CP-13786: GetVirtualisationStatus: Some changes after rubber duck debugging
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-10 16:28:44 +01:00
Mihaela Stoica
23db625d15 Change the validity period of the diagnostic token to one year.
- This is temporary, until the API accepts max_age=0 (never expire)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 15:29:35 +01:00
Mihaela Stoica
38a1633acb CP-14047: Display alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 15:18:26 +01:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Gabor Apati-Nagy
463d3e79df CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
Extended the enum, aimed for minimal changes, also using Flags on the enum now

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 13:56:44 +01:00
Mihaela Stoica
e71c40a3ac Merge branch 'master' into CA-181208
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/Dialogs/HealthCheck/HealthCheckOverviewDialog.cs
2015-09-09 13:26:53 +01:00
Carmen Agimof
cd4281ffab Merge pull request #651 from MihaelaStoica/CP-13077
CP-13077: Changes to the Health Check feature to work properly with RBAC
2015-09-09 13:16:15 +01:00
Mihaela Stoica
815e67c4d3 Change some wording on the Health Check Overview page
- change "request an upload now" to "request an additional upload now"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:41:11 +01:00
Mihaela Stoica
8026d0ee55 CA-181208: Display the status of last failed upload in the Health Check overview dialog
- If an upload is marked as failed, then display it in the UI (but only as long as there is no successful upload done after that)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:39:45 +01:00
Mihaela Stoica
fb8a6665a6 Merge pull request #664 from agimofcarmen/CP-13984
CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert).
2015-09-08 15:35:36 +01:00
Carmen Agimof
0dd8fa7f05 CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert). 2015-09-08 15:32:47 +01:00
Mihaela Stoica
a4d94226a3 Merge pull request #659 from agimofcarmen/CA-181440
CA-181440: Adds text that explains the bounds of the incremental allo…
2015-09-08 15:20:49 +01:00
Carmen Agimof
2a8a80b5fd CA-181445: Changes message and page title on the Upload Page in the Updates Wizard. If we are actually downloading an update, then the message will mention that. Otherwise, it will only mention the upload. 2015-09-08 15:04:50 +01:00
Mihaela Stoica
b13e72c14f Merge pull request #662 from agimofcarmen/CA-181442
CA-181442: Removes unused variable.
2015-09-08 14:57:06 +01:00
Carmen Agimof
e04203a5a3 Removes unused variable. 2015-09-08 13:58:13 +01:00
Mihaela Stoica
d7fa39bb75 Merge pull request #655 from agimofcarmen/CA-181442
CA 181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore.
2015-09-08 12:05:30 +01:00
Carmen Agimof
1bb0fadb48 CA-181440: Changes design of the message about the limits in the Thin Provisioning Parameters Control. 2015-09-08 11:37:02 +01:00
Mihaela Stoica
62bc632f02 CP-13074: Update the URLs used for retrieving the analysis results 2015-09-07 17:58:53 +01:00
Carmen Agimof
78c80a7887 CA-181440: Adds text that explains the bounds of the incremental allocation in the Thin Provisioning Parameters Control. 2015-09-07 17:45:57 +01:00
Carmen Agimof
22b3450dcd CA-181442: Make the list that contained all NewUploadedPatches a Dictionary that matches the patch with its path. This is helpful when trying to upload to a server where the update it is already uploaded (and therefore we do not do the upload again and we cannot get the patch).
Adds a flag in the UploadPatchAction that is used when checking if the file should be deleted on cancel.
2015-09-07 12:18:01 +01:00