Commit Graph

83 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Gabor Apati-Nagy
c73f7d5115 Merge pull request #410 from MihaelaStoica/CA-164816
CA-164816: After disabling HA on a pool, it should be possible to apply vGPU/GPU Passthrough to previously protected VMs
2015-03-31 17:39:09 +01:00
Gabor Apati-Nagy
0db5b1414f CA-157503: GPU preference dialogs refer to vGPU instead of GPU
-changing "vGPU" to "virtual GPU"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-30 16:21:46 +01:00
Mihaela Stoica
bb14ac0abd CA-164816: After disabling HA on a pool, it should be possible to apply vGPU/GPU Passthrough to previously protected VMs
- When deciding whether to allow GPU configuration on a VM, check if the HA is enabled, not just the the VM's restart priority setting

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-26 16:57:25 +00:00
Gabor Apati-Nagy
2e6276272a CA-164819: On board VGA appears on GPU list
-We used to check host.RestrictVgpu instead of checking the API version when populating the dropdown on the GPU Settings page. This is not sufficient anymore as it depends on the license too, so changed the code to check version (vGPU was introduced in Clearwater SP1).
2015-03-26 12:13:04 +00:00
Stephen Turner
e909d9aa92 CA-165108: On power-on properties, a change of script name isn't saved 2015-03-20 14:21:26 +00:00
Stephen Turner
2c0c96d577 CA-151447: Uninternationalised string wake-on-lan 2015-03-20 14:21:18 +00:00
Mihaela Stoica
3b51c5d9ae CP-10900: Changed the text slightly on the VM Container Management page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 14:27:25 +00:00
Mihaela Stoica
235f404ea7 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- changes following code review: simplified the code that determines the current state; and renamed some variables.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 16:49:58 +00:00
Mihaela Stoica
9c0bdcf08c Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10625 2015-02-25 15:50:59 +00:00
Mihaela Stoica
bf2e9bcfb1 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- Added a "Integrated GPU passthrough" section to the PoolGpuEdit page.
- This section is only visible for a host that has GPU capability and the enabling/disabling of integrated GPU passthrough is not restricted.
- With this addition, the GPU page can now be displayed for a pooled host as well (previously only pool or standalone host)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 13:01:03 +00:00
Mihaela Stoica
be2982b439 CP-11179: Rename 'Container Enlightenment' to 'Container Management'
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:46:11 +00:00
Mihaela Stoica
45405bb5c9 CP-11159: Only display the Cloud Config page if the "xscontainer" supp-pack is installed.
- this applies to the Cloud-config page on the New VM Wizard and VM properties dialog.
- same for the container enlightenment page on the VM properties dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 11:01:39 +00:00
Mihaela Stoica
640aef8c1e CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
- Changed 'Enlightenment' to 'Container Enlightenment'

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 11:42:29 +00:00
Mihaela Stoica
c3b667ec7f CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
New Page: Enlightenment on VM Properties Dialog, visible only for:
- VMs on Cream Or Greater hosts
- that can be enlightened, regardless of their power state

A VM can be enlightened if the key "xscontainer-monitor" exists in other_config.
A VM is enlightened if other_config:xscontainer-monitor if true.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 17:46:58 +00:00
Mihaela Stoica
ed6266a421 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- Added check for VM.CanHaveVGpu on the VM's GPU page (New VM wizard and Properties dialog)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-22 09:48:04 +00:00
Gabor Apati-Nagy
d50f8a7d94 Merge branch 'master' into master_github
Conflicts:
	XenModel/Messages.resx
	XenModel/XenAPI-Extensions/Host.cs
	mk/xenadmin-build.sh
