Commit Graph

1688 Commits

Author SHA1 Message Date
Ji Jiang
8b2bc83a12 CP-23453: Populate "By Host" view in Updates page
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 15:32:47 +01:00
Mihaela Stoica
d4c980dbfd Merge branch 'master' into REQ-230 2017-09-18 13:12:06 +01:00
Hui Zhang
80a7da6e5e CP-23604: Pick the latest XenAPI bindings.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-09-18 13:11:06 +01:00
Hui Zhang
7298b085be CP-23604: Fix the comments to merge to XenAdmin master.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-09-18 11:42:13 +01:00
Ji Jiang
e3c869ccee CP-24344: Fix the REQ-67 build failure
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-15 12:27:15 +01:00
Konstantina Chremmou
673846924b Do not set API object properties that have a default value of "OpaqueRef:NULL" to null.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 12:48:05 +01:00
Konstantina Chremmou
915059d099 The Proxy_xxx classes should not be used outside the API bindings (in reality
these classes should have been internal).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-14 11:52:15 +01:00
Konstantina Chremmou
4c033a6b44 CP-24196: Initial implementation of switching XenCenter to use the JsonRpc backend.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:11 +01:00
Konstantina Chremmou
d134317463 Simplified logging of xml-rpc requests and responses.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:10 +01:00
Ji Jiang
23c903af09 CA-265029: Disable "Move VM" on CBT enabled VM
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-13 14:32:16 +01:00
Mihaela Stoica
92b3dc8395 Merge pull request #1757 from xenserver/REQ-420
Merging REQ-420 into master
2017-09-13 12:35:50 +01:00
Ji Jiang
48afa741b1 CP-24344: Fix and refactor CBT implementation
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-11 14:41:36 +01:00
Konstantina Chremmou
37e3810d73 Removed the background worker and added an async action to retrieve the local
server time (previously on the UI  thread) and also update the message list
for each snapshot schedule. Preserve column sorting and multiple selection
when the list is rebuilt. Do not enforce minimum size on the form since it
is not resizable.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-11 13:22:12 +01:00
Ji Jiang
b19b60f442 CP-24344: Add "Disable CBT" menu item under VM
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-08 14:03:54 +01:00
Konstantina Chremmou
dd76b9f0d5 CA-265044: Text corrections on the New VMSS Schedule wizard; image correction
on the VM Snapshots page; update VM's status on the Snapshots page when the
VM's membership in a policy changes.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 12:56:41 +01:00
Konstantina Chremmou
d9aeeb15e5 Rewriting of the Snapshot Schedule dialog for performance optimisation.
Merged the PolicyHistory control into the dialog; removed legacy column from
the policies datagridview; put retrieval of messages on a background thread
to avoid UI freezing if there is a huge number of messages; retrieve messages
only when the VMSS collection changes and not every time the run history grid
is repopulated; sorted out button enabled state.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-07 11:02:07 +01:00
Ji Jiang
f724efdabb CP-24348: Update XenAPI based on XS/master
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-05 12:23:23 +01:00
Konstantina Chremmou
514c33140b Converted remaining extension get and set properties of the API classes to methods
in order to prevent them from being serialised alongside the API properties.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-05 02:15:38 +01:00
Konstantina Chremmou
71301eb332 Removed the extension Properties from the VMSS class. Removed the GetVMSSAlertsAction;
it's not needed as it does not make server calls. Some more refactoring and corrections
here and there.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-04 23:07:22 +01:00
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Konstantina Chremmou
89c14d7176 Moved multiple copies of method setting other_config keys to the parent class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
da3cd070ee Removed VIF.RateLimited property because usage on the VIFDialog shows it is
occasionally preferable to access the qos_algorithm_type directly.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
4825b60a60 Moved UI logic from the VM extensions to the SnapshotsPage.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
85d398d067 Moved the SR.GetIcon() method to XenAdmin where it belongs.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Konstantina Chremmou
880d56b30f Renamed method so it's more obvious what it does.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:23 +01:00
Mihaela Stoica
6a2f77c9f6 CA-264439: Change the XenCenter version check to return just a warning in the RPU wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-31 09:51:20 +01:00
Mihaela Stoica
c59a3d14c4 CP-24213: Show CUs as updates
CUs are available as both updates and upgrades, but they should be presented as updates where possible.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-25 10:56:04 +01:00
Mihaela Stoica
86d2acee7f Merge branch 'master' into REQ-411
Conflicts:
	CFUValidator/CFUValidator.cs
	CFUValidator/OutputDecorators/XenCenterUpdateDecorator.cs
	CFUValidator/OutputDecorators/XenServerUpdateDecorator.cs
	XenAdmin/TabPages/ManageUpdatesPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenModel/Actions/Updates/XenCenterVersion.cs
	XenModel/Actions/Updates/XenServerVersion.cs
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2017-08-23 16:32:39 +01:00
Stephen Turner
89f51e90a1 CA-258782 Remove thin provisioning code (#1728)
* CA-258782 Remove thin provisioning code

* Revert file that shouldn't have been touched

* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Hui Zhang
d8c248fa76 CP-23604: Add IGMP snooping toggle.
Add the toggle to enable/disable IGMP snooping.
Display the property if the pool is licensed
and the network backend is OVS.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2017-08-16 12:32:18 +08:00
Gabor Apati-Nagy
48134dfd14 Merge pull request #1723 from xenserver/REQ-473
Merge from REQ-473
2017-08-09 10:47:01 +01:00
Mihaela Stoica
5b75b5f25d CA-260365: Hide the build number from the General Tab for Ely and newer hosts (to cover the Honolulu case)
Also restrict the use of build number as an integer to pre-Ely hosts (because a Honolulu host has a non-numeric build number and XenCenter doesn't know the difference between Ely and Honolulu)
And a small update to the pool join rule to match what we have in Honolulu XenCenter (check the database schema regardless of the version)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-27 14:47:12 +01:00
Mihaela Stoica
2a4335231e Merge pull request #1697 from kc284/CA-257927
CA-257927: Fixed scalability issue where XenCenter froze momentarily when disconnecting from a host with a big number of alerts
2017-07-26 08:43:22 +01:00
Mihaela Stoica
b783bff444 CA-260364: Pool join in XenCenter: Use homogeneity flag from other_config for Ely/Honolulu hosts (#1710)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-24 15:05:14 +01:00
Konstantina Chremmou
ad7e2fa6a6 CA-257927: Changed ChangeableList.RemoveAll method to fire the CollectionChangedEvent
once for all the items to be removed, passing in their list as argument. This method,
and the method Clear calling it, are used for alerts, updates, events and connections,
hence changed the handling of the CollectionChanged event in these cases to expect
either a single item or a collection. In the case of alerts, updates and events
this means that we can rebuild the whole list instead of removing single rows which
causes the application to hang for big numbers of items.
2017-07-24 14:48:02 +01:00
Letsibogo Ramadi
c44f89bf05 CA-249823 - Accept zip files in Updates Wizard (#1667)
* CA-249823 - Accept zip files in Updates Wizard
* CA-258326 - Improve implementation of CA-248823(Accept zip files in Updates Wizard)
* Small unrelated bugfix: Stop selectFromDiskRadioButton being checked when
restoring dismissed updates.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-21 15:56:27 +01:00
Mihaela Stoica
2e653d7ac9 Merge pull request #1678 from vetrivelc/master
[updated with honolulu fixes in master] Translation Checkins
2017-07-20 10:37:11 +01:00
Letsibogo Ramadi
b0f5b8ebc4 CA-258021 - Change updates retrieval url (#1702)
* CA-258021 - Change updates retrieval url

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

* CA-258021 - Change updates retrieval url

- Update url in Branding.sh

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-07-19 19:07:42 +01:00
vetrivelc
a9e5198c7e L10N : Translation updates and bug fixes 2017-07-19 15:09:10 +05:30
vetrivelc
d829654203 Merge branch 'master' of https://github.com/xenserver/xenadmin 2017-07-19 14:22:53 +05:30
Konstantina Chremmou
257a6daef2 Removed duplicate resource.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-07-19 09:22:58 +01:00
Ji Jiang
8209633f3c CA-210164: Fix the time format displays differently on "Health Check Enrollment" window
The time format displays differently on "Health Check Enrollment" window after upload a Health Check report

Sign off by: Ji Jiang
2017-07-17 12:42:22 +01:00
Mihaela Stoica
e12daf5a00 CA-259659: Revise the update homogeneity pool join rule (#1692)
* CA-259659: Revise the update homogeneity pool join rule

- only check the updates on the master and the new slave

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

* CA-259659: Revise the update homogeneity pool join rule

- simplify the algorithm that checks the updates on the master and the slave

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-13 14:20:43 +01:00
Gabor Apati-Nagy
4878e5e3ac CA-257922: Cancelling Server Status Report does not clean up
Fixed code to do the cleanup even if the saving has been cancelled

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-07-06 12:08:34 +01:00
Mihaela Stoica
061aeb8e6a Merge pull request #1680 from MihaelaStoica/master
Revert the changes to the XenAPI/Relations
2017-07-04 16:30:58 +01:00
Mihaela Stoica
b87a711b5f Revert the changes to the XenAPI/Relations
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-04 16:27:14 +01:00
Gabor Apati-Nagy
51c08c7433 Merge pull request #1666 from MihaelaStoica/CP-21161
CP-21161: Do not call the disk-space plugin cleanup functions on Ely …
2017-07-04 15:37:34 +01:00
vetrivelc
d624d93865 L10N:CP-23040,CP-23012 Traanslation Checkin 2017-07-04 10:39:46 +05:30
Mihaela Stoica
dd92f0e6a6 CP-22472: Add more metadata
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
0fbe225fa4 CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
- Add an empty string (instead of 'null') if the IP address is null
- Only include the XC uptime in the SSR produced in XenCenter
- Also changed the name of the metadata file that is included in the SSR

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
713f84cf54 CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
- Added more items to the metadata; the content is now slightly different between the SSR produced in XenCenter and the one from the HealthCheck;
- Encode the metadata string before sending it to the Health Check;
- Always suppress history for the action that sends the proxy settings;
- Renamed some of the new classes;
- Also refactored the actions that send data to the HealthCheck service.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
54ab9307d2 CP-22472: Add new XenCenter metadata file to the server status report
- XenCenter sends its telemetry info to the HealthCheck service
- The HealthCheck service saves this metadata in its settings file and includes it in the health check upload

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
2c37367155 CP-22472: Add new XenCenter metadata file to the server status report
- this adds the telemetry file to the server status report produced in XenCenter

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Gabor Apati-Nagy
50633d1b20 Merge pull request #1675 from MihaelaStoica/PoolJoin
CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
2017-07-03 15:42:34 +01:00
Mihaela Stoica
a05e662246 CP-23197: Check platform version (instead of product version) in the Pool Join rules
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 10:56:50 +01:00
Letsibogo Ramadi
24454ad6a7 Merge pull request #1674 from MihaelaStoica/CA-39992
CA-39992: Add "Repair Storage" action to the PBD_PLUG_FAILED_ON_SERVE…
2017-07-03 10:25:39 +01:00
Mihaela Stoica
743e9938da Merge pull request #1665 from minglumlu/private/mingl/CA-254479
CA-254479,CA-223802,XSO-672: distinct the VM IP addresses which are r…
2017-07-03 09:59:18 +01:00
Mihaela Stoica
813228eed6 CA-39992: Add "Repair Storage" action to the PBD_PLUG_FAILED_ON_SERVER_START alert
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 16:24:29 +01:00
Mihaela Stoica
6950ad285e CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
- changes following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 16:01:02 +01:00
Konstantina Chremmou
06abb4ab3f Merge pull request #1668 from minglumlu/private/mingl/CA-254480
CA-254480: XenCenter error message refine for CA-205515
2017-06-30 14:35:45 +01:00
Mihaela Stoica
533bf0ce02 CP-23197: Implement the Update homogeneity Pool Join rule in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-30 14:05:52 +01:00
Gabor Apati-Nagy
70eb42dd0f CA-252924: Updates on new version are not applied for licensed host on Partially licensed pool
Changed the text (on the checkbox) to make it clear that, after a version upgrade, XenCenter will apply updates only on licensed pools. This way it should be clear that servers of a partially licensed pool will not be updated. (The previous text suggested that any licensed server would be updated in general.)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-29 17:07:20 +01:00
Gabor Apati-Nagy
5df4d174c0 CA-224724: VBD edit page: show 'position in use' message on the dropdown items
This commit changes the dropdown control to not only show the available
positions, but also mark the ones that are already being used.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-29 12:04:16 +01:00
Mihaela Stoica
e3efff54b0 CP-23197: Update the API bindings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-28 17:15:58 +01:00
Mihaela Stoica
79dd753f5c Update the API bindings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-28 17:00:22 +01:00
mingl
04cfd02bd0 CA-254480: XenCenter error message refine for CA-205515 2017-06-28 12:13:00 +08:00
minglumlu
3a7d1c1cd9 CA-254479,CA-223802,XSO-672: distinct the VM IP addresses which are retrieved from XAPI. 2017-06-28 10:08:16 +08:00
Mihaela Stoica
c061b0f57d CA-257574: Manage vApps dialog is unusable with a vApp containing a l… (#1664)
* CA-257574: Manage vApps dialog is unusable with a vApp containing a large number of VMs

- In the VMAppliancesDialog, change event handlers to reduce the number of refreshes when something changes: only reload the appliances when the VM_appliance collection change; if a relevant property is changed (in VM_appliance or VM), then update only the affected rows.
- Improve the way we assign VMs to a group (AssignVMsToVMApplianceAction and AssignVMsToPolicyAction): only update the VMs that really changed.
- Also improve the way we update the VM startup options and HA restart priorities on a set of VMs

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

* CA-257574: Manage vApps dialog is unusable with a vApp containing a large number of VMs: changes following code review

- reverted the changes to the AssignVMsToGroup actions that added the additional constructor
- changed the AssignVMsToGroup actions to calculate the set difference between two lists more efficiently
- added code to deregister PropertyChanged events on VM_appliances
- removed getCurrentSettings() method as it is not needed, GetChangedSettings can be used in all cases

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-27 17:32:46 +01:00
Mihaela Stoica
537e569a62 CP-21161: Do not call the disk-space plugin cleanup functions on Ely and above hosts
- Ensure that the disk-space plugin functions are not called on Ely or greater hosts, except for the 'get_avail_host_disk_space' function, which is still needed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-27 13:48:54 +01:00
Cheng Zhang
283a80997f CA-187179: Refine error message when pool auth disable (#1663)
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2017-06-23 11:23:38 +01:00
Vetrivel Chinnasamy
1fce4298e5 L10N: Fix CA-255548 & translation updates (#1660) 2017-06-22 09:19:58 +01:00
Mihaela Stoica
15d748925a Merge pull request #1641 from letsboogey/CA-220169
CA-220169 - Network heartbeat status initially shows 'Error' after en…
2017-06-21 17:02:36 +01:00
Stephen Turner
eda73f1dff Fix several usage errors identified by Lexica 2017-06-20 14:29:22 +01:00
Gabor Apati-Nagy
ee2f1ef920 Merge branch 'master' of https://github.com/xenserver/xenadmin into CA-243675
Conflicts:
	XenModel/Messages.resx
2017-06-20 11:40:03 +01:00
Gabor Apati-Nagy
b155452309 CA-243675: Sorted Messages.resx
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-20 11:14:55 +01:00
Stephen Turner
910d2afed6 In New VM Wizard, on affinity page, state that memory is RAM not disk space 2017-06-20 09:08:07 +01:00
Stephen Turner
0b41f06e35 Fix several spelling mistakes found by Lexica 2017-06-20 08:57:58 +01:00
Mihaela Stoica
5783904d0a Merge pull request #1656 from stephen-turner/UpdateRoot
Remove case that is no longer hit, and that causes confusion because …
2017-06-19 13:38:24 +01:00
Gabor Apati-Nagy
9806491863 CA-243675: No Clear error message when proxy server which is configured is not running
Mention proxy in the suggestion that is shown when a connection fails

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-15 17:54:27 +01:00
Konstantina Chremmou
062938878d Merge pull request #1602 from GaborApatiNagy/master_CA-220047
CA-220047: Show proper precheck error when a VM cannot be migrated
2017-06-15 08:24:06 +01:00
Gabor Apati-Nagy
42b4076c5d CA-220047: Show proper precheck error when a VM cannot be migrated
Improved wording

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-14 15:40:17 +01:00
Letsibogo Ramadi
3a94992c10 CA-220169 - Network heartbeat status initially shows 'Error' after enabling HA
Correct spelling
2017-06-14 09:59:25 +01:00
Gabor Apati-Nagy
3a9c733ead CA-249084: Fixed Debug build Assert 2017-06-13 15:51:00 +01:00
Letsibogo Ramadi
f1d2dc2cf8 CA-220169 - Network heartbeat status initially shows 'Error' after enabling HA
Network HB initially shown as error because it takes time for the status to be
read from xha by xapi. This adds a delay to allow the status to be updated
before XC displays it.
2017-06-13 11:17:49 +01:00
Mihaela Stoica
ffe7ff9520 Merge pull request #1632 from xenserver/REQ-378
Feature "REQ-378: Support Chinese Language E-mail Performance Alerts"
2017-06-13 10:51:42 +01:00
Gabor Apati-Nagy
5f8db75e7c CA-220047: Show proper precheck error when a VM cannot be migrated
Changed the pre-check error message to refer to the absence of the Tools
when that is suspected to be the case.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-08 16:12:26 +01:00
minl1
2105cbf1a4 cp-21685/cp-22367: Linx/YinheKylin linux XenCenter ICON support 2017-06-07 21:01:01 +08:00
Mihaela Stoica
5291c3aa7d Merge pull request #1613 from minli1/feature/Asianux-Turbo-Linux-support/master
req-398/req-440: ICON support for Asianux Linux and Turbo Linux.
2017-06-01 14:30:25 +01:00
Mihaela Stoica
dce68b58c9 CA-242134: Remove Host.IsXCP extension (#1618)
* CA-242134: Remove Host.IsXCP extension

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

* CA-242134: Remove Host.IsXCP extension

- retain the host.license_params condition

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-31 16:58:52 +01:00
Mihaela Stoica
cf1f630486 Merge pull request #1619 from xenserver/management-on-vlan
REQ-42 feature merge
2017-05-31 15:23:28 +01:00
Gabor Apati-Nagy
f1a20c279e Merge pull request #1603 from MihaelaStoica/CA-253936
CA-253936: Fix proxy authentication in the XenServerHealthCheck service
2017-05-31 14:37:02 +01:00
Mihaela Stoica
bd8ac0d769 Merge pull request #1617 from geosharath/management-on-VLAN-B2B
B2B master to management-on-vlan
2017-05-31 12:02:51 +01:00
Konstantina Chremmou
af647fbf52 Merge pull request #1608 from MihaelaStoica/removeVMPP
Remove vmpp
2017-05-31 08:43:12 +01:00
minl1
c146747798 CP-21662:replace the icon for new vm template(asianux and turbo linux) in Xencenter 2017-05-31 13:19:47 +08:00
Sharath Babu
93f6ae8282 Fixing spell check issues.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-05-31 09:48:12 +05:30
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