Permalink
Commits on Apr 26, 2017
  1. Merge pull request #3012 from cheng-z/CA-251251

    CA-251251: Use /var/update/applied/uuid mtime for patch apply time
    jonludlam committed on GitHub Apr 26, 2017
  2. CA-251251: Use /var/update/applied/uuid mtime for patch apply time

    Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
    cheng-z committed Apr 26, 2017
Commits on Apr 25, 2017
  1. Merge pull request #3007 from taoyongd/CA-250748

    CA-250748: MTU on pif does not always sync to xapi db
    robhoes committed on GitHub Apr 25, 2017
  2. CA-250748: MTU on pif does not always sync to xapi db

    Fix when pif-plug is called, the mtu is not sync to xapi db.
    
    Signed-off-by: Taoyong Ding <taoyong.ding@citrix.com>
    taoyongd committed Apr 21, 2017
Commits on Apr 24, 2017
  1. Merge pull request #3004 from cheng-z/CA-250757-master

    CA-250757: refresh software version after update been applied
    jonludlam committed on GitHub Apr 24, 2017
  2. CA-250757: Refresh software version after update been applied

    Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
    cheng-z committed Apr 20, 2017
Commits on Apr 21, 2017
  1. Merge pull request #3003 from jonludlam/CA-249662

    CA-249662: Pool_patch handler: If an SR is not specified, use default_SR
    mseri committed on GitHub Apr 21, 2017
Commits on Apr 20, 2017
  1. CA-249662: Pool_patch handler: If an SR is not specified, use default_SR

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 20, 2017
  2. Merge pull request #3001 from jonludlam/CA-171948

    CA-171948: Adjust semantics of 'add_to_<map>' in Db layer
    jonludlam committed on GitHub Apr 20, 2017
Commits on Apr 18, 2017
  1. CA-171948: Add a label for the boolean argument of idempotent

    Suggested by @lindig in PR#3001
    
    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 18, 2017
Commits on Apr 14, 2017
  1. CA-171948: Reinstate non-idempotency, with a switch

    * Xapi code must assume idempotency of 'add_to_<map>' calls
    * Remote DB calls will _always_ be idempotent
    * DB calls on the master are controlled by the switch, defaulting to
      the original behaviour (non idempotent)
    * API calls follow the master DB behaviour
    
    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 14, 2017
Commits on Apr 13, 2017
  1. CA-171948: Add a parameter to allow the db add_to_map to be idempotent

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 13, 2017
  2. CA-171948: Make add_to_map DB calls idempotent

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 13, 2017
  3. CA-250376: Add protocol option in firewall-port script

    Signed-off-by: Taoyong Ding <taoyong.ding@citrix.com>
    taoyongd committed with robhoes Apr 13, 2017
Commits on Apr 12, 2017
  1. Merge pull request #2995 from gaborigloi/makefile

    Makefile: add setup.ml prerequisite
    thomassa committed on GitHub Apr 12, 2017
  2. CA-242706: call update_getty at xapi startup

    During xapi startup, the on_dom0_networking_change function does not
    recognize the IP address change, as it gets set in the database at an
    earlier startup phase. This commit adds an unconditional call to the
    update_getty function during startup.
    
    Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
    gaborigloi committed with robhoes Mar 28, 2017
  3. Makefile: add setup.ml prerequisite

    To targets that need it and don't already depend on it transitively. Now
    these targets, such as "make all", will work with a clean repo without
    generated OASIS files.
    
    Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
    gaborigloi committed Apr 12, 2017
Commits on Apr 11, 2017
  1. CA-250143: Stat the mirror _before_ removing it

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed with robhoes Apr 11, 2017
Commits on Apr 10, 2017
  1. CA-249786: removed build number comparison from pool join rules.

    Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
    kc284 committed with robhoes Apr 7, 2017
  2. Language correction.

    Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
    kc284 committed with robhoes Apr 7, 2017
