Re: [one-users] Problem while creating VMs

2014-06-08 Thread Stuart Longland
On 08/06/14 19:29, Duverne, Cyrille wrote:
 Hello Guys !
 
 I've upgraded to 4.6 and I'm now able to create VMs.
 Some questions still :
 
 - When, from sunstone, I want to create a new VM following a template
 (4.2 compliant), they are stuck in PENDING state until I click on
 Deploy - I've browse the doc without finding precise explanation on
 this behaviour of the scheduler.

I've noticed this from time to time too.  Sometimes it's just a matter
of waiting a few minutes for the scheduler to pick up on them, but
manually deploying seems to give the whole system the kicking it needs.

-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Images from Images (Ceph) Datastore Not Deploying

2014-04-08 Thread Stuart Longland
On 07/04/14 12:38, Support Admin wrote:
 Sun Apr  6 16:01:43 2014 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/125/32/deployment.0
 
 Sun Apr  6 16:01:43 2014 [VMM][I]: error: XML error: missing port for host
 
I wonder what XML it's generating… Is it possible that the Ceph monitors
need to be specified with a port number?

i.e. CEPH_HOST = host1:6789 host2:6789 host3:6789
rather than CEPH_HOST = host1 host2 host3?

Maybe you could inspect the /var/lib/one//datastores/125/32/deployment.0
on that host (cloud4 I think judging from your logs) and see if anything
is amiss.
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] deferred snapshots: when are they created?

2014-04-07 Thread Stuart Longland
Hi all,

I'm trying to rattle some bugs out of my storage driver on OpenNebula
4.4.  Right now I have (non-live) migration working, cloning and
deleting work, etc.

My progress is here: http://dev.opennebula.org/issues/2827

I've turned my attention to snapshotting.  I can do a hot snapshot,
that works, I see the VM pause momentarily while the snapshot is taken,
then everything resumes.

As for a deferred snapshot, I tell it to go ahead, then proceed to try
everything I can think of to make it take the snapshot.  Shut down,
power off, reboot, un-deploy, anything.  Nothing happens.  Clearly I
haven't hit upon the conditions that trigger a snapshot to take place.

What state is the snapshot supposed to be taken and under what conditions?

Regards,
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Let a user install its own VM

2014-04-04 Thread Stuart Longland
On 04/04/14 18:06, Christophe Duez wrote:
 Hello all,
 Is there a way to use the an ISO of CentOS, Ubuntu, Debian or Windows
 and let a user install its own VM from scratch.

I've found the easiest way to do this is to create your image as an
empty datablock, make it persistent, then create a template that mounts
it as your first disk, along with any installation media.

The VM's BIOS will see the lack of an OS on the disk, and go looking for
CD-ROMs and PXE servers to boot from.

When your OS installation is complete, you can blow away the VM, update
the template to drop the references to the images, and optionally,
toggle the persistence state of the image.  Voilá, there's your image.

For Linux, I'd recommend setting up a PXE boot server to install the
image.  We do this for deploying real PCs on our network (in fact, our
OpenNebula hosts are deployed that way: Ubuntu pre-seed scripts over
PXE), and it works equally as well for VMs.

Bonus being you don't need to edit the template at the end, you just
toggle the 'persistent' state on the image.
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ceph+flashcache datastore driver

2014-03-26 Thread Stuart Longland
Hi Shankhadeep,
On 26/03/14 12:35, Shankhadeep Shome wrote:
 Try bcache as a flash backend, I feel its more flexible as a caching
 tier and its well integrated into the kernel. The kernel 3.10.X version
 is now quite mature so an epel6 long term kernel would work great. We
 are using it in a linux based production SAN as a cache tier with pci-e
 SSDs, a very flexible subsystem and rock solid. 

Cheers for the heads up, I will have a look.  What are you using to
implement the SAN and what sort of VMs are you using with it?

One thing I'm finding: when I tried using this, I had a stack of RBD
images created by OpenNebula that were in RBD v1 format.  I converted
them to v2 format by means of a simple script: basically renaming the
old images then doing a pipe from 'rbd export' to 'rbd import'.

