Re: [Xen-API] value of timestamp from API event.from() is always '0'

2015-09-17 Thread Dave Scott
e of the objects again, adding even more load to the overloaded system. I recommend using `event.from` if you can :-) Cheers, Dave Scott > > I handle the pool syncing a little bit different, which is slower, bit a bit > more straight forward: > 1. event.register(*) > 2.

Re: [Xen-API] Building for cubieboard4 with vanilla linux/linaro

2015-06-11 Thread Dave Scott
> On 11 Jun 2015, at 18:17, Nick Betteridge wrote: > > > From: dave.sc...@citrix.com > > > dpkg-source: info: using source format `3.0 (quilt)' > > > dpkg-source: info: building liblwt-ocaml using existing > > > ./liblwt-ocaml_2.4.8.orig.tar.gz > > > dpkg-source: info: building liblwt-ocaml in

Re: [Xen-API] Building for cubieboard4 with vanilla linux/linaro

2015-06-09 Thread Dave Scott
> On 9 Jun 2015, at 13:42, Nick Betteridge wrote: > > Just found the liblwt-ocaml_2.4.5.orig.tar bug: > > edit file : buildroot/SPECS/ocaml-lwt.spec and insert the following as the > first entry under %changelog > > > [%changelog] > * Mon May 12 2014 David Scott - 2.4.8-1 > - Update to 2.4.

Re: [Xen-API] [MirageOS-devel] cubie2 arm image loses mac

2015-06-04 Thread Dave Scott
> On 4 Jun 2015, at 18:00, Nick Betteridge wrote: > > Excellent, they both compile, but I'm getting an error with the upload: > > ./dns.xe > Uploading VDI containing unikernel > result = [ version="1.0"?>StatusSuccessValueOpaqueRef:da16d417-e6d1-c55f-1957-5f2e169d44ff] > result = [ version="1.0

Re: [Xen-API] [MirageOS-devel] cubie2 arm image loses mac

2015-06-04 Thread Dave Scott
> On 4 Jun 2015, at 17:16, Nick Betteridge wrote: > > > > Try > > > > opam pin add mbr-format git://github.com/djs55/ocaml-mbr#release.0.3 > > opam pin add xe-unikernel-upload > > git://github.com/djs55/xe-unikernel-upload#new-mirage-interfaces > > > > I have built these but not tested them.

Re: [Xen-API] [MirageOS-devel] cubie2 arm image loses mac

2015-06-04 Thread Dave Scott
u're not careful (try "xe pif-list > params=all"). Probably one of the xapi people can explain what it's up > to, if so. > > I've not seen that myself, but perhaps someone on the xen-api list (cc:d) > could come up with a theory? > > Chee

Re: [Xen-API] xcp-rrdd logging

2015-05-18 Thread Dave Scott
Hi, > On 18 May 2015, at 18:02, Nick Betteridge wrote: > > Hi, > > running xapi on my cubieboard (image installed from blobs.openmirage.org > recently), syslog is being completely swamped with the following log: > > May 18 16:44:24 cubie0 xcp-rrdd: [debug|cubie0|350939 unix_rpc||http] Request

Re: [Xen-API] [CentOS-virt] xapi for centOS 6.6

2015-03-22 Thread Dave Scott
Hi, > On 22 Mar 2015, at 06:23, Gautam Malu wrote: > > Hi, > I am a masters student at IIIT Hyderabad, India. I am writing a GOSC proposal > for CentOS organization. It's about delivering a custom installer ISO which > delivers Xen 4.4 stack on CentOS 6. > full proposal: > http://www.google

Re: [Xen-API] [xs-devel] improving the XenAPI docs

2015-01-28 Thread Dave Scott
> On 28 Jan 2015, at 10:26, Stephen Turner wrote: > > Oops, sorry, I didn't realise which lists this thread was on. However, as all > the tickets it refers to are on our internal bug tracker, it wouldn't be much > use if I did post it. I think it basically covers the areas already > mentioned

[Xen-API] improving the XenAPI docs

2015-01-27 Thread Dave Scott
Hi, I’ve been thinking about how to improve the XenAPI reference[1]. The things I like about the reference are: - it’s generated from the IDL, so it’s always up to date - it’s got everything in it The things I don’t like about the reference are: - it’s got everything in it… in alphabetical ord

[Xen-API] a bit of wiki tidying

2015-01-20 Thread Dave Scott
Hi, I’ve done a little bit of cleaning of the Xapi pages on the Xen project wiki. I’ve - added links to our architecture documentation[1], XenAPI reference[2] and design docs index[3] - unlinked content which seemed to be a transliteration from code to English of a previous (undisclosed) Xapi

Re: [Xen-API] [xs-devel] lvmthin

2015-01-12 Thread Dave Scott
> On 12 Jan 2015, at 09:29, Pasi Kärkkäinen wrote: > > On Fri, Jan 09, 2015 at 03:59:26PM -0700, Tobias Kreidl wrote: >> So sorry, I meant of course to write that the utility is lvmthin (not >> thinlvm). >> > > Hello, > > I *think* the lvmthin stuff is currently designed for single-host s

Re: [Xen-API] xapi-client

2015-01-09 Thread Dave Scott
> On 9 Jan 2015, at 15:51, buzz heavyyear wrote: > > Ah, so you haven't installed xapi/xenserver on cubieboard yet? ;) /me suddenly realises his cubieboard is unplugged and swiftly turns it back on again ;) I’d like to improve the OCaml bindings so I’m interested in any experiences you have

Re: [Xen-API] [xs-devel] Backup solutions for XenServer

2015-01-08 Thread Dave Scott
isting filesystem, so a Linux expert power-user could use OCFS2 if they wanted. Cheers, Dave Scott > > Best Regards, > > Cordialmente, > > Lorscheider Santiago > Visite meu blog: www.centralcloud.info > Twitter: @lsantiagos > Antes de imprimir, pense em sua respo

Re: [Xen-API] xen + xapi + xencenter

2015-01-08 Thread Dave Scott
> On 8 Jan 2015, at 13:17, Renato Fontana wrote: > > Hi everyone! > > I have installed xen via apt-get (xen-hypervisor-4.1), added xapi toolstack > and installed xencenter to manage my servers remotely. Is this setup ok? As > far as I know, xencenter uses xapi to access the hypervisors..but I

Re: [Xen-API] VDI cloning doesn't work - FFS SR on ext4

2015-01-07 Thread Dave Scott
Hi, > On 7 Jan 2015, at 02:34, Dawid Kowalski wrote: > > Hi Guys, > > I've spotted another error when trying to create VDI clone. Thanks for the report. Could you file this here: https://github.com/djs55/ffs/issues It sounds like it should be easy to reproduce— we should add a test case som

Re: [Xen-API] Storage Repository FileSR on ZFS won't work - Linux

2014-12-30 Thread Dave Scott
> On 30 Dec 2014, at 17:24, Dawid Kowalski wrote: > > I'll answer myself. > > Modifying td.c line 258 to skip O_DIRECT and recompiling doesn't help. > For some unexplained reasons, it calls O_DIRECT flag still: Hm. As an experiment you could try an LD_PRELOAD wrapper like this: http://www.mcg

Re: [Xen-API] NFS exported from ZFS on Ubuntu 14.04

2014-12-30 Thread Dave Scott
Hi, > On 30 Dec 2014, at 14:44, David wrote: > > Hi Guys, > > I'm looking for your help as I'm facing issue with Xen and NFS Storage > Repository. > The problem I'm facing is that vm-import fails due to blktap2 issue (seems > like). > Last call is about vdi_activate failure (full dump below):

Re: [Xen-API] Nominate Siddharth Vinoth Kumar as a Committer

2014-11-27 Thread Dave Scott
+1 > On 27 Nov 2014, at 12:24, Simon Beaumont wrote: > > +1 > > From: xen-api-boun...@lists.xen.org [xen-api-boun...@lists.xen.org] on behalf > of Jon Ludlam [jonathan.lud...@citrix.com] > Sent: 27 November 2014 12:09 > To: xen-api@lists.xen.org > Subjec

[Xen-API] using Irmin to distribute the xapi database

2014-11-11 Thread Dave Scott
Hi, John Else, Thomas Sanders and I spent a couple of days hacking up a prototype xapi[1] which uses Irmin[2] to store host and VM configuration in git. It seems very promising to me: I particularly like the way I can associate threads (Tasks in xapi-speak) with Irmin views (mapped onto git top

[Xen-API] architecture diagrams, designs etc

2014-11-04 Thread Dave Scott
Hi, I’ve started to create some architecture diagrams for aspects of the xapi toolstack e.g. https://github.com/xapi-project/xapi-project/blob/master/doc/architecture/README.md and for subcomponents like xenopsd: https://github.com/xapi-project/xenopsd/tree/master/doc/architecture The idea wa

Re: [Xen-API] Error Introducing Metadata Volume:5

2014-11-01 Thread Dave Scott
Hi, On Nov 1, 2014, at 10:31 PM, Alejandro Flores mailto:alejandrorflo...@gmail.com>> wrote: Hi there, I did a fresh install of my Xenserver 6.2 and I can't reattach a second local storage disk. After running all those comands ( sr-introduce, pbd-create, pbd-plug ) all went fine, but when I

Re: [Xen-API] Autostart with XCP on Debian 7

2014-10-31 Thread Dave Scott
> On 31 Oct 2014, at 08:01, Mark Benson wrote: > > > > On 30/10/2014 21:07, Dave Scott wrote: >> #!/bin/sh >> xe vm-start other-config:auto_poweron=true power-state=halted --multiple >> >> HTH, >> Dave > > So if I drop that somewhere like

Re: [Xen-API] Autostart with XCP on Debian 7

2014-10-30 Thread Dave Scott
Hi, > On 30 Oct 2014, at 19:02, Mark Benson wrote: > > Hi, > > Having a hard time here setting up VMs to auto-poweron on Debain 7/XAPI. I've > done the following: > > xe pool-set-param uuid= other-config=auto_poweron:true > > and > > xe vm-set-param uuid= other-config=auto_poweron:true > >

Re: [Xen-API] Adoption of storage-ci repository

2014-09-29 Thread Dave Scott
On 29 Sep 2014, at 16:13, Mate Lakat wrote: > Hi Everyone, > > I would like to introduce a repository: > > https://github.com/matelakat/storage-ci > > This repository contains scripts that enable anyone to run the unittests > related to two repositories: > > - https://github.com/xen-api/blk

Re: [Xen-API] opam package renames

2014-09-12 Thread Dave Scott
On 12 Sep 2014, at 17:04, John Else wrote: >> xcp -> xapi-idl >> xen-api-libs-transitional -> xapi-libs-transitional netdev -> xapi-netdev >> cdrom -> xapi-cdrom forkexecd -> xapi-forkexecd stdext -> xapi-stdext tapctl >> -> xapi-tapctl xcp-inventory -> xapi-inventory xcp-rrd -> rrd xcp-networ

Re: [Xen-API] opam package renames

2014-09-12 Thread Dave Scott
On 12 Sep 2014, at 15:57, Anil Madhavapeddy wrote: > > On 12 Sep 2014, at 15:47, Dave Scott wrote: >> netdev -> xapi-netdev >> cdrom -> xapi-cdrom >> message_switch -> xapi-message-switch > > these three packages sound generally useful for other OCa

[Xen-API] opam package renames

2014-09-12 Thread Dave Scott
Hi, As xapi starts to stabilise I’d like to refresh the ‘opam’ packages. Ideally we’d push the packages upstream in the master repo, and then we’d benefit from community activity such as * bulk builds for different distros and architectures * greater exposure to our stuff via the existing websi

Re: [Xen-API] VDI import/export with deltas

2014-08-29 Thread Dave Scott
s changed, > so that the client would know that she should not expect a consistent output. That would be good. One of the things the current code can’t do — but that I’m sure we discussed before — is to support resumable downloads. Thanks, Dave > > Cheers, > Mate > > > -

Re: [Xen-API] VDI import/export with deltas

2014-08-28 Thread Dave Scott
On 28 Aug 2014, at 15:50, Bob Ball wrote: >> http://wiki.xensource.com/wiki/Disk_import/export_APIs > > This is great, but I think we're missing the ability to pull a VHD in or push > a VHD out. > > The OpenStack case needs to call a vm-import giving a URL to pull a VHD from, > and a vm-expo

Re: [Xen-API] VDI import/export with deltas

2014-08-28 Thread Dave Scott
ld be easy after that. Cheers, Dave > > > Thanks! > > > Olivier. > > On Thu, Aug 28, 2014 at 3:11 PM, Dave Scott wrote: >> Hi, >> >> One of the features of the upcoming xapi 2.0 release will be improved VDI >> (disk) import/export support[1][2][3]. In parti

[Xen-API] VDI import/export with deltas

2014-08-28 Thread Dave Scott
Hi, One of the features of the upcoming xapi 2.0 release will be improved VDI (disk) import/export support[1][2][3]. In particular xapi now has APIs to import/export data in vhd format: both sparse images and deltas. I’ve written up a doc describing how these APIs currently work on the wiki: h

[Xen-API] new release of xcp-idl: 0.9.18

2014-08-20 Thread Dave Scott
Hi, FYI I just tagged a new release of xcp-idl: https://github.com/xapi-project/xcp-idl/releases/tag/v0.9.18 >From the CHANGES: • Add a cmdliner interface to Xcp_services with an example • Add 'with sexp' to Vm.t • Debug.DEBUG has an explicit module type Cheers, Dave ___

Re: [Xen-API] xcp-xapi toolstack on ubuntu 14.04

2014-08-19 Thread Dave Scott
On 19 Aug 2014, at 08:17, Paweł Tomulik wrote: > W dniu 10.08.2014 11:10, Firma Averlon pisze: >> Hi all, >> already since some time I am trying to install a xcp-xapi tool-stack on >> an ubuntu 14.04 system. >> >> I have posted in various xen related forums for help but last but not >> least wa

Re: [Xen-API] xcp-xapi toolstack on ubuntu 14.04

2014-08-18 Thread Dave Scott
to set this > in the config. xapi uses PAM for authentication. Try logging in with your root password. > > Is there a how-to? That’s a good idea — someone should write one! :) Cheers, Dave > > Karl-Heinz > Am 18.08.2014 um 16:45 schrieb Dave Scott: >> Hi, >> >&

Re: [Xen-API] xcp-xapi toolstack on ubuntu 14.04

2014-08-18 Thread Dave Scott
Hi, It builds packages using chroots, so each package build has to reinstall libraries — that’s probably what you’re seeing. It’s perfectly normal :-) Dave On 18 Aug 2014, at 14:15, Firma Averlon wrote: > Hi Jon, > > Ok, I did not give it an hour since it looked like it tries to install alwa

Re: [Xen-API] Nominate Mate Lakat as a Committer

2014-08-13 Thread Dave Scott
+1 On 13 Aug 2014, at 13:51, Simon Beaumont wrote: > +1 > >> -Original Message- >> From: xen-api-boun...@lists.xen.org [mailto:xen-api-boun...@lists.xen.org] On >> Behalf Of Rob Hoes >> Sent: Wednesday 06 August 2014 13:40 >> To: Euan Harris; Mate Lakat >> Cc: Xen API mailing list >> Su

[Xen-API] opam-repo-dev

2014-08-13 Thread Dave Scott
Hi, I spent some time yesterday tidying up the xapi-project’s opam-repo-dev. This is a repository of *source package* definitions for xapi, xenopsd, squeezed etc etc. This repo is targeted at developers: it makes it easy to test a change (e.g. to stdext) by automatically recompiling all the dep

Re: [Xen-API] Xapi Project 2.0 release

2014-06-02 Thread Dave Scott
fork of the code that we couldn’t afford to maintain. Merging these patches into the ‘master’ branch has taken about a year but is done now (more or less). Therefore I think one of the “xapi 2” release criteria should definitely be “all the portability patches have been merged” so that clean packages can be created. I hope this helps, Dave Scott ___ Xen-api mailing list Xen-api@lists.xen.org http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Re: [Xen-API] Proposal to change committers for the XAPI Project

2014-06-02 Thread Dave Scott
Hi, On 15 May 2014, at 10:19, Anil Madhavapeddy wrote: > On 15 May 2014, at 09:57, Lars Kurth wrote: > >> All the existing committers have voted in favour. So the proposal carries. I >> will update the XAPI webpage >> http://www.xenproject.org/developers/teams/xapi.html aaccordingly >> Lars

Re: [Xen-API] [ACS4.4, XenServer] Problem starting system VMs

2014-05-01 Thread Dave Scott
;>> I have a sufficient number of IP addresses for both system and user VMs, >>> so that should be OK (but good thought, Punith). >>> >>> I plan to continue debugging this later this afternoon, but have been in >>> meetings all morning. >&g

Re: [Xen-API] xen-api build and test environment

2014-04-29 Thread Dave Scott
CE - PCTI - Sala 10 > > > On Wed, Apr 16, 2014 at 11:38 AM, Dave Scott wrote: > Hi Edwin, > > On 16 Apr 2014, at 11:36, Zhai, Edwin wrote: > > > All, > > We are trying to add some new feature in xen-api and test in openstack > > environment. But build x

[Xen-API] "xe" CLI, without stunnel and easier to build/package

2014-04-23 Thread Dave Scott
Hi, As an experiment, I’ve extracted the “xe” code from the main xen-api tree and ported it to use Lwt_ssl (which binds directly to openssl rather than using stunnel). The code for this is here: https://github.com/djs55/xapi-xe It’s quite easy to build and package separately to the rest of the

Re: [Xen-API] xen-api build and test environment

2014-04-16 Thread Dave Scott
Hi Edwin, On 16 Apr 2014, at 11:36, Zhai, Edwin wrote: > All, > We are trying to add some new feature in xen-api and test in openstack > environment. But build xen-api accroding to README.markdown at > https://github.com/xapi-project/xen-api.git on ubuntu 12.04 always failed. > There are depe

Re: [Xen-API] Debugging XAPI daemon crash

2014-03-22 Thread Dave Scott
Hi, I suspect the segfault is being caused by a bad C function binding. I've seen a similar crash before when querying an interface IP via getifaddrs (I think that was the function name) Could you run xapi in gdb and reproduce the crash? Printing the call stack would help to confirm this hypoth

Re: [Xen-API] import XVA programatically into a XenHost

2014-01-21 Thread Dave Scott
Hi, The simplest way to do it is to use an HTTP PUT. Try running the "xe vm-import" command with the "--debug" argument to see what an HTTP operation looks like. Cheers, -- Dave Scott XenServer System Architect > On Jan 21, 2014, at 10:19 AM, "Shafi Moh

Re: [Xen-API] 'BOOTLOADER_FAILED' install-repository was not set to an appropriate value, and this is required for the selected distribution type.

2013-12-30 Thread Dave Scott
Hi, I think that example needs a bit of a tweak to work with the current generation of PV templates. If you try installing from the 'xe' CLI first you'll see what I mean. If you "xe vm-install template=... new-name-label=newvm" and then attempt to "xe vm-start vm=newvm" it will fail in the sam

Re: [Xen-API] xenserver-core meta-question

2013-10-30 Thread Dave Scott
Hi, > On Oct 30, 2013, at 6:11 AM, "John Morris" wrote: > > I've been playing with xenserver-core now for over two weeks, and I've > solved quite a handful of problems. The rate at which new ones are > cropping up, though, is a little more than I can handle alone. Thanks for all your feedback

Re: [Xen-API] xenserver-core tech preview: Hang during pygrub

2013-10-28 Thread Dave Scott
Sorry my repo has become a bit messed up-- I attempted to reclone from the xapi-project one but it's all confused now. Probably best to file issues directly on the xapi-project one, since that has become the new "upstream" -- Dave Scott > On Oct 28, 2013, at 6:35 PM, &q

Re: [Xen-API] xenopsd internal error: Failure("Driver domain disapppeared: ")

2013-10-20 Thread Dave Scott
I think this is fixed in pull request: https://github.com/xapi-project/xenopsd/pull/38 (NB it's not merged yet) Cheers, Dave > -Original Message- > From: xen-api-boun...@lists.xen.org [mailto:xen-api- > boun...@lists.xen.org] On Behalf Of Dave Scott > Sent: 19 October

Re: [Xen-API] xenopsd internal error: Failure("Driver domain disapppeared: ")

2013-10-19 Thread Dave Scott
"Domain-0" xenstore-write /vm//uuid xenstore-write /vm//domains/0 /local/domain/0 xenstore-write /vm//domains/0/create-time 0 -- Dave Scott XenServer System Architect > On Oct 19, 2013, at 4:07 AM, "Jonathan Gowar" wrote: > > Hi, > > I have XenServer Techre

Re: [Xen-API] vhdx support ?

2013-07-11 Thread Dave Scott
Hi Mike, Sébastien, > On 11/07/13 05:45, Sébastien RICCIO wrote: > > I also googled around and found out that something was cooking at qemu > > to support vhdx files: > > > > http://wiki.qemu.org/ChangeLog/1.5#Block_devices > > > > * VHDX (MS Hyper-V) image format has initial read-only support.

[Xen-API] ANN: tech preview of xenserver + libvirt + ceph

2013-07-08 Thread Dave Scott
Hi, I've just released a 'tech preview' of xenserver with libvirt and ceph-- let me know what you think! The tech preview consists of a yum repo which should be installed on CentOS 6.4 and which lets you use a Ceph cluster as a regular XenServer Storage Repository. You can then start up VMs us

Re: [Xen-API] Trying to follow the xcp build instructions

2013-07-07 Thread Dave Scott
Hi, My best guess is that Syslog.Local5 is defined in the "xen-api-libs-transitional" component. Try opam install xen-api-libs-transitional Another build option is to use SRPMs on CentOS 6.4 -- I'll send out an email tomorrow with a link to my repo. Cheers, -- Dave Scott On

Re: [Xen-API] PCI passthrough - XCP vs XenServer

2013-07-03 Thread Dave Scott
Oh sorry, reading my email backwards reveals that you may already have tried this :-) Another thing to try is hotplugging the PCI devices into the VM with "xl pci-attach" in domain0. Cheers, Dave > -Original Message- > From: Dave Scott > Sent: 03 July 2013 1:42 PM &

Re: [Xen-API] PCI passthrough - XCP vs XenServer

2013-07-03 Thread Dave Scott
Hi, > > your command should look like this: > > # xe vm-param-set other-config:pci=0/:05:00.0,0/:05:00.2 > > uuid=7a1f3bcd-4b2d-4c10-5aa4-4238a48f011d > > Thanks Marien. Unfortunately, even when I run the command like that I only > see 1 of the 2 when I run lspci on my VM, so for some re

Re: [Xen-API] PCI passthrough - XCP vs XenServer

2013-06-30 Thread Dave Scott
e most recent version of the XenServer code that you can. Conveniently an update was released last week -- I recommend grabbing 6.2 from xenserver.org. What kind of DVB-T tuners have you got? I was considering something similar myself with one of mine. Cheers, -- Dave Scott XenServer System A

[Xen-API] ANN: program to connect to remote xenserver VM consoles

2013-06-26 Thread Dave Scott
Hi, I've added a simple tool called "vncproxy" which helps connect to remote xenserver VM consoles via a local xvncviewer. The tool takes care of the tunneling for you. It's installed like this: $ opam init $ opam remote add xapi git://github.com/xapi-project/opam-repo-dev $ opam install vncpro

Re: [Xen-API] Trying to follow the xcp build instructions

2013-06-25 Thread Dave Scott
Hi, > Trying to follow the xcp build instructions: > http://wiki.xen.org/wiki/XCP_Building_Instructions > > I'm running into what appears to be legacy naming from the libxcpvhd > rename to libvhd: Sorry about this -- we're in the middle of splitting xapi into a set of smaller services and this

Re: [Xen-API] Compiling xapi toolstack on debian 7

2013-06-25 Thread Dave Scott
Hi, > I'm trying to compile xapi on a debian 7 box. With some efforts I managed to > get almost all the dependencies resolved in order to be able to compile it > except this one that I'm stuck with: > > xenlight/xenlight_stubs.c:30:19: fatal error: libxl.h: No such file or > directory It looks

Re: [Xen-API] xen-api-client: fix for async APIs

2013-06-22 Thread Dave Scott
Hi, I hadn't spotted that one. I would have hit the big green merge button, but it looks like it conflicts with some other changes (probably my fault) I'll check it out manually tomorrow. Thanks, -- Dave Scott On Jun 22, 2013, at 7:05 PM, "Anil Madhavapeddy" wrote: >

Re: [Xen-API] XS61E010

2013-06-03 Thread Dave Scott
t RPMS being worked on in CentOS. The hope is that you'll be able to type commands like "yum install xenserver" (or "yum install xcp") and get everything you need, and then be able to use "yum update" etc. Cheers, -- Dave Scott On Jun 3, 2013, at 5:20 PM, "

Re: [Xen-API] Problems with the github repo for opam-repo-dev

2013-05-13 Thread Dave Scott
In the meantime perhaps I need to back up my personal repos on github ;-) -- Dave Scott On May 13, 2013, at 8:16 PM, "Steven Seed" mailto:steven.s...@disneyanimation.com>> wrote: I'm trying to install xen-api on RHEL 6.4 by following the instructions in http://wiki.xen.org/wiki

Re: [Xen-API] Bug (and fix?) for scripts/setup-vif-rules

2013-05-04 Thread Dave Scott
Hi George, On May 4, 2013, at 4:14 PM, "George Shuklin" wrote: > > On 04.05.2013 16:36, Dave Scott wrote: >> >> Hi George, >> >> About an updated xapi.rpm -- that's an interesting idea. Mike: what do you >> think? >> >> My pe

Re: [Xen-API] Bug (and fix?) for scripts/setup-vif-rules

2013-05-04 Thread Dave Scott
sible to install them anyway,a bit like the situation with non-free graphics drivers on Ubuntu) What do you think? Cheers, -- Dave Scott XenServer System Architect On May 4, 2013, at 7:42 AM, "George Shuklin" mailto:george.shuk...@gmail.com>> wrote: ack on that. We act

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-27 Thread Dave Scott
For that you'd need either a 32-bit chroot or a VM. I recommend using a VM since its easier (IMHO) to set up but it's up to you... -- Dave Scott XenServer System Architect On Apr 27, 2013, at 3:01 PM, "Santosh Jodh" wrote: > Cool. > > How do I forc

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-27 Thread Dave Scott
Hi, Luckily OCaml doesn't do dynamic linking, so all you need is the binary + and C libs it's linked against. Cheers, -- Dave Scott XenServer System Architect On Apr 27, 2013, at 1:15 AM, "Santosh Jodh" wrote: > Yes - that works for me. I am able to run it on a 64

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-26 Thread Dave Scott
Ah good point. Iirc Omake caches the compiler when you first run it. Try removing all .omake* files to see if it picks up the opt.opt? -- Dave Scott XenServer System Architect On Apr 26, 2013, at 8:52 PM, "Jonathan Ludlam" wrote: > I'm still suspicious that it's using

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-26 Thread Dave Scott
The man page (for "bash" I think) might explain the unit etc. You might have more luck raising the limit as root-- a bunch of the ulimit settings are capped for regular users. -- Dave Scott XenServer System Architect On Apr 26, 2013, at 8:48 PM, "Santosh Jodh" wrote: >

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-26 Thread Dave Scott
ter I'll have a look at my default stack (on mobile device atm) -- Dave Scott XenServer System Architect On Apr 26, 2013, at 8:13 PM, "Santosh Jodh" wrote: > I doubled it to 16k and it still fails. > > -Original Message- > From: Anil Madhavapeddy [mailto:a...@rec

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-25 Thread Dave Scott
xen-api-libs-transitional is a fixed branch of xen-api-libs; you should only need xen-api now... -- Dave Scott XenServer System Architect On Apr 25, 2013, at 11:02 PM, "Santosh Jodh" wrote: > opam install xen-api-libs-transitional > > now succeeds after installing oca

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-25 Thread Dave Scott
Or sorry I also notice you haven't got the xen headers installed: try installing xen-devel. -- Dave Scott XenServer System Architect On Apr 25, 2013, at 10:47 PM, "Santosh Jodh" wrote: > That command fails: > > ERROR [while installing xenctrl.5.0.0] &

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-25 Thread Dave Scott
I assume you got your ocaml compilers from Debian. Unfortunately the Debian packages are split up: you look like you are missing the ocaml-native-compilers package. I think camlp4 is also in a separate package: I recommend installing that one too. -- Dave Scott XenServer System Architect On

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-25 Thread Dave Scott
Try "opam install xen-api-libs-transitional" -- iirc the name of type-conv changed upstream and we haven't changed everything over to the new name yet. If that works you might want to try building either Jon's "fusion" branch of xen-api or my "upstream-packa

Re: [Xen-API] Compiling xen-api on Debian Wheezy AMD64

2013-04-25 Thread Dave Scott
Hi, Thanks, John -- your instructions look right to me. Santosh: were the broken instructions on the wiki? If so, please update them once you get it working! Thanks, -- Dave Scott XenServer System Architect On Apr 25, 2013, at 12:32 PM, "John Else" mailto:john.e...@citrix.com>

Re: [Xen-API] [Xen-devel] [PATCH 4 of 5 v4] tools/ocaml: libxc bindings: Fix stub_xc_readconsolering()

2013-03-13 Thread Dave Scott
This looks good to me. Acked-by: Dave Scott > -Original Message- > From: xen-devel-boun...@lists.xen.org [mailto:xen-devel- > boun...@lists.xen.org] On Behalf Of Andrew Cooper > Sent: 13 March 2013 12:52 PM > To: xen-de...@lists.xen.org > Cc: Ian Jackson; Keir (Xen.

Re: [Xen-API] [Xen-devel] [PATCH 5 of 5 v3] tools/ocaml: libxc bindings: Fix failwith_xc()

2013-03-13 Thread Dave Scott
> On Wed, 2013-03-13 at 10:49 +0000, Dave Scott wrote: > > This looks fine to me. > > Can we/I take that as a formal "Acked-by: Dave Scott > " ? Please do! Acked-by: Dave Scott Thanks, Dave ___ Xen-api mailing lis

Re: [Xen-API] [Xen-devel] [PATCH 5 of 5 v3] tools/ocaml: libxc bindings: Fix failwith_xc()

2013-03-13 Thread Dave Scott
This looks fine to me. Cheers, Dave > -Original Message- > From: xen-devel-boun...@lists.xen.org [mailto:xen-devel- > boun...@lists.xen.org] On Behalf Of Andrew Cooper > Sent: 12 March 2013 6:09 PM > To: xen-de...@lists.xen.org > Cc: Ian Jackson; Keir (Xen.org); Ian Campbell; Jan Beulich;

Re: [Xen-API] [Xen-devel] [PATCH 4 of 5 v3] tools/ocaml: libxc bindings: Fix stub_xc_readconsolering()

2013-03-13 Thread Dave Scott
Hi, This looks fine to me. I assume the console ring is a C string which doesn't contain NULLs in the middle and hence it's sensible to use "caml_copy_string" (the alternative would be to treat it as a raw block of bytes using "caml_alloc_string" and memcpy-- OCaml strings can contain NULLs saf

Re: [Xen-API] Issues with XenAPI on CentOS 6.3

2013-03-11 Thread Dave Scott
[ filename ] in ... Cheers, Dave > -Original Message- > From: John Garbutt [mailto:john.garb...@rackspace.co.uk] > Sent: 11 March 2013 12:46 PM > To: Dave Scott; 'John Garbutt'; Mike McClurg > Cc: xen-api@lists.xen.org > Subject: Re: [Xen-API] Issues wi

Re: [Xen-API] Issues with XenAPI on CentOS 6.3

2013-03-11 Thread Dave Scott
Hi, In the broken strace, I can't explain the different sequence of syscalls between the file that works (lstat; open) and the file that doesn't (lstat; stat; access; open). I also can't reproduce the behaviour you see on my Ubuntu with ocaml 3.12.1. Out of curiousity, which ocaml version are y

[Xen-API] qemu disk mirroring

2013-03-05 Thread Dave Scott
Hi, I notice that qemu's master branch has some disk mirroring infrastructure -- we should probably check it out and see how it compares to our tapdisk implementation. We may want to switch to pure qemu at some point. Cheers, Dave ___ Xen-api mailing

Re: [Xen-API] how to compile XCP source?

2013-02-28 Thread Dave Scott
desktop, which is really nice. I’d like to run xapi there too (as well as on my XCP hosts) Let me know what you think! I think that sorting these problems out is even higher priority than adding new features to XCP – what do you think? Cheers, Dave Scott From: xen-api-boun...@lists.xen.org

Re: [Xen-API] xenopsd success for booting mirage kernels

2013-02-14 Thread Dave Scott
Hi, Glad you managed to get it to work! On Feb 14, 2013, at 10:03 PM, "Anil Madhavapeddy" wrote: > I followed Dave's instructions at: > http://wiki.xen.org/wiki/Building_Xenopsd > > ...and got xenopsd running on my Ubuntu/raring laptop and booting a Mirage > kernel very nicely. A few minor t

Re: [Xen-API] xapi and xenopsd on CentOS 6.x

2013-02-13 Thread Dave Scott
Hi, John wrote: > Perfect, thanks. > Sorry, I thought you had sent something about that, but I couldn't find it. James wrote: > > For the xenopsd bit (a dependency for running xapi now) see my post on > the "[Xen-API] running latest dev versions of xenopsd on Debian/Ubuntu" > [1] thread - despit

[Xen-API] XCP daemon boilerplate

2013-02-12 Thread Dave Scott
Hi, As I've been splitting up XCP services recently I've noticed the amount of duplicated boilerplate. I know this isn't a new observation :-) but I think it might be a good time to act. The following services: 1. xenopsd (domain manager): https://github.com/djs55/xenopsd 2. squeezed (ballooni

[Xen-API] new repo for squeezed

2013-02-12 Thread Dave Scott
Hi, As you know, "squeezed" is the XCP daemon which shares memory between VMs via ballooning. I've created a new repo for squeezed, based on xen-api but with the broken commits fixed and history preserved. Check it out: https://github.com/xen-org/squeezed I've added a "squeezed" package to opa

[Xen-API] driver domain crash and reconnect handling

2013-01-21 Thread Dave Scott
Hi, [ my apologies if this has been discussed before but I couldn't find a relevant thread ] In XCP we're hoping to make serious use of driver domains soon. We'd like to tell people that their xen-based cloud is even more robust than before, because even if a host driver crashes, there is only

[Xen-API] running latest dev versions of xenopsd on Debian/Ubuntu

2013-01-04 Thread Dave Scott
Hi, I've written a wiki page describing how to build the latest development version of "xenopsd" (and its dependencies) from source: http://wiki.xen.org/wiki/Building_Xenopsd "xenopsd" is the name of the domain manager of the XCP toolstack -- it is responsible for starting, stopping, migrating

Re: [Xen-API] XCP 1.6: last_shutdown time/shutdown reason/initiator

2013-01-03 Thread Dave Scott
Hi George, They weren't deliberately removed -- they were missed when we split xenopsd from xapi. I think they could probably be put back again. Perhaps we should make them first-class fields rather than other-config keys, to make sure they don't go missing again? Out of curiousity, what kind

Re: [Xen-API] XCP 1.6 VM.get_all_records API Call hanging

2013-01-03 Thread Dave Scott
Hi, That's very strange. Could it be the size of the "VM.get_all_records" response is too big to be sent properly? Do other APIs which generate less traffic (e.g. "Pool.get_all_records") always work, or do they sometimes fail too? Perhaps you've got a thread or fd leak? If you run "top" and loo

Re: [Xen-API] XCP bugtracker

2012-12-22 Thread Dave Scott
s. I worry that, if we wait to find the ideal system, we could be waiting a very long time (as that (originally French?) saying goes, "the perfect is the enemy of the good") The migration bug you mention-- is that still happening on XCP 1.6? It sounds familiar. Thanks, -- Dave Scott O

Re: [Xen-API] [Xen-users] XCP storage repository using VHD on top of the LVM (FC shared too) instead of the NFS.

2012-11-30 Thread Dave Scott
Hey Pasi, On Nov 30, 2012, at 10:05 AM, "Pasi Kärkkäinen" wrote: > On Wed, Mar 24, 2010 at 09:54:01PM +0000, Dave Scott wrote: >> Hi, > > Hello Dave, > >> XCP does use VHD format on top of the LVs it creates on iSCSI/FC storage. >> The current

[Xen-API] cross-domain RRD

2012-11-09 Thread Dave Scott
Hi, Is someone working on cross-domain RRDs for gathering performance stats from driver domains? They might be interested in the following improvement in ocaml 4: http://caml.inria.fr/mantis/print_bug_page.php?bug_id=5543 In 3.12.1 you can't use the bigarray/mmap functionality on a shared memo

Re: [Xen-API] [Squeezd] Disabling some balancing features

2012-10-23 Thread Dave Scott
> On 23/10/12 14:15, Dave Scott wrote: > > In case it's useful: the most recent versions of xapi (found in > XenServer 6.1 and should be in XCP 1.6) can run without squeezed. So > you can > > > > service squeezed stop > > > > and then when you try to

[Xen-API] Code in xen-api-libs/rpc-light

2012-10-23 Thread Dave Scott
Hi, FYI the code in http://github.com/xen-org/xen-api-libs/tree/master/rpc-light is now significantly different from the upstream http://github.com/samoht/ocaml-rpc It's now moderately difficult to move patches from one to the other. I think we should attempt to abandon our fork of this libr

Re: [Xen-API] [Squeezd] Disabling some balancing features

2012-10-23 Thread Dave Scott
as long as there is already enough memory. You're right though, if there isn't enough memory, then stopping squeezed isn't a great idea :-) > > Best wishes, > Kakadu > > On Tue, Oct 23, 2012 at 5:15 PM, Dave Scott > wrote: > > Hi, > > > >

Re: [Xen-API] [Squeezd] Disabling some balancing features

2012-10-23 Thread Dave Scott
> Best wishes, > Kakadu > > > On Fri, Oct 19, 2012 at 7:27 PM, Dave Scott > wrote: > > > > Hi, > > > > Kakadu wrote: > > > >> Hey. > >> > >> I have accepted a challenge about disabling some features of > >> aut

Re: [Xen-API] [Squeezd] Disabling some balancing features

2012-10-19 Thread Dave Scott
Hi, Kakadu wrote: > Hey. > > I have accepted a challenge about disabling some features of > automatical rebalancing. For example, I want squeezed to raise an > exception while migration in case if there is not enough free memory > and some squeezing needed. So I fixed reserve-memory handler in

Re: [Xen-API] ocaml bindings to xenapi

2012-09-20 Thread Dave Scott
Anil wrote: > Hi, we'd like to use the OCaml bindings to the XAPI XML-RPC layer in a > research project. Is there any way to get these separately of XAPI > itself? > > We just need a simple client library (analogous to XenAPI.py) rather > than the whole lot. I can rip the bindings out of XAPI i

  1   2   >