Commit Graph

3978 Commits

Author SHA1 Message Date
Callum McIntyre
15e04d1a6d [CA-227845] Fixing problems caused by tooltip container on hotfix wizard mode page
Due to the tooltip container introduced for the automatic radio button, winforms didn't treat these radio buttons properly - we needed code to make them mutually exclusive, tab didn't behave properly and keyboard arrow navigation between them didn't work. Therefore I have removed the tooltip container (so our radio buttons behave properly without any extra work) and we instead use a winforms tooltip shown when the mouse is over the automatic radio button. Note that since the control is disabled when we want a tooltip, neither hover events nor attaching a winforms tooltip in the usual way will work. Therefore I use a mousemove event on the table, which displays the tooltip if and only if we are over the disabled control. Also adjusted the tab indexes to make sure tab works correctly across the whole page.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-04 17:09:52 +00:00
Usha Mandya
ccd6c48eb6 Added new topics for PVS and Dom0 memory 2016-11-04 17:00:52 +00:00
mcintyre94
7fc64e916e Merge pull request #1263 from MihaelaStoica/CA-147722
CA-147722: Truncation issue occurred on CPU & Memory window when VM m…
2016-11-03 17:01:49 +00:00
Callum McIntyre
9b1a3315f0 [CA-226897] Resume on Server option won't automatically resume the VM
The resume on server uses the CrossPoolMigrateCommand to implement the migration of the VM to the desired host. Before this change that command had no support for resuming a VM after migrating it, so the VM was not resumed. With this change, the CrossPoolMigrateWizard can take an optional (default false) parameter to restart the VM after migration. When this is true, the migrate action becomes a MultipleAction, first migrating and then restarting the VM.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-03 15:35:25 +00:00
Mihaela Stoica
af8c178712 CA-147722: Truncation issue occurred on CPU & Memory window when VM memory more than physical memory.
Also aligning the warning icon with the label.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-03 15:30:56 +00:00
Mihaela Stoica
aca6c41aef CA-226103: Hotkey conflict in the “Choose the type of new storage” UI while creating new storage
Also changed the page to use different resource strings for the Storage type in the right hand panel (no hotkeys should be shown there)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-03 13:55:46 +00:00
Gabor Apati-Nagy
4087365afb Merge pull request #1259 from kc284/master
Changes for CP-18097 and some removal of obsolete code.
2016-11-03 10:59:34 +00:00
Mihaela Stoica
adc14cc415 Merge pull request #1261 from ravibharath/helpchm_ravi
xencenter help latest with vcpu and livepatching content
2016-11-03 09:28:44 +00:00
Ravi Bharath Shanmugiah
9cb79877f8 xencenter help latest with vcpu and livepatching content 2016-11-03 13:17:05 +05:30
Konstantina Chremmou
fae16a9c92 CP-18097: package the english and l10n installer in a tar.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-02 21:09:27 +00:00
Konstantina Chremmou
864386daa1 We don't push automatically to xenadmin-ref.hg any longer, hence remove the relevant bits.
Also remove config.xml as completely out of sync with the confiuration on the build machine.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-02 21:09:10 +00:00
Callum McIntyre
a1e254e7a4 [CA-225715] Performance Graph reporting for CPU for a VM based on max VCPUs(not current vcpu)
Instead of using VCPUs_max, use VCPUs_at_startup, which is the value set when we change the VCPUs count on the VM. Note that despite its name we don't need to restart to see this value change.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-02 17:24:51 +00:00
Mihaela Stoica
04da4ed5c3 Merge pull request #1258 from cheng-z/CA-227274
CA-227274: Fix CN and JP version process lable size
2016-11-02 11:47:44 +00:00
Cheng Zhang
0b27b36d9b CA-227274: Fix CN and JP version process lable size
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-11-02 18:05:36 +08:00
Stephen Turner
74a911b68d Merge pull request #1256 from mcintyre94/CA-227608
[CA-227608] Change HA intro page wording
2016-11-01 17:49:29 +00:00
Callum McIntyre
8e88d9d36d [CA-227608] Change HA intro page wording
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-01 17:42:00 +00:00
Mihaela Stoica
adaa084d7a Merge pull request #1255 from GaborApatiNagy/master_packaging_fixes
Packaging-related bugfixes
2016-11-01 17:02:18 +00:00
Mihaela Stoica
30bf42c00e Merge pull request #1254 from mcintyre94/CA-227602
[CA-227602] Truncation on the Install Mode page in the Install Upgrade wizard
2016-11-01 16:44:39 +00:00
Gabor Apati-Nagy
75622ceece CA-226253 XenCenter: Handle new error code when a disk space precheck error occurs
Removed code that I used when dev testing

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-01 16:41:36 +00:00
Callum McIntyre
07f866e3a0 [CA-227602] Remove the unused bottom row from the table
This fixes the extra padding, we don't need that bottom row at all

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-01 16:32:45 +00:00
Gabor Apati-Nagy
0c9d9bfb89 CP-19304: Naming the VDI properly
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-01 15:47:13 +00:00
Gabor Apati-Nagy
bfdca9d7bf CA-226253 XenCenter: Handle new error code when a disk space precheck error occurs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-01 15:46:40 +00:00
Gabor Apati-Nagy
8867a6febf CP-19304: Bringing in new Error code from bindings
XenCenterBindings-130604c

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-01 15:44:25 +00:00
Callum McIntyre
722527f84e [CA-227602] Truncation on the Install Mode page in the Install Upgrade wizard
I've looked at how this was implemented in Dundee, and there we used an absolute height on the row containing the manual checkbox. I've done the same here, changing row 3 from autosize to absoliute 47px. I've also removed the empty row that was between the two radio buttons. This is a Winforms problem, without workarounds an autosize radio button in an autosize container (say the table row) will report its height as one row of text, no matter whether it needs more. This seems to be the only place we use a long radio label (as opposed to a separate label underneath the radio), so I doubt it's worth doing anything more complex than this. I've tested it with the CN string used in the ticket, and it uses less space than the English translation. The string also hasn't changed from Dundee.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-01 15:17:43 +00:00
Mihaela Stoica
1975675f53 Merge pull request #1253 from GaborApatiNagy/CA-227067
CA-227067: General tab: XenCenter does not show Reboot required when Toolstack restart required
2016-11-01 11:50:08 +00:00
Gabor Apati-Nagy
aaa041ae82 CA-227067: General tab: XenCenter does not show Reboot required when Toolstack restart required
Fixed the displayed text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-01 11:27:00 +00:00
Mihaela Stoica
b766e6e4b5 Merge pull request #1248 from mcintyre94/CA-203752
[CA-203752] New VM from Snapshot doesn't use default host
2016-11-01 11:14:07 +00:00
Mihaela Stoica
8f7c34c33f Merge pull request #1247 from mcintyre94/CA-207601
[CA-207601] License expiry time in general tab is incorrect
2016-10-31 15:29:26 +00:00
mcintyre94
a91280fc73 Merge pull request #1252 from MihaelaStoica/CA-227072
CA-227072: Improvements to the confirmation message on deleting a site
2016-10-28 17:21:32 +01:00
Mihaela Stoica
84f0a3a3ea CA-227072: Improvements to the confirmation message on deleting a site
- show a different message when deleting a Cache Configuration (a PVS_site object) that is actively in use by a PVS site
- some more text changes on the "Configure PVS Cache" dialog

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-28 16:58:15 +01:00
mcintyre94
5518efaa69 Merge pull request #1245 from kc284/master
CA-226817: Do not allow OVF/OVA import on a host incompatible with th…
2016-10-28 15:46:15 +01:00
Mihaela Stoica
f0472aea02 Merge pull request #1251 from mcintyre94/CA-226116
[CA-226116] Add Windows update as a hidden feature
2016-10-28 13:16:27 +01:00
mcintyre94
2567c2fb4a Merge pull request #1250 from MihaelaStoica/CA-227166
CA-227166, CA-227277: Switch from SuppPacks to Updates for pvsproxy and container supp packs
2016-10-28 13:15:34 +01:00
Mihaela Stoica
757bca9676 CA-227277: XenCenter does not recognise the xscontainer supplemental pack in the new format
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-28 13:08:43 +01:00
Mihaela Stoica
1e31543bbf CA-227166: PVS tab not visible in XenCenter with PVS proxy supp-pack installed
- use the applied updates when checking if the PVS supplemental pack is installed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-28 13:07:53 +01:00
Callum McIntyre
034a686947 [CA-226116] Add Windows update as a hidden feature
If windows_update is in the hidden features registry key, then we hide the virtualization state line about Windows update.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-28 12:58:23 +01:00
Mihaela Stoica
f8274705c9 Merge pull request #1249 from kc284/master2
Avoid KeyNotFoundException when moving VMs with unresolved VDIs
2016-10-28 12:31:32 +01:00
Konstantina Chremmou
c7994c286d CA-227272: Ignore unresolved VDIs first, then check if the storage mapping contains
the resolved ones and then try getting the target SR from the mapping.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-28 10:57:10 +01:00
Callum McIntyre
e6cc09ae87 [CA-203752] New VM from Snapshot doesn't use default host
The reported bug was that the new VM would crash because when clicking through the wizard the pool master is selected by default, not the slave the VM snapshot is on. We already select a default host when a new VM is created from a selected host using HostAncestor, but this property is null for a template (which isn't in the server/VM tree). The fix is that if the selection is a template (which it is when we use new VM from Snapshot) then we instead use its host (using Home()) as the default host. Now the correct host is selected in the VM wizard and the VM creation succeeds.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-27 17:52:32 +01:00
Callum McIntyre
25c7accae5 [CA-207601] License expiry time in general tab is incorrect
The problem here was that TimeSpan.Minutes is always below 60, eg. for 67 minutes it is 7 (with TimeSpan.Hours being 1 then). So our TimeSpan was correct, but if it was between 1 and 2 hours then we would write the minutes in the second hour (which is below 60), ignoring the hour. The fix is to use s.TotalMinutes which for 67 minutes is 67. Hours also had a similar issue, except it would be off by 24 hours for spans between 1 and 2 days.
2016-10-27 16:07:07 +01:00
Konstantina Chremmou
3a2444ea49 CA-226817: Do not allow OVF/OVA import on a host incompatible with the VM's hardware
platform version. Also, preserve between export and import the VM's has_vendor_device settings.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-27 16:03:16 +01:00
Mihaela Stoica
8b9985f894 Merge pull request #1246 from GaborApatiNagy/CA-227067
CA-227067: General tab: XenCenter does not show Reboot required when Toolstack restart is required
2016-10-27 15:33:32 +01:00
Konstantina Chremmou
27f31431ca Merge pull request #1242 from mcintyre94/CA-223486
[CA-223486] Storage Link Status validation is wrongly included in Precheck During RPU
2016-10-27 15:26:40 +01:00
Mihaela Stoica
98133addc4 Merge pull request #1241 from mcintyre94/CA-220457
[CA-220457] Add friendly names for new graphs, and filter duplicates
2016-10-27 15:10:16 +01:00
Gabor Apati-Nagy
fa7dbc14ed CA-227067: General tab: XenCenter does not show Reboot required when Toolstack restart required
On the General tab XenCenter shows a list of updates that requires the host to be restarted. This is shown for applied updates for which the required guidance hasn't been done (eg. restartHost or restartAgent after-apply-guidances)

This commit fixes a regression that caused restartToolstack warnings to be not shown in the list of warnings.

The displayed messages are also improved, XenCenter will show Toolstack restart or host restart appropriately and not just restart only as it used to.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-27 14:27:20 +01:00
Callum McIntyre
c1e3346bd4 [CA-223486] Only add the licensing check if any hosts need to be checked
This will avoid having an empty group if no host needs checking.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-27 14:01:17 +01:00
Gabor Apati-Nagy
83b1fedaa1 Merge pull request #1244 from MihaelaStoica/master
Update the API bindings
2016-10-27 13:08:08 +01:00
Callum McIntyre
318faeedad [CA-223486] Refactoring and expanding fltering to all pre-Clearwater only checks
We now enumerate pre-Creedence and pre-Clearwater servers once, and check hosts only in those lists for the checks that only apply to those servers.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-27 11:39:01 +01:00
Mihaela Stoica
04bfa61958 Merge pull request #1243 from sriharshak/master
L10N:TRanslations checkpin
2016-10-27 11:03:13 +01:00
Mihaela Stoica
673e280c85 Update the API bindings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-27 11:01:50 +01:00