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
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
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
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
Mihaela Stoica
62bc632f02
CP-13074: Update the URLs used for retrieving the analysis results
2015-09-07 17:58:53 +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
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
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
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
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
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
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
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
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
59a432ff40
CP-13374: Remove unused variable
2015-08-19 09:21:47 +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
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
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
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
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
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
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
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
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
b22331fb68
CP-13120: User-friendly errors when Health Check authorization fails
2015-07-24 09:01:04 +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
Mihaela Stoica
f262692693
Rename Health Check service name to "XenServerHealthCheck"
2015-07-17 16:05:15 +01: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
Mihaela Stoica
8679858177
Added copyright/license headers
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-10 13:36:26 +01:00
Mihaela Stoica
d366c57f55
CP-12890: Allow user to specify XenServer credentials to use for Health Check
...
- added new fields to the Health Check Settings dialog (XenServer credentials)
- these credentials are saved as xapi secrets, and on un-enroll they are being removed
- removed the Authenticate button; the authentication is now done on pressing the OK button
- the Health Check Settings dialog is displayed on "Enroll now" and "Edit Health Check settings"
- display the "Last Successful Upload" on the Health Check Overview dialog
- use uniform format when converting time to string and string to time
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-06 17:02:55 +01:00
Cheng Zhang
a0431e5cb9
CP-12770: rework comments
...
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 19:12:43 +08:00