Commit Graph

2487 Commits

Author SHA1 Message Date
Hui Zhang
c53e25d2d3 CA-194940: WLB - Hide host disk IO settings for XenServer previous to Dundee.
1. Check the Xenserver platform version and display the host disk read/write
threshold and metric weighting for Dundee or later XenServer.
2. Update the metric weighting page to make it autosize-able.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2016-01-06 15:02:44 +08:00
Stephen Turner
648d3733c8 Merge pull request #749 from GaborApatiNagy/CA-188553
CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled …
2015-12-22 16:33:26 +00:00
Gabor Apati-Nagy
477c4a671f CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled
Aligned the (info) icon on BondDetails page

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-21 18:09:48 +00:00
Gabor Apati-Nagy
03469e3c6c CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Localized text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 18:35:17 +00:00
Gabor Apati-Nagy
14138f5c7a CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled
Further changes in text

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 18:30:15 +00:00
Gabor Apati-Nagy
5ee26e2193 Merge pull request #766 from GaborApatiNagy/CP-15304
CP-15304: Remove saved search for Windows Update VMs
2015-12-18 17:15:06 +00:00
Gabor Apati-Nagy
90acffdde8 CP-15304: Remove saved search for Windows Update VMs
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 15:21:54 +00:00
Gabor Apati-Nagy
3ee19f64a6 Merge pull request #763 from MihaelaStoica/CA-160922
CA-160922: When a exception occurs in an http PUT call, set a timeout…
2015-12-18 11:44:19 +00:00
Gabor Apati-Nagy
bbfc6b06a1 Merge pull request #757 from MihaelaStoica/CA-190928
CA-190928: Disable "Disconnect Workload Balancing Server" menu option…
2015-12-18 11:38:53 +00:00
Gabor Apati-Nagy
6db5d1ea37 Merge pull request #759 from MihaelaStoica/CA-161457
CA-161457: Hide network if PIF.managed==false
2015-12-18 11:37:02 +00:00
Mihaela Stoica
11612e6190 Merge pull request #765 from GaborApatiNagy/master_winupdate_CP-14469
CP-14469: UI: General tab: show G1/G2 VM-related data
2015-12-18 11:36:42 +00:00
Gabor Apati-Nagy
c9c0862a0f Merge pull request #761 from MihaelaStoica/CA-191315
CA-191315: Storage motion from XenCenter should no longer be blocked …
2015-12-18 11:32:57 +00:00
Gabor Apati-Nagy
82cf229d88 CP-14469: UI: General tab: show G1/G2 VM-related data
Removed unused variable

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-18 11:25:29 +00:00
Mihaela Stoica
487a344b83 Merge pull request #764 from GaborApatiNagy/master_winupdate_CP-14822
CP-14822: UI: New VM Creation: update code to apply recommendations
2015-12-18 11:06:36 +00:00
Mihaela Stoica
5602f1129f Merge pull request #762 from GaborApatiNagy/master_winupdate_CP-15034_2
CP-15034: UI: Search: show new search & filter (Windows Update capability)
2015-12-18 10:58:19 +00:00
Mihaela Stoica
1d966e2917 Merge pull request #760 from GaborApatiNagy/master_winupdate_CP-14469
CP-14469: UI: General tab: show G1/G2 VM-related data
2015-12-18 10:51:51 +00:00
Mihaela Stoica
5d5e242018 Merge pull request #758 from GaborApatiNagy/CA-148491
CA-148491: XenServer breaks if any XenAPI client leaks sessions
2015-12-18 10:28:01 +00:00
Gabor Apati-Nagy
2444851850 CP-14822: UI: New VM Creation: update code to apply recommendations
log the parsing error as well

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-17 15:45:54 +00:00
Gabor Apati-Nagy
274c98d8d9 CP-14822: UI: New VM Creation: update code to apply recommendations
This changeset implements the followings:

