Commit Graph

2715 Commits

Author SHA1 Message Date
Mihaela Stoica
d650befbdc CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:52:24 +00:00
Mihaela Stoica
55a0939c93 CP-14641: Update model with the new API bindings containing new fields for CPU leveling
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:45:49 +00:00
Mihaela Stoica
2f1e5c38bb Merge pull request #721 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk:
2015-10-29 11:57:45 +00:00
Gabor Apati-Nagy
e42a0233e5 CP-12617: Port CP-12191 to trunk:
Updated test case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-29 11:54:24 +00:00
Mihaela Stoica
ffdede1ba7 Merge pull request #720 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk:
2015-10-28 14:11:32 +00:00
Gabor Apati-Nagy
fed8b7ccd7 CP-12617: Port CP-12191 to trunk:
Fixed build error: "ShowJustHostInSearch is not roaming"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-28 14:09:16 +00:00
Stephen Turner
c4c1f628b4 Merge pull request #719 from MihaelaStoica/CP-14085
CP-14085: Feature leveling not needed on pool-join
2015-10-28 14:03:15 +00:00
Mihaela Stoica
fe9f4cf555 CP-14085: Added Assert for CPU feature masking
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-28 14:02:29 +00:00
Mihaela Stoica
dfeb841e5a Merge pull request #709 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk
2015-10-28 13:26:36 +00:00
Gabor Apati-Nagy
f5dd0ed9c1 CP-12617: Port CP-12191 to trunk:
Removed two entries from Messages.resx that are not needed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-28 13:21:04 +00:00
Mihaela Stoica
0a6955d157 CP-14085: Feature leveling not needed on pool-join
Feature leveling should "just work" for Dundee and higher hosts, without the need for us to level them explicitly

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-23 12:08:19 +01:00
Mihaela Stoica
b605e429c6 Merge pull request #718 from MihaelaStoica/CA-180128
CA-180128: Fix the tests after adding a call to task.remove_from_oth…
2015-10-23 12:03:17 +01:00
Mihaela Stoica
f13086bf56 CA-180128: Fix the tests after adding a call to task.remove_from_other_config in the async action
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-23 12:02:21 +01:00
Stephen Turner
1589f53ac6 Merge pull request #717 from stephen-turner/CP-14647
Remove two more failing tests that test dead code
2015-10-22 18:21:36 +01:00
Stephen Turner
20076d6f49 Remove two more failing tests that test dead code 2015-10-22 18:20:37 +01:00
Stephen Turner
a705ecd4ab Merge pull request #716 from stephen-turner/CP-14647
Remove failing test that is testing dead code
2015-10-22 16:36:09 +01:00
Stephen Turner
aef3e6511b Remove failing test that is testing dead code 2015-10-22 16:35:37 +01:00
Stephen Turner
12c2afcd7d Merge pull request #713 from MihaelaStoica/CA-184560
CA-184560: Fix the issue when the RPU wizard cannot check the host version after reboot
2015-10-22 15:15:28 +01:00
Mihaela Stoica
08b5ee109b CA-184560: Resolve the host after reboot with UpgradeHostPlanAction.Host
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-22 13:51:14 +01:00
Mihaela Stoica
4f8ba529b5 Merge pull request #715 from stephen-turner/halt-carmen
Halt Carmen
2015-10-22 13:42:31 +01:00
Stephen Turner
a1fac213d4 Merge pull request #712 from MihaelaStoica/CA-178235
CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
2015-10-22 13:42:17 +01:00
Stephen Turner
0ba97743a2 Halt Carmen 2015-10-22 13:19:34 +01:00
Stephen Turner
e877faf32b Merge pull request #704 from MihaelaStoica/CA-184563
CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
2015-10-21 17:36:38 +01:00
Stephen Turner
61e92fe084 Merge pull request #714 from MihaelaStoica/CA-185737
CA-185737: Reattaching an existing SMB SR should not create a new one
2015-10-21 17:35:39 +01:00
Mihaela Stoica
cc67c313df CA-185737: Reattaching an existing SMB SR should not create a new one
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 17:14:09 +01:00
Mihaela Stoica
3b121c48a3 CA-184560: Fix the issue when the RPU wizard cannot check the host version after reboot
In the RPU wizard, after we notice that the host has been rebooted we try to resolve the host from cache, but sometimes the cache is not populated at that point.
Then, because we cannot resolve the host, we cannot check the host version and we assume is a newer version (which might not be true).
This commit adds a call to retry to resolve the host (with timeout).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 16:53:24 +01:00
Mihaela Stoica
dc986909fc CA-180128: Fix the tests after the changes to remove the task.other_config key
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 13:02:40 +01:00
Mihaela Stoica
b74966274b CA-178235: Re-enabled test in VMLifecycleCommandTestMidnightRide
- believed fixed with the previous commit that added lock for updating eventsList

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 11:27:54 +01:00
Mihaela Stoica
64668de9ae CA-184563: Removed SR.Provisioning function and the SrProvisioning enum, as they are not used
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 10:49:33 +01:00
Mihaela Stoica
a0662164e5 CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
- added a lock for updating the eventList
- re-enabled the test

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 10:41:23 +01:00
Stephen Turner
79c59fa5fa Merge pull request #702 from MihaelaStoica/CA-179515
CA-179515: Move to online help
2015-10-20 16:52:52 +01:00
Stephen Turner
8c44630972 Merge pull request #711 from MihaelaStoica/CA-180128
CA-180128: ExpectDisruption flag not working correctly
2015-10-20 16:40:46 +01:00
Mihaela Stoica
2d154cf8f7 CA-180128: Ignoring XmlRpcIllFormedXmlException in DoWithSessionRetry (when disruption is expected)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-20 11:02:01 +01:00
Mihaela Stoica
7c2bddd532 CA-180128: Remove the task.other_config key before adding it
- the remove is needed here because now we are doing these calls in DoWithSessionRetry, and sometimes even though a WebException is thrown, the key is added to the other_config and a then a retry fails
2015-10-20 10:42:49 +01:00
Mihaela Stoica
53e1153801 CA-180128: Ignoring more exceptions on the connection thread when disruption is expected
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-20 10:28:51 +01:00
Stephen Turner
f36c30362f Merge pull request #710 from GaborApatiNagy/master_windows_update
CP-14573: UI: Improvements on Upgrade VM UI
2015-10-19 18:06:22 +01:00
Gabor Apati-Nagy
ecdadf7798 CP-14573: UI: Improvements on Upgrade VM UI
Fixed build - warning as error errors...

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:59:52 +01:00
Gabor Apati-Nagy
6168c1bab8 CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:13:15 +01:00
Gabor Apati-Nagy
617ad06f1f CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:12:27 +01:00
Mihaela Stoica
fe03f1382f Merge pull request #708 from GaborApatiNagy/master_windows_update
Upgrade VMs
2015-10-19 16:29:52 +01:00
Gabor Apati-Nagy
fdfbe1daa0 CP-14573: UI: Improvements on Upgrade VM UI
Removed unneeded code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 16:28:27 +01:00
Gabor Apati-Nagy
f264fffe0c CP-14573: UI: Improvements on Upgrade VM UI
Fixed the checkbox logic - selected state is now preserved on search or update/refresh. All rows (that can be selected) are selected by default.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 14:23:54 +01:00
Gabor Apati-Nagy
4c321b0b6f CP-14573: UI: Improvements on Upgrade VM UI
Changed unit tests

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 13:47:00 +01:00
Gabor Apati-Nagy
a73a91c1a7 CP-14573: UI: Improvements on Upgrade VM UI
Fixed when to enable the Command, the screen uses the connection (works for standalone hosts)
Using CollectionChanged instead of BatchCollectionChanged
Removed unnecessary Invoke
Removed values from the VmUpgradeState enum

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 12:13:26 +01:00
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
Stephen Turner
423065a2c8 Merge pull request #707 from MihaelaStoica/CA-180120
CA-180120: Changed the progress description displayed on the Upload p…
2015-10-15 15:32:47 +01:00
Mihaela Stoica
c5827b1325 Merge pull request #703 from huizh/CA-185019
CA-185019: HealthCheckService should retrieve the server capabilities
2015-10-15 14:19:05 +01:00
Mihaela Stoica
5c80fcc4ea CA-180120: Changed the progress description displayed on the Upload page in the Patching wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-15 14:15:10 +01:00
Stephen Turner
614cb4a031 Merge pull request #706 from xenserver/MihaelaStoica-patch-3
Increased timeout of checkUploadLock test, as it usually takes more t…
2015-10-14 15:05:30 +01:00
Mihaela Stoica
1ade8b90af Increased timeout of checkUploadLock test, as it usually takes more than a minute to run 2015-10-14 14:51:11 +01:00