Commit Graph

1328 Commits

Author SHA1 Message Date
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
Mihaela Stoica
0f7e81d52c Merge pull request #325 from cheng--zhang/CP-11053
CP-11053: Add per-container "Details"-Tab
2015-02-13 10:33:21 +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
f18879b8c2 Merge pull request #330 from MihaelaStoica/master
CP-10798: Remove unreachable code
2015-02-12 15:42:53 +00: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
Mihaela Stoica
3d418ee412 Merge pull request #329 from xenserver/GaborApatiNagy-patch-1
CA-161000: XenCenter: Snapshot with containers appears in the tree view
2015-02-12 15:25:32 +00:00
Gabor Apati-Nagy
02db682891 CA-161000: XenCenter: Snapshot with containers appears in the tree view
-considering vm.is_a_real_vm

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-12 15:24:23 +00:00
Gabor Apati-Nagy
21d2ea0a5b Merge pull request #326 from MihaelaStoica/CP-11039
CP-11039: Change VM.CanHaveVGpu to use the new allow-vgpu flag
2015-02-12 15:10:58 +00:00
Gabor Apati-Nagy
4b7a34cfee Merge pull request #322 from MihaelaStoica/CAR-1736
Normalizing the line endings and another fix in the tree refresh for containers
2015-02-12 15:10:54 +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
Mihaela Stoica
0e8fbfceca Merge pull request #327 from GaborApatiNagy/CP-10798
CP-10798: XenCenter work for CAR-1711: Pre-Checks for hotfix installatio...
2015-02-12 14:04:44 +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
588819c386 CP-11039: Change VM.CanHaveVGpu to use the new allow-vgpu flag
-  A VM can have vGPU if it is HVM and the the allow-vgpu restriction is absent or is non-zero
- allow-vgpu is 0 for HVM Linux VMs

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-12 11:47:47 +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
Gabor Apati-Nagy
e92ae33cc7 Merge pull request #323 from MihaelaStoica/CP-10927
CP-10927: Add container restart operation and add all lifetime operations to the toolbar
2015-02-11 17:11:47 +00: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
84bce22f5b CA-159907: Fix more refresh issues on containers
- set container's opaque_ref to parent.opaque_ref + uuid, to make it unique inside a connection (the uuid is only unique inside a VM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 10:21:48 +00:00
Mihaela Stoica
787ed2cf2d CP-10929: Normalizing the line endings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-11 09:32:34 +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
Mihaela Stoica
604f472c64 Merge pull request #318 from cheng--zhang/CP-10929
CP-10929: Add per-container General-Tab to XC
2015-02-10 10:40:13 +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
Gabor Apati-Nagy
d79ad010ac Merge pull request #320 from MihaelaStoica/CA-159907
CA-159907: Fix refresh issues on containers
2015-02-09 16:42:45 +00:00
Mihaela Stoica
e531e6fd98 CA-159907: Fix refresh issues on containers
- when we update the containers, we should update existing objects (if they exist), instead of always creating new ones.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-09 16:02:28 +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
Mihaela Stoica
c392e7625e Merge pull request #314 from GaborApatiNagy/master_unittestfix
CP-10988: Make docker containers proper XenObjects in XenCenter, to appe...
2015-02-05 16:23:36 +00:00
Gabor Apati-Nagy
c9fa1a03ed CP-10988: Make docker containers proper XenObjects in XenCenter, to appear on the treeview
-Fixing regression because of failing unit test: XenAdminTests.SearchTests.SearchMarshallingTests.RunTest

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-05 16:22:00 +00:00
Mihaela Stoica
cfcfba9c29 Merge pull request #312 from stephen-turner/CA-156817
[CA-156817] Rename vitualisation state 'unknown' -> 'unknown (please wai...
2015-02-05 15:50:48 +00:00
Gabor Apati-Nagy
d54915ca4a Merge pull request #313 from MihaelaStoica/CAR-1736
CP-10988: Fix the issue where VMs running containers appear twice in the...
2015-02-05 15:50:33 +00:00
Mihaela Stoica
a130e29409 Merge pull request #311 from stephen-turner/CA-156816d
CA-156816: In ballooning shiny bars, rename Xen -> XenServer
2015-02-05 15:50:03 +00:00
Mihaela Stoica
9312fca548 CP-10988: Fix the issue where VMs running containers appear twice in the treeview (and at the wrong level) if the host is in a pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-05 15:46:47 +00:00