Commit Graph

414 Commits

Author SHA1 Message Date
Carmen Agimof
82b2354a1b Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-13034,_CP-13035,_CP-13037 2015-07-14 10:35:35 +01:00
Mihaela Stoica
2fd728bec3 Merge pull request #545 from MihaelaStoica/agimofcarmen-CP-13039
Merge branch 'CP-13039' of https://github.com/agimofcarmen/xenadmin
2015-07-14 10:05:18 +01:00
Carmen Agimof
dd10561764 CP-13034 : On the Updates Wizard, list hotfixes from updates.xensource.com instead of from other servers.
CP-13035 : Add Refresh button to list of updates on the Updates wizard.
CP-13037 : Provide option from the Updates wizard to navigate to the web page of any hotfix.
2015-07-14 10:05:13 +01:00
Mihaela Stoica
26ee98c5c9 Merge branch 'CP-13039' of https://github.com/agimofcarmen/xenadmin into agimofcarmen-CP-13039
Conflicts:
	XenModel/Messages.Designer.cs
2015-07-14 10:00:11 +01:00
Mihaela Stoica
e467df450a Merge pull request #537 from huizh/CA-176636
CA-176636: Transfer VM with manually assigned IP doesn't work.
2015-07-14 09:51:34 +01:00
Mihaela Stoica
4bc942117d Revert "Temporarily disable FCoE feature for all hosts"
This reverts commit 0dd6ebdb7f.
2015-07-13 09:57:10 +01:00
Hui Zhang
3c5d905e4c CA-176636: Transfer VM with manually assigned IP doesn't work.
The subnet mask is incorrectly set as the static IP.
Update it to correct address.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-13 14:43:18 +08:00
Carmen Agimof
ed05a16346 CP-13037 Adds the web page column.
No functionality is added to the link yet.
2015-07-09 16:59:14 +01:00
Carmen Agimof
365c4d7d6e CP-13039: Provide more obvious functionality to upload a hotfix from a file. 2015-07-09 16:32:08 +01:00
Carmen Agimof
fa61ff27c7 CP-13041 : Remove the hotfix after installing it.
Signed-off-by: Carmen Agimof <Carmen.Agimof@citrix.com>
2015-07-08 17:35:50 +01:00
Mihaela Stoica
0dd6ebdb7f Temporarily disable FCoE feature for all hosts 2015-07-03 12:38:41 +01:00
Gabor Apati-Nagy
24e2365b1f Fixing FCoE build
Removing duplicated-by-accident field

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-30 14:08:28 +01:00
Gabor Apati-Nagy
6a9a192253 Fixing FCoE build
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-30 13:53:35 +01:00
Gabor Apati-Nagy
b60a6ab24d Update LVMoFCoE.Designer.cs
Fixing build
2015-06-30 13:17:53 +01:00
Gabor Apati-Nagy
bebd1583ca Merge pull request #514 from MihaelaStoica/CP-12164
CA-12164: Server Status Report wizard: Add option to upload the serve…
2015-06-30 11:58:50 +01:00
Mihaela Stoica
85d67a63a7 CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
- changes following code review
- renamed some controls.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 11:53:11 +01:00
Mihaela Stoica
f026384f37 CP-12314: FCoE in the SR wizard
- show new NIC column on the Location page (visible for FCoE only)
- display the summary page
- resource strings for default SR name and the blurb on the first page in the wizard

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-29 14:44:35 +01:00
Gabor Apati-Nagy
3402ca03d8 CP-12314: CAR-576 XC: New SR type for FCoE
Added 'path' for FCoE device config
2015-06-29 14:44:32 +01:00
Mihaela Stoica
551d7657ca CP-12314: Add New SR type for FCoE in the SR wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-29 14:44:29 +01:00
Mihaela Stoica
d4f41660b8 Merge pull request #505 from GaborApatiNagy/master_CP-12641
CP-12641 and CP-12475: XenCenter work for thin provisioning
2015-06-29 14:08:16 +01:00
Gabor Apati-Nagy
847eebd32c CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Add New Virtual Page (VDI):
By default, the SR's default initial size allocation percentage (that may be different for different SRs) is used.
Once the user has changed the initial allocation rate, the page would only use the custom value from that point.