On creation of a new VM,
* XenCenter will use licensed state of the host to determine whether it should obey/apply the template-recommendation regarding the vendor device.
* If the host is licensed, and the selected template's recommendations suggest that has_vendor_device can be set/should be set to true, as part of VM creation, XenCenter will set the vm's has_vendor_device based on the recommendation using set_has_vendor_device API call (after it has cloned the template and before calling vm.provision).
* XenCenter will not expose details whether 1G or 2G VM is going to be created.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-17 15:31:41 +00:00
Mihaela Stoica
8144ba9771 CA-160922: When a exception occurs in an http PUT call, set a timeout on the function that polls for task result
- set a timeout on this function so that, after 2 minutes, we give up on waiting for the task status to change and just report the error

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-12-17 14:30:38 +00:00
Gabor Apati-Nagy
570e98406e CP-15034: UI: Search: show new search & filter (Windows Update capability)
Added Windows Update capability related search functionality
2015-12-17 11:05:22 +00:00
Mihaela Stoica
c8620e978f CA-191315: Storage motion from XenCenter should no longer be blocked on WLB-enabled pools
The restriction that Storage Motion was not possible in the presence of WLB has been removed in Dundee. This commit removes the check in XenCenter.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-12-16 12:58:24 +00:00
Gabor Apati-Nagy
bb1f155347 CP-14469: UI: General tab: show G1/G2 VM-related data
Show "Able to receive Updates via Windows Update" or "Able to receive Updates via Windows Update" for Windows VMs

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-15 14:32:11 +00:00
Gabor Apati-Nagy
0ea26f0a85 CP-14469: UI: General tab: show G1/G2 VM-related data
Bringing in XAPI changes related to G1/G2 VMs

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-15 14:31:52 +00:00
Mihaela Stoica
c2fb4d46ca CA-161457: Hide network if PIF.managed==false
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-12-15 13:11:33 +00:00
Gabor Apati-Nagy
6f1ae68a09 CA-148491: XenServer breaks if any XenAPI client leaks sessions
Fixing XenServerHealthCheck to use modern overload of session.login_with_password. With this change XC and all its components are now sending an originator field (with some version added to it).

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-14 13:11:49 +00:00
Mihaela Stoica
8b5f23f451 CA-190928: Disable "Disconnect Workload Balancing Server" menu option if the feature is restricted by license
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2015-12-14 12:48:19 +00:00
Mihaela Stoica
be767b3509 Merge pull request #756 from GaborApatiNagy/CA-187916
CA-187916: Issues with Control domain memory alerts
2015-12-10 13:45:49 +00:00
Mihaela Stoica
8b6c1f16aa Merge pull request #754 from GaborApatiNagy/CA-189084
CA-189084: Control domain memory alerts not getting generated in Xencenter.
2015-12-10 13:45:39 +00:00
Gabor Apati-Nagy
652c7225f8 CA-189084: Control domain memory alerts not getting generated in Xencenter.
Removed unnecessary code found in code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-10 13:43:54 +00:00
Mihaela Stoica
ddb1afe14a Merge pull request #755 from GaborApatiNagy/CA-191832
CA-191832: Move DBV field out of License details section on the General tab
2015-12-09 11:28:45 +00:00
Gabor Apati-Nagy
9a2e2fe1c7 CA-187916: Issues with Control domain memory alerts
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 18:06:30 +00:00
Gabor Apati-Nagy
9a9f117dd8 CA-189084: Control domain memory alerts not getting generated in Xencenter.
Added logging to catch {}
2015-12-08 15:34:18 +00:00
Mihaela Stoica
dfa41bf133 Merge pull request #753 from GaborApatiNagy/CP-14874
CP-14874:Enable XC SSH support for Netscaler VPX & all Linux VMs
2015-12-08 15:33:08 +00:00
Gabor Apati-Nagy
03308f0f40 CP-14874: Enable XC SSH support for (more) Linux VMs
VM.IsWindows flag is getting clever

As this property is used on the General tab and on the SSH Console, HVM Linux VMs with the viridian flag turned on will no longer be treated as Windows VMs (as long as they have the Linux Guest Agent running)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 14:57:24 +00:00
Gabor Apati-Nagy
6bcae1c984 CP-14874: Enable XC SSH support for Netscaler VPX
Implemented special case for VM.IsWindows flag

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 14:12:11 +00:00
Gabor Apati-Nagy
8c38c4c098 CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Changes following code review:
* Disabled MTU control and added info label when MTU cannot be changed (due to Min==Max)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 11:09:58 +00:00
Gabor Apati-Nagy
400e82406f CA-191832: Move DBV field out of License details section on the General tab
Moved DBV field from the License section to the Version section.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-07 18:03:20 +00:00
Gabor Apati-Nagy
4baa36efab CA-189084: Control domain memory alerts not getting generated in Xencenter.
Dom0 memory alerts have to be configured in the other_config of the control domain (dom0) and not of the the host. This changeset implements this exception.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-07 17:57:54 +00:00
Stephen Turner
45dfd11dd1 Merge pull request #751 from GaborApatiNagy/CA-187932_2
CA-187932: Cancelled tasks are reported as errors in XenCenter
2015-12-04 09:23:58 +00:00
Gabor Apati-Nagy
bb0427a21c CA-187932: Cancelled tasks are reported as errors in XenCenter
Fixed: "User tasks (e.g. VM import) are reported as errors in XenCenter, when they are cancelled tasks."
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-03 18:41:25 +00:00
Mihaela Stoica
fd5b882b38 Merge pull request #750 from GaborApatiNagy/CA-189674
CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it sh…
2015-12-02 12:10:43 +00:00
Gabor Apati-Nagy
a8ea4d47be CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it shouldn't
I assumed the problem was that vm.resident_on is always unknown for stopped vms, but this is there intentionally to match only running vms and be always false for stopped ones. However, we still need similar logic to not to send VIF mapping when not needed in the assert.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-02 12:03:54 +00:00
Stephen Turner
027ead2193 Merge pull request #745 from GaborApatiNagy/CA-186244
CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
2015-12-02 11:44:55 +00:00
Gabor Apati-Nagy
3df22f4735 CA-189674: Move VM shows an irrelevant (VIF mapping) error, but it shouldn't
Fixed filters that are used to determine whether a vm can be migrated to a destination or not.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 21:31:48 +00:00
Gabor Apati-Nagy
49c17f9afb CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled if the base interface's MTU is < 9000
Fixed how we set the Maximum for the dropdown controls on:
* Creating External network,
* Creating Bonds
pages on the New Network Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 16:46:20 +00:00
Gabor Apati-Nagy
fd55598847 CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
Changed CPM_FAILURE_REASON_SAME_AS_RESIDENT_HOST message.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 11:38:06 +00:00
Gabor Apati-Nagy
16cd22f3db CA-186244: Cross-pool copy of a stopped VM allows selection of the current pool
Hide the pool instead

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-01 11:29:06 +00:00
Stephen Turner
1b2ff28fb1 Merge pull request #748 from stephen-turner/CP-14647-2
CP-190904: Remove removed menu items from the unit tests too
2015-11-30 14:00:00 +00:00
Stephen Turner
c94cf3104c CP-190904: Remove removed menu items from the unit tests too 2015-11-30 13:58:42 +00:00