I had a few images in there, most originally for other hypervisors:
- Windows 2000 Pro image
- Windows XP Pro image (VMWare ESXi image)
- Windows 2012 Standard Evaluation image (CloudBase OpenStack image)
- Windows 2008 R2 Enterprise Evaluation (HyperV image)
- Windows 2012 R2 Data Centre Evaluation (HyperV image)

The latter two were downloaded from Microsoft's site and are actually
supposed to run on HyperV, however they ran fine with IDE storage under
KVM under the out-of-the-box Ceph support in OpenNebula 4.4.

I'm finding that after conversion of the RBDs to RBDv2 format, and
re-creating the image in OpenNebula to clear out the DISK_TYPE attribute
(DISK_TYPE=RBD kept creeping in), the image would deploy but then the OS
would crash.

Win2008r2 would crash after changing the Administrator password (hang
with black screen), Win2012r2 would crash with a CRITICAL_PROCESS_DIED
blue-screen-of-death when attempting to set the Administrator password.

The other images run fine.  The only two that were actually intended for
KVM are the Windows 2012 evaluation image produced by CloudBase (for
OpenStack), and the Windows 2000 image that I personally created.  The
others were all built on other hypervisors, then converted.

I'm not sure if it's something funny with the conversion of the RBDs or
whether it's an oddity with FlashCache+RBD that's causing this.  These
images were fine before I got FlashCache involved (if a little slow).
Either there's a bug in my script, in FlashCache, or I buggered up the
RBD conversion.

But I will have a look at bcache and see how it performs in comparison.
 One thing we are looking for is the ability to throttle or control
cache write-backs for non-production work-loads ... that is, we wish to
prioritise Ceph traffic for production VMs during work hours.
FlashCache doesn't offer this feature at this time.

Do you know if bcache offers any such controls?
-- 
Stuart Longland
Contractor
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to remove opennebula and its dependenciescompletly?

2014-03-26 Thread Stuart Longland
On 26/03/14 20:52, Meduri Jagadeesh wrote:
 Iam trying to remove opennebula completly with all its dependencies by
 
 apt-get remove package name

Doesn't `apt-get purge package` remove the package *and* its config files?

That followed by an `apt-get autoremove` since the deps will have
nothing requiring them to stick around.
-- 
Stuart Longland
Contractor
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Architecture advice

2014-03-26 Thread Stuart Longland
On 18/03/14 02:35, Gandalf Corvotempesta wrote:
 Hi to all
 i'm planning a brand new cloud infrastructure with opennebula.
 I'll have many KVM nodes and 3 management nodes where I would like
 to place OpenNebula, Sunstone and something else used to orchestrate
 the whole infrastructure
 
 Simple question: can I use these 3 nodes to power on OpenNebula (in
 HA-Configuration) and also host some virtual machines managed by
 OpenNebula ?

I could be wrong, I'm new to OpenNebula myself, but from what I've seen,
the management node isn't a particularly heavyweight process.

I had it running semi-successfully on an old server here (pre
virtualisation-technology).  I say semi-successfully; the machine had a
SCSI RAID card that took a dislike to Ubuntu 12.04, so the machine I had
as the master would die after 8 hours.

I was using SSH based transfers (so no shared storage) at the time.

Despite this, the VMs held up, they just couldn't be managed.  This
won't be the case if your VM hosts mount any space off the frontend
node: in which case a true HA set-up is needed.  (And lets face it, I
wouldn't recommend running the master node as a VM if you're going to be
mounting storage directly off it for the hosts.)

Based on this it would seem you could do a HA setup with some shared
storage between the nodes, either a common SAN or DR:BD to handle the
OpenNebula frontend.