New SR Wizard:
Minimal change in if statement and added comment in RunNextPagePrecheck
method for LvmoHba.
2015-06-26 15:36:04 +01:00
Mihaela Stoica
f0e7f5328f CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
- add the option on the destination page of the wizard
- for authentication purposes, MyCitrix credentials are required.
- these credentials are only used to obtain an upload token that will be used for the upload.
- the upload token expires in 24 hours and is not saved in the xapi database.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 23:51:11 +01:00
Mihaela Stoica
f8a8fe3e16 CP-11985: RPU pre-check phase for safe repartitioning
- only run the check for repartitioning if the automatic upgrade mode is selected

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-24 17:25:58 +01:00
Gabor Apati-Nagy
fc0542066e CP-12641 and CP-12475: XenCenter work for thin provisioning
-Changed code, because API needs 0-100 percent values as 0..1
-Code for HBA SRs
-Changed free space check for new VDIs to condider initial disk size only
when the SR is thin provisioned

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-23 19:26:27 +01:00
Gabor Apati-Nagy
306a8b0acb CP-12641 and CP-12475: XenCenter work for thin provisioning
-New SR wizard: new page
-Add Virtual Disk dialog: new fields

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-17 09:59:21 +01:00
Gabor Apati-Nagy
fa10c0cf54 CP-11985: Implement RPU pre-check phase for safe repartitioning
testSafe2Upgrade pugin function in prepare_host_upgrade.py is called as part of the RPU pre-checks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-04 15:36:39 +01:00
Gabor Apati-Nagy
76dfab006f Merge pull request #440 from MihaelaStoica/CP-11292
CP-11292: Remove storage motion constraints: Wording changes in the cros...
2015-04-22 14:44:26 +01:00
Mihaela Stoica
b7b71c786c CP-11292: Remove storage motion constraints: Fixing tests and some more wording changes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-22 13:21:31 +01:00
Gabor Apati-Nagy
d082d6873b Merge pull request #437 from MihaelaStoica/CA-156200
CA-156200: HANDLE_INVALID shown on Rolling Pool Upgrade completed page
2015-04-21 18:18:17 +01:00
Mihaela Stoica
22ba1544e2 CP-11292: Remove storage motion constraints: Wording changes in the cross pool migrate wizard
- changes to the text to be suitable for migrate and copy operations, where possible
- added different text for copy on some pages
- also different text for single and multiple selection
- changes to text alignment, tab order, hotkeys on the copy pages
- removed Finish page from the intra-pool copy wizard

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-21 14:30:41 +01:00
Gabor Apati-Nagy
66415dc172 Merge pull request #426 from MihaelaStoica/CP-11292
CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs and templates
2015-04-20 12:53:50 +01:00
Mihaela Stoica
8d0c6e64ff CA-156200: HANDLE_INVALID shown on Rolling Pool Upgrade completed page
- while upgrading a host, throw a HOST_OFFLINE ("Server could not be contacted") exception if the host can no longer be resolved (instead of HANDLE_INVALID)
- also corrected the parameters of the HANDLE_INVALID exception, as an extra parameter is needed for the friendly error name.
- in the UpdateManualHostPlanAction class I replaced Host with the private property _host in several places, so we are no longer trying to resolve the host each time we want to write something into logs
- added some null checks, to avoid reporting null reference exception

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-17 14:56:40 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
74c8880424 Update WizardProgress.cs
Fixed a spell-check problem
2015-04-15 09:39:51 +01:00
Mihaela Stoica
830d8f6f60 CP-11292: Remove storage motion constraints: changes following code review
- added some null checks
- in the Cross pool migrate wizard, add Transfer network page for all cases except intra-pool move (which is performed via VMMoveAction)
- added comments to VMCrossPoolMigrateAction constructor to make it cleared what the copy parameter means

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-15 09:37:12 +01:00
Mihaela Stoica
1ea6bd2aa0 Merge pull request #433 from GaborApatiNagy/master_CA-45514_2
CA-45514: XenCenter looks pretty terrible under different DPI settings
2015-04-15 08:55:29 +01:00
Gabor Apati-Nagy
c333c18f24 CA-45514: XenCenter looks pretty terrible under different DPI settings
-Fixing code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-14 19:26:49 +01:00
Gabor Apati-Nagy
54764570b1 CA-45514: XenCenter looks pretty terrible under different DPI settings
-Fixed the sizing of the background image in the Wizard Progress area of
wizards.
2015-04-13 11:17:57 +01:00
Gabor Apati-Nagy
80e41f19bd CA-45514: XenCenter looks pretty terrible under different DPI settings
-New Network Wizard: Changing the layout on the network type selection page to make this page "dpi aware" using FlowLayoutPanel. Additional info is shown on the bottom of the panel instead of tooltips, some code has been removed that used fix positions and moved controls around.
2015-04-13 11:17:06 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

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

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Mihaela Stoica
6d996c03a4 CP-11292: Remove storage motion constraints: Allow cross-pool copy for templates
- modified CopyTemplateCommand to launch a cross pool copy if permitted
- added CrossPoolCopyTemplateCommand which opens the Cross pool migration wizard in "copy" mode

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 17:40:05 +01:00
Mihaela Stoica
ef5249671c CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs
- added a "copy mode" page to the Cross pool migrate wizard (when in copy mode) where the user can select intra-pool or cross-pool copy
- If intra-pool option is selected, then the wizard will display a page similar to what we currently have in the Copy VM dialog
- If cross-pool option is selected, then the wizard will display all the cross pool migration pages

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 15:13:46 +01:00
Mihaela Stoica
e314a654f7 CP-11292: Remove storage motion constraints: Allow cross-pool copy for stopped VMs
- modified the VMCopyCommand to launch a cross pool copy if permitted
- added the CrossPoolCopyVMCommand which opens the Cross pool migration wizard in "copy" mode
- modified the cross pool migrate action with an extra "copy" parameter, which will add a copy option to the vm.migrate_send function call

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-31 14:27:04 +01:00
Gabor Apati-Nagy
799d856a70 CA-148967: G11n: I18n: Un-localized issue for string "iSCSI login failed, verify CHAP credentials" in New Storage dialog.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-30 16:06:49 +01:00
Gabor Apati-Nagy
fd20f6f4f4 CA-148967: G11n: I18n: Un-localized issue for string "iSCSI login failed, verify CHAP credentials" in New Storage dialog.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-30 14:46:30 +01:00
Stephen Turner
65d9b92ec8 Merge 2015-03-27 13:38:17 +00:00
Stephen Turner
c3490265fc CA-165121: Scientific Linux icon (placeholder for the moment). Plus Ubuntu in search results. 2015-03-27 13:34:59 +00:00
Gabor Apati-Nagy
23319daeba Merge pull request #393 from MihaelaStoica/CP-11032
CP-11032: Remove storage motion constraints: Allow cross-pool move of stopped and suspended VMs
2015-03-24 18:11:48 +00:00
Mihaela Stoica
cbedbd43cd CP-11032: Allow cross-pool move of stopped and suspended VMs
Changes following code review:
- add static methods to the cross pool migrate and move commands to determine if the command can execute
- In the Cross Pool migrate wizard: add Transfer network page for cross-pool move (and copy) operation (as well as all migrate cases)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-24 17:14:03 +00:00
Gabor Apati-Nagy
b8d3ef2bd4 CA-164800: New Storage wizard: hide CIFS option for old servers and not licensed pools
-Making CIFS radio button invisible (instead of visible but disabled) when CIFS is restricted (license)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-23 16:01:25 +00:00
Gabor Apati-Nagy
e0f4b60858 CA-164800: New Storage wizard: hide CIFS option for old servers and not licensed pools
-New SR Wizard - SR Type Selection page: radio buttons are now on a TableLayoutPanel with auto sized rows

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-23 15:48:08 +00:00
Mihaela Stoica
4e4f88ec99 Merge pull request #389 from GaborApatiNagy/CA-164186_2
CA-164186: NFSv4: end-to-end test and clean-up
2015-03-17 17:37:41 +00:00
Gabor Apati-Nagy
e900e6a3fd CA-164186: NFSv4: end-to-end test and clean-up
-Fixes following the code review (not sending NFS version when reattaching; tab orders; margins)
2015-03-17 17:33:09 +00:00
Mihaela Stoica
d616009824 CP-11032: Remove storage motion constraints: Allow cross-pool move of stopped and suspended VMs
- With these changes, a stopped or suspended VM can be moved across pools; this is performed as a vm migrate operation.
- The intra pool move will continue to be a vdi.copy + destroy operation for stopped VMs, but for suspended VMs we need to do it a as vm migrate operation.
- We use the Cross Pool migrate wizard for both intra and cross pool move operations, but introduced a wizard mode parameter in order to adapt the wizard to the specific operation we want to perform (migrate, move or copy)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-17 16:35:12 +00:00
Gabor Apati-Nagy
bfdfaaabd8 CA-164186: NFSv4: end-to-end test and clean-up
-Also calling Trim() when using user input from the Share Name field

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-16 18:17:49 +00:00
Gabor Apati-Nagy
a2a624b2a0 CA-164186: NFSv4: end-to-end test and clean-up
-NFS version selector radio buttons now belong to the Create new SR option. This section is disabled on reattaching.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-16 15:27:49 +00:00
Gabor Apati-Nagy
6cb9ffc83f CA-164186: NFSv4: end-to-end test and clean-up
New SR Wizard:
* Removed "V" Alt-key from "NFS Version" text
* Changed the alignment of the NFS version selector radio buttons to vertical
* Fixed tab orders at all places
2015-03-16 11:26:35 +00:00
Gabor Apati-Nagy
4b2b4e627c CA-164184: Text fixes in CIFS feature
"* New SR wizard -> Type page: Add more info for CIFS (similar to what we display for NFS)
* New SR wizard -> Type page: Rename the other types to:
** Virtual disk storage: NFS, iSCSI, Hardware HBA, CIFS
** ISO library: Windows File Sharing (CIFS), NFS ISO
* Autogenerated description should say "CIFS SR" (not NFS SR)
* SR type (as displayed on the General tab for a CIFS SR) should by CIFS (not Unknown)
* New SR wizard ->  Location page for CIFS: correct tab order"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-12 17:31:38 +00:00
Mihaela Stoica
51ee306718 Merge pull request #372 from GaborApatiNagy/CP-10889
CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
2015-03-10 13:22:21 +00:00
Gabor Apati-Nagy
c2173c6e6a CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
-Fixes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-10 11:33:29 +00:00
Gabor Apati-Nagy
92bc32b6aa CP-10889: XenCenter work for CAR-1720: Add support for NFS version 4
-Added NFS version selectors for NFS and NFS ISO SRs in the New SR Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-09 20:05:31 +00:00
Gabor Apati-Nagy
34df0ca614 CP-11372: XenCenter: Update the model with the latest api bindings, including the new cifs specific errors
-updating Errors property in SrWizardType_Cifs with the Failures that can occur when doing CIFS SR operations

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-05 19:33:07 +00:00
Mihaela Stoica
dcd83c9cec CA-163138: Include the pre-check for VM migration status for supplemental pack installation, as the guidance for these is to restart the host after install.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-05 10:25:30 +00:00
Mihaela Stoica
c7f3ea5b30 Merge pull request #358 from GaborApatiNagy/CP-10144
CP-10144: Support CIFS as an SR type in XenCenter
2015-03-03 17:07:37 +00:00
Gabor Apati-Nagy
0ad4a68875 CP-10144: Support CIFS as an SR type in XenCenter
-Fixes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-03 16:48:27 +00:00
Gabor Apati-Nagy
ea0e043dcf Merge pull request #354 from MihaelaStoica/CP-10926
CP-10926: Handle exception when running the action that gets the config drive parameters
2015-03-03 15:58:42 +00:00
Gabor Apati-Nagy
2d98dd9d85 CP-10144: Support CIFS as an SR type in XenCenter
-Added support for CIFS (SR type, SR Wizard)
-Added some Debug.Asserts to the Create SR action to watch for clear text paswords

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-03 15:51:56 +00:00
Mihaela Stoica
10152683ba CP-10926: In the New VM Wizard, keep the cloud config parameters textbox editable even if the default config could not be retrieved.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-03 15:22:00 +00:00
Mihaela Stoica
de4ff847c5 CA-161620: If the supplemental pack installation fails, then XenCenter will display a message suggesting the user refers to the users guide for installing via the CLI.
- When the install fails, log the full error description
- Added a specific exception for the supp pack installation failure
- Better action title (depending on the number of servers it applies to)
- Added a "More Info" button on the "Update" page, which displays a message with more information on the supp pack installation failure

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-27 17:00:03 +00:00
Mihaela Stoica
5559fb9049 CP-10926: Handle exception when running the action that gets the config drive parameters
- If failed to retrieve the config parameters, then make the ConfigDriveTemplate textbox read-only and display the reason why it is not editable (similar with what we do for running VMs).
- In the New VM Wizard, if the action on "Reset to Default" button fails, then popup a message box with an error saying that we were unable to retrieve the default parameters. In this case, the ConfigDriveTemplate textbox remains unchanged.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 14:12:16 +00:00
Mihaela Stoica
f3e8e690f8 CP-10926: Make the textbox on Cloud-Config Parameters page read-only (instead of disabled) if the config drive parameters cannot be changed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 11:07:12 +00:00
Gabor Apati-Nagy
350804fda4 Merge pull request #347 from MihaelaStoica/CP-11124
CP-11124 Better CoreOS icon for the Container Management page
2015-02-24 16:28:32 +00:00
Mihaela Stoica
aa6e701ce2 Merge pull request #349 from stephen-turner/CA-161460
CA-161460: Correct help text in the case that the patch has been deleted without being installed
2015-02-24 13:48:29 +00:00
Stephen Turner
5990c53617 CA-161460: Correct help text in the case that the patch has been deleted without being installed 2015-02-24 13:42:48 +00:00
Stephen Turner
3d7db537e7 Fix line endings 2015-02-24 13:29:41 +00:00
Mihaela Stoica
ce6b66f99a CP-11124 Better CoreOS icon for the Container Management page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:50:01 +00:00
Mihaela Stoica
8a9b2d8c70 Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10926
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/XenAPI-Extensions/VDI.cs
	XenModel/XenAPI-Extensions/VM.cs
