Commit Graph

750 Commits

Author SHA1 Message Date
Carmen Agimof
05884ea9be CA-181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore. 2015-09-04 17:18:26 +01:00
Carmen Agimof
9b0f478952 CA-181390: Solved issue related to taking a file from disk that is not in the list of updates taken from the Citrix website. Created a dictionary that contains all the uploaded updates(the patch path) and on which hosts they were applied.
- Not applied updates do not appear anymore in the General Tab of a pool. (Related to CA-180577)
- If we apply a patch that was already applied (happens when we take a file from disk that is not in the updates list taken from the Citrix website -> no metadata), on cancel we are now removing the uploaded patch from the host.
2015-09-04 17:09:22 +01:00
Mihaela Stoica
53b01c425c CP-13077: Changes to the Health Check feature to work properly with RBAC
Changed all the health check actions to perform the necessary role checks
- HealthCheckAuthenticationAction: changed so it does not save the tokens, so no role checks required in this action (all the checks are performed in SaveHealthCheckSettingsAction)
- GetHealthCheckAnalysisActions: added role checks

On the Health Check Overview dialog, a pool is displayed as read-only if connected as a user with roles that don't permit changing the health check settings:
- the following actions are not available: enroll, edit settings, disable health check, request upload, get analysis result
2015-09-03 11:49:53 +01:00
Carmen Agimof
31924f9888 CA-181316: Sort by description is now working correctly. 2015-09-02 18:21:10 +01:00
Carmen Agimof
549067f2d0 CP - Refactors Provisioning page in SR wizards to use the new control for allocations.
Adds tab indexing to the control for allocation and changes label names.
Corrects mistake that led to exception being thrown when the Disk Size is decreased in the the New Disk Dialog.
2015-08-28 16:44:22 +01:00
Gabor Apati-Nagy
40478b5eca Merge pull request #642 from MihaelaStoica/CP-13149
CP-13149: Policy statement link to the right web page
2015-08-27 14:06:11 +01:00
Gabor Apati-Nagy
402994a7a1 Merge pull request #638 from MihaelaStoica/CP-12156_2
CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
2015-08-27 14:04:17 +01:00
Gabor Apati-Nagy
19d9d1589c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Some checks following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 13:50:56 +01:00
Mihaela Stoica
15e5c94289 CP-13149: Policy statement link to the right web page
- currently linking to CIS general data collection and privacy page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:50:35 +01:00
Mihaela Stoica
a29f1ac6f1 CP-12156: Added default value for the analysis report link (domain name)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:37:00 +01:00
Gabor Apati-Nagy
3e7fb8115b Revert "CP-13100: XenAPI-Extensions: Adding minimum initial allocation and minimum allocation quantum skeletons"
This reverts commit 8586724c8a.
2015-08-27 12:16:07 +01:00
Mihaela Stoica
e38c707ffb CP-12156: Removed unused variable
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 01:04:56 +01:00
Mihaela Stoica
2eba1c705f Merge remote-tracking branch 'upstream/master' into CP-12156_2
Conflicts:
	XenModel/XenAPI-Extensions/Pool.cs
	XenModel/XenModel.csproj