2015-01-19 15:22:59 +00:00
Gabor Apati-Nagy
64394b66ff CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-16 15:13:38 +00:00
Gabor Apati-Nagy
f5df15fc24 CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7899

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-15 16:25:41 +00:00
sriharshak
5f8238d5cd CA-148683: Fxed the issue by adjusting the dimensions in JA 2015-01-06 10:58:07 +05:30
sriharshak
57df838b75 CA-153568: Fixed by changng the position of the fileds 2014-12-15 13:55:02 +05:30
sriharshak
5001822ae3 CA-148876 CA-150934 CA-149873 Fixes 2014-11-25 10:00:02 +05:30
sriharshak
63780dd191 CA-150219: Fixed by removing the unnecessary fields for JA and ZHCN 2014-11-21 13:27:35 +05:30
sriharshak
5d9240c31f CA-151648: Fixed the issue by changing the dimensions for JA 2014-11-20 13:49:50 +05:30
sriharshak
b47206aec2 CA-152087: Fixed by changing the positions for JA. 2014-11-19 20:03:16 +05:30
sriharshak
4fcd25d5a2 CA-150935: Fixed by adjusting the size for JA 2014-11-19 15:13:51 +05:30
sriharshak
d7d6f8ff24 CA:151447: Fixed the issue by changing the trnslation as suggested by linguist for ZHCN 2014-11-14 12:12:29 +05:30
sriharshak
365d159b02 CA-147609: Fixed the issue by changing the size fr JA and ZHCN 2014-11-06 16:26:26 +05:30
sriharshak
1b58ef2661 CA-149236: Issues fixed by changing the width of the string for JA 2014-11-05 11:49:49 +05:30
vetrivelc
62c2065b91 Fixes: CA-150023,150019,149973,149970
Translation updates & L10N Bug Fixes
2014-10-31 18:03:20 +05:30
vetrivelc
6e2e1a214d Iteration_002 translation check-ins 2014-10-14 21:41:41 +05:30
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Stephen Turner
079a15f75b Merge pull request #186 from Zhengchai/CA-134554
CA-134554: Hide Disk Read/Write configuration until the backend server side is ready.
2014-08-29 11:23:43 +01:00
Hui Zhang
18a462502c CA-142260: WLB setting: diaplay issue
Fix the following display issues:
1. Should leave more space upon pool granularity setting with XenCenter Chinese version.
2. "Close" should not be the default button when "Previous Section" or "Next Section" is enabled.
3. On WLB advanced settings page, the split line of pool audit granularity should extend and contract along with the size change of the form.
4. For large pool audit trail report, click "Next Section" till the report end, if change user/object/startdate/enddate, "Run Report" button is shown but disabled. Should enable it.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-21 18:38:21 +08:00
Zheng Chai
32c945e104 CA-134554 - Hide Disk Read/Write configuration until the backend server side is ready
Signed-off-by: Zheng Chai <zheng.chai@citrix.com>
2014-08-19 14:43:25 +08:00
Hui Zhang
6350e174bc CA-143823: Split line of pool audit trail granularity should not be displayed if connecting with WLB6.1
Hide the split line when the pool connects with WLB6.1 server.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-18 17:39:16 +08:00
Stephen Turner
9101c4cab6 Merge branch 'xs64bit' into detailedreports 2014-08-13 15:44:24 +01:00
Gabor Apati-Nagy
04b54b2d15 CP-9092: XenCenter work for Dom0 memory usage alert
-Fixing tab order

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-07 13:32:54 +01:00
Hui Zhang
f9d9198de2 CP-8868: Development for WLB Audit Report - XenCenter Part.
Update code to address the review comments.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-08-06 20:49:09 +08:00
Gabor Apati-Nagy
c57800113b CP-9092: XenCenter work for Dom0 memory usage alert
-Adding control domain memory usage alerts

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-08-05 21:40:26 +01:00
Hui Zhang
826d594cca CP-8868: Development for WLB Audit Report - XenCenter Part
Enhance WLB pool audit trail report:
1). Update advance settings to control audit trail granularity.
2). Update pool audit trail report to add user and object lists for selection.
3). Display large pool audit trail report with sections.
4). Localization for Chinese version.
5). Compatibility with WLB 6.5 and 6.1 or before.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2014-07-30 17:10:27 +08:00
Mihaela Stoica
3c051654d6 CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view)
-  Suppress reporting of success and failure for sub-actions:
The suppress history flag is set when the action is created and if is false (by default) the action is added to the history (the Events list).
In order to suppress history for the subactions, we need change all actions used in Edit pages so their constructor can set the SuppressHistory flag and then use these constructors with suppressHistory = true on all the implementations of IEditPage.SaveSettings() where an action is created
(then we need to remember to do the same everytime we introduce a new page and / or "save" action).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-21 11:19:04 +01:00
Mihaela Stoica
5e13fd1d01 CA-115742: Removed unused variable.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-26 10:19:35 +01:00
Mihaela Stoica
06e0ddacb7 CA-115742: VM name and description change not allowed via XenCenter for VM Admin - FIXED
The error has been caused by the shadow multiplier field on Advanced Settings page: XenCenter thinks that the values has changed, and tries to save it, but this is not allowed for VM Admin users.
The solution is:
- use -1 as the signal value for unparseable string, instead of 1.0, which is actually a valid value;
- display the existing value without formatting it to 2 deciaml places;
Also corrected the validation function, as the shadow multiplier has to be greater than or equal to 1, not 0.1.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-25 12:18:24 +01:00
Mihaela Stoica
b0d2958ac0 CP-8120 Set cores per socket through XenCenter: Added text explaining the invalid vCPU configuration on the New VM Wizard and VM Properties dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-06 15:33:22 +01:00
Mihaela Stoica
17527eebe4 CP-8120 Set cores per socket through XenCenter. Added 'Topology' field to the VM properties Dialog
- Added Topology drop-down box with available values for sockets and cores per socket, so that the number of vCPUs is divisible by the number of cores per socket.
E.g. if user specified 8 vCPUs, Cores per socket can only be 1, 2, 4, or 8.
- This updates VM's platform:cores-per-socket property.
- Can only be set when the VM is shut down (similar to number of vCPUs).
- Text on CPU page - changed to include topology.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-05 13:00:14 +01:00
Mihaela Stoica
a6d7a7fea8 CA-121385 Allow creation of VLAN 0 in XenCenter. This applies to the New Network Wizard and the Network Properties.
- The VLAN can be set to 0 only for Creedence or greater hosts on the vSwitch backend.
- When VLAN 0 is selected, an info is shown next to the control, saying "VLAN 0 will receive all traffic not on any other VLAN"
- Also fixed an error on New Network Wizard, where the "VLAN in use" message was still visible when changing the NIC.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-05-20 12:38:03 +01:00
Mihaela Stoica
51dab8d65d CA-126455: VM Properties dialog: Fixed the bug where the home server value was reset on revisiting the page from other page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-04-29 10:07:54 +01:00
Mihaela Stoica
4f548d6320 CA-123013: Cloning from template shouldn't allow progress through the New VM wizard without shared SR.
On the affinity picker, the "no home server" radio button is disabled if there is no shared storage, except on editing an existing VM that already has no affinity.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-01-31 10:58:05 +00:00