2015-02-23 17:57:18 +00:00
Mihaela Stoica
45405bb5c9 CP-11159: Only display the Cloud Config page if the "xscontainer" supp-pack is installed.
- this applies to the Cloud-config page on the New VM Wizard and VM properties dialog.
- same for the container enlightenment page on the VM properties dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 11:01:39 +00:00
Stephen Turner
94ec31426f CA-161460: Clear the error message when going Back and Forward 2015-02-20 13:29:00 +00:00
Stephen Turner
d4dc9e2b06 CA-161460: Rename diskSpaceErrorLinkLabel -> errorLinkLabel, as it is now used more widely 2015-02-20 13:15:40 +00:00
Stephen Turner
a2883d8252 CA-161460: Present a helpful error message when a patch we are trying to download from another server has been deleted 2015-02-20 13:07:20 +00:00
Mihaela Stoica
eab66b9bf0 CA-161002: Internationalize strings on the Cloud Config Parameters page and CreateVMAction
- also added Help Id got the Cloud Config Parameters page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:48:52 +00:00
Mihaela Stoica
9c652cd687 CP-10926: Add dialog for customizing the config drive in XenCenter after VM creation
- The cloud config parameters page is only visible on a VM that already has a config drive.
- The cloud config parameters can only be changed when the VM is halted.
- In the New VM wizard, if a template is selected that already has a config drive, them the wizard will display the existing configuration, not the default one.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-13 14:43:13 +00:00
Gabor Apati-Nagy
91789256e8 CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installation space
-Added HostOutOfSpaceProblem to let the user to clean up disk space when getting PATCH_PRECHECK_FAILED_OUT_OF_SPACE error at precheck stage in the patch install wizard.
-A bit of refactoring of DiskSpaceRequirements class in order to be reused here

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 13:13:45 +00:00
Gabor Apati-Nagy
69b957cc63 Merge pull request #319 from MihaelaStoica/CA-160904
CA-160904: Fix NullReferenceException on the New VM Wizard
2015-02-10 11:45:30 +00:00
Mihaela Stoica
8b9d089687 CA-160904: Fix NullReferenceException on the New VM Wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 11:16:01 +00:00
Gabor Apati-Nagy
2d89776d49 Merge pull request #315 from MihaelaStoica/CAR-1711
CP-10797: Ensuring sufficient disk space for service pack installation: ...
2015-02-06 13:51:36 +00:00
Mihaela Stoica
19f66414a7 CP-10797: Ensuring sufficient disk space for service pack installation: Changes following code review
- don't update the progress bar when checking disk space (only the description)
- the color used for "in progress" action description (above the progress bar) should be the system default font color, not black
- actions should throw ArgumentNullException, not NullReferenceException

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 10:34:18 +00:00
Mihaela Stoica
48636e12d6 CP-10797: Ensuring sufficient disk space for service pack installation: In the Install Update Wizard check if there is enough space to upload a hotfix
- Before starting the upload to the master hosts, check if there is enough disk space (check only performed for Cream or greater hosts)
- If enough space available the upload starts automatically; otherwise an error is displayed
- If we can free up enough disk space then we offer the option to Clean up. Otherwise we provide the user with the information on required and available space and the user will have to manually free up required space.