Seeing as OpenNebula will want to control libvirt on the hosts (being
that you're also suggesting making these run the OpenNebula-managed VMs
too, this might have to be a KVM process managed outside of libvirt.
Not overly difficult, just fiddly.

But, as I say, I could be wrong, so take the above advice with a grain
of salt.

Regards,
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ceph+flashcache datastore driver

2014-03-25 Thread Stuart Longland
On 24/03/14 17:57, Stuart Longland wrote:
 Well, I'm starting to have a stab at creating a driver to do local
 caching on hosts for RBD storage.
 
 For those who want to follow progress, I've thrown a repository up here:
 http://git.longlandclan.yi.org/?p=opennebula-ceph-flashcache.git;a=summary

A heads up on the progress, I now have some basic cloning/linking of
images working.

Our cluster was pushing about 120MB/sec prior to me rebuilding the
compute nodes and embarking on this cache experiment.  The set up here is:

The Ceph nodes are combined MON/OSD hosts with two OSDs and a MON each.
 The machines each have two 1Gbps NICs, one of which connects to an
isolated unmanaged 1Gbps switch, the other connects to a second
unmanaged 1Gbps switch shared with the VM hosts.

The VM hosts themselves have 3 1Gbps NICs, one as a VLAN trunk for VMs,
the other two are bonded to form a 2Gbps link.  They each have a 60GB
SSD, of which 8GB is taken up by the OS.  The rest is LVM.

For testing I set up a VM with 100% of its disk cached to local SSD.
The initial read was slow, about 20MB/sec (dependent on overall
cluster/network load), however, subsequent reads is showing speeds of
approximately 218MB/sec.

So once the cache is filled up, there's a big jump in read performance.
-- 
Stuart Longland
Contractor
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] ceph+flashcache datastore driver

2014-03-24 Thread Stuart Longland
Hi all,

Well, I'm starting to have a stab at creating a driver to do local
caching on hosts for RBD storage.

For those who want to follow progress, I've thrown a repository up here:
http://git.longlandclan.yi.org/?p=opennebula-ceph-flashcache.git;a=summary

At time of writing, none of this has been tested.  I'm enquiring with
the Ceph people about how to convert my existing images to RBD v2
format, then I'll give this a shot.

Regards,
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Copy image on Ceph to file-based datastore

2014-03-23 Thread Stuart Longland
Hi Jaime,
On 21/03/14 19:57, Jaime Melis wrote:
 Have you benchmarked Online write-through caching / Online write-back
 / Offline write-back ?

Benchmarked?  I haven't even written the code yet.

At the moment without caching I'm getting about 120MB/sec in my VMs when
using virtio storage.  I've been told by one of the would-be users that
this is unusably slow.

Sébastian Han did some work with RBD+FlashCache here:
http://www.sebastien-han.fr/blog/2012/11/15/make-your-rbd-fly-with-flashcache/

 Are you proposing we should allow the three options or just stick to one?
 
 Anyways, this sounds like an amazing addon :)

Well, I can see cases where all three are useful.  Production data
workloads where data integrity is crucial, you'll want write-through
caching.

Speed-critical work loads, one of the write-back modes would be faster.
 Online write-back if you need live migration or don't have the space
for offline write-back.

 http://opennebula.org/addons/create/
 
 It'd be nice if in the machine template where you specify individual
 disks, if you could state what caching mode to use.  Alternatives would
 be to specify it in the image template or (least favourable) in the
 datastore template.
 
 
 If I understood correctly, you can use the CACHE option here:
 http://docs.opennebula.org/4.4/user/references/template.html#persistent-and-clone-disks
 
 although it might need a change in order to be able to specify the
 target cache. How do you think the interface should be?

That looks more like how libvirt handles the cache to the back-end
device.  Then again, we're pretty much taking over whatever caching
libvirt does and supplanting our own, so maybe it's appropriate to
hijack that option and just tell libvirt to disable its cache.
-- 
Stuart Longland
Contractor
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Copy image on Ceph to file-based datastore

2014-03-13 Thread Stuart Longland
Hi all,

In OpenNebula, it seems we can easily set it up to use Ceph as a
datastore for images, cloning non-persistent images to make temporary
copies, etc.

We can also have the images stored as files on the frontend computer and
dolled out via SSH; and in the case of persistent images, copied back
when the VM is undeployed.

What I'm missing is a hybrid between the two.  We've got a 3-node Ceph
cluster which is working well.  However, compared to a local SSD, the
Ceph cluster with its 6 spinners is a bit on the slow side in comparison.