Commits on Apr 6, 2017
  1. Bumped API version to 2.7.

    Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
    kc284 committed with robhoes Apr 3, 2017
  2. New pool join rules to reflect ely changes in the updates.

    Removed comparison of host patches and implemented comparison on the api version
    and database schema instead.
    
    Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
    kc284 committed with robhoes Apr 5, 2017
  3. CA-236351: Update VM suspend_VDI field on suspend VDI.destroy

    If VDI.destroy is for suspend VDI of VM then
    set the VM suspend_VDI field to null ref.
    
    Signed-off-by: Sharad Yadav <sharad.yadav@citrix.com>
    sharady committed with robhoes Apr 4, 2017
  4. CA-236351: Update assert_can_see_SRs for null ref suspend VDI.

    Skip the call for get_SR for null ref suspend_VDI.
    For resuming VM with missing suspend VDI will be handled in
    `xapi_xenops.resume`, performing VM force shutdown.
    
    Signed-off-by: Sharad Yadav <sharad.yadav@citrix.com>
    sharady committed with robhoes Apr 4, 2017
  5. CA-236351: Force shutdown a VM when no suspend VDI is found.

    Signed-off-by: Sharad Yadav <sharad.yadav@citrix.com>
    sharady committed with robhoes Apr 3, 2017
  6. CA-236351: Add new API error "VM_HAS_NO_SUSPEND_VDI".

    New API error need to raised if VM tried to be resumed
    without having suspend VDI.
    
    Signed-off-by: Sharad Yadav <sharad.yadav@citrix.com>
    sharady committed with robhoes Apr 3, 2017
Commits on Apr 3, 2017
  1. Merge pull request #2974 from jonludlam/merlin

    Update merlin file
    lindig committed on GitHub Apr 3, 2017
  2. CA-244657: Disable cancellation for some xapi tasks

    Currently, operations like VM suspend/checkpoint/revert are based on some
    destructive low-level implementation. When they are cancelled in the middle of
    the process, the status of involved VM might not be what a user would expect.
    Given that these operations are not particularly time consuming, it's better to
    leave them running through without interruption. And if a user is not happy
    with the output, for these operations there is always a way to revert the
    output afterwards.
    
    Signed-off-by: Zheng Li <zheng.li3@citrix.com>
    zli committed with robhoes Mar 29, 2017
  3. CA-244657: Allow xapi to overwrite the cancellation policy at higher …

    …level
    
    Currently, many xenopsd tasks support cancellation. The cancellation at xenopsd
    level usually means just abruptly stopping the low-level operation and do some
    limited cleanup.  Sometime, the result is not necessarily a user would expect
    from higher level point of view. For example, some operations are destructive,
    so that a cancellation won't leave the objects involved in their original
    status but some status unexpected to the user. Also, some operations are
    implemented as combinations of a sequence of different tasks underlying, so
    cancellations at different stages will lead to different results/behaviors,
    which could further confuse the users.
    
    Currently when calling from xapi down to xenopsd, the cancellability of the
    xapi task is simply bound to that of the underlying xenopsd tasks. This patch
    adds an extra flag to allow overwriting this if necessary.
    
    Signed-off-by: Zheng Li <zheng.li3@citrix.com>
    zli committed with robhoes Mar 29, 2017
Commits on Apr 2, 2017
  1. Merlin: Add missing libraries and add ocamlbuild _build path

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Apr 2, 2017
Commits on Mar 31, 2017
  1. Update merlin file

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed Mar 29, 2017
Commits on Mar 30, 2017
  1. CA-248658: Revert "CA-247700: Don't GC VBDs that are currently attached"

    This reverts commit 126a684, because we
    suspect that it introduced a regression.
    
    Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
    robhoes committed Mar 30, 2017
  2. Merge pull request #2978 from jonludlam/fix-myocamlbuild-junk

    Avoid myocamlbuild.ml changing every time you build
    jonludlam committed on GitHub Mar 30, 2017
Commits on Mar 29, 2017
  1. Merge pull request #2970 from jonludlam/xop-830

    XOP-830: Fix resync logic on xapi start
    jonludlam committed on GitHub Mar 29, 2017
  2. CA-248775: Set the name of VDIs associated with patches/updates

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam committed with robhoes Mar 29, 2017