2015-08-27 01:03:58 +01:00
Mihaela Stoica
44e18df03d CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 00:30:02 +01:00
Gabor Apati-Nagy
77beffacf9 Merge remote-tracking branch 'github_xenadmin/master' into CP-13100
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
2015-08-26 17:58:38 +01:00
Gabor Apati-Nagy
cb90872c6c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Added new functionality (using percentages yet)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 17:54:03 +01:00
Mihaela Stoica
6af97b2edb Merge pull request #636 from agimofcarmen/CP-13174
CP-13174: Change units used for initial_allocation and allocation_qua…
2015-08-26 17:21:00 +01:00
Carmen Agimof
06b7b66357 CP-13174: Change units used for initial_allocation and allocation_quantum to MB or GB instead of percentages.
Changes allocation type from "dynamic" to "xlvhd".
2015-08-26 17:14:01 +01:00
Mihaela Stoica
bfb471fe64 Merge pull request #632 from huizh/CP-13848
CP-13848: XenCenter transfers proxy settings to HealthCheckService.
2015-08-26 10:15:12 +01:00
Gabor Apati-Nagy
106c16f988 CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Upgrading XenAPI for LVHD
2015-08-25 19:01:15 +01:00
Gabor Apati-Nagy
934bceed5d Refactored AllocationBounds struct in Helpers 2015-08-25 15:51:58 +01:00
Carmen Agimof
f96379a3b9 CP:13174: Changes the default value for the SR quantum allocation to be the maximum of the minimum value and SR size / 10 000 for the cases when the latter is smaller than the minimum. 2015-08-25 15:17:14 +01:00
Carmen Agimof
1bb49737b2 CP-13174: Creates helper functions in the Helpers class that calculate the limits and the default values of the Initial and Incremental allocation NumericUpDowns(SR and VDI levels). Creates a struct that holds the values of the min, max and default value. 2015-08-25 14:50:41 +01:00
Gabor Apati-Nagy
8586724c8a CP-13100: XenAPI-Extensions: Adding minimum initial allocation and minimum allocation quantum skeletons 2015-08-25 13:37:07 +01:00
Hui Zhang
0761aa5be2 CP-13848: XenCenter transfers proxy settings to HealthCheckService.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-25 20:32:58 +08:00
Mihaela Stoica
4b073c0bc3 Renamed and merged some constants in HealthCheckSettings class
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:21:47 +01:00
Mihaela Stoica
ff64416407 Move HealthCheckSettings class to a separate file
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:19:24 +01:00
Carmen Agimof
5acaeb4ac1 CP-13667: [Thin-LVHD] XenCenter shall show the allocation_quantum and initial_allocation in General Tab. 2015-08-21 14:16:40 +01:00
Mihaela Stoica
0a3deaf526 Merge pull request #624 from agimofcarmen/CA-147944_II
CA-147944: Use GB for VM Memory if large values
2015-08-20 17:17:12 +01:00
Stephen Turner
854e178968 Merge pull request #629 from MihaelaStoica/CP-13074
CP-13074: Finalize the CIS domain names and product key used for retr…
2015-08-20 17:11:48 +01:00
Mihaela Stoica
cb35725dd7 CP-13074: Finalize the CIS domain names and product key used for retrieving the authentication tokens and upload
- change the URLs to the production site
- for development and testing these settings should be changed to the staging site via registry keys

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 16:59:58 +01:00
Mihaela Stoica
854acff73d Text corrections in the Health Check dialogs
- no “the” is needed in front of “Citrix Insight Services”  (e.g. “…authenticate with Citrix Insight Services…” and not “…authenticate with the Citrix Insight Services…”)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 13:49:13 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Gabor Apati-Nagy
b123bf8dda Merge pull request #619 from stephen-turner/CP-13374
CP-13374 XenCenter can now turn on and off ssl-legacy
2015-08-19 17:31:42 +01:00
Stephen Turner
bc68d6bda4 Merge pull request #621 from GaborApatiNagy/master_CP-13708
CP-13708: FriendlyErrorName for VBD_XENPREP_CD_IN_USE
2015-08-19 11:53:40 +01:00
Gabor Apati-Nagy
3907ef3b6f Merge pull request #620 from MihaelaStoica/master
Re-enable Health Check: Revert "Merge pull request #614 from GaborApa…
2015-08-19 10:46:13 +01:00
Gabor Apati-Nagy
9a39dcafb1 CP-13708: FriendlyErrorName for VBD_XENPREP_CD_IN_USE 2015-08-19 10:44:41 +01:00
Mihaela Stoica
f68be9d466 Merge pull request #616 from huizh/CP-13072
CP-13072: HealthCheckService: Use proxy for bundle upload.
2015-08-19 10:07:13 +01:00
Mihaela Stoica
93610007b7 Re-enable Health Check: Revert "Merge pull request #614 from GaborApatiNagy/master_disable_health_check"
This reverts commit dba1d3e60e, reversing
changes made to 731f968a8e.
2015-08-19 10:04:13 +01:00
Stephen Turner
59a432ff40 CP-13374: Remove unused variable 2015-08-19 09:21:47 +01:00
Stephen Turner
df182d05c0 CP-13374 XenCenter can now turn on and off ssl-legacy: last check-in was incomplete. 2015-08-19 08:53:15 +01:00
Stephen Turner
227ee84da7 CP-13374 XenCenter can now turn on and off ssl-legacy.
The main functionality is working, but the ExpectDisruption flag isn't fully working yet.
2015-08-18 09:35:55 +01:00
Mihaela Stoica
0edd2e05f9 CP-13165: Make quiescing into a licensed feature
- Add code to check license before offering quiescing on the VM Snapshot dialog
- If the feature is not available, the message displayed is: "This feature is disabled due to license restrictions on the server."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 17:32:22 +01:00
Mihaela Stoica
ca9305c83f CP-13287: Update XenModel with the latest bindings containing XenAPI field VGPU_type.experimental
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 14:47:01 +01:00
Hui Zhang
aef05ab064 CP-13072: HealthCheckService: Use proxy for bundle upload.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-17 15:54:19 +08:00
Stephen Turner
60c1a84e42 Merge pull request #615 from GaborApatiNagy/master_CP_12431
CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
2015-08-14 15:56:43 +01:00
Gabor Apati-Nagy
4cc98be845 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Changes following the code review
2015-08-14 14:25:49 +01:00
Gabor Apati-Nagy
f6ccfd121a Updating XenModel/XenAPI with the latest SDKs from trunk #103769
code review: "We do want to see changes in the Pool.current_operations."
2015-08-14 14:09:07 +01:00
Gabor Apati-Nagy
eaa4c1a93a CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter 2015-08-13 17:44:32 +01:00
Gabor Apati-Nagy
51198013ad Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Fixing problems with FriendlyErrorNames in Visual Studio 2013