There are VMs for which we don't care about resiliency, and so it makes
sense to use the SSDs attached to the VM hosts, and store the image
itself in Ceph.

The thought is, when the VM starts up, rather than having it dished out
from the frontend computer, the host does a:

rbd export pool-name/image-name /var/lib/one/datastores/123/45/disk.0

Then, if the image is persistent, it does a

rbd import pool-name/image-name /var/lib/one/datastores/123/45/disk.0

(Note: not sure if import will overwrite the image, it may be
necessary to do a rbd rm first of the old image... or better, import the
new copy then remove and rename.)

I had a tinker looking at the ssh transfer driver, but couldn't quite
figure out how to reach out to the other datastore without some ugly
kludges.

Anyone else done somthing like this?

Regards,
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] HOWTO: various questions about open nebula

2014-02-24 Thread Stuart Longland
On 24/02/14 12:27, kenneth wrote:
 1. Yes, we can have deferred and hot snapshot. Deferred means backup is
 done when you shutdown the VM, hot means a live snapshot.
 2. I haven't tested it yet, but you can manually zip an image. If you
 saved it as qcow2 and it is empty, file size is small.

I've noticed that qemu-img; when it creates a raw image, tends to use
filesystem holes to do so...

 stuartl@rikishi /tmp $ qemu-img create -f raw testimg.raw 163840M
 Formatting 'testimg.raw', fmt=raw size=171798691840 
 stuartl@rikishi /tmp $ ls -lh testimg.raw 
 -rw-r--r-- 1 stuartl stuartl 160G Feb 25 12:28 testimg.raw
 stuartl@rikishi /tmp $ du -hs testimg.raw 
 0   testimg.raw
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Adding an external VM to Open Nebula

2014-02-23 Thread Stuart Longland
On 23/02/14 20:42, Poul Kristensen wrote:
 When will this be supported? I think it is quite relevant!
 
 I have a lot of vm's too(e.g. Redhat,Debian,Ubuntu), which I would
 like to bring into OpenNebula control. I know this is possible in
 Vmware(import) just like it is possible to export vm'sd in Vmware
 although you ! use Vmware's *.vmdk files directly with the KVM
 hypervisor.

You could try shutting down the VM, importing its disk into OpenNebula,
then recreate the virtual machine configuration as a template and start
an instance of it.

Messy, and might be troublesome if you've got software that expects a
certain configuration (i.e. MAC addresses), but it'd work.

The tricky one that I'm grappling with now is importing a Windows XP VM
from VMWare Player.  In this case, one needs to get it going in a
standalone KVM instance first before trying to import the image (as
trying to get the image going in-situ on OpenNebula is a pain).

Regards,
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone image upload to Ceph

2014-02-21 Thread Stuart Longland
Hi Jaime,
On 21/02/14 20:01, Jaime Melis wrote:
 Hi Stuart,
 
 no, it doesn't support this feature. To be honest, I don't think
 removing that ssh connection will actually be that much of a
 performance gain, especially since registering images is not a very
 frequent operation.

Well, I guess it depends on the scenario.  I noticed on a 16GB image the
ssh-to-self process took a few minutes.

 However, that being said, one of the great things about OpenNebula is
 that you can hack to make it work like you expect/want it to. I've
 written a small patch that will make the image creation script work as
 you propose:
 
 https://gist.github.com/9131673 (Apply that patch to
 /var/lib/one/remotes/datastore/ceph/cp)
 
 Please keep in mind that I have *not* tested this, so use it with
 caution, but I think it's what you want.

This is true, and one of the reasons we choose it over something
off-the-shelf like VMWare.  Ruby isn't my forté, but nothing stops me
from learning and getting my hands dirty.

I'll have a look at that patch on Monday when I'm next at work.

Thanks.
Regards,
-- 
Stuart Longland
Contractor
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula and ceph: why rbd copy rather than rbd clone?

2014-02-20 Thread Stuart Longland
Hi all,

Silly question.  I've just thrown together an OpenNebula cluster for
evaluation purposes and have it using a back-end Ceph cluster for storage.

