Re: [Users] Obtain VM name from within VM?

2013-05-25 Thread Jonathan Daugherty
> in the meantime, you could try and do this manually by passing it
> via the vm payload field, which is mounted to the guest as a block
> device.

Thanks for the tip!  I'm not familiar with this feature and I don't
see any information about it in the Redhat RHEV documentation.  All
I've found is this:

  http://www.ovirt.org/Features/VMPayload

That suggests I can use the API to set this up, but is this possible
via the administrative UI instead?  Could I do this in a creation-time
VDSM hook?

Thanks,

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Obtain VM name from within VM?

2013-05-24 Thread Jonathan Daugherty
Hi,

I'm interested to know whether it is possible to obtain a VM's name from
within a VM.  In particular I'd like to obtain VM names from within
Linux guests for the purpose of setting up dynamic DNS based on the VM
name.  I don't see the VM name in the output of dmidecode and there
doesn't appear to be an entry in the ovirt guest API to obtain it.  (In
any case I can't run the ovirt guest agent on my VMs, so I'd like some
other way to get it.)

Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Backup and restore procedure?

2013-02-19 Thread Jonathan Daugherty
Greetings,

I'm working on deploying oVirt for the first time and I need to know
what needs to be backed up in order to be prepared for a system
recovery.  Is this documented?

For the engine, so far I imagine I'd want to back up /etc and dump my
postgres database; the restore procedure for both of those is trivial.
For the nodes, other than /etc, I don't know what needs to be backed
up or what the restore procedure is.  (And backing up /etc just for
this seems a bit ham-fisted.)

What am I missing?

Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] VM import error

2013-02-15 Thread Jonathan Daugherty
Hi,

After converting a libvirt/KVM VM onto an export domain with virt-v2v
0.8.7, I get the following messages in my node vdsm.log when I attempt
to import it into oVirt 3.2 (vdsm 4.10.3-6, Fedora 18):

28225939-f0a9-4ca4-a03b-e6fbece8fc2c::DEBUG::2013-02-15
15:12:53,143::misc::84::Storage.Misc.excCmd::() FAILED: 
= ["/usr/bin/dd: reading
'/rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/11204af5-1dd7-484a-8ea5-3aeb16e93053/images/14fc6510-3e56-4ab4-b592-e904f8f11043/38e87558-988f-46e5-b528-dae16a264887':
Input/output error", '1+0 records in', '1+0 records out', '1048576
bytes (1.0 MB) copied, 1759.85 s, 0.6 kB/s'];  =

128225939-f0a9-4ca4-a03b-e6fbece8fc2c::ERROR::2013-02-15
15:12:53,143::image::590::Storage.Image::(_interImagesCopy) Unexpected
errorTraceback (most recent call last):  File
"/usr/share/vdsm/storage/image.py", line 586, in _interImagesCopy
misc.ddWatchCopy(srcVol.getVolumePath(), dstVol.getVolumePath(),
vars.task.aborting, size=srcSize)
  File "/usr/share/vdsm/storage/misc.py", line 414, in ddWatchCopy
  raise se.MiscBlockWriteException(dst, offset, size)
MiscBlockWriteException: Internal block device write failure:
'name=/rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/6c0ba8c9-0e4e-474a-ba40-781b5e5d318a/images/14fc6510-3e56-4ab4-b592-e904f8f11043/38e87558-988f-46e5-b528-dae16a264887,
offset=0, size=3307929600'

# ls -alh
total 3.1G
drwxr-xr-x. 2 vdsm kvm 4.0K Feb 15 14:38 .
drwxr-xr-x. 3 vdsm kvm 4.0K Feb 15 14:39 ..
-rw-rw-r--. 1 vdsm kvm 3.1G Feb 15 14:39 38e87558-988f-46e5-b528-dae16a264887
-rw-r--r--. 1 vdsm kvm  324 Feb 15 14:38 
38e87558-988f-46e5-b528-dae16a264887.meta

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt and firewalld

2013-02-15 Thread Jonathan Daugherty
> I've just set up a new oVirt installation with two nodes.  Both of
> the nodes have had 'firewalld' disabled.  When I went to test VM
> migration, it failed, apparently due to this (from the vdsm log on
> the source node):
> 
>   error : virNetClientProgramDispatchError:174 : Error while
>   building firewall: Some rules could not be created for interface
>   vnet0: Failure to execute command '$EBT -t nat -N libvirt-J-vnet0'
>   : 'DBusException org.freedesktop.DBus.Error.ServiceUnknown: The
>   name org.fedoraproject.FirewallD1 was not provided by any .service
>   filesCouldn't connect to FirewallD, it's probably not running.'.

Okay, I'll answer it myself, for the google searchers of the future:

This was caused by 1) not restarting libvirtd *after* disabling
firewalld and 2) not realizing (understandably) that the error was
from the migration *destination* host, not the source host, despite
the fact that it was found in the source host's log and makes no
mention of the other host.  Libvirtd on the destination host was still
attempting to use firewalld; restarting it resolved the problem.

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt and firewalld

2013-02-13 Thread Jonathan Daugherty
Hi,

I've just set up a new oVirt installation with two nodes.  Both of the
nodes have had 'firewalld' disabled.  When I went to test VM
migration, it failed, apparently due to this (from the vdsm log on the
source node):

  error : virNetClientProgramDispatchError:174 : Error while building
  firewall: Some rules could not be created for interface vnet0:
  Failure to execute command '$EBT -t nat -N libvirt-J-vnet0' :
  'DBusException org.freedesktop.DBus.Error.ServiceUnknown: The name
  org.fedoraproject.FirewallD1 was not provided by any .service
  filesCouldn't connect to FirewallD, it's probably not running.'.

Is running firewalld a requirement for oVirt?  Is it possible to avoid
having oVirt attempt to manage my firewall rules?

Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users