Adding missing files
2015-08-13 17:44:07 +01:00
Mihaela Stoica
228a996d99 Temporarily disable Health Check feature for all hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-13 13:58:18 +01:00
Gabor Apati-Nagy
3371f85952 Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Step 2
2015-08-11 19:06:58 +01:00
Gabor Apati-Nagy
c7c19f0759 Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Note: Not updated HTTP.cs where sslStream.AuthenticateAsClient() is called. (That has to be dealt with separately - as it was manually edited.)
2015-08-11 16:57:42 +01:00
Cheng Zhang
3f2e8a51da CA-179369: Change CIS default setting
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-08-11 16:09:45 +08:00
Stephen Turner
3e38b34437 CA-178981: Make the HTTP API work through XenCenter for TLS 1.2 servers 2015-08-06 16:39:39 +01:00
Stephen Turner
03b5464b26 Merge pull request #601 from GaborApatiNagy/GaborApatiNagy-patch-1
CA-173695: Reclaim freed space is failing with "Index and length must…
2015-08-05 13:42:53 +01:00
Gabor Apati-Nagy
6193bbae3a CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
Fixing warning as an error build problem
2015-08-05 13:16:22 +01:00
Stephen Turner
bf8e74f8f5 Merge pull request #600 from GaborApatiNagy/master_CA-173695
CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
2015-08-05 12:22:19 +01:00
Stephen Turner
cdfc665458 Merge pull request #596 from GaborApatiNagy/master_CA-177058
CA-177058: [SCTX-2146] VM Power Admin could not create VMs - RBAC issues with XS 6.5
2015-08-05 12:21:27 +01:00
Gabor Apati-Nagy
d246555e23 CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
This change fixes the mock so that it returns "True" for all the host_call_plugin>trim calls
2015-08-05 11:35:50 +01:00
Gabor Apati-Nagy
f6b632d0b6 Merge pull request #593 from agimofcarmen/CA-178243
CA-178243: When only Automatic check for XenServer updates was checke…
2015-08-04 17:30:22 +01:00
Carmen Agimof
c8e5138031 CA-178243: Refactors code, simplifying it. Now we only keep one list in DownloadUpdatesXmlAction for XenServerVersions and added a property that returns the list with the versions if Automatic check for XS version is checked and a new list which is empty when is not checked. 2015-08-04 17:28:29 +01:00
Gabor Apati-Nagy
191820abf4 CA-177058: [SCTX-2146] VM Power Admin could not create VMs - RBAC issues with XS 6.5 2015-08-04 11:25:59 +01:00
Carmen Agimof
9de57d38c2 CA-178243: When only Automatic check for XenServer updates was checked in Updates Options, when opening XC, the grid appeared empty in the Updates Tab. This was because to get the list of XS updates, we need the list of XS versions. Created a list of XenServer versions that is used only to get the XenServer updates. 2015-08-03 15:06:01 +01:00
Mihaela Stoica
8264dcaba0 Merge pull request #589 from agimofcarmen/CP-13518_II
Cp 13518 ii
2015-07-31 14:51:04 +01:00
Stephen Turner
09c495552f CP-13389: Convert all projects to .NET 4.5. (All changes autogenerated except for one case of broken XML in XenOvfApi/app.config). 2015-07-30 12:40:59 +01:00
Mihaela Stoica
f6c477eb67 Merge remote-tracking branch 'hui/CA-178338' into CP-13073 2015-07-30 10:31:38 +01:00
Hui Zhang
d6ff10654d CA-178338: XenServerHealthCheckService: bundle uploading update.
1. Add logs to track the uploading process.
2. Catch the potential exception.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-30 17:02:48 +08:00
Carmen Agimof
ceca902b9f Changes dialog text that appears on the screen when the Dismiss All/Dismiss Selected button is clicked. 2015-07-29 17:52:46 +01:00
Carmen Agimof
aef3bef6b6 CP-13031: Make Updates Tab clearer if automatic check-for-updates is disabled. 2015-07-29 11:34:39 +01:00
Mihaela Stoica
61b5821e4f CP-13073: Rename files (Call Home to Health Check)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 09:12:46 +01:00
Mihaela Stoica
a9be9846ff CP-13073: Rename Call Home to Health Check in code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 08:44:41 +01:00
Gabor Apati-Nagy
ecb048b9ee Merge pull request #572 from MihaelaStoica/CP-13120
CP-13120: User-friendly errors when Health Check authorization fails
2015-07-28 16:14:28 +01:00
Gabor Apati-Nagy
521901c668 Merge pull request #562 from MihaelaStoica/CP-13083
CP-13083 and CP-13081: Add "Show this ..." checkbox and opt-out option to the Health Check dialog
2015-07-28 15:49:33 +01:00
Mihaela Stoica
f4bbcca1a9 CP-13103: Update terminology displayed in the UI for thin provisioning
- Thick provisioning - > Fully provisioned
- Subsequent allocations -> Incremental allocations