Image creation works, but one thing I observe is that the VMs sit in the
PROLOG stage for a long time.  During this process, I see an rbd process
busily copying the image to a temporary rbd for the instance.

The call specifically is a 'rbd copy' command.  I see in the manual
pages for rbd:

clone [parent-snapname] [image-name]
   Will create a clone (copy-on-write child) of the parent 
 snapshot.  Object order will be  identical  to
   that of the parent image unless specified. Size will be the 
 same as the parent snapshot.

Surely this would be more efficient than creating copies of the images.
 Is there a reason why 'copy' was chosen rather than 'clone' in OpenNebula?
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Migrating a QEMU VM to OpenNebula 3.8.1

2012-11-30 Thread Stuart Longland
Hi all,

Sorry if this has been asked already, I did look but didn't see anything.

The situation is thus; in a hurry I needed to get a couple of virtual
machines going, we didn't have anything installed at the time beyond
plain QEMU/KVM, so I just used that, creating the following shell script
snippet:

 exec kvm \
 -uuid 2247a584-e95d-47f1-8756-9088c25b87eb \
 -drive file=/path/to/hda.qcow2,if=virtio,media=disk \
 -rtc base=localtime \
 -vnc :0 \
 -daemonize \
 -usb \
 -usbdevice tablet \
 -m 512 \
 -net nic,macaddr=52:54:00:12:34:59 \
 -net tap \
 $@

The above VM runs Windows Server 2008R2 64-bit.

In fact, I've got a few VMs like this.  In the case of Linux VMs (using
serial console), the main difference is the use of -nographic in place
of -daemon and using `screen -dmS` to daemonise the KVM process instead.

How does one go about importing such a VM into OpenNebula?  I tried by
copying across the disk image and creating a 64-bit host.  Despite being
careful to ensure things were identical, I always got a STOP error;
error 0x005d.

Is there a known working procedure for importing such VMs?

Regards,
-- 
##   -,--. ## Stuart Longland, Software Engineer
##.  :  ##   :   ##   38b Douglas Street   -+*WE HAVE*+-
 ## #  ## -'`   .#'   Milton, QLD, 4034--+*MOVED*+--
 '#'  *'   '-.  *'http://www.vrt.com.au
 S Y S T E M ST: 07 3535 9619F: 07 3535 9699
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Issues starting a VM

