Commit Graph

39 Commits

Author SHA1 Message Date
mcintyre94
284afe255e Merge pull request #1210 from kc284/CA-150412
CA-150412: OtherConfigAndTagsWatcher deliberately throws exceptions
2016-10-18 17:11:28 +01:00
Konstantina Chremmou
082e4693a8 CA-150412: Removed invocation of XenConnections_CollectionChanged with null parameters;
the objective is to mark the events as ready to fire, whcih can be done directly.
Also, added null checks where GetCollectionForType is used.
2016-10-14 10:32:20 +01:00
Mihaela Stoica
fe6144ba70 CP-17920: Add dialog for PVS cache configuration
- this commit contains a temporary image for PVS_site

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-26 17:44:17 +01:00
Mihaela Stoica
f2b1443064 Merge branch 'master' into CAR-2184
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2016-09-26 13:26:31 +01:00
Konstantina Chremmou
73a549a4d0 Improvements made while investigating CA-218953:
- when the cd drive or the tools iso cannot be found, the action should fail.
- if the tools SR is broken, do not show the error on a pop-up because the UX is
bad when installation is attempted on multiple VMS.
- added one more entry to the list of possible tools iso names.
- small performance improvement.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-17 22:35:01 +01:00
Mihaela Stoica
dea2749afa CP-18407: Rename PVS farm to PVS site
- New API bindings
- Fixed usages of PVS_farm class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-08-09 11:12:34 +01:00
Mihaela Stoica
f2b21975aa CP-16921: Add new PVS tab
- tab visible on pool or standalone server if the feature is not restricted and the pools has at least one farm

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-07-13 13:36:49 +01:00
Gabor Apati-Nagy
9d2a204bb7 CA-208707: [SCTX-2316] XenCenter Incorrect pop-up error message displayed if SSL secure channel cannot be created
My commit fixes the error message so the dialog will show "Could not create SSL/TLS secure channel." instead of "An unknown error occurred". This text is localised.
Unfortunately we see only a WebException with Status=SecureChannelFailure with no other details - couldn't provide an improved error message

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-23 12:48:01 +01:00
Mihaela Stoica
c86849055b CA-187132: XenCenter loses XenServer address when retrying connection
Signed-off-by: Mihaela Stoica <Mihaela.Stoica@citrix.com>
2016-03-07 16:55:18 +00:00
Mihaela Stoica
f7e0f61093 Merge pull request #832 from stephen-turner/CA-198487
CA-198487: Log at Info level not Debug level
2016-02-12 12:22:28 +00:00
Stephen Turner
e940ed8bb0 CA-198487: Log at Info level not Debug level 2016-02-12 11:29:19 +00:00
Gabor Apati-Nagy
b8e447afa3 CA-196315: XS65ESP1018 not showing up in XenCenter Updates (on staging)
Fixed code to treat uuids of patches case-insensitive when consuming, but not changing them (eg. to lowercase) to keep compatibility with older XAPIs.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-08 10:14:05 +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
Stephen Turner
448ee7fa4e CP-14647: Intermediate check-in #6
Fix two warnings-as-errors, and update sample dbs to newer API
2015-11-08 11:28:03 +00:00
Stephen Turner
8ea7e73b55 CP-14647: Intermediate check-in #5
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Mihaela Stoica
53e1153801 CA-180128: Ignoring more exceptions on the connection thread when disruption is expected
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-20 10:28:51 +01:00
Gabor Apati-Nagy
f6ccfd121a Updating XenModel/XenAPI with the latest SDKs from trunk #103769
code review: "We do want to see changes in the Pool.current_operations."
2015-08-14 14:09:07 +01:00
Gabor Apati-Nagy
3371f85952 Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Step 2
2015-08-11 19:06:58 +01: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
d364d976c2 CA-160996: XenCenter: Subscribe to fewer events in DockerContainers
-Following code review: Asserting instead of doing checks, because it makes more sense here

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-24 13:20:11 +00:00
Gabor Apati-Nagy
5384a14df8 CA-160996: XenCenter: Subscribe to fewer events in DockerContainers
-ServerXenObject-PropertyChanged eventhandler now returns immediately for a non-VM sender
-Changed IXenObject to VM wherever possible to explicitly state that those methods are expecting VMs
-The UpdateDockerContainersForVM method sets the dockerContainersChanged flag only if there are changes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-02-23 17:02:06 +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
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
Stephen Turner
577363a3a1 CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
Gabor Apati-Nagy
fe37c06ab6 CA-140330: Use originator in session.login_with_password
-Calling new overload of the session.login_with_password() XAPI function (+originator field). This lets XenServer to group all sessions from a given XenCenter instance.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-10 14:58:36 +01:00
Mihaela Stoica
3cb4807737 CA-108676: Put the Heartbeat and event.next sessions on their own ConnectionGroups.
Also make sure that the MeddlingAction's cancel session gets disposed.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-30 14:21:42 +01:00
Stephen Turner
416425a21e CA-132066 Make Heartbeat work as designed
The Heartbeat would log out the session after the first missed heartbeat.
This worked fine when the Heartbeat was on its own session, back in George
and earlier versions. However, when it was changed to use just a
DuplicateSession() instead of a new Session(), this broke the main session
of the connection. This caused a first heartbeat failure to break the
connection, and also caused the expectDisruption flag to be ignored.

This patch restores the old behaviour by not logging out the session until
the second failure.
2014-05-15 15:46:01 +01:00
Konstantina Chremmou
f1ebc3b5eb CA-130615: Do not show an event notification when the connection fails due to being
existing or due to the host being a slave. Use the action description instead of
the action title to construct the error for failed connection results. Indentation.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-28 15:01:11 +01:00
Stephen Turner
e9ad35848a CA-94466: Log when the heartbeat has come back 2014-04-17 11:43:08 +01:00
Konstantina Chremmou
f0cf20ec43 CA-127510: Reworked the logic of differentiating between tasks started by this instance
of XenCenter and tasks started from outside and cancelling the former when exiting
or disconnecting from the pool.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-03-11 14:30:01 +00:00
Konstantina Chremmou
5171d35130 CP-6085: Per-pool overview of vGPUs (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1381928854 -3600
#      Wed Oct 16 14:07:34 2013 +0100
# Node ID d3728527c55c8e615dc2979a4ed412a244c73299
# Parent  500886f75c7f678b98ad5fab5902a0e87d1798ea

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:06:50 +00:00
Konstantina Chremmou
94aa7ac531 CP-6093: Set a lcoation for the connection events. Fixed refresh problem on the
Events page location filter. Added help ids for the Notification views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-05 14:40:16 +00:00
Konstantina Chremmou
fb1f44e67b CP-6083: Updated XenModel with latest C# bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-18 09:48:28 +01:00
Mihaela Stoica
abd198e1eb CA-108512: Fixed the issue when Connect to Server dialog box becomes unresponsive when invalid password is tried during reconnect to host.
The error occurred when user specified a second wrong password. If the same wrong password was specified again and again, it didn't trigger it. This was due to an error in code where we didn't use the updated password in the second connection attempt.
Fixed by changing the code to use the updated username and password combination for every login attempt.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-08-19 16:59:41 +01:00
Konstantina Chremmou
62586ef89c CP-5750: Removed ActionType; the actions should be categorised by status (in progress,
succeeded, failed; cancelled at the moment counts as failed, we may need to distinguish
in future). As a consequence the filter checkboxes from the top of the Log tab
were removed and some temporary changes were made to the drawing of action rows
(the controls will change completely in a subsequent commit).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:38 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00