Commit Graph

1059 Commits

Author SHA1 Message Date
Usha Mandya
c62df58426 Added new topic on installing supp packs 2015-04-10 17:26:48 +01:00
Usha Mandya
35aaf90d74 CP-11072: XC Help updates for Docker 2015-04-10 17:25:31 +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
f00b71cca3 Merge pull request #427 from GaborApatiNagy/CA-165712_master
CA-165712: Show the GPU tab when GPU is licensed, even when there are no...
2015-03-31 17:43:14 +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
Gabor Apati-Nagy
c73f7d5115 Merge pull request #410 from MihaelaStoica/CA-164816
CA-164816: After disabling HA on a pool, it should be possible to apply vGPU/GPU Passthrough to previously protected VMs
2015-03-31 17:39:09 +01:00
Gabor Apati-Nagy
93132ebbaa CA-165712: Show the GPU tab when GPU is licensed, even when there are no supported GPUs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-31 17:26:37 +01:00
Mihaela Stoica
6e9d2dbde7 Merge pull request #422 from GaborApatiNagy/CA-148967_master
CA-148967: G11n: I18n: Un-localized issue for string "iSCSI login failed...
2015-03-31 16:54:16 +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
0db5b1414f CA-157503: GPU preference dialogs refer to vGPU instead of GPU
-changing "vGPU" to "virtual GPU"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-30 16:21:46 +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
dfab7f9b96 CA-165096: Add null reference check 2015-03-27 16:30:36 +00:00
Stephen Turner
f14d07d8b8 Merge pull request #412 from cheng--zhang/CA-165096-v2
CA-165096: solve XenCenter slow to find RDP interface
2015-03-27 16:25:02 +00:00
Gabor Apati-Nagy
544acda852 Merge pull request #418 from stephen-turner/CA-165121
CA-165121: Use the actual Scientific Linux icon
2015-03-27 16:10:34 +00:00
Stephen Turner
1c593c6943 CA-165121: Use the actual Scientific Linux icon 2015-03-27 16:00:46 +00:00
Gabor Apati-Nagy
1ed11a970d Merge pull request #416 from stephen-turner/CA-165121
CA-165121: Scientific Linux icon (placeholder for the moment).
2015-03-27 15:29:25 +00:00
Gabor Apati-Nagy
0e3b9d11a1 Merge pull request #413 from GaborApatiNagy/CA-160915
CA-160915: Contains Cloud-config param updates
2015-03-27 15:11:16 +00:00
Gabor Apati-Nagy
eb61f8fe0c CA-165367: Reclaim freed space feature fails on Local storage on Slave host 2015-03-27 15:06:17 +00: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
Usha Mandya
4baeddfc3f CA-160915: Contains Cloud-config param updates 2015-03-27 12:54:36 +00:00
Cheng Zhang
8519fab118 CA-165096: solve XenCenter slow to find RDP interface
To solve this long latency issue, we will only scan IPs whose PIF link status is connected.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-27 14:02:48 +08:00
Mihaela Stoica
bb14ac0abd CA-164816: After disabling HA on a pool, it should be possible to apply vGPU/GPU Passthrough to previously protected VMs
- When deciding whether to allow GPU configuration on a VM, check if the HA is enabled, not just the the VM's restart priority setting

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-26 16:57:25 +00:00
Mihaela Stoica
a2bb28a997 Merge pull request #404 from cheng--zhang/CA-165464
CA-165464: Switch to RDP on VM with RDP enable if auto-switch selected
2015-03-26 13:52:09 +00:00
Mihaela Stoica
24f32b2d91 Merge pull request #408 from stephen-turner/CP-11713-b
CP-11713: Storage Motion icons for stopped and suspended VMs
2015-03-26 13:51:22 +00:00
Stephen Turner
a2d2c8e85d CP-11713: Actually include the icons! 2015-03-26 13:34:59 +00:00
Stephen Turner
6d3a937304 CP-11713: Storage Motion icons for stopped and suspended VMs 2015-03-26 13:33:17 +00:00
Gabor Apati-Nagy
2e6276272a CA-164819: On board VGA appears on GPU list
-We used to check host.RestrictVgpu instead of checking the API version when populating the dropdown on the GPU Settings page. This is not sufficient anymore as it depends on the license too, so changed the code to check version (vGPU was introduced in Clearwater SP1).
2015-03-26 12:13:04 +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
Cheng Zhang
0adbf80b1c CA-165464: Switch to RDP connection on VM with RDP enable if automatically switch selected
This code change is to set “switchOnTabOpened” in below condition:
1.	XenCenter have “Automatically switch to the Remote Desktop console when it becomes available" selected
2.	VM have RDP enabled.
3.	XenServer Version is Cream or greater.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-24 13:40:28 +08: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
Gabor Apati-Nagy
37091dbb25 Merge pull request #398 from stephen-turner/CA-159791
CA-159791: Remove GC debug info from logs
2015-03-23 12:49:55 +00:00
Gabor Apati-Nagy
14ec7ce317 Merge pull request #399 from stephen-turner/CA-141172
CA-141172: missing colon on RPU pre-check page
2015-03-23 12:49:51 +00:00
Stephen Turner
e909d9aa92 CA-165108: On power-on properties, a change of script name isn't saved 2015-03-20 14:21:26 +00:00
Stephen Turner
2c0c96d577 CA-151447: Uninternationalised string wake-on-lan 2015-03-20 14:21:18 +00:00
Stephen Turner
d1c3c42db3 CA-141172: missing colon on RPU pre-check page 2015-03-20 13:28:03 +00:00
Stephen Turner
ae672aa4b0 CA-159791: Remove GC debug info from logs 2015-03-20 13:17:06 +00:00
Mihaela Stoica
272886b3fc CA-162989: Change section title in VM General tab to "Docker Information"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-19 17:08:50 +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
a232ff1a20 Merge pull request #383 from GaborApatiNagy/CA-164184
CA-164184: Text fixes in CIFS feature
2015-03-17 17:03:18 +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
Mihaela Stoica
4ecc70a307 Merge pull request #390 from stephen-turner/CA-163782
CA-163782: Read the read-caching reason from the server
2015-03-17 09:45:17 +00:00
Stephen Turner
a6f6b775fd CA-163782: Read the read-caching reason from the server 2015-03-16 19:54:55 +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
Cheng Zhang
4486dca281 CA-164678: Got incorrect guest screen resolution with user's first switch to Remote Desktop from XenCenter Console
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-16 15:02:32 +08: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
112ee8c0e4 CA-164176: Make sure that the Install Update does not get stuck on precheck stage after cleanup on slave
- implement GetHashCode on HostOutOfSpaceProblem

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-12 14:38:55 +00:00
Mihaela Stoica
a71143c720 CA-164176: Make sure that the Install Update does not get stuck on precheck stage after cleanup on slave
- override the Equals function on HostOutOfSpaceProblem to check the disk space requirements, not the Description.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-12 12:34:51 +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
764e4f8ceb fixing typo in a comment, fixing build 2015-03-09 20:02:07 +00:00
Stephen Turner
1ff2dc93a5 Merge 2015-03-09 17:51:33 +00:00
Mihaela Stoica
0d20906346 Merge pull request #364 from GaborApatiNagy/CA-162989
CA-162989: Container Management GUI usability/homogeneity fixes
2015-03-09 16:13:11 +00:00
Mihaela Stoica
fd29a1b53c CA-162992: Better display of container network port mapping information on General tab; changes following code review
- do not add the Ports entry if it is empty

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-09 15:43:49 +00:00
Stephen Turner
419a2e8de6 Merge 2015-03-09 15:32:07 +00:00
Stephen Turner
dc3db509f1 CA-163334: Add read caching status to the Search 2015-03-09 15:23:42 +00:00
Mihaela Stoica
5a9560d2a2 CA-162992: Better display of container network port mapping information on General tab
- Show ports as: Address: 0.0.0.0; Public port: 8088; Private port: 8088; Protocol: tcp (multiple lines if more than one set)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-06 11:43:47 +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
Gabor Apati-Nagy
497afabcef CA-162989: Container Management GUI use-ability/homogeneity fixes
Implemented changes as follows (copied from ticket):
"I'd suggest the following use-ability/homogeneity fixes for the new container management tabs, if they are quick and easy:

    Combine "Docker Version" and "Docker Information" on the VM-General-tab into "Container Management - Docker Status" with the following fields only:
        API version
        Version
        Git Commit
        Driver
        Index Server Address
        Execution Driver
        IPv4 Forwarding
    In the "Processes" tab, change the name from "Docker Processes" to "Container Processes"
    In the "Details" tab, change the name from "Docker Detail" to "Container Details"
    In the "Details" tab, drop the top level element "docker_inspect" (XML requires a single root-node, afaik the Windows form treenode does not), or alternatively open the root node by default and rename it to "Inspect Result"
    In the "Details" tab, add the "Details"-headline in black on white - just like on the "Processes"-tab

