Commit Graph

1643 Commits

Author SHA1 Message Date
Sharath Babu
673ccee962 CA-255015: Network Name for newly created vlan needs renaming from XenCenter
Network name will be shown as Network <NIC_ID> on VLAN <VLAN_ID>

Signed-off-by: Sharath Babu <Sharat.Babu@citrix.com>
2017-05-31 09:20:41 +05:30
Mihaela Stoica
2197b40db8 CA-242134: Remove the VMPP code: move actions into the VMSS folder
and rename the CreateVMSS file to match the action's name

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 15:17:20 +01:00
Mihaela Stoica
1bae482bc5 CA-242134: Remove the VMPP code: changes following code review
- removed unused methods and properties from the NewPolicyWizard class
- made the wizard pages private in the NewPolicyWizard class
- removed unused constructor from the NewPolicySnapshotTypePage class
- removed unused property from the PolicyHistory class
- removed the public properties TreeView and DataGridView from the SnapshotsPage
- removed the PolicyType from the PolicyAlert class and the constructor that is no longer used
- removed unused property from the VMSS class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 15:08:01 +01:00
Konstantina Chremmou
eb2e39a0c7 Merge pull request #1607 from MihaelaStoica/master
Fix the HealthCheck tests
2017-05-26 17:09:56 +01:00
Mihaela Stoica
f9b7f71b18 Fix the HealthCheck tests - cont.
- restore the "empty credential" test and update HealthCheck to ignore null or empty username and password
- also update XenCenter so it doesn't send null or empty username and password

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-26 16:54:38 +01:00
Mihaela Stoica
f752f05a1d CA-242134: Remove the VMPP code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-25 15:37:05 +01:00
Letsibogo Ramadi
fb5438282d CA-205187 - L10n: JA/SC: The websites are not shown as hyperlink on t… (#1591)
* CA-205187 - L10n: JA/SC: The websites are not shown as hyperlink on the “Health Check Privacy Statement” window

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-205187 - L10n: JA/SC: The websites are not shown as hyperlink

Fixed tab order

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-205187 - L10n: JA/SC: The websites are not shown as hyperlink

Added Japanese privacy policy

* CA-205187 - L10n: JA/SC: The websites are not shown as hyperlink

Fixed regression in tab order
2017-05-24 15:14:01 +01:00
Konstantina Chremmou
1a94ab1c5f CA-254412: Moved the XenObjectDownloader out of the XenAPI folder as it is
XenCenter specific and it is not retrieved from the SDK any more. Renamed
EventNextBlockedException to EventFromBlockedException since event.next() is now removed.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-05-24 09:23:47 +01:00
Konstantina Chremmou
6b4dd1d269 CA-254412: Removed legacy events system using event.next().
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-05-23 23:12:06 +01:00
Mihaela Stoica
ad6631f698 CA-253936: Fix proxy authentication in the XenServerHealthCheck service
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-23 16:57:38 +01:00
Gabor Apati-Nagy
02025aa2b4 CA-220047: Show proper precheck error when a VM cannot be migrated
Detect both VM_LACKS_FEATURE and VM_LACKS_FEATURE_SUSPEND, show proper error message on the pre-check page in the Install Updates Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-22 11:17:42 +01:00
Mihaela Stoica
443f01fa55 Merge pull request #1601 from xenserver/master
Merge master into management-on-vlan
2017-05-22 10:38:26 +01:00
Mihaela Stoica
1bc43eda7d Merge pull request #1586 from GaborApatiNagy/master_updates
CA-252877: Precheck actions not reverted on upgrading to new XenServer version using an update
2017-05-10 12:35:00 +01:00
Mihaela Stoica
d015ba223e Merge pull request #1575 from letsboogey/master
CA-251526 - Change template order in New VM wizard
2017-05-10 11:33:03 +01:00
Letsibogo Ramadi
0c7cf8678b CA-251526 - Change template order in New VM wizard
Moved "Legacy Windows" template to the bottom of the Windows templates
to discourage users from selecting it and avoid it being selected by default
at the top of the list as was the case.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-10 11:30:16 +01:00
Gabor Apati-Nagy
5eff76be28 CA-252877: Precheck actions not reverted on upgrading to new XenServer version using an update
Automated Updates now undo pre-check actions once it's finished wit the updates

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-10 10:06:41 +01:00
Mihaela Stoica
31c26aef22 Merge branch 'master' into CA-242134 2017-05-09 16:31:04 +01:00
Mihaela Stoica
dba1d05fcc CA-242134: Refuse connection to pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:54:26 +01:00
Letsibogo Ramadi
c1197fce61 CA-253011 - Update licence text
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-08 17:07:43 +01:00
Letsibogo Ramadi
7cf7601499 CA-253011 - Update license text 2017-05-08 16:57:17 +01:00
Mihaela Stoica
a31c31eb07 CA-242134: Remove licensing code targeting pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 13:40:48 +01:00
Mihaela Stoica
68aa91bcaa CA-242134: Remove code targeting pre-Clearwater hosts and unnecessary ClearwaterOrGreater checks
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 15:35:25 +01:00
Mihaela Stoica
78ad827cc4 CA-242134: Remove TampaOrGreater, its usages and unreachable code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 14:31:43 +01:00
Stephen Turner
85d13bdbb6 Remove case that is no longer hit, and that causes confusion because updates.xensource.com shouldn't be in the source 2017-05-03 16:02:31 +01:00
Mihaela Stoica
54c7ff3c29 Merge pull request #1570 from xenserver/master
Merge master into REQ-378
2017-05-03 09:43:42 +01:00
Letsibogo Ramadi
6fdc18e64f Merge pull request #1561 from MihaelaStoica/master
CA-249860: Local root user can not restart the toolstack from XenCent…
2017-05-02 15:06:51 +01:00
Mihaela Stoica
50dadf4ec6 Add InvernessOrGreater
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-02 11:29:39 +01:00
Mihaela Stoica
76b3c05b9a CA-250145: XenCenter cannot shutdown VM as VmPowerAdmin user if HA is enabled
The error was happening because of the Pool.sync_database call (when HA is enabled and the VM has a saved restart priority other than DoNotRestart) which requires pool admin or pool operator roles.
This call is not needed, so removing it.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 09:08:44 +01:00
Mihaela Stoica
ebbed16f54 CA-249860: Local root user can not restart the toolstack from XenCenter with AD enabled
Use the NewSession function which returns a session using the elevated credentials if they exist, otherwise using the connection's credentials

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-27 12:58:16 +01:00
Mihaela Stoica
3c861b0b7a Merge pull request #1558 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-26 14:06:15 +01:00
Gabor Apati-Nagy
141b670964 CA-249056: Add a unique ID to XenCenter Check For Update (#1537)
* CA-249056: Add a unique ID to XenCenter Check For Update

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Fixed the format of the User-Agent to comply with [1].

[1] https://tools.ietf.org/html/rfc7231#section-5.5.3

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-26 12:45:49 +01:00
Mihaela Stoica
fbcfe2ae41 Merge pull request #1552 from GaborApatiNagy/master_CA-250699
CA-250699: Added missing FriendlyNames (VM-snapshot-schedule)
2017-04-25 14:19:47 +01:00
Mihaela Stoica
6549b9173b Merge pull request #1525 from makunterry/private/kunm/CP-19639
Feature REQ-378 XenCenter part
2017-04-25 14:16:18 +01:00
Kun Ma
f533891df0 CP-21658: Refine control logic in PerfmonAlertOptionsPage
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-25 09:54:17 +08:00
Mihaela Stoica
1e46c29e48 CA-249845: Compiling the server status reports sometime fails with Sy… (#1542)
* CA-249845: Compiling the server status reports sometime fails with System.IO.IOException: The process cannot access the file because it is being used by another process

Add a retry mechanism around the File.Move, because the operation sometimes fails when there is an anti-virus running on the XenCenter machine (we are doing the move immediately after we finished writing the file and the anti-virus software might be checking the file at that point)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-249845: Compiling the server status reports sometime fails with System.IO.IOException: The process cannot access the file because it is being used by another process

Extract the move with retry into a separate function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-21 17:29:39 +01:00
Gabor Apati-Nagy
95507afbac CA-250699: Added missing FriendlyNames (VM-snapshot-schedule)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-20 17:22:16 +01:00
Kun Ma
e8b42696a8 CP-21658: Update Messages.resx for Chinese and Japanese
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-19 17:48:29 +08:00
vetrivelc
a291bd730a L10N:CA-205538 & other translation checkins 2017-04-19 14:36:03 +05:30
Kun Ma
c007194e06 CP-21658: Expose UI of feature REQ-378 to user when the XenServer support the feature
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-17 15:27:50 +08:00
Kun Ma
8c837bb2c2 CP-19639: Refine data structure for mail language
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-13 13:34:30 +08:00
Gabor Apati-Nagy
e3eddb42ee Merge branch 'master' of https://github.com/xenserver/xenadmin into CA-249084
Conflicts:
	XenModel/PoolJoinRules.cs
2017-04-11 17:41:36 +01:00
Gabor Apati-Nagy
3805bcef40 CA-249084: Fixes for code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-11 17:31:17 +01:00
Gabor Apati-Nagy
e6bf2f8374 CA-249084: Using BuildNumberRaw in LongProductversion from Falcon
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-11 16:29:57 +01:00
Gabor Apati-Nagy
72ceeb2de3 CA-249084: Removed obsolete functionality
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-11 16:01:20 +01:00
Gabor Apati-Nagy
32124f9e00 CA-249084: PoolJoinRules to ignore Build Number from Falcon
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-11 15:57:38 +01:00
Mihaela Stoica
9fb4de386f Merge pull request #1534 from kc284/master
CA-243971
2017-04-11 11:57:06 +01:00
Mihaela Stoica
8650f5880b CA-249824: Unable to create vlan, bond using XenCenter
- set managed=true, otherwise the network creation fails with the error "The network is not managed by xapi"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-10 07:49:51 -04:00
Konstantina Chremmou
a46815cc74 CA-243971: Check API version and database schema to decide whether a host can join a pool.
Removed check of the obsolete mercurial id.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-10 09:25:51 +01:00
Konstantina Chremmou
87e4111a53 Minor refactoring.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-10 09:10:00 +01:00
Konstantina Chremmou
4ee43a5b1a Bumped the API version.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-05 13:28:05 +01:00
Gabor Apati-Nagy
7bc6acd1a6 Merge pull request #1529 from MihaelaStoica/CA-249624
CA-249624: [XSO-707] Convert VM to Template from XenCenter is not wor…
2017-04-05 10:52:19 +01:00
Mihaela Stoica
456cef1125 CA-249624: [XSO-707] Convert VM to Template from XenCenter is not working if connected as an AD user
- Reset the action's Session after the PureAsyncAction is run to collect the RBAC method list.

Also fixes the bug where AD users cannot do multiple operations on the VMs [SCTX-2517]

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-04 11:26:16 +01:00
Kun Ma
6dc10c1490 CP-19453: XenCenter: Add mail-language to other-config parameters when configure e-mail options
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-01 11:21:21 +08:00
Kun Ma
22446010b4 CP-19639: Provide XenCenter UI configuration option for email alert charset
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-01 09:58:17 +08:00
Mihaela Stoica
6c260c04d0 CA-248471: XenCenter offers passthrough on unlicensed hosts even when it's not available
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-30 15:06:54 +01:00
Sharath Babu
06c6a33ad8 Incoporated below review comments
1. Added pool.management_reconfigure to RBAC check
2. Time out is enhanced to check host.IsLive metric()
3. Assert for down management and null check for new management is added
4. Updated comments in the code as suggested by Mihaela Stoica

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-03-30 13:04:02 +05:30
Mihaela Stoica
8ec9cbc63c Merge pull request #1520 from GaborApatiNagy/REQ-411_2
CP-21182: Improved wording in the Install Updates Wizard
2017-03-29 14:22:37 +01:00
Gabor Apati-Nagy
e2cddf0831 CP-21182: Improved wording in the Install Updates Wizard
Added missing line

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-29 14:19:24 +01:00
Gabor Apati-Nagy
6d6a9ed147 Merge pull request #1490 from MihaelaStoica/CA-152101
CA-152101: Incorrect error when trying to license pool with old licen…
2017-03-28 14:31:58 +01:00
Mihaela Stoica
47ccbd4581 Merge remote-tracking branch 'upstream/REQ-411' into REQ-411
Conflicts:
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.resx
2017-03-28 12:44:54 +01:00
Gabor Apati-Nagy
acf6bc5ef8 CP-21182: Improved wording in the Install Updates Wizard
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-28 11:17:26 +01:00
Mihaela Stoica
40680b09ea CP-21574: Add checkbox on the Select Servers page for applying all the released updates after the new version is installed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-27 16:12:49 +01:00
Gabor Apati-Nagy
a6486e405e CA-248247: Improved wording
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-23 16:58:32 +00:00
Mihaela Stoica
7f8ca3020c Merge pull request #1510 from MihaelaStoica/master
Revert the changes to the XenAPI/Relations
2017-03-23 15:52:18 +00:00
Mihaela Stoica
6e69052711 Revert the changes to the XenAPI/Relations
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-23 15:49:56 +00:00
Mihaela Stoica
585ace8ac0 Merge pull request #1508 from MihaelaStoica/master
Revert the changes to the ResourceManager in FriendlyErrorNames
2017-03-23 14:06:15 +00:00
Mihaela Stoica
411e9825e1 Revert the changes to the ResourceManager in FriendlyErrorNames 2017-03-23 13:55:28 +00:00
Konstantina Chremmou
8f1a539cca Merge pull request #1501 from stephen-turner/CA-248252b
CA-248252: Show version numbers for updates
2017-03-23 12:39:39 +00:00
Stephen Turner
be746126a1 Fix typo 2017-03-23 12:28:32 +00:00
Konstantina Chremmou
07c0ad25cf CA-248087: Updated API bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-03-23 12:20:07 +00:00
Gabor Apati-Nagy
40074d5969 Merge pull request #1491 from MihaelaStoica/CA-242918
CA-242918: Improve the exception shown in XenCenter if the hotfix upl…
2017-03-22 11:05:51 +00:00
Mihaela Stoica
b65084fdc3 CP-21184: Add a check for the XenCenter version
- On the Updates tab: for new versions, check that the version of XenCenter is at least the latest. If not, give an additional option to download a newer XenCenter (for both updates and upgrades), and not offer "Download and Install" (for updates).
- In the Patching wizard: if the update is a new version, we force the user to first update their XenCenter to the new version
- In the RPU wizard: if the server version is not the latest and their XenCenter version is not the latest from updates.xml, we assume that they want to upgrade to the latest XenServer version and we force the user to first update their XenCenter to the latest version.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-22 10:59:32 +00:00
Mihaela Stoica
9506a0152c CP-21178: Fix the IsVersionAvailableAsAnUpdate property
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-20 09:56:14 +00:00
Gabor Apati-Nagy
e97fbc8f2e CP-21178: Extend metadata on XenServerVersion
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-17 10:57:43 +00:00
Mihaela Stoica
19f1460865 CA-137249: Strange 'Completed' text shows while enabling or disabling HA
Suppress updates to the status when the PureAsyncAction runs the action to populate the ApiMethodsToRoleCheck

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-16 13:31:51 +00:00
Mihaela Stoica
6b26093303 CA-242918: Improve the exception shown in XenCenter if the hotfix upload fails
When a TargetInvocationException is raised, its InnerException property holds the underlying exception, which is what we should display.
Also ellipsise the action description (which could be an error thrown by the upload action) that is displayed on the Upload page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-16 11:41:14 +00:00
Mihaela Stoica
37a287edd1 CA-152101: Incorrect error when trying to license pool with old license server
Try to match the alerts by message type, not by title, because for pooled hosts the title contains the host name followed by the friendly name, while for standalone hosts the host name is not included

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-16 10:40:41 +00:00
Gabor Apati-Nagy
b24aafc58a CP-21176: Showing XC version in the new version alert
keeping consistent to the server version's text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 17:31:32 +00:00
Gabor Apati-Nagy
d469d92357 CP-21176: Showing XC version in the new version alert
This way XC will display the name attribute of the XC-version which is expected to contain the LTSR string for LTSR version.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 17:27:04 +00:00
Gabor Apati-Nagy
04455b561b CP-21172: Support alerts for LTSR and CR XS versions at the same time
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 16:38:10 +00:00
Mihaela Stoica
802a90847a CP-21173: Show two latest XenCenter versions
- Add "latestcr" field to the XenCenterVersion class
- Change the Updates class to cope with multiple latest XenCenter versions

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-14 15:50:49 +00:00
Mihaela Stoica
31fc77fc3e Merge pull request #1482 from stephen-turner/CA-236692
CA-236692: XenCenter does not allow host with suspended Vms to join pool
2017-03-12 12:35:42 +00:00
Stephen Turner
24a9655988 CA-236692: XenCenter does not allow host with suspended Vms to join pool 2017-03-10 17:05:10 +00:00
Mihaela Stoica
174eb6c67f CA-230621: Disk space calculation is logged incorrectly in the XenCenter log
Only log the cleanup message if the available space is less than the required space

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-10 16:33:50 +00:00
Gabor Apati-Nagy
5f3d49e9da Merge pull request #1473 from letsboogey/gpu
CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model
2017-03-07 18:53:20 +00:00
Stephen Turner
e6ae98dd52 CA-137253: Make the error message more generic, because it can have various causes 2017-03-07 16:42:41 +00:00
Letsibogo Ramadi
34780b1e0a CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model 2017-03-07 16:13:53 +00:00
Sharath Babu
997b9f6367 Enable Pool join over VLAN 2017-03-02 16:11:00 +05:30
Sharath Babu
76814e14cf Adding new APIs for pool reconfigure managment interface 2017-03-02 16:00:09 +05:30
Sharath Babu
e2d6e6624e Use pool level api for changing Pool's management interface 2017-03-02 16:00:09 +05:30
Gabor Apati-Nagy
c96bb94583 CA-245545: The proxy server is no longer bypassed by the check-for-updates when it shouldn't be
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-02 10:15:41 +00:00
Gabor Apati-Nagy
48ce1f5229 Merge pull request #1458 from MihaelaStoica/CAR-2214-to-master
Merge CAR-2214 to master
2017-02-28 15:28:22 +00:00
Mihaela Stoica
7a04e5186e Merge remote-tracking branch 'upstream/CAR-2214' into master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	Jenkinsfile
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2017-02-28 10:30:02 +00:00
Mihaela Stoica
33979bb1f2 CA-236104: Do not allow pre and post Ely servers to be selected at the same time when the user browsed for an iso update or supplemental pack.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-27 16:45:34 +00:00
Mihaela Stoica
daa4d981b5 Merge pull request #1446 from geosharath/CAR-1841
CP-17253: [XC] Ability to select VLAN PIF as a management interface of a host/Pool
2017-02-23 09:22:56 +00:00
Sharath Babu
0dc313941c CP-17253: [XC] Ability to select VLAN PIF as a management interface of a host
This is allowed for both host and pool (on a host by host basis).

Signed-Off-By: Sharath Babu <sharath.babu@xitrix.com>
2017-02-22 18:47:12 +05:30
Frederico Mazzone
39c1169933 CA-244661: Improve dialog message for 407 proxy authentication error
Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-02-21 16:33:00 +00:00
Gabor Apati-Nagy
2de8f55e30 Merge pull request #1439 from letsboogey/funnylabelfix
CA-236150 - Funny label on status report wizard
2017-02-15 14:05:14 +00:00
Letsibogo Ramadi
10bb65d2f2 CA-236150 - Funny label on status report wizard
Changed label to a LinkLabel instead of RichTextBox. Also fixed similar bug on the healthcheck enrollment dialog.
2017-02-15 13:51:19 +00:00
Gabor Apati-Nagy
dbebd7de74 Merge pull request #1435 from kc284/master
Collect all 3rd party components in one place.
2017-02-14 12:34:44 +00:00
Stephen Turner
f3a64fc54b Merge pull request #1433 from geosharath/feature_merge
Scheduled Snapshots feature merge
2017-02-14 10:09:17 +00:00
vetrivelc
6d9273f304 L10N: Translation Changes & VMSS updates CP-20708 2017-02-14 03:27:38 +00:00
Mihaela Stoica
0ad2e19458 CA-242397: Fix format exception caused by incorrect chunk reading
Improved the ReadHttpHeaders function, by making sure that a chunk is read fully from the stream (the number of bytes read by the Stream.Read function can be less than the number of bytes requested, so we need to continue reading until the required number of bytes is read)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-10 12:21:59 +00:00
Mihaela Stoica
a9785f0efc Bring latest Http.cs from bindings 2017-02-10 12:19:56 +00:00
Konstantina Chremmou
a04b039870 Collected all third party libraries in one place so it's easier for developers to setup their system.
Added a help script to that purpose.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-02-09 20:27:03 +00:00
Gabor Apati-Nagy
88bc2a6367 CA-242309: Friendly names for the PVS-Accelerator status report
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-09 17:55:14 +00:00
Mihaela Stoica
ce48a73e6d Merge pull request #1430 from MihaelaStoica/CA-241725
CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
2017-02-08 14:03:19 +00:00
Mihaela Stoica
335bffefaa Merge pull request #1431 from geosharath/CP-20545
CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
2017-02-08 13:53:24 +00:00
Mihaela Stoica
58a2f6ded5 CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 12:08:59 +00:00
Gabor Apati-Nagy
6693570b11 Merge pull request #1428 from MihaelaStoica/CA-238265
CA-238265: Add the action title to the error message displayed on the…
2017-02-08 11:47:38 +00:00
Mihaela Stoica
20dff51109 Merge pull request #1424 from GaborApatiNagy/CA-241431
CA-241431: Using standard .net WebClient to download updates.xml
2017-02-08 11:31:28 +00:00
Mihaela Stoica
21c2296410 CP-19605: Improve the performance of the CreateNewRootNode function (#1429)
* CP-19605: Improve the performance of the CreateNewRootNode function

Make GroupKey a class and override GetHashCode and Equals

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CP-19605: Remove debugging lines

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 09:56:13 +00:00
Sharath Babu
087be4a776 CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-08 14:00:47 +05:30
Mihaela Stoica
ef331986c7 CA-238265: Add the action title to the error message displayed on the Install Update page of the patching wizard.
Also changed  ApplyPatchAction and ApplyUpdateAction to install a single update to a single host, so that the appropriate action title can be displayed if an action fails. And replaced 2 hardcoded strings with resource strings.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-06 13:04:07 +00:00
Mihaela Stoica
41adff4ea4 Merge pull request #1426 from geosharath/VMSS-B2B
B2B merge from master to VMSS
2017-02-06 09:26:32 +00:00
Sharath Babu
0800e361c6 Merge branch 'master' of https://github.com/xenserver/xenadmin into VMSS 2017-02-04 13:59:58 +05:30
Stephen Turner
d1b4b75258 Fix for NRE in fix for CA-214653 2017-02-03 14:57:42 +00:00
geosharath
ffc23c102e CP-20712: Add support for FalconOrGreater function in XC (#1418)
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 12:12:24 +00:00
Mihaela Stoica
f2f6afe52a Merge pull request #1422 from geosharath/CA-241847
CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies raises XenCenter error on XS 6.1
2017-02-03 10:35:42 +00:00
Sharath Babu
5595019d47 CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies
raises XenCenter error on XS 6.1

When Text is null error is raised by split() function, we
need to handle that case.

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 10:41:19 +05:30
Gabor Apati-Nagy
bab50d9fe9 CA-241431: Using standard .net WebClient to download updates.xml
A bit of improvement to prevent leaks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:35:02 +00:00
Gabor Apati-Nagy
266197ba01 CA-241431: Fixed DownloadAndUnzipXenServerPatchAction to use proxy settings
When working on this ticket (see previous commit), I noticed that the WebClient object used in DownloadAndUnzipXenServerPatchAction did not use XenCenter's proxy settings. This commit fixes this issue. By default (with no proxy being set) the proxy variable will be null as expected.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:29:19 +00:00
Gabor Apati-Nagy
28fe0de0c6 CA-241431: Using standard .net WebClient to download updates.xml
Using standard .NET Framework functionality instead of the custom implementation of the HTTP stack. (To download a single file.)
Note that this .net class WebClient is already being used to download hotfixes. However, in that code the proxy is not set, I am fixing that in a new commit on the same ticket.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:18:54 +00:00
Sharath Babu
b984c56661 CA-241883: [VMSS] Pool Operator/Pool Admin - VMSS Policy creation raises an assertion error in XC
A wrong api was being tested against the RBAC roles. Removed
vmss.protect_now and added vmss.snapshot_now.

Signed-Of-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-02 08:04:03 +05:30
Mihaela Stoica
9c77b65f24 CA-240544: Copied over the latest XenCenter bindings (#1420)
Including the friendly name for the new xapi error UPDATE_PRECHECK_FAILED_GPGKEY_NOT_IMPORTED
2017-02-01 13:37:17 +00:00
Mihaela Stoica
73293c7e4b Merge pull request #1401 from letsboogey/master
CA-239951 - Patching wizard allows selection of unreachable hosts
2017-01-30 11:02:38 +00:00
Letsibogo Ramadi
2aae7ab0f2 CA-239890 - EN: The update for PVS-Accelerator is displayed as “pvsaccelerator” on the “General” page.
Changes all update names to friendly names which are usually identical to the Name Description.
2017-01-26 10:39:06 +00:00
Sharath Babu
786b1cabcf Fixing build issues in Messages.Designer.cs
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 16:02:11 +05:30
Letsibogo Ramadi
045c405f92 CA-239951 - Patching wizard allows selection of unreachable hosts
Disabled the ability to select unreachable hosts and in addition
added a try/catch block to hide error message resulting from trying
to clean up an unreachable host.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-25 10:28:11 +00:00
Sharath Babu
4833565ec6 Fixing copyright check failures at build time
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 14:11:24 +05:30
Sharath Babu
ee4b2818f6 Merge remote-tracking branch 'xenserver/CAR-2205' into xenserver/VMSS
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-25 13:01:54 +05:30
Konstantina Chremmou
489d8684e4 Merge remote-tracking branch 'upstream/master' into CAR-2214
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	Branding/branding.sh
#	mk/archive-unsigned.sh
#	mk/build.sh
#	mk/bumpBuildNumber.sh
#	mk/copy-build-output.sh
#	mk/declarations.sh
#	mk/tests-checks-cover.sh
#	mk/tests-checks.sh
2017-01-24 14:46:57 +00:00
Sharath Babu
af182d9e7e CA-213512: [VMSS] XC mentions VMPR instead of VMSS on failure of snapshot
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-23 16:25:16 +05:30
Konstantina Chremmou
88b4104dac Moved the ProxyAuthenticationMethod enum to the HTTP class so the VNCControl can compile.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-20 14:47:04 +00:00
Mihaela Stoica
74885674c3 CA-238901: PVS proxy not setup for imported VM
For ElyOrGreater hosts, we try move the existing VIFs to the desired networks. We will only destroy and create new ones for older hosts or when a corresponding VIF cannot be found in the network mapping.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-20 12:54:13 +00:00
Konstantina Chremmou
a59e4f4ad3 Merge pull request #1382 from GaborApatiNagy/master_CA-176169
CA-176169: Copyright statement checking
2017-01-19 15:14:25 +00:00
Frederico Mazzone
76fd266913 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Properties/Settings.Designer.cs
	XenAdmin/Properties/Settings.settings
	XenAdmin/app.config
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs

Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-01-19 14:16:51 +00:00
Mihaela Stoica
2ae2bdfdd8 CA-182453: XenCenter does not show an active XenMotion in another session
Added "VM.pool_migrate" to the list of tasks suitable for meddling actions.
Removed the usage of MeddlingActionTitle other_config key, because it wasn't working as intended for two reasons:
- If XenCenter starts an action that does multiple async api calls, so multiple tasks, the action's title is assigned to all tasks as MeddlingActionTitles, so the second XenCenter instance would create multiple meddling actions with the same title.
- When a second XenCenter instance tries to see if a task is suitable for a meddling action, the MeddlingActionTitle is not yet present in the task's other_config, so the task is ignored in most of the cases.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-18 14:25:55 +00:00
Gabor Apati-Nagy
356a7ebdc4 Merge pull request #1372 from MihaelaStoica/CA-226900
CA-226900: Do not allow selection of individual pool members when ins…
2017-01-18 14:07:31 +00:00
Mihaela Stoica
3abce40f74 CA-226900: Do not allow selection of individual pool members when installing a hotfix
Changed the rubric on the Select Servers page.
2017-01-18 10:59:35 +00:00
Gabor Apati-Nagy
64a48133de Merge pull request #1385 from letsboogey/master
CA-237964 - Partitioning information on RPU shows XenServer 7.0 on Ely
2017-01-18 10:26:10 +00:00
Letsibogo Ramadi
1784528e03 CA-237964 - Partitioning information on RPU shows XenServer 7.0 on Ely 2017-01-18 10:21:32 +00:00
Gabor Apati-Nagy
fe24ba067f CA-176169: Added the comma to one more file
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-16 20:16:33 +00:00
Gabor Apati-Nagy
978f85233c CA-176169: Added copyright statement to files which it was missing from
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-16 20:14:56 +00:00
Gabor Apati-Nagy
7c0bc50b4a CA-176169: Changed copyright statements to include the comma in Citrix Systems,
Inc.

Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Mihaela Stoica
35be481839 Merge pull request #1381 from letsboogey/master
CA-144221 - EN: No wrap for the description and tooltip of SR through…
2017-01-16 17:16:05 +00:00
Letsibogo Ramadi
a2c6ddd4ef CA-144221 - EN: No wrap for the description and tooltip of SR throughput Alarm, tooltip seems truncation.
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-16 17:11:54 +00:00
Gabor Apati-Nagy
997e93d490 Merge pull request #1378 from letsboogey/master
CA-239308 - Collection of SSR Fails Due to Special Characters Present…
2017-01-12 16:28:23 +00:00
Letsibogo Ramadi
4fb81f6f13 CA-239308 - Collection of SSR Fails Due to Special Characters Present in File Names
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-12 16:20:54 +00:00
sri harsha tagore k
cb0a0e2267 L10N:Translations check-ins 2017-01-12 13:22:48 +00:00
Mihaela Stoica
6f9d691974 CA-237963: On a partially upgraded pool (from Dundee to Ely) the hosts lose their consoles
When getting the control domain VM, we should use the control_domain only if it is not null. there is no need to check the version (which was, however, looking at the API version of the master)
2017-01-09 16:14:03 +00:00
sri harsha tagore k
08edd54ac1 L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
Mihaela Stoica
ac1c2050d0 CP-20245: PVS Supplemental pack name change
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-06 12:25:07 +00:00
Mihaela Stoica
3f89610f75 CP-20245: Wording changes for change of feature name to PVS-Accelerator
- changes following the renaming of the RRDs

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-04 14:41:56 +00:00
Mihaela Stoica
e45accbe55 CP-20245: Wording changes for change of feature name to PVS-Accelerator
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-04 14:41:56 +00:00
Frederico Mazzone
f964fa88c6 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Core/Registry.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2016-12-23 14:10:43 +00:00
sri harsha tagore k
41335a1ca1 L10N:TRanslations checkins 2016-12-21 16:21:09 +00:00
sri harsha tagore k
fcda47d3a0 L10N:Translations check-ins
Cherry-picked: ff6a3984d5a97313903a4d230bca15e54674976e [ff6a398]
Author: sri harsha tagore k <sriharshatagore.karpurapu@citrix.com>
2016-12-21 16:20:30 +00:00
Mihaela Stoica
3d9d05b342 Merge pull request #1349 from GaborApatiNagy/CA-236566
CA-236566: test-hotfix-basic-7 throws error 'VDI is in use by some other operation'
2016-12-20 16:21:11 +00:00
Konstantina Chremmou
e176194a06 Merge pull request #1339 from GaborApatiNagy/master_CA-211363
CA-211363: Replace 'User name' labels with 'Username'
2016-12-20 09:44:25 +00:00
Gabor Apati-Nagy
cf123bdf1a CA-236566: test-hotfix-basic-7 throws error 'VDI is in use by some other operation'
Remove the VDI only on a best effort basis if the upload failed in the UploadSupplementalPackAction. This will make XenCenter to display the message from the original exception and not from the removal action if the latter had also failed.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-19 18:46:35 +00:00
Gabor Apati-Nagy
bff70c5c6a CA-211363: Replace 'User name' labels with 'Username'
Second round of renaming

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-16 18:36:35 +00:00
Gabor Apati-Nagy
751ba4956d Merge pull request #1303 from kc284/CA-104329
CA-104329: Removed calculation which might cause lag from the page lo…
2016-12-16 11:13:05 +00:00
sri harsha tagore k
2d5be4a0b8 L10N:Translations check-in/CA-235460 fix 2016-12-16 11:00:49 +00:00
Gabor Apati-Nagy
eac7109710 CA-236705: [XSO-662]: Applying Updates as Non-root Pool_admin user causes exception and crash of XenCenter
Fixed a typo that caused XenCenter to show a Trace error dialog (and to fail to do the clean-up) after applying an update in manual mode. (when RBAC is involved)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-15 18:04:40 +00:00
Gabor Apati-Nagy
c5c2906cb1 Merge pull request #1333 from MihaelaStoica/CA-235381
CA-235381: XenCenter should not allow users to edit the PVS cache sto…
2016-12-13 11:34:54 +00:00
Mihaela Stoica
ce554a7cd3 Merge pull request #1335 from GaborApatiNagy/CP-20065
CP-20065: Change "Automatic Update" to "Automated Updates"
2016-12-13 11:16:04 +00:00
Mihaela Stoica
30c30e85bb CA-235381: XenCenter should not allow users to edit the PVS cache storage if it is in use
- Replaced the information tooltip with a warning icon and label at the bottom of the page.
- Added some null checks

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-13 11:09:23 +00:00
Mihaela Stoica
3b0d7f7c32 Merge pull request #1328 from GaborApatiNagy/CA-207011
CA-207011: Don't allow XC to create more than one SMB ISO SR on the same share
2016-12-13 10:49:05 +00:00
Konstantina Chremmou
38bc4848bb CA-104329: Removed calculation which might cause lag from the page loading step;
have the wizard do it before we get there. Also, replaced the labels in such way
that, if there should be lag, the user will not see the draft message used only
on the designer.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-12-13 09:10:26 +00:00
Gabor Apati-Nagy
9d5e71326c CP-20065: Change "Automatic Update" to "Automated Updates"
changed more messages following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-12 18:12:01 +00:00
Gabor Apati-Nagy
5ed6a7c8ff CP-20065: Change "Automatic Update" to "Automated Updates"
more renaming

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-10 15:01:25 +00:00
Gabor Apati-Nagy
b0ca08ae6d CP-20065: Change "Automatic Update" to "Automated Updates"
made naming more consistent

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-10 14:44:15 +00:00
Gabor Apati-Nagy
5b6bedea48 CP-20065: Change "Automatic Update" to "Automated Updates"
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-10 14:19:37 +00:00
Gabor Apati-Nagy
122e6ae012 CA-207011: Don't allow XC to create more than one SMB ISO SR on the same share
fixed the name of a method

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-09 15:27:22 +00:00
Mihaela Stoica
1156d57787 CA-235381: XenCenter should not allow users to edit the PVS cache storage if it is in use
- On the PVS Cache Configuration dialog, disable the cache storage fields with an information tooltip stating that this PVS cache storage cannot be changed because it is in use.
- Also set the minimum width for the splitter panels, to avoid display issues when the splitter is moved and either of the panels becomes unusable.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-07 17:45:50 +00:00
Mihaela Stoica
e42bc87d17 Merge pull request #1323 from GaborApatiNagy/CA-234638
CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems
2016-12-07 15:09:24 +00:00
Gabor Apati-Nagy
0982e5d285 CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems
Sleep after an error has been seen

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-07 14:35:39 +00:00
Taoyong Ding
3917f9ec98 CA-207610: Alert references license server on host
Signed-off-by: Taoyong Ding <taoyong.ding@citrix.com>
2016-12-06 13:59:42 +00:00
Gabor Apati-Nagy
517b4cc45b CA-207011: Don't allow XC to create more than one SMB ISO SR on the same share
This commit uses the same logic that is used for NFS ISOs.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-06 11:27:53 +00:00
sri harsha tagore k
821f42e1f2 L10N:Translations check-ins 2016-12-02 20:13:49 +05:30
Gabor Apati-Nagy
e2e0c46fe6 CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems
This change implements a lightweight retry logic for downloading updates to protect against temporary network issues.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-01 17:50:25 +00:00
Mihaela Stoica
c395a8ce14 CA-233454: Fix the action test
Added an extra parameter to the CreateVmFastAction constructor, which is used to specify whether to set the VM's property IsBeingCreated. In order to set this property, we need to wait for the newly created VM to appear in the cache. But we cannot do this in the action test, because the cache is not being updated. Therefore the action needs skip this step when running from the tests. The IsBeingCreated property is only used in the UI, to refresh the PVS tab after the VM is created, so the accuracy of the action test (CreateVMFastActionTest) is not affected by this change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 12:09:03 +00:00
Mihaela Stoica
1aaa310c50 Merge pull request #1287 from kc284/master
CA-145890: added new Page to the options dialog where the user can co…
2016-12-01 09:39:22 +00:00
mcintyre94
7f2ecb6eab [CA-233454] PVS tab doesn't show a new VM when it's created (#1314)
* [CA-233454] PVS tab doesn't show a new VM when it's created

Refined the rules for not adding a VM to the table, if it is a template (thus not_a_real_vm), and it has the __gui__ prefix (thus hidden), we still add it, but hide it.
When its name is changed (to remove the __gui__ prefix), we update its name and re-calculate whether it should be visible (in the case of a new VM this will be true once the __gui__ prefix is gone). Also resort the table if a node changes from hidden to visible, because it appears as an addition to the table.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update criteria for VM visibility to include is_a_real_vm

is_a_template is changed before the name_label removes the __gui__ prefix, so this works with no other changes to the vm property changed event.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Update when the VMs are shown in the PVS list

New observable property IsBeingCreated for VMs, set to true when they're made a hidden object, and false when they're removed from hidden objects (both in CreateVMAction). In the PVS Page when this is set to false, we re-evaluate whether a VM can be shown. This means that new VMs show here at the same time they're added to the tree (only different is tree refresh time), instead of far earlier (and before their networks were added).

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>

* [CA-233454] Set IsbeingCreated in the CreateVMFastAction

* [CA-233454] Properly support the VM Fast Create action

Further changes to CreateVMFastAction, to ensure it works with PVS tab - use the __gui__ prefix when the VM is created and then change it back just before showing.

* [CA-233454] Small logic adjustments/tidying up
2016-11-30 12:24:02 +00:00
Gabor Apati-Nagy
8160066d29 CA-232944: Displaying server name as well
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-25 10:47:40 +00:00
Gabor Apati-Nagy
5cd032525c CA-229009: VDI is not deleted for the updates
If batch updating fails in a pool, this code will do the clean up by
running the appropriate (next in the queue) RemoveUpdateFilesFromMaster action. In addition to Pool_update.clean(), Pool_update.destroy() will be called when needed.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-24 10:40:06 +00:00
Mihaela Stoica
f05ca9e21f Merge pull request #1286 from mcintyre94/CA-227813
[CA-227813] Fixing some messages
2016-11-24 10:14:23 +00:00
Callum McIntyre
2d9969bba1 [CA-150027] Missing hotkey for “Rolling Pool Upgrade…” after right clicking Pool.
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-17 17:07:47 +00:00
Konstantina Chremmou
2e6b2d8995 CA-145890: added new Page to the options dialog where the user can configure how
confirmations are displayed. Added checkboxes to the dialogs requesting confirmation
of dismissal of notifications so the user can opt to skip this step.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-17 13:35:31 +00:00
Callum McIntyre
2a21e9ee97 Revert "[CA-227813] Update WLB_ERROR_4021"
This reverts commit 13c04c1286.

Previous message was fine, changing it back.
2016-11-17 12:03:12 +00:00
Mihaela Stoica
3d00db7264 Sort Messages.resx
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-16 12:35:09 +00:00
Callum McIntyre
b3e334654f [CA-229350] PVS allows Memory Only even when no control domain memory available
We now disable the Memory Only option if the available dom0 memory is less than the minimum the spinner supports (1Gb)
2016-11-14 14:59:57 +00:00
Callum McIntyre
13c04c1286 [CA-227813] Update WLB_ERROR_4021 2016-11-14 14:44:10 +00:00
Callum McIntyre
2cc3c5bd4c [CA-227813] Fixing some messages
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-11-11 17:24:57 +00:00
Mihaela Stoica
ab033700ad Merge pull request #1269 from mcintyre94/CA-228051
[CA-228051] XenCenter allows user to create unusable PVS Proxy cache config
2016-11-11 17:08:13 +00:00
Callum McIntyre
2dd94fed36 [CA-228051] Rework the messages to avoid using the new object one 2016-11-11 17:02:04 +00:00
Callum McIntyre
b255b3146b [CA-228051] Add a new string since we still need the "not configured" one, and remove the unused EnableableComboBox change 2016-11-11 17:02:04 +00:00
Callum McIntyre
ce9d8fd409 [CA-228051] XenCenter should notify user if the PVS Cache config is incomplete
Changes as discussed on the ticket: No longer disable the rows when they have a warning in the dialog, support warning about storage configuration as well as PVS configuration, and also include these warnings in the PVS page table.
2016-11-11 17:02:04 +00:00
Gabor Apati-Nagy
fe828463cf CA-227719: XenCenter to use new pre-check error messages
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-11 16:02:43 +00:00