2012-11-26 Thread Stuart Longland
 QU1FPjwhW0NEQVRBW3ZydGFkbWluXV0+PC9JTUFHRV9VTkFNRT48UEVSU0lTVEVOVD48IVtDREFUQVtZRVNdXT48L1BFUlNJU1RFTlQ+PFJFQURPT
 kxZPjwhW0NEQVRBW05PXV0+PC9SRUFET05MWT48U0FWRT48IVtDREFUQVtZRVNdXT48L1NBVkU+PFNPVVJDRT48IVtDREFUQVsvdmFyL2xpYi9vbm
 UvZGF0YXN0b3Jlcy8xLzMwMWFhYzg5NTYxYzBmYmVhZjE0MGNiMDkxMjRmOTQxXV0+PC9TT1VSQ0U+PFRBUkdFVD48IVtDREFUQVtoZGFdXT48L1R
 BUkdFVD48VE1fTUFEPjwhW0NEQVRBW3NoYXJlZF1dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQVRBW0ZJTEVdXT48L1RZUEU+PC9ESVNLPjxNRU1PUlk+
 PCFbQ0RBVEFbMjU2XV0+PC9NRU1PUlk+PE5BTUU+PCFbQ0RBVEFbYm5lcHJkc3J2NV1dPjwvTkFNRT48TklDPjxCUklER0U+PCFbQ0RBVEFbcHJva
 mVjdDE2MF1dPjwvQlJJREdFPjxJUD48IVtDREFUQVsxMC44Ny4xNjAuMTNdXT48L0lQPjxNQUM+PCFbQ0RBVEFbNTI6NTQ6MDA6MTI6MzQ6NThdXT
 48L01BQz48TkVUV09SSz48IVtDREFUQVtzZXJ2ZXIxNjBdXT48L05FVFdPUks+PE5FVFdPUktfSUQ+PCFbQ0RBVEFbMl1dPjwvTkVUV09SS19JRD4
 8TkVUV09SS19VTkFNRT48IVtDREFUQVt2cnRhZG1pbl1dPjwvTkVUV09SS19VTkFNRT48UEhZREVWPjwhW0NEQVRBW2V0aDAuMTYwXV0+PC9QSFlE
 RVY+PFZMQU4+PCFbQ0RBVEFbWUVTXV0+PC9WTEFOPjwvTklDPjxSRVFVSVJFTUVOVFM+PCFbQ0RBVEFbQ0xVU1RFUl9JRCA9IDEwMF1dPjwvUkVRV
 UlSRU1FTlRTPjxWTUlEPjwhW0NEQVRBWzNdXT48L1ZNSUQ+PC9URU1QTEFURT48SElTVE9SWV9SRUNPUkRTPjxISVNUT1JZPjxPSUQ+MzwvT0lEPj
 xTRVE+MDwvU0VRPjxIT1NUTkFNRT5ibmVwcmR2bTAudnJ0LmludDwvSE9TVE5BTUU+PEhJRD4yPC9ISUQ+PFNUSU1FPjEzNTQwMDAxNzU8L1NUSU1
 FPjxFVElNRT4wPC9FVElNRT48Vk1NTUFEPnZtbV9rdm08L1ZNTU1BRD48Vk5NTUFEPjgwMi4xUTwvVk5NTUFEPjxUTU1BRD5zaGFyZWQ8L1RNTUFE
 PjxEU19MT0NBVElPTj4vdmFyL2xpYi9vbmUvL2RhdGFzdG9yZXM8L0RTX0xPQ0FUSU9OPjxEU19JRD4wPC9EU19JRD48UFNUSU1FPjEzNTQwMDAxNzU8L1BTVElNRT48UEVUSU1FPjEzNTQwMDAxNzU8L1BFVElNRT48UlNUSU1FPjEzNTQwMDAxNzU8L1JTVElNRT48UkVUSU1FPjA8L1JFVElNRT48RVNUSU1FPjA8L0VTVElNRT48RUVUSU1FPjA8L0VFVElNRT48UkVBU09OPjA8L1JFQVNPTj48L0hJU1RPUlk+PC9ISVNUT1JZX1JFQ09SRFM+PC9WTT4=
 Tue Nov 27 17:09:36 2012 [VMM][I]: 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNic.rb:31:in `new_nic': undefined method 
 `new' for nil:NilClass (NoMethodError)
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:60:in `initialize'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:59:in `initialize'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:110:in `new'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:110:in `initialize'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/HostManaged.rb:23:in `initialize'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:100:in `new'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from 
 /var/tmp/one/vnm/802.1Q/../OpenNebulaNetwork.rb:100:in `from_base64'
 Tue Nov 27 17:09:36 2012 [VMM][I]: from /var/tmp/one/vnm/802.1Q/pre:24
 Tue Nov 27 17:09:36 2012 [VMM][I]: ExitCode: 1
 Tue Nov 27 17:09:36 2012 [VMM][I]: Failed to execute network driver 
 operation: pre.
 Tue Nov 27 17:09:36 2012 [VMM][E]: Error deploying virtual machine
 Tue Nov 27 17:09:36 2012 [DiM][I]: New VM state is FAILED

The error message was suspiciously like the following report…
http://comments.gmane.org/gmane.comp.distributed.opennebula.user/8527
… where the user miraculously fixed it by installing a missing package.
 Lord knows what that package was, as I seem to be missing it too and am
having a hard time figuring out which one.

Could someone on this list enlighten me as to what I might be doing
wrong?  Apologies if this has been asked before, but I can only find the
above thread which gives me no further information.

Regards,
-- 
##   -,--. ## Stuart Longland, Software Engineer
##.  :  ##   :   ##   38b Douglas Street   -+*WE HAVE*+-
 ## #  ## -'`   .#'   Milton, QLD, 4034--+*MOVED*+--
 '#'  *'   '-.  *'http://www.vrt.com.au
 S Y S T E M ST: 07 3535 9619F: 07 3535 9699
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org