Also, updated the Next button on the Location page of HBA SR, to say "Next" for Dundee or greater and "Create" for pre-Dundee pools.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-28 09:23:07 +01:00
Mihaela Stoica
bfa5db8b40 Merge pull request #574 from GaborApatiNagy/master_CA-173497
CA-173497: Thin provisioning: Repair of SR of thin-provisioning on SR hang without return
2015-07-27 13:12:10 +01:00
Gabor Apati-Nagy
b9abdc4b1a CP-12640: Create alert when logs partition is full
Adding code for "log_fs_alert"
2015-07-24 16:03:27 +01:00
Gabor Apati-Nagy
50797b5805 CA-173497: Thin provisioning: Repair of SR of thin-provisioning on SR hang without return
-When detaching an SR, we detach the slaves first
-When reattaching the SR, we attach the master first

This fix was required by thin provisioning, but it does worth to use the same logic regardless of the provisioning method.
2015-07-24 14:48:09 +01:00
Mihaela Stoica
a07ba0e8cc CP-13081: Add opt-out button to the Health Check Overview dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 14:20:18 +01:00
Mihaela Stoica
b22331fb68 CP-13120: User-friendly errors when Health Check authorization fails 2015-07-24 09:01:04 +01:00
Mihaela Stoica
64aba9cbfd Merge pull request #569 from agimofcarmen/CP-13026
CP-13026: Provide Dismiss option on the Updates Tab.
2015-07-23 13:48:52 +01:00
Carmen Agimof
b1a2b49559 CP-13026: Changes code style and removes commented out code. 2015-07-23 13:48:30 +01:00
Carmen Agimof
f79199752a CP-13026: Provide Dismiss option on the Updates Tab. 2015-07-23 11:48:14 +01:00
Gabor Apati-Nagy
292dce47ad Merge pull request #550 from MihaelaStoica/CP-12679
CP-12679: Upload the report from the Server Status Report wizard
2015-07-23 11:40:10 +01:00
Mihaela Stoica
85e5308e51 Merge pull request #561 from agimofcarmen/CP-13040
Cp 13040
2015-07-21 11:42:24 +01:00
Gabor Apati-Nagy
aef08eb8ab CP-13101: XenCenter: Display provisioning method for existing SRs (thin / thick) 2015-07-20 20:40:28 +01:00
Mihaela Stoica
f727af1c51 CP-12679: Upload the report from the Server Status Report wizard
- added the upload action, called after the report is successfully saved on disk.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:51 +01:00
Mihaela Stoica
96f9b9c6ac CP-12679: Upload the report from the Server Status Report wizard
- make pre product key (used for authentication) configurable via registry entries

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:45 +01:00
Mihaela Stoica
df8ac2ce74 CP-12679: Upload the report from the Server Status Report wizard
- moved XenServerHealthCheckUpload.cs to XenModel

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:42 +01:00
Carmen Agimof
4c93dbe92e CP-13245: Check if the update is applicable to the servers on the Select Servers Page.
CA-157785: Hotfix wizard forgets which servers should be greyed out.
When clicking Download and Install update in the Updates Tab, instead of opening a new dialog, it opens the Updates Wizard on the Select Servers Page and download the file in the Upload Page.
Fixes issue regarding the upload of the update every time that the user gets to Upload Page. Now it only uploads it if it has not been uploaded before.
Fixes issue regarding the download of the update every time the user goes back to the Select Patch Page. If the user goes back, but does not change the choice of the update, the download will not be done again.
2015-07-20 14:28:44 +01:00
Mihaela Stoica
f262692693 Rename Health Check service name to "XenServerHealthCheck" 2015-07-17 16:05:15 +01:00
Mihaela Stoica
b4c8dec24e CA-176799: Change the description for HVM on VM's general tab
New text:
- Virtualization mode: Paravirtualization (PV)
- Virtualization mode: Hardware-assisted Virtualization (HVM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-16 11:01:17 +01:00
Mihaela Stoica
77bd9188ef Merge pull request #548 from cheng--zhang/CA-149851
CA-149851: Show hyphen if used memory have negative value
2015-07-15 09:26:13 +01:00
Mihaela Stoica
9e28b75f20 Merge pull request #547 from stephen-turner/CA-166091
CA-166091 Correct sort order for vGPU types
2015-07-15 09:25:36 +01:00
Cheng Zhang
1720b8788d CA-149851: Show hyphen if used memory have negative value
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-15 15:48:30 +08:00
Cheng Zhang
09d0245082 CP-12769: Send credential only when HealthCheckService is running.
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-15 13:49:23 +08:00
Stephen Turner
eed38cc613 CA-166091 Correct sort order for vGPU types 2015-07-14 17:29:53 +01:00
Mihaela Stoica
25b63f0161 Merge pull request #541 from stephen-turner/CP-12966
CP-12966 GPU drop-down to behave correctly when there is one vGPU typ…
2015-07-14 10:08:10 +01:00
Mihaela Stoica
26ee98c5c9 Merge branch 'CP-13039' of https://github.com/agimofcarmen/xenadmin into agimofcarmen-CP-13039
Conflicts:
	XenModel/Messages.Designer.cs
2015-07-14 10:00:11 +01:00
Stephen Turner
8646a1ca3a CP-12966 GPU drop-down to behave correctly when there is one vGPU type and no passthrough 2015-07-13 16:27:18 +01:00