- Also Disable the Upload page for oem updates

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-05 17:01:14 +00:00
Gabor Apati-Nagy
8765998590 Merge pull request #309 from GaborApatiNagy/docker
Merging Docker commits
2015-02-04 16:28:14 +00:00
Gabor Apati-Nagy
fddb5a032b Merge remote-tracking branch 'creedence-docker/master' into docker
Conflicts:
	XenAdmin/Wizards/NewVMWizard/NewVMWizard.cs
	XenModel/Messages.resx
2015-02-04 16:23:20 +00:00
Stephen Turner
b68082cf50 CA-153506: Remove unused class Page_Cloud 2015-02-04 14:44:22 +00:00
Mihaela Stoica
f617b4ca26 CP-10621, CP-10824: Supp Pack installation through XenCenter: Changes following code review
UploadSupplementalPackAction:
- use http-put with the default timeout
- throw current exception in RemoveVDI (instead of encapsulating it in a new one)
- add other_config key before uploading to make sure the vdi has this flag set from the beginning of its lifetime
- upload progress bar now shows the total progress per row

Also included a cosmetic rewrite of PatchingWizard_PatchingPage,GetUpdateName function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 09:51:25 +00:00
Mihaela Stoica
ed8d91a041 CP-10824: Supp Pack installation through XenCenter: Fix error in the wizard
- update the Patch property even when the selected update type is not "Existing patch". This will be set it to null if the selected type is supplemental pack.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:48:52 +00:00
Mihaela Stoica
35ab8aa825 CP-10824: Supp Pack installation through XenCenter: Delete the temporary VDI after installation
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:45:55 +00:00
Mihaela Stoica
5b33590df0 CP-10824: Supp Pack installation through XenCenter: Install supp pack from vdi
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:43:36 +00:00
Mihaela Stoica
11d86f1c90 CP-10621: Supp Pack installation through XenCenter: Select and upload a supp pack in the hotfix wizard
- Select a supp pack in the hotfix wizard
- Recognise that it's a supp pack not a hotfix
- Check if there's enough space on a SR to contain it: (1) default SR if shared or (2) any shared SR or (3) local SR on each host in pool
- Create a VDI to contain it
- Upload the supp pack to the VDI

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 12:31:44 +00:00
Mihaela Stoica
49eb0641a9 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
- Added check for Clearwater SP1 or greater to the gpu capability on the New VM wizard
- On the GPU tab, draw the grid on the shiny bar only if the capacity is greater than one

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 15:00:58 +00:00
Mihaela Stoica
a295ab0159 CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
Changes following code review:
- Added VM.CanHaveVGpu function (at the moment just returns CanHaveGpu, but it will change in the future)
- Added vGPU_type.IsPassthrough function and used it everywhere we needed to test for passthrough (max-heads==0)
- Simplified code in Helpers.GpuCapability, Helpers.VGpuCapability, NewVMWizard (gpuCapability), MainWindow and GpuRow

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-21 10:04:47 +00:00
Mihaela Stoica
dbdd3cc02c CA-157501: Fixing inconsistent GPU dialogs in XS "Standard" when compared with "Enterprise"
New properties:
- Pool.HasGpu = Pool has at least one PGPU
- Pool.HasVGpu = Pool has at least one PGPU that HasVGpu
- PGPU.HasVGpu = PGPU has at least one supported_VGPU_type that is not pass-through