Also, on the container's General tab, show Properties button disabled, instead on hiding it (to be consistent to other cases, e.g. disconnected servers)
"

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-03-05 19:10:54 +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
3b51c5d9ae CP-10900: Changed the text slightly on the VM Container Management page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 14:27:25 +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
Mihaela Stoica
740bbf133e CA-161097: Renamed Container member to Docker container to fix build failures
This fixes the build errors:
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerDetailsPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.
- error CS0108: Warning as Error: 'XenAdmin.TabPages.DockerProcessPage.Container' hides inherited member 'System.ComponentModel.Component.Container'.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-26 09:45:43 +00:00
Mihaela Stoica
235f404ea7 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- changes following code review: simplified the code that determines the current state; and renamed some variables.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 16:49:58 +00:00
Mihaela Stoica
9c0bdcf08c Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-10625 2015-02-25 15:50:59 +00:00
Gabor Apati-Nagy
29b7342597 Merge pull request #339 from MihaelaStoica/CA-161097
CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
2015-02-25 15:15:54 +00:00
Mihaela Stoica
1c562bcb9a CA-161097: Change IXenObject to DockerContainer in container Details and Processes page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 15:08:59 +00:00
Mihaela Stoica
bf2e9bcfb1 CP-10625: Provide Xencenter user interface to enable/disable integrated GPU passthrough
- Added a "Integrated GPU passthrough" section to the PoolGpuEdit page.
- This section is only visible for a host that has GPU capability and the enabling/disabling of integrated GPU passthrough is not restricted.
- With this addition, the GPU page can now be displayed for a pooled host as well (previously only pool or standalone host)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 13:01:03 +00:00
Mihaela Stoica
08d4b6e306 CA-161097: Changes following code review
- Disable the Refresh button while a refresh is in progress.
- Introduced ExecuteContainerPluginAction - an action that stores the container it was called for, so that on completion we can decide whether to update the view or not (if the container displayed has changed, then we shouldn't update the view with the results from a previously selected container).

These changes apply to container Processes and Details tabs.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-25 12:44:03 +00:00
Mihaela Stoica
049d899f2d CA-161097: Rename some variables 2015-02-25 12:24:39 +00:00
Gabor Apati-Nagy
cd4bbf0633 Merge pull request #346 from MihaelaStoica/CP-11179
CP-11179: Rename 'Container Enlightenment' to 'Container Management'
2015-02-24 16:31:20 +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
Stephen Turner
a1221aaba0 CP-11124: New icons for containers 2015-02-24 16:25:05 +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
be2982b439 CP-11179: Rename 'Container Enlightenment' to 'Container Management'
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-24 10:46:11 +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
5a4f537347 CA-161097: Changed Refresh button caption (removed ellipsis)
- also made Refresh buttons the same size on Details and Processes page and changed Details tab caption from "Detail" to "Details"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-23 16:58:34 +00:00
Stephen Turner
df8a6848aa CP-11124 Better CoreOS icon for the New VM Wizard 2015-02-23 15:51:06 +00:00
Stephen Turner
8aae324f0a Merge 2015-02-23 14:34:35 +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
fecde2e3be CP-10772: Display the read caching status in XenCenter
- Show a “Read Caching” section on the General Tab of a VM when the VM is running on a Cream or greater host
- When the Read Caching is enabled, the “Read Caching” section will contain two entries: Status and Disks (list of disks with RC enabled)
- When the Read Caching is disabled, the “Read Caching” section will contain two entries: Status and Reason

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-19 14:09:08 +00:00
Stephen Turner
f9725eaddb Merge pull request #336 from MihaelaStoica/CP-11135
CP-11135: Expand patch precheck to account for OUT_OF_SPACE exception
2015-02-18 16:23:48 +00:00
Stephen Turner
b08ab2c3df CA-161525: Fix failed dereference by using an existing function 2015-02-18 13:49:53 +00:00
Mihaela Stoica
da604fc957 CP-11135: Changes following code review
- add checks for CreamOrGreater

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 12:26:47 +00:00
Mihaela Stoica
4e29c8dbb8 CA-161097: Pause the automatic refresh on Container processes page when the page is not visible
- Instead of calling the plugin on the UI thread, we call it through an action that we execute asynchronously  and on completion update the UI.
- Pause the refresh timer on leaving the page and resume it when entering the page again.
- We do this for both Processes and Details page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-18 09:50:55 +00:00
Mihaela Stoica
39abfc1902 Merge branch 'CP-10925' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-10925
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
2015-02-17 10:27:58 +00:00
Cheng Zhang
d488860045 CP-10925: Add Docker-specific information
1.Add Docker information in General Tab
2.Add Docker version in General Tab

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-17 10:20:07 +08:00
Mihaela Stoica
1a484b99ff CP-11135: Expand patch precheck to account for OUT_OF_SPACE exception
- Pool_patch.precheck can fail with the xapi error OUT_OF_SPACE when is trying to copy the patch from master to the slaves. This happens before the patch-precheck checks if enough space is available for installation. Therefore is different from the error we are currently processing, PATCH_PRECHECK_FAILED_OUT_OF_SPACE
- If the precheck fails with OUT_OF_SPACE then we try and retrieve the disk space requirements and report a HostOutOfSpaceProblem.
- Changed the PatchPrecheckCheck to try and find problem from a xapi failure, as well as from the result of the precheck  call.
- Also removed ampersand from the the link labels (More Info and Clean up)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-16 11:11:30 +00:00
Stephen Turner
96fdf4e53c Merge pull request #331 from cheng--zhang/CA-160189
A-160189: Change RDP button display on Console tab
2015-02-16 11:04:57 +00:00
Mihaela Stoica
5707f187bf Merge pull request #332 from huizh/CA-161001
CA-161001: Display Created field as DateTime on Docker General Tab.
2015-02-15 13:36:57 +00:00
Hui Zhang
1e07c96710 CA-161001: Display Created field as DateTime on Docker General Tab.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-15 09:32:34 +08: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
Cheng Zhang
ce3bec1231 A-160189: Change RDP button display on Console tab
Remove “Remote access is not enabled on this guest” in cream in below condition:
1.RDP status is on
2.PV driver is cream or greater

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 14:18:36 +08:00
Cheng Zhang
9c0e2c60de CP-11053: Add per-container "Details"-Tab
- Showing all detailed information from a docker_inspect call
- The information refresh/polls every 20s while it's open
- Button “Refresh” add, so user can refresh the result. Also shows time when the last refresh happens.
- Add TabPageDetails as value 9903 in HelpManager.resx

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 10:49:41 +08:00
Mihaela Stoica
a1a402fd30 CP-10798: Remove unreachable code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-12 15:41:23 +00:00
Gabor Apati-Nagy
03e26c8bde Merge pull request #321 from MihaelaStoica/CP-10929
CP-10929: On the General tab, Update 'Properties' button visibility for ...
2015-02-12 15:10:51 +00:00
Gabor Apati-Nagy
878229e9a8 CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installation space
-Fixed code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 14:00:51 +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
Mihaela Stoica
e3494f2d92 Merge pull request #324 from huizh/CP-11052
CP-11052: Add per-container "Processes"-Tab to XC
2015-02-12 10:53:18 +00:00
Hui Zhang
789e45f11c CP-11052: Add per-container "Processes"-Tab to XenCenter
This tab will show docker process id, command and CPU time.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-02-12 17:58:17 +08:00
Mihaela Stoica
9bae16c03c CP-10927: Add container lifetime operations to the toolbar
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 13:46:23 +00:00
Mihaela Stoica
fe8c876a83 CP-10927: Add container restart operation
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 11:08:37 +00:00
Mihaela Stoica
6b61a19d4f CP-10929: On the General tab, Update 'Properties' button visibility for all object types
This fixes the following issue: when displaying the General tab of a container, the Properties button is hidden, but not made visible again when switching to another object type (e.g. VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 13:45:44 +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
Gabor Apati-Nagy
746db783ec Merge pull request #317 from MihaelaStoica/CAR-1736
CP-10900: Add functionality for enabling/disabling/querying the containe...
2015-02-10 11:44:49 +00:00
Mihaela Stoica
640aef8c1e CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
- Changed 'Enlightenment' to 'Container Enlightenment'

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-10 11:42:29 +00:00
Cheng Zhang
c1403c1a92 CP-10929: Add per-container General-Tab to XC
1.Add ports and command in DockerContainer object
2.All labels in General box are internationalized.
3.Add UUID, command, ports in General box
4.Export DockerContainer in ICache
5.Modify tab title to "Container General Properties"
6.Remove properties button

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-10 11:03:59 +08:00
Mihaela Stoica
dbebab2563 CP-10927: Internationalize existing container commands and actions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 16:53:29 +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
Mihaela Stoica
c3b667ec7f CP-10900: Add functionality for enabling/disabling/querying the container monitoring on a per-VM-basis to XenCenter
New Page: Enlightenment on VM Properties Dialog, visible only for:
- VMs on Cream Or Greater hosts
- that can be enlightened, regardless of their power state

A VM can be enlightened if the key "xscontainer-monitor" exists in other_config.
A VM is enlightened if other_config:xscontainer-monitor if true.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 17:46:58 +00:00
Gabor Apati-Nagy
d1b6996809 Merge pull request #316 from MihaelaStoica/CP-10799
CP-10799: Ensuring sufficient disk space for service pack installation: ...
2015-02-06 15:04:55 +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
e6784d1837 CP-10799: Ensuring sufficient disk space for service pack installation: Display hotfix installation size on the Updates page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 12:32:29 +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
Gabor Apati-Nagy
00e57ec414 CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-04 09:48:32 +00:00
Gabor Apati-Nagy
b09be18bcd Merge pull request #303 from MihaelaStoica/CAR-1732
CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
2015-01-30 12:58:43 +00:00
Stephen Turner
40aa9c7d14 Merge 2015-01-29 15:45:21 +00:00
Mihaela Stoica
272585aa1d CP-10825: Supp Pack installation through XenCenter: Display installed supplemental packs on host's General tab
The 'Updates' section on host's General tab displays which packs have been installed onto a host, including the version number

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-28 13:17:58 +00:00
Gabor Apati-Nagy
bdd8e68059 Merge pull request #301 from MihaelaStoica/CAR-1732
CAR-1732: Supp Pack installation through XenCenter
2015-01-28 10:09:35 +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
Cheng Zhang
c6ccae79d3 CP-10955: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-28 10:02:19 +08:00
Cheng Zhang
2238b0ac1f CP-10955: XenCenter: use "feature-ts2" to detect Windows RDP feature
1.Add xapi version check in cream since Cream and Creedence have the same platform version
2.Check feature-ts2 to see if turn on RDP feature can use on specific VM PV tool

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-27 14:27:42 +08:00
Usha Mandya
84d63d90d0 Updated XC Help for hotfix Gloss 2015-01-26 16:54:59 +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