Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

1.9.44

Merge pull request #1740 from djs55/more-fixes
xenserver-core: allow startup without xen

1.9.41

Merge pull request #1720 from jonludlam/CA-134593
CA-134593: The recent introduction of the configure script missed INVENT...

1.9.41-experimental

Merge pull request #1668 from djs55/from-xenserver-core-xcp-services
Replace ad-hoc config file handling with Xcp_service.configure

1.9.40

HACK: disable SR.probe
Signed-off-by: David Scott <dave.scott@citrix.com>

1.9.39

Update to use new Tar, Tar_unix interface from ocaml-tar 0.2.1
The new ocaml-tar library separates the modules into:

   Tar: for pure OCaml definitions
   Tar_unix: for impure Unix I/O
   Tar_lwt: for impure Lwt I/O

So mostly we have to replace Tar. with Tar_unix. and adjust the
OCAMLPACKS.

Most of this code concerns VM import/export. There is an alternative
implementation which is much more efficient inside recent releases
of vhd-tool, so we should switch to that soon.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

Conflicts:
	ocaml/xapi/import.ml
	ocaml/xapi/stream_vdi.ml

1.9.38

import_raw_vdi: look for vhd-tool in %{_bindir}
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.37

stunnel: work around INTERNAL_ERROR: s_poll_wait returned 0, but no d…
…escriptor is ready

When performing a storage migration we see a Tar.Header checksum
mismatch during the initial remote metadata import. The sequence
seems to be:

* ubuntu opens remote SSL connection
* ubuntu writes HTTP PUT
* ubuntu proxies from a local HTTP GET
  -- this appears successful since the right amount of data is
     written to the socket as reported by the debug in the log
* ubuntu closes the file descriptor to stunnel
* stunnel logs an internal error:

INTERNAL ERROR: s_poll_wait returned 0, but no descriptor is ready

* the receiver only receives the HTTP PUT header, not the payload
  -- as measured by tcpdump

The problem only manifests when stunnel is used. The problem goes
away when the timing changes, for example when running xapi under
strace.

We work around this by sending the metadata plaintext. The problem
doesn't manifest using the stunnel version on CentOS.

stunnel versions
  On ubuntu raring: 4.53
  On CentOS 6.4: 4.29-2

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.36

HACK: disable incremental copies during storage mirroring
The content_id on ffs is usually "", leading to erroneous
incremental copies.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.35

nbd: pass the fd to tapdisk if the control socket exists, otherwise u…
…se vhd-tool

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.34

Merge pull request #5 from euanh/djs-fusion
Constants in OCaml should not be all caps  #NOTPYTHON

Read release notes

1.9.33

Merge pull request #4 from euanh/djs-fusion
SR: Only consider a filename to be a UUID if it is the correct length

Read release notes

1.9.32

Examine the vdi's primary key (typically the filename) and use it as …
…a uuid, if it's already a uuid.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.31

Merge pull request #3 from euanh/djs-fusion
sr-scan: If a disk image's filename is a valid UUID, use that value as t...

1.9.30

ballooning: domain 0 can be ballooned (in theory)
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.29

import_raw_vdi: log output from vhd-tool
This can be useful in diagnosing errors.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.28

Fix up a few more places affected by the logging change
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.27

xapi nolonger needs to link against nbd.unix
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.26

import_raw_vdi: use vhd-tool helper program
The vhd-tool helper is capable of O_DIRECT I/O and minimises
data copies.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.25

Temporary hack: VM.pool_migrate = VM.suspend ; VM.resume_on
There's a channel-handling bug somewhere in the migrate codepath.
Localhost works but not cross-host.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.24

migration: make sure we don't start talking HTTP in the middle of a m…
…emory transfer

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.23

Make the tools SR compatible with both 'iso' and 'ffs' drivers
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.22

Query domain zero memory policy from squeezed
The domain zero memory policy is owned by squeezed, not xapi,
and therefore we should query it and reflect it in the datamodel.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.21

xenopsd: read list and the default setting from the config file
xapi startup doesn't fully complete unless it can contact all
the xenopsd instances it wants to manage. It's easier to setup
a working system if the list can be tweaked via a config file
rather than a recompilation.

Although it's possible to override a xenopsd per-VM, it's also
convenient to set a host-wide default via the config file.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.20

Fix XenAPI.py on python2.7
This fix was made by Mike Mcclurg here:

https://bugs.launchpad.net/xcp/+bug/917913

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.19

Undo most of 8fb4f56 by resynchronising with the new storage interface
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.18

Don't assume that VDI.location is globally-unique
The pair of (SR.uuid, VDI.location) is globally unique.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.17

Plumb VDI.resize through the SMAPIv2
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.16

On PBD.plug, refresh global SR metrics by invoking SR.update
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.15

Create the tools SR with 'type=iso' rather than 'type=ffs'
This makes everything look more normal.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.14

'xe sr-create' now allows device-config parameter values to be upload…
…ed from files.

We can now say:

  xe sr-create type=libvirt name-label=ceph device-config:xml-filename=ceph-sr.xml

and the local file 'ceph-sr.xml' will be uploaded as the value for the device-config
key 'xml'.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.13

Request 8MiB of videoram by default, rather than 4MiB.
libxl considers a request of 4MiB to be an error.

Note in the case of a cirrus graphics 'card' in the guest,
only 4MiB is actually usable.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.12

Support console forwarding over unix domain sockets
New qemus allow consoles to be served over unix domain sockets, rather
than local ports.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.11

Switch to xenopsd "xenlight" by default (was: "classic")
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.10

Plumb migration through a channel sent via the message switch
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.9

Hard-wire xenlight xenopsd to on.
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.8

Don't "synchronise" domain 0's state with xenopsd
This results in domain 0's power_state being set to Halted, and
then the metadata being destroyed.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.7

Only include 'xenlight' and 'libvirt' in the xenopsd list if they are…
… in the config file

This is needed because the initial xapi VM sync blocks until all xenopsds
are present. We should reconsider this behaviour.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.6

Use 'classic' xenopsd by default, add 'xenlight' as an option.
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.5

Hack: override the host memory calculation for now.
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.4

Hard-wire IO virtualisation support to on for now.
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.3

Don't block in UPDATES.get forever
Otherwise restarting xapi will leak a thread in xenopsd.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.2

tools SR: use type=ffs, path=<path> (rather than location=<>)
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.1

Rename libxcpvhd to libvhd.
Signed-off-by: David Scott <dave.scott@eu.citrix.com>

1.9.0

Remove all direct usage of Xenops_client: one must choose a specific …
…xenopsd queue

XS61E012

Merge pull request #990 from jeromemaloberti/CA-97883-tampa-lcm
CA-97883: Wrap the fstat call in an exception handler

XS61E009

Merge pull request #950 from johnelse/ca-89023-tampa-lcm
TAMPA-LCM: CA-89023: Fix PV tools OS type detection.

XS602E017

Merge pull request #937 from johnelse/pool-conf-sanibel
SANIBEL-LCM: Fix definitions of configuration files in xapi.spec.in.

XS602E021

Merge pull request #937 from johnelse/pool-conf-sanibel
SANIBEL-LCM: Fix definitions of configuration files in xapi.spec.in.

XS61E008

Merge pull request #930 from jeromemaloberti/CA-93613-lcm
CA-93613: Balance_memory raises an exception if squeezed is stopped

XS60E021

Merge pull request #909 from jeromemaloberti/fix_pool.conf
Something went wrong with that request. Please try again.