New or modified helper functions:
- Helpers.GpuCapability = GPU feature not restricted (by licensing) and Pool.HasGpu
- Helpers.VGpuCapability = vGPU feature not restricted (by licensing) and Pool.HasVGpu
- Helpers.ClearwaterSp1OrGreater = API version is 2.1 or greater

The GPU dialogs are displayed as follows:
- GPU page on VM properties dialog: Visible only if VM.CanHaveGpu and the GPU feature not restricted (by licensing)
- GPU page on New VM Wizard: Visible only if VM.CanHaveGpu and the pool has GPU capability (Helpers.GpuCapability)
- GPU page on Pool properties dialog: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- GPU tab: Visible only if the pool has GPU capability (Helpers.GpuCapability) and is Clearwater SP1 or greater
- On the GPU tab, the "Placement policy" panel: Visible only if the pool has vGPU capability (Helpers.VGpuCapability)
- On the GPU tab, the "Edit" button on the "vGPU types" panel: Visible only if the PGPU.HasVGpu and vGPU feature not restricted (by licensing)

Also:
- VM.CanHaveVGpu function renamed to CanHaveGpu
- On the GPU tab, renamed "Allowed vGPU types" to "vGPU types
2015-01-19 16:49:47 +00:00
Gabor Apati-Nagy
d50f8a7d94 Merge branch 'master' into master_github
Conflicts:
	XenModel/Messages.resx
	XenModel/XenAPI-Extensions/Host.cs
	mk/xenadmin-build.sh
2015-01-19 15:22:59 +00:00
Gabor Apati-Nagy
f5df15fc24 CA-156845: Bugs caused by accidental revert in localisation check-in
-This commit reverts accidental code changes by commit 2ab95c7899

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-01-15 16:25:41 +00:00
Mihaela Stoica
ffd907cd3e CA-147163: Added missing localized resource files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-15 13:53:03 +00:00
Mihaela Stoica
7fe521faa5 CA-147163: Make new form localizable and fix tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-14 17:01:50 +00:00
Gabor Apati-Nagy
65a46c095a Merge pull request #281 from MihaelaStoica/CA-147163
CA-147163: Non-modal hotfix download and upload progress dialog
2015-01-14 16:22:51 +00:00
Mihaela Stoica
8f942c9b91 CA-147163: Non-modal hotfix upload progress dialog
Show pool (or standalone server) name on the Upload page.
Also corrected some resource strings.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-14 15:23:46 +00:00
FrankPetrilli
34628d9943 Fixed typo in patchingwizard
"form the list" > "from the list"
2015-01-13 15:25:20 -08:00
Mihaela Stoica
cfa8bcd7b3 CA-147163: Non-modal hotfix upload progress dialog
- Added resource strings to replace hard coded strings

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-09 13:23:23 +00:00
Mihaela Stoica
13c6d323c3 CA-147163: Non-modal hotfix upload progress dialog
- Added new page to the patching wizard, called "Upload" which displays the upload actions for each server and the progress of these actions
- MultipleAction: added the functionality to optionally stop the action on first failure
- Fixed the error where an existing patch downloaded from another server and then uploaded to a new one was not deleted on cancelling the wizard [CA-156788]

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-09 12:54:12 +00:00
sriharshak
98b1e4b447 CA-14766: ZHCN fix by changing the location 2015-01-05 13:37:53 +05:30
vetrivelc
5422c39f47 Updated the translations 2015-01-01 15:19:57 +05:30
Gabor Apati-Nagy
0f821a190a CA-150338: Importing system template causes XenCenter to throw an exception
-Fixed NullReferenceException
2014-12-11 15:06:56 +00:00
Gabor Apati-Nagy
e1b4892b2f Merge pull request #276 from sriharshak/creedence-ln
Creedence ln - L10N Bug fixes
2014-12-10 13:28:46 +00:00
Gabor Apati-Nagy
afbbf25325 CA-153179: Add options for customizing the config drive to the XC VM creation wizard
Todo: tidy up code & code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-12-04 18:04:43 +00:00
sriharshak
311e4e77c2 CA-149235: Fixed by adjusting the minimum size for JA 2014-12-04 11:54:01 +05:30
Gabor Apati-Nagy
fb8da9bcf8 Merge pull request #273 from sriharshak/creedence-ln
Creedence ln - L10N Bug fixes
2014-12-02 10:05:38 +00:00
Mihaela Stoica
694e0de202 CA-153339: Add CoreOS template type and logo to the VM creation Wizard 2014-12-01 15:09:03 +00:00
sriharshak
53bc6df032 CA-149235: Fixed by adjusting the locations for Ja and ZHCN 2014-11-27 10:26:06 +05:30
Stephen Turner
f79061cc07 CA-152823: Hotfix wizard still claims it will reboot hosts 2014-11-25 16:44:14 +00:00
sriharshak
edf43e0198 CA-149022: fixed by adjusting the layout for JA 2014-11-25 12:53:36 +05:30
sriharshak
5001822ae3 CA-148876 CA-150934 CA-149873 Fixes 2014-11-25 10:00:02 +05:30
sriharshak
b9dd43990e CA-147666 : Fixed the issue by changing the location for ZHCN 2014-11-18 16:14:41 +05:30
sriharshak
e1e23c00d9 CA-147603 : Fixed issue by changing the layout. 2014-11-17 11:30:13 +05:30
sriharshak
5588f69bfe CA-148836 : Issue fixed by increasing the width of the buttons for JA and ZHCN 2014-11-05 15:55:15 +05:30
sriharshak
8d9d701935 CA-147666: Fixed the issue by changing the location of strings for JA and ZHCN 2014-11-05 11:36:27 +05:30
sriharshak
8ca145c0c4 CA-148471: Fix by adjusting the margin in JA 2014-11-03 10:32:37 +05:30
sriharshak
11364177a0 CA-148472: Fix added by making V small letter in JA 2014-11-03 10:28:14 +05:30
vetrivelc
62c2065b91 Fixes: CA-150023,150019,149973,149970
Translation updates & L10N Bug Fixes
2014-10-31 18:03:20 +05:30
Gabor Apati-Nagy
6a9dc4278e Merge pull request #248 from vetrivelc/creedence-ln
Iteration_002 translation check-ins
2014-10-14 17:49:31 +01:00
vetrivelc
6e2e1a214d Iteration_002 translation check-ins 2014-10-14 21:41:41 +05:30
Gabor Apati-Nagy
d6b428ec8c Merge pull request #247 from xenserver/xs64bit
Xs64bit
2014-10-10 16:51:44 +01:00
Mihaela Stoica
a4fe507adf CA-147941: Fixed the RPU wizard hang in "Reconnecting Storage" and connecting action stuck in progress state
In some cases calling Control.Invoke() from a background thread causes that thread to go in a "sleep, wait, or join" mode, while waiting for Invoke to happen, although the UI thread is running normally.
If the Control is the MainWindow, it works as expected, but we've seen it happening while connecting or disconnecting from a large pool, on calling Invoke on controls like NavigationView, AlertSummaryPage, HistoryPage, etc.
To fix this, we call the Invoke on the MainWindow in all the places where we've seen the issue.

With this changes, the previous fix for CA-148245 (call RequestRefreshTreeView on CacheClearing event) is not needed anymore, so I removed that call.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-10 13:16:50 +01:00
Gabor Apati-Nagy
e15bb2a687 Merge pull request #240 from xenserver/xs64bit
Xs64bit to creedence-ln
2014-10-02 20:13:52 +01:00
Gabor Apati-Nagy
9f77454246 Removing duplicated using System.Linq line
Removed duplicated line "using System.Linq; ", because it caused build error in Release configuration
2014-10-02 17:49:34 +01:00
Gabor Apati-Nagy
b4eb8fd6f4 CA-136211: Show link to the relevant Knowledge Base article that describes StorageLink pre-check error
-Changing comment to include the ticket number for further records
2014-10-02 16:45:56 +01:00
Gabor Apati-Nagy
e28edcc41b CA-136211: Show link to the relevant Knowledge Base article that describes StorageLink pre-check error
-Showing link to CTX page if StorageLink problem was found at pre-check  (in RPU Wizard)
-Enable the Resolve All button on the pre-check page only when there is at least one problem found and all the problems have solution/fix - minor refactoring

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-26 15:48:14 +01:00
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Gabor Apati-Nagy
c458d16f7f CP-9365: XenCenter work for HVM linux support
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-05 16:50:50 +01:00
Mihaela Stoica
5c0c12a6a5 CA-141868: Boot options are deleted by New VM Wizard if Installation Media page skipped - Fixed
- Show the page and grey out the irrelevant options (i.e. the installation media if the template has no CD drive).
- Only disable the Installation media step if the template has no installation media and we don't show the boot options (because is HVM).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-08 13:24:00 +01:00
Mihaela Stoica
564b65fbb5 CA-141870: Hotfix uploads to all connected servers before asking which servers you want - Fixed
Updates view: on pressing Download and Install, open the wizard at "Servers" page, select all the servers that the patch applies to, and disable all the others.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-07 12:52:14 +01:00
Mihaela Stoica
2afbffde7a CA-114985: Fixed the issue where an empty summary page was displayed after creating Hardware HBA SR
- The problem was the Summary page was displayed before the lists of succeeded and failed actions have been populated (on the Completed event of each action).
- To fix it, we populate these lists after all the actions are completed, and on the event thread.

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

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-21 11:19:04 +01:00
Gabor Apati-Nagy
ea1b6e0f67 CA-140265: EN: New VM wizard still stay at “Template” with enable Copy host BIOS strings to VM.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-16 18:13:18 +01:00
Gabor Apati-Nagy
4ac6f310ab Merge pull request #87 from MihaelaStoica/CP-8120
CP-8120 Set cores per socket through XenCenter
2014-06-09 17:09:26 +01:00
Mihaela Stoica
b0d2958ac0 CP-8120 Set cores per socket through XenCenter: Added text explaining the invalid vCPU configuration on the New VM Wizard and VM Properties dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-06 15:33:22 +01:00
Mihaela Stoica
b8531be374 CP-8120 Rolling Pool Upgrade wizard: add precheck for vCPU configuration.
- Renamed “Checking can evacuate host status” precheck group to “Checking VM migration status”
- Prechecks page – check that all VMs have valid vCPU settings (i.e. number of vCPUs is a multiple of number of cores per socket).
- This check is included in the ‘Checking VM migration status” group
- If a VM has invalid vCPU settings, the precheck will display the problem with a solution to “Fix vCPU configuration” which opens the VM Properties dialog on the CPU page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-06 13:50:13 +01:00
Mihaela Stoica
8f1eb99e76 CP-8120 Set cores per socket through XenCenter: Added 'Topology' field to the New VM Wizard.
- Text on CPU page - changed to include topology.
- Summary page on the New VM Wizard – changed to include topology

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-05 13:03:06 +01:00
Gabor Apati-Nagy
4bf9e8ec1c Merge pull request #85 from stephen-turner/icons
CP-4961 New icons for CAR-107
2014-06-04 14:20:21 +01:00
Stephen Turner
adebc23f71 CP-4961 New icons for CAR-107 2014-06-03 16:49:13 +01:00
Mihaela Stoica
b529869773 Merge pull request #79 from stephen-turner/CA-130368
CA-130368 Update various language and URLs
2014-06-02 11:30:29 +01:00
Mihaela Stoica
900580e8b3 Merge pull request #82 from stephen-turner/CA-136767
CA-136771 CA-136767 Improve deprecation messages to be applicable to next version of XenServer
2014-06-02 11:05:01 +01:00
Stephen Turner
30a6c23379 CA-136771 CA-136767 Improve deprecation messages to be applicable to next version of XenServer 2014-05-30 11:23:35 +01:00
Stephen Turner
9070a3ba9b CA-130368 Update various language and URLs 2014-05-28 16:22:31 +01:00
Stephen Turner
351be95c2f CA-136784: Reattaches an existing SR instead of creating a new one 2014-05-28 13:26:59 +01:00
Mihaela Stoica
795e371bda Merge pull request #76 from GaborApatiNagy/xs64bit
CP-8474: Remove iSL radio button from XenCenter for >= Creedence servers...
2014-05-21 14:57:05 +01:00
Gabor Apati-Nagy
02260a21b4 CP-8474: Remove iSL radio button
Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-05-21 14:34:43 +01:00
Gabor Apati-Nagy
9169a4dba9 CP-8474: Remove iSL radio button from XenCenter for >= Creedence servers.
Made the radio button invisible for Creedence or higher XS hosts.
Removed previous StorageLink-related upgrade pre-checks and added (strict) check to prevent upgrade when StorageLink is used.

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

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-05-20 12:38:03 +01:00
Stephen Turner
c15e14cf6c Merge pull request #54 from MihaelaStoica/CA-123534
CA-123534: In the Install Update wizard, when hosts are disabled because...
2014-04-30 18:04:27 +01:00
Gabor Apati-Nagy
12d1a53c44 Merge pull request #46 from Zhengchai/cp-7527
CP-7527: Restore WLB for Creedence XenCenter changes.
2014-04-30 13:25:39 +01:00
Mihaela Stoica
bbd78cd36d CA-123534: In the Install Update wizard, when hosts are disabled because the update cannot be applied, display the reason as a tooltip.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-04-29 15:46:15 +01:00
Mihaela Stoica
9f0998b336 CA-119177: On Prechecks page of Rolling Pool Upgrade wizard, the error should only be visible when errors are found.
If errors are found the error info at the bottom of the page shows up, however this should not happen while still checking and before any errors have been found.
Same applies for Prechecks page of Install Update Wizard.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-04-28 13:44:20 +01:00
Mihaela Stoica
9cd44853fd CA-125896: Fixed text overflowing on Live Migration Network page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-04-25 11:57:43 +01:00
zheng chai
e10125fbce CP-7527: Restore WLB for Creedence XenCenter changes.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2014-04-22 19:14:53 +08:00
Cheng Zhang
34b30b9b9a CP-7579: Remove the DVSC deprecated warning messages on XenCenter for XS6.5(remove all deprecate related code) 2014-04-21 14:13:04 +08:00
Cheng Zhang
31ba19336b CP-7579: Remove the DVSC deprecated warning messages on XenCenter for XS6.5
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2014-04-17 10:49:30 +08:00
Stephen Turner
5a20317be0 [CA-130968] Give more advice on hotfix wizard 2014-04-14 16:28:13 +01:00
Mihaela Stoica
908025a43e CA-123914: Install update wizard: When applying a patch to multiple pools, the "revert prechecks" action should be executed only once, after the patch is applied to all pools.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-02-03 11:13:45 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
b3fc67a4d8 CA-123576: Step 1 - stop toggling the enabled state of the Windows menu item when non-modal forms are launched.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-30 14:47:01 +00:00
Konstantina Chremmou
3b25591d71 CA-85971: Removed method selecting tab by name. Made all pages of VerticallyTabbedDialog private.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 17:17:04 +00:00
Konstantina Chremmou
d1c0da5d54 PlanAction simplification: removed PlanActionStatusChangedEventArgs class; use Action<T>
delegate; renamed event and its event hadler.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-21 12:52:28 +00:00
Konstantina Chremmou
a128847717 AutomaticBackgroundThread and SemiAutomaticBackgroundThread simplification: moved
common code to the base class BackgroundThreadBase; removed classes inheriting from
EventArgs; use Action/Action<T> delegates instead of EventHandler<T>.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-21 11:36:20 +00:00
Mihaela Stoica
e74ee1fa38 CA-110160: Cross Pool Migrate wizard: Showing an error message (instead of warning) when the selected VMs are no longer available for migration. Also added full stop at the end of message.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-12-19 14:30:38 +00:00
Konstantina Chremmou
373e4c6851 CP-4960: Notify the users they have a half-upgraded pool: small improvements.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-19 12:41:07 +00:00
Gabor Apati-Nagy
21b4dbca1a Fixing implicit hidings that break the release build
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 18:09:54 +00:00
Konstantina Chremmou
81a41f5a22 CP-4957: Added logging for the Rolling Pool Upgrade process.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:57:20 +00:00
Konstantina Chremmou
11296fe882 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-11 10:54:10 +00:00
Konstantina Chremmou
1c3ecc281b CA-122834 Don't show GPU tab for non-vGPU servers
Also GPU page on Pool properties dialogs should not be shown for non vGPU pools.
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1385743406 0
#      Fri Nov 29 16:43:26 2013 +0000
# Node ID e28f9921a0a17efb1e3a8d185acf18b5b6e116b1
# Parent  59229250db34dd4cc1f34fbdab055467a1570f87

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-11 10:45:28 +00:00
Mihaela Stoica
dfbce35d7c Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-12-06 10:24:58 +00:00
Konstantina Chremmou
b95dcf2237 CA-122644: Fixes issue where a vmware package was not detected as such and hence
the import crashed. Some missing null checks.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-02 12:37:35 +00:00
Mihaela Stoica
3ce6e782ff Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-26 12:40:36 +00:00
Konstantina Chremmou
5d04edae99 CP-6093: The Window menu item on the top MainWindow menu should be disabled when
no forms are open. Since there is no event notifying about the Application.OpenForms
changing, created a new base class for all XenCenter dialogs and wizards with a
static event to which the main windw can subscribe.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 16:03:21 +00:00
Konstantina Chremmou
649f86bc1d Unregister registered CollectionChanged event on disposal.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 12:01:54 +00:00
Mihaela Stoica
739c3d4837 CA-110160: Fixed uncaught exception in VM migrate wizard observed while concurrent migrate operation is triggered on same VM
- before leaving each page of the wizard, check if all selected VMs are still available for migration

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-11-19 17:02:02 +00:00
Konstantina Chremmou
da5408bf21 Missing license headers.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:59:08 +00:00
Konstantina Chremmou
0354bd7a85 [CA-121012] Fixed: Offering GPU type with no GPUs available
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1384269857 0
#      Tue Nov 12 15:24:17 2013 +0000
# Node ID 75cc5c584b9670ad16658d459fc069b07c57a433
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:34:55 +00:00
Konstantina Chremmou
c843f5b867 CP-6511: Ovf import/export for vGPU enabled VMs.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384181202 0
#      Mon Nov 11 14:46:42 2013 +0000
# Node ID 6810ba763a896bcf7dd4295f30c6d5f42b02e9de
# Parent  37666849a54470e0da04b8d14c17940f8b580636

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:29:30 +00:00
Konstantina Chremmou
efc21f74bb [CP-6900]: VGPU, PGPU, VCPU: normalise case of abbreviations
# HG changeset patch
# User Gabor Apati-Nagy <Gabor.Apati-Nagy@citrix.com>
# Date 1383920504 0
#      Fri Nov 08 14:21:44 2013 +0000
# Node ID 857858a59d27d7b1aac2d87246169cd3ffcec5b4
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:58:43 +00:00
Konstantina Chremmou
626fa9198d CP-6215: Do not allow HA for vGPU VMs.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1383906034 0
#      Fri Nov 08 10:20:34 2013 +0000
# Node ID 157e4adf37647301d87428e5cd0532c5ce1d380d
# Parent  1ded37405ccff8e00c2442a780e1027fa1cb87a1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:57:28 +00:00
Konstantina Chremmou
569b35e854 CP-6084: Show the GpuEditPage only for HVMs. Fixed issue with flickering warning
and preselected combobox item when the user first lands on the GpuEditPage.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1382365049 -3600
#      Mon Oct 21 15:17:29 2013 +0100
# Node ID addf480a5eeb1c2bfc1a2756fee55dfa966d1751
# Parent  dc93a040fbe1e9ca80e39352dc776941fd4c7802

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:29:41 +00:00
Konstantina Chremmou
0d1b7b2b74 CP-6093: Removed uses of the enum value Tab.History.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 11:59:46 +00:00
Konstantina Chremmou
0bac4b8196 Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-04 14:10:42 +00:00
Konstantina Chremmou
58062b024c CA-116494: Improvements on the server status report contents list: made the list
sortable; substituted balloon warning with tooltip; moved privace statement link
to the bottom of the page; reordered select/clear all buttons.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-04 14:09:50 +00:00
Gabor Apati-Nagy
6c2426d92b Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/xenadmin 2013-11-04 12:37:21 +00:00
Gabor Apati-Nagy
71985da65b [CA-112940] Fixed: HA restart button not enabled for selected VM 2013-11-04 12:33:15 +00:00
Konstantina Chremmou
5f400c08d9 Changed the order of the Select All and Clear All buttons, as in most cases in
XenCenter the former comes before the latter.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-04 08:44:46 +00:00
Konstantina Chremmou
d06df7c236 Fixed flickering warning when we first land on the Finish page of the HA wizard.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-31 13:55:15 +00:00
Mihaela Stoica
2c050458a7 CA-118787: Assign priorities page on HA Wizard: Try to avoid ArgumentNullException on removing rows by checking for null values.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-10-17 15:37:03 +01:00
Gabor Apati-Nagy
dc0460ddc8 SR wizard/iSCSI target/Select LUN selector: if there is one result only, this item is selected automatically 2013-10-16 11:12:00 +01:00