Re: [Users] oVirt 3.3 ovirt-websocket-proxy

2013-09-06 Thread Alex Leonhardt



On 09/05/2013 07:39 AM, Michal Skrivanek wrote:

On Sep 5, 2013, at 08:01 , Alon Bar-Levalo...@redhat.com  wrote:



- Original Message -

From: Alex Leonhardtalex.t...@gmail.com
To: users@ovirt.org
Sent: Thursday, September 5, 2013 8:57:38 AM
Subject: Re: [Users] oVirt 3.3 ovirt-websocket-proxy

Honestly, I would manage iptable on VMs by puppet or some other config
management system ;)

it's on the host, not VMs…
in default deployment mode it's the engine host

Thanks,
michal


Fair enough. How is that different to have it still config managed ;) . 
But yes, I agree, it's a feature and it should work :)


Alex


I agree. But we have a feature... so better it work... :)


Alex

On 09/04/2013 04:14 PM, Jakub Bittner wrote:

Hello,

if I install websocket proxy and configure it for spice-html5 usage by
ovirt-setup it does not add iptables rules about opening port 6100 to
/etc/sysconfig/iptables even if I set oVirt to manage iptables. I use centos
6.4 and oVirt 3.3RC

Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] so, what do you want next in oVirt?

2013-09-06 Thread Alex Leonhardt

I thought Foreman already integrates with oVirt / RHEV ?

Alex

On 09/05/2013 08:30 AM, noc wrote:

we started adding foreman integration in 3.3:
http://www.ovirt.org/Features/ForemanIntegration

adding ohad and oved for their thoughts on this. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.3 ovirt-websocket-proxy

2013-09-04 Thread Alex Leonhardt
Honestly, I would manage iptable on VMs by puppet or some other config 
management system ;)


Alex

On 09/04/2013 04:14 PM, Jakub Bittner wrote:

Hello,

if I install websocket proxy and configure it for spice-html5 usage by 
ovirt-setup it does not add iptables rules about opening port 6100 to 
/etc/sysconfig/iptables even if I set oVirt to manage iptables. I use 
centos 6.4 and oVirt 3.3RC


Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] unable to make a template from VM

2013-04-18 Thread Alex Leonhardt
not sure what it was, but eventually i was able to export the VM with 
the disk, re-import it and make it a template - yay! :)


Alex

On 04/16/2013 03:47 PM, Alex Leonhardt wrote:
So it seems to have something to do with the original Template, I 
still cant explain what's going on though and the engine logs set to 
debug still dont show anything more ...


anyone able to help please !?


On 16 April 2013 11:03, Alex Leonhardt alex.t...@gmail.com 
mailto:alex.t...@gmail.com wrote:


oh, the export of the VM failed too, when I checked this morning,
it apparently had no disk !?

what's going on here ? how can I clearly use a VM that has a disk,
but the system doesn't seem to know about it ?

Alex



On 16 April 2013 09:27, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

Hi All,

Anyone seen the attached error ? I'm suddenly unable to make a
template from a VM that has a pre-allocated disk. The VM is
based on a different template also still in the system, which
I am also unable to remove.

The error in engine.log only says this:

2013-04-16 08:17:24,497 WARN 
[org.ovirt.engine.core.bll.AddVmTemplateCommand]

(ajp--0.0.0.0-8009-2) [4021a4d2] CanDoAction of action
AddVmTemplate failed.

Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_VM_HAS_NO_DISKS

There is nothing special coming up in the vdsm.log / to filter
out debug messages, i've changed log levels to INFO and higher
earlier today - still, when this error occurs, the only
message I can see in vdsm.log are the usual can I write to
the storage domain ones ..

Thread-493::INFO::2013-04-16
08:17:42,873::logUtils::37::dispatcher::(wrapper) Run and
protect:
getSpmStatus(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
options=None)
Thread-493::INFO::2013-04-16
08:17:42,874::logUtils::39::dispatcher::(wrapper) Run and
protect: getSpmStatus, Return response: {'spm_st': {'spmId':
1, 'spmStatus': 'SPM', 'spmLver': 19}}
Thread-494::INFO::2013-04-16
08:17:42,886::logUtils::37::dispatcher::(wrapper) Run and
protect:
getStoragePoolInfo(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
options=None)
Thread-494::INFO::2013-04-16
08:17:42,888::logUtils::39::dispatcher::(wrapper) Run and
protect: getStoragePoolInfo, Return response: {'info':
{'spm_id': 1, 'master_uuid':
'7d0f78ff-aa25-4b64-a2ea-c8a65beda616', 'name': 'ALE-LAB',
'version': '2', 'domains':

u'35fd8ea5-8bbc-4343-881e-3f78626420e3:Active,55758a74-5c36-4364-bcb0-acae969acd64:Active,7d0f78ff-aa25-4b64-a2ea-c8a65beda616:Active,84e33e25-f4af-4b3c-9780-8a116a737236:Active,2c7fc39e-767c-4c97-946f-321468451c61:Active',
'pool_status': 'connected', 'isoprefix':

u'/rhev/data-center/353b073e-dfb0-46e6-8ac5-344ff251ca91/55758a74-5c36-4364-bcb0-acae969acd64/images/----',
'type': 'ISCSI', 'master_ver': 4, 'lver': 19}, 'dominfo':
{u'35fd8ea5-8bbc-4343-881e-3f78626420e3': {'status':
u'Active', 'diskfree': '163208757248', 'alerts': [],
'disktotal': '261858787328'},
u'55758a74-5c36-4364-bcb0-acae969acd64': {'status': u'Active',
'diskfree': '318918098944', 'alerts': [], 'disktotal':
'802458435584'}, u'7d0f78ff-aa25-4b64-a2ea-c8a65beda616':
{'status': u'Active', 'diskfree': '23756537856', 'alerts': [],
'disktotal': '7301032'},
u'84e33e25-f4af-4b3c-9780-8a116a737236': {'status': u'Active',
'diskfree': '49153048576', 'alerts': [], 'disktotal':
'246076669952'}, u'2c7fc39e-767c-4c97-946f-321468451c61':
{'status': u'Active', 'diskfree': '26306674688', 'alerts': [],
'disktotal': '104555610112'}}}

Any help please ?

FWIW, I am able to export the host to the export domain.

Alex

-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co

http://www.vcore.co | www.vsearchcloud.com
http://www.vsearchcloud.com |




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co

http://www.vcore.co | www.vsearchcloud.com
http://www.vsearchcloud.com |




--
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co 
http://www.vcore.co | www.vsearchcloud.com 
http://www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-18 Thread Alex Leonhardt
ah, i dont have that configured anyway as I thought from the beginning 
that i'd like to keep control over when a host is being rebooted ...


unfortunately, the VMs are running storage domains too (NFS) so it'd 
take those down I believe ... i'll try w/o stopping vdsm first ... on 
one that hopefully doesnt run too many critical apps at the time ..


i'll report back how it went if anyone's interested :)



On 04/17/2013 08:07 AM, Omer Frenkel wrote:





*From: *Alex Leonhardt alex.t...@gmail.com
*To: *Dan Kenigsberg dan...@redhat.com
*Cc: *oVirt Mailing List users@ovirt.org
*Sent: *Wednesday, April 17, 2013 1:02:25 AM
*Subject: *Re: [Users] save to restart libvirtd ?

would that stop any of the running VMs ?

it shouldn't, but if you have ovirt engine running, make sure that 
power management not active for this host,
since after timeout (usually 1 minute) when vdsm is down, the host 
will be fenced (restarted) - then the vms will surely stop..
look at http://www.ovirt.org/Automatic_Fencing 
http://www.ovirt.org/Automatic_Fencing%20for more info about 
automatic fencing in engine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] unable to make a template from VM

2013-04-16 Thread Alex Leonhardt
oh, the export of the VM failed too, when I checked this morning, it
apparently had no disk !?

what's going on here ? how can I clearly use a VM that has a disk, but the
system doesn't seem to know about it ?

Alex



On 16 April 2013 09:27, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 Anyone seen the attached error ? I'm suddenly unable to make a template
 from a VM that has a pre-allocated disk. The VM is based on a different
 template also still in the system, which I am also unable to remove.

 The error in engine.log only says this:

 2013-04-16 08:17:24,497 WARN
 [org.ovirt.engine.core.bll.AddVmTemplateCommand] (ajp--0.0.0.0-8009-2)
 [4021a4d2] CanDoAction of action AddVmTemplate failed.
 Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_VM_HAS_NO_DISKS

 There is nothing special coming up in the vdsm.log / to filter out debug
 messages, i've changed log levels to INFO and higher earlier today - still,
 when this error occurs, the only message I can see in vdsm.log are the
 usual can I write to the storage domain ones ..

 Thread-493::INFO::2013-04-16
 08:17:42,873::logUtils::37::dispatcher::(wrapper) Run and protect:
 getSpmStatus(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91', options=None)
 Thread-493::INFO::2013-04-16
 08:17:42,874::logUtils::39::dispatcher::(wrapper) Run and protect:
 getSpmStatus, Return response: {'spm_st': {'spmId': 1, 'spmStatus': 'SPM',
 'spmLver': 19}}
 Thread-494::INFO::2013-04-16
 08:17:42,886::logUtils::37::dispatcher::(wrapper) Run and protect:
 getStoragePoolInfo(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
 options=None)
 Thread-494::INFO::2013-04-16
 08:17:42,888::logUtils::39::dispatcher::(wrapper) Run and protect:
 getStoragePoolInfo, Return response: {'info': {'spm_id': 1, 'master_uuid':
 '7d0f78ff-aa25-4b64-a2ea-c8a65beda616', 'name': 'ALE-LAB', 'version': '2',
 'domains':
 u'35fd8ea5-8bbc-4343-881e-3f78626420e3:Active,55758a74-5c36-4364-bcb0-acae969acd64:Active,7d0f78ff-aa25-4b64-a2ea-c8a65beda616:Active,84e33e25-f4af-4b3c-9780-8a116a737236:Active,2c7fc39e-767c-4c97-946f-321468451c61:Active',
 'pool_status': 'connected', 'isoprefix':
 u'/rhev/data-center/353b073e-dfb0-46e6-8ac5-344ff251ca91/55758a74-5c36-4364-bcb0-acae969acd64/images/----',
 'type': 'ISCSI', 'master_ver': 4, 'lver': 19}, 'dominfo':
 {u'35fd8ea5-8bbc-4343-881e-3f78626420e3': {'status': u'Active', 'diskfree':
 '163208757248', 'alerts': [], 'disktotal': '261858787328'},
 u'55758a74-5c36-4364-bcb0-acae969acd64': {'status': u'Active', 'diskfree':
 '318918098944', 'alerts': [], 'disktotal': '802458435584'},
 u'7d0f78ff-aa25-4b64-a2ea-c8a65beda616': {'status': u'Active', 'diskfree':
 '23756537856', 'alerts': [], 'disktotal': '7301032'},
 u'84e33e25-f4af-4b3c-9780-8a116a737236': {'status': u'Active', 'diskfree':
 '49153048576', 'alerts': [], 'disktotal': '246076669952'},
 u'2c7fc39e-767c-4c97-946f-321468451c61': {'status': u'Active', 'diskfree':
 '26306674688', 'alerts': [], 'disktotal': '104555610112'}}}

 Any help please ?

 FWIW, I am able to export the host to the export domain.

 Alex

 --
 | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
 www.vsearchcloud.com |




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] unable to make a template from VM

2013-04-16 Thread Alex Leonhardt
So it seems to have something to do with the original Template, I still
cant explain what's going on though and the engine logs set to debug still
dont show anything more ...

anyone able to help please !?


On 16 April 2013 11:03, Alex Leonhardt alex.t...@gmail.com wrote:

 oh, the export of the VM failed too, when I checked this morning, it
 apparently had no disk !?

 what's going on here ? how can I clearly use a VM that has a disk, but the
 system doesn't seem to know about it ?

 Alex



 On 16 April 2013 09:27, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 Anyone seen the attached error ? I'm suddenly unable to make a template
 from a VM that has a pre-allocated disk. The VM is based on a different
 template also still in the system, which I am also unable to remove.

 The error in engine.log only says this:

 2013-04-16 08:17:24,497 WARN
 [org.ovirt.engine.core.bll.AddVmTemplateCommand] (ajp--0.0.0.0-8009-2)
 [4021a4d2] CanDoAction of action AddVmTemplate failed.
 Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_VM_HAS_NO_DISKS

 There is nothing special coming up in the vdsm.log / to filter out debug
 messages, i've changed log levels to INFO and higher earlier today - still,
 when this error occurs, the only message I can see in vdsm.log are the
 usual can I write to the storage domain ones ..

 Thread-493::INFO::2013-04-16
 08:17:42,873::logUtils::37::dispatcher::(wrapper) Run and protect:
 getSpmStatus(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91', options=None)
 Thread-493::INFO::2013-04-16
 08:17:42,874::logUtils::39::dispatcher::(wrapper) Run and protect:
 getSpmStatus, Return response: {'spm_st': {'spmId': 1, 'spmStatus': 'SPM',
 'spmLver': 19}}
 Thread-494::INFO::2013-04-16
 08:17:42,886::logUtils::37::dispatcher::(wrapper) Run and protect:
 getStoragePoolInfo(spUUID='353b073e-dfb0-46e6-8ac5-344ff251ca91',
 options=None)
 Thread-494::INFO::2013-04-16
 08:17:42,888::logUtils::39::dispatcher::(wrapper) Run and protect:
 getStoragePoolInfo, Return response: {'info': {'spm_id': 1, 'master_uuid':
 '7d0f78ff-aa25-4b64-a2ea-c8a65beda616', 'name': 'ALE-LAB', 'version': '2',
 'domains':
 u'35fd8ea5-8bbc-4343-881e-3f78626420e3:Active,55758a74-5c36-4364-bcb0-acae969acd64:Active,7d0f78ff-aa25-4b64-a2ea-c8a65beda616:Active,84e33e25-f4af-4b3c-9780-8a116a737236:Active,2c7fc39e-767c-4c97-946f-321468451c61:Active',
 'pool_status': 'connected', 'isoprefix':
 u'/rhev/data-center/353b073e-dfb0-46e6-8ac5-344ff251ca91/55758a74-5c36-4364-bcb0-acae969acd64/images/----',
 'type': 'ISCSI', 'master_ver': 4, 'lver': 19}, 'dominfo':
 {u'35fd8ea5-8bbc-4343-881e-3f78626420e3': {'status': u'Active', 'diskfree':
 '163208757248', 'alerts': [], 'disktotal': '261858787328'},
 u'55758a74-5c36-4364-bcb0-acae969acd64': {'status': u'Active', 'diskfree':
 '318918098944', 'alerts': [], 'disktotal': '802458435584'},
 u'7d0f78ff-aa25-4b64-a2ea-c8a65beda616': {'status': u'Active', 'diskfree':
 '23756537856', 'alerts': [], 'disktotal': '7301032'},
 u'84e33e25-f4af-4b3c-9780-8a116a737236': {'status': u'Active', 'diskfree':
 '49153048576', 'alerts': [], 'disktotal': '246076669952'},
 u'2c7fc39e-767c-4c97-946f-321468451c61': {'status': u'Active', 'diskfree':
 '26306674688', 'alerts': [], 'disktotal': '104555610112'}}}

 Any help please ?

 FWIW, I am able to export the host to the export domain.

 Alex

 --
 | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
 www.vsearchcloud.com |




 --
 | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
 www.vsearchcloud.com |




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-16 Thread Alex Leonhardt

would that stop any of the running VMs ?

alex

On 04/16/2013 09:47 PM, Dan Kenigsberg wrote:

On Mon, Apr 15, 2013 at 05:12:35PM +0200, Martin Kletzander wrote:

On 04/15/2013 03:39 PM, Alex Leonhardt wrote:

Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?


Hi,

for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
this particular one, I can confirm that libvirt is written in a way that
enables it to be restarted without any impact on the machines which are
being ran.

Of course I can't say nothing will happen due to the fact that every
single time something can happen, but nothing _should_ happen to any of
your machines.

Indeed. Vdsm should notice that libvirtd has died, and restart itself.
However, it would be safer to stop Vdsm explicitly before you do that
(for example http://gerrit.ovirt.org/8283 )

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] save to restart libvirtd ?

2013-04-15 Thread Alex Leonhardt
Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?

Alex

-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] save to restart libvirtd ?

2013-04-15 Thread Alex Leonhardt

Thanks Martin,

I tested on a almost empty host I had to play with, and it seemed all 
went well, so will hopefully be able to regain ~11 GB of memory after 
restarting libvirtd :) ..


I'll sign up to the other mailing list to find out why / how it could 
have grown this big :\


Thanks
Alex


On 04/15/2013 04:12 PM, Martin Kletzander wrote:

On 04/15/2013 03:39 PM, Alex Leonhardt wrote:

Hi,

I believe it's save, but just wanted to re-check, is it save to restart
libvirtd on a HV running ~40 VMs ?


Hi,

for libvirt questions, I'd rather use libvirt-us...@redhat.com, but for
this particular one, I can confirm that libvirt is written in a way that
enables it to be restarted without any impact on the machines which are
being ran.

Of course I can't say nothing will happen due to the fact that every
single time something can happen, but nothing _should_ happen to any of
your machines.

Have a nice day,
Martin
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt
hi,

i've been successful in creating a VM from a template, however, that VM is
a thin-provisioned one ? is it possible to make it a cloned /
pre-provisioned ? otherwise i wont be able to update/remove the template
when i need to ?

this is on ovirt 3.1

thanks
alex

-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt
oh, and it'd be good if one can set the storage domain to use, what virtual
nic the network card is to be assigned, etc. ?


On 4 April 2013 11:03, Alex Leonhardt alex.t...@gmail.com wrote:

 hi,

 i've been successful in creating a VM from a template, however, that VM is
 a thin-provisioned one ? is it possible to make it a cloned /
 pre-provisioned ? otherwise i wont be able to update/remove the template
 when i need to ?

 this is on ovirt 3.1

 thanks
 alex

 --
 | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
 www.vsearchcloud.com |




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt

and via the python api ?

On 04/04/2013 12:41 PM, Dafna Ron wrote:
Resource allocation tab will allow you to choose between thin 
provision and clone.



On 04/04/2013 01:03 PM, Alex Leonhardt wrote:

hi,

i've been successful in creating a VM from a template, however, that 
VM is a thin-provisioned one ? is it possible to make it a cloned / 
pre-provisioned ? otherwise i wont be able to update/remove the 
template when i need to ?


this is on ovirt 3.1

thanks
alex

--
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co 
http://www.vcore.co | www.vsearchcloud.com 
http://www.vsearchcloud.com |



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] way to edit iSCSI storage domain?

2013-04-03 Thread Alex Leonhardt
I think i'd just add the 2nd path when the device is available ... i've
recently exprimented with iscsi / tgtd and multipath on a ovirt hyper-visor
and it will identify the disk as the same (new path to target) as long as
the LUN ID is the same (this is taken from experience, not from a spec
document) ...


On 3 April 2013 08:14, Yuriy Demchenko demchenko...@gmail.com wrote:

 I guess you misunderstood me
 I'm going to try this scheme:
|STORAGE|
 FC /   \
 |SERV1/tgtd||SERV2/tgtd|
 iSCSI   \  /
  |ethernet switches|
 iSCSI
|blades|blades|blades|

 serv1/serv2 - connectivity isnt a problem, multipathed FC scheme, all
 good. Same lun accessible for both servers and than exported via tgtd to
 iSCSI: with different target names (iqn.2013-03.serv1:store,
 iqn.2013-03.serv2:store), but same vendor_id, product_id, scsi_sn,
 scsi_id. That way client can login into both targets and see lun as
 multipathed device.
 And multipath failover scheme (via custom config with
 path_grouping_policy=failover for corresponding vendor_id/product_id) is on
 blades-clients - so they use only one target at time (no round-robin or
 similar stuff), but with ability to switch to another target in case one of
 serv1/serv2 is down.

 However, in my case serv2 would not be available during oVirt setup
 (need to setup ovirt and virtual servers to move stuff first), so i cant
 enter both targets on storage domain initialization - that's why I'm asking
 if there's any way to edit storage domain details after initialization
 without destroying it (maybe directly via sql or something).

 Yuriy Demchenko


 On 04/02/2013 06:26 PM, Shu Ming wrote:

 I am not sure if the multipathd can recognize the FC path to the storage
 when the second server is available and regards it as the same as the iSCSI
 path used before. If it is not, I think the device under /dev/mapper may
 change when you cut the iSCSI path off and then enable FC path. That will
 definitely corrupt the meta data of the volume group which the storage
 domain is sitting on and the storage domain will be corrupted finally.


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] does ovirt is integrated with svirt

2013-04-03 Thread Alex Leonhardt
i think better question is, will Ovirt eventually integrate into OpenStack
?


On 3 April 2013 09:55, bigclouds bigclo...@163.com wrote:

 hi,all
 does ovirt is integrated with svirt?

 thanks



 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] way to edit iSCSI storage domain?

2013-04-03 Thread Alex Leonhardt
but you can add a iscsi disk to a existing iscsi domain ... see attached
screenshot .. .if the disk you're adding has the same LUN ID as the already
existing one, ovirt will just add it as a 2nd / 3rd / 4th and so forth
path ...




On 3 April 2013 10:49, Yuriy Demchenko demchenko...@gmail.com wrote:

  You mean add new path by hands on each node via iscsiadm ? And how that
 changes survive possible node reboots / reinstalls, as i suppose - it
 wouldn't?
 In ovirt webadmin i cannot edit added domain - connection information is
 greyed out (even when storage domain in maintenance mode)

 Yuriy Demchenko

 On 04/03/2013 01:00 PM, Alex Leonhardt wrote:

  I think i'd just add the 2nd path when the device is available ... i've
 recently exprimented with iscsi / tgtd and multipath on a ovirt hyper-visor
 and it will identify the disk as the same (new path to target) as long as
 the LUN ID is the same (this is taken from experience, not from a spec
 document) ...


 On 3 April 2013 08:14, Yuriy Demchenko demchenko...@gmail.com wrote:

 I guess you misunderstood me
 I'm going to try this scheme:
|STORAGE|
 FC /   \
 |SERV1/tgtd||SERV2/tgtd|
 iSCSI   \  /
  |ethernet switches|
 iSCSI
|blades|blades|blades|

 serv1/serv2 - connectivity isnt a problem, multipathed FC scheme, all
 good. Same lun accessible for both servers and than exported via tgtd to
 iSCSI: with different target names (iqn.2013-03.serv1:store,
 iqn.2013-03.serv2:store), but same vendor_id, product_id, scsi_sn,
 scsi_id. That way client can login into both targets and see lun as
 multipathed device.
 And multipath failover scheme (via custom config with
 path_grouping_policy=failover for corresponding vendor_id/product_id) is on
 blades-clients - so they use only one target at time (no round-robin or
 similar stuff), but with ability to switch to another target in case one of
 serv1/serv2 is down.

 However, in my case serv2 would not be available during oVirt setup
 (need to setup ovirt and virtual servers to move stuff first), so i cant
 enter both targets on storage domain initialization - that's why I'm asking
 if there's any way to edit storage domain details after initialization
 without destroying it (maybe directly via sql or something).

 Yuriy Demchenko


 On 04/02/2013 06:26 PM, Shu Ming wrote:

 I am not sure if the multipathd can recognize the FC path to the storage
 when the second server is available and regards it as the same as the iSCSI
 path used before. If it is not, I think the device under /dev/mapper may
 change when you cut the iSCSI path off and then enable FC path. That will
 definitely corrupt the meta data of the volume group which the storage
 domain is sitting on and the storage domain will be corrupted finally.


   ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




  --
 | RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
 www.vsearchcloud.com |





-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
attachment: ovirt-iscsi-edit-domain.png___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt engine w/ remote console / spice / chrome

2013-04-02 Thread Alex Leonhardt
hi,

any way of getting the admin interface to work in chrome as well as firefox
? am just wondering as probably 80% of people are using chrome and i'm
having difficulty to get the console button to appear :\

alex

-- 
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rebooting physical network that ovirt is attached to

2013-03-24 Thread Alex Leonhardt
From experience, I would shutdown the ovirt engine before you do any 
work related to networking. The VMs will keep running w/o the engine 
available, you're simply unable to add/remove/failover VMs, etc. The 
VDSM running on the host will be unable to get instructions to kill 
any VMs as the engine is already down :) ...


hope it helps!
alex




On 03/24/2013 10:04 AM, Lior Vernia wrote:

Hello Jonathan,

First of all let me apologize for not being more responsive, seems like
you got the worse end of time difference.

Now, in case the question is still relevant:

1. Rebooting the first switch won't cause any damage. The VMs will lose
connectivity on the VLANs, but they should still be manageable through
oVirt and run normally on their hosts.

2. Rebooting the second one could prove more troublesome. Firstly, as a
preemptive measure I would advise that you not have any VMs running on
your host marked as SPM at the moment of reboot, if possible - there's
risk that VMs running on your SPM will be shut down violently when it
loses connectivity (or the moment it regains connectivity). Also, if any
of your VMs have thin provisioning defined and they exhaust their
storage during downtime, they'll run into trouble; but as far as I know
they should be okay if they're not running processes that can suddenly
demand a lot more storage. That's as far as possible damage goes.
Besides that, when the switch comes back up, some components (host, data
domain) might appear as non-operational or down, and you might have to
reactivate them manually from the webadmin console.

Hope this helps.

Yours, Lior Vernia.

On 21/03/13 20:42, Jonathan Horne wrote:

greetings,

we are talking about possibly upgrading our cisco gear tonight, and this
will affect our ovirt environment.

what can i expect if i were to reboot first the switch that all VMguest
VLANs are going thru, ad then afterwards rebooting the switch that all
ovirtmgmt connections are in?  how will the ovirt environment behave
with loss of network connectivity for a couple minutes?

the iscsi network is not going to be affected.  any information or
stories of similar experiences would be appreciated.

thanks,
jonathan



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind SKOPOS to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rebooting physical network that ovirt is attached to

2013-03-24 Thread Alex Leonhardt
if only export and iso domains are on the ovirt engine host, you're 
usually good to just reboot, when the engine is back up and running, 
you'll have to manually re-attach the domains back to the data centre...


alex


On 03/24/2013 02:21 PM, Lior Vernia wrote:

Hello Jonathan,

Having taken a look at the other thread, your original assumption was
correct - aside from NFS, your nodes and VMs should generally be fine
during a reboot (again, excluding cases as I mentioned for thin
provisioning).

As for the NFS services your server is providing, I'm no expert when it
comes to storage, so my best advice would be to wait for someone on the
other thread to give you a definite answer (also it sounds like there's
a bigger issue weighing on your server, causing it to be sluggish).

  However, if you're pressed for time - I think you should be fine as long
as you detach the NFS domains in an orderly fashion before you take the
server down for a reboot, and then reattach them when it's back up. As
far as I know (and again I'm no expert), both of these domains aren't
critical most of the time; ISO domains are critical when you have VMs
accessing them (during installation and such), and export domains when
you're moving VMs around.

Also, you might want to try IRC to see if someone more knowledgeable
than me might answer you in real time: irc://irc.oftc.net/ovirt.

Yours, Lior.

On 24/03/13 15:42, Jonathan Horne wrote:

Ah, thank you much lior and alex.



I believe this also answers my other thread, that is is ok to reboot the
management server at any time? (I have another thread about how sluggish
mine is running lately, and id like to get it rebooted soon before I go
on vacation).



Thanks again!

jonathan



*From:*Alex Leonhardt [mailto:alex.t...@gmail.com]
*Sent:* Sunday, March 24, 2013 7:40 AM
*To:* Lior Vernia
*Cc:* Jonathan Horne; users@ovirt.org
*Subject:* Re: [Users] rebooting physical network that ovirt is attached to



 From experience, I would shutdown the ovirt engine before you do any
work related to networking. The VMs will keep running w/o the engine
available, you're simply unable to add/remove/failover VMs, etc. The
VDSM running on the host will be unable to get instructions to kill
any VMs as the engine is already down :) ...

hope it helps!
alex




On 03/24/2013 10:04 AM, Lior Vernia wrote:

Hello Jonathan,



First of all let me apologize for not being more responsive, seems like

you got the worse end of time difference.



Now, in case the question is still relevant:



1. Rebooting the first switch won't cause any damage. The VMs will lose

connectivity on the VLANs, but they should still be manageable through

oVirt and run normally on their hosts.



2. Rebooting the second one could prove more troublesome. Firstly, as a

preemptive measure I would advise that you not have any VMs running on

your host marked as SPM at the moment of reboot, if possible - there's

risk that VMs running on your SPM will be shut down violently when it

loses connectivity (or the moment it regains connectivity). Also, if any

of your VMs have thin provisioning defined and they exhaust their

storage during downtime, they'll run into trouble; but as far as I know

they should be okay if they're not running processes that can suddenly

demand a lot more storage. That's as far as possible damage goes.

Besides that, when the switch comes back up, some components (host, data

domain) might appear as non-operational or down, and you might have to

reactivate them manually from the webadmin console.



Hope this helps.



Yours, Lior Vernia.



On 21/03/13 20:42, Jonathan Horne wrote:

 greetings,



 we are talking about possibly upgrading our cisco gear tonight, and this

 will affect our ovirt environment.



 what can i expect if i were to reboot first the switch that all VMguest

 VLANs are going thru, ad then afterwards rebooting the switch that all

 ovirtmgmt connections are in?  how will the ovirt environment behave

 with loss of network connectivity for a couple minutes?



 the iscsi network is not going to be affected.  any information or

 stories of similar experiences would be appreciated.



 thanks,

 jonathan





 

 This is a PRIVATE message. If you are not the intended recipient, please

 delete without copying and kindly advise us by e-mail of the mistake in

 delivery. NOTE: Regardless of content, this e-mail shall not operate to

 bind SKOPOS to any order or other contract unless pursuant to explicit

 written agreement or government initiative expressly permitting the use

 of e-mail for such purpose.





 ___

 Users mailing list

 Users@ovirt.orgmailto:Users@ovirt.org

 http://lists.ovirt.org/mailman/listinfo/users



___

Users mailing

[Users] ovirt 3.1 all-in-one setup fail

2013-03-12 Thread Alex Leonhardt
Hi,

since 3.2 all-in-one setup failed on centos 6.3, i tried 3.1 instead today,
unfortunately, again failing at the point when adding the host to the
cluster with this time this error :


2013-03-12 11:06:59::ERROR::all_in_one_100::206::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
204, in initAPI
password=controller.CONF['AUTH_PASS'])
  File /usr/lib/python2.6/site-packages/ovirtsdk/api.py, line 88, in
__init__
debug=debug
  File
/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/connectionspool.py,
line 49, in __init__
debug=debug))
  File /usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py, line
38, in __init__
timeout=timeout)
  File /usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py, line
106, in __createConnection
raise NoCertificatesError
NoCertificatesError: [ERROR]::ca_file (CA certificate) must be specified
for SSL connection.

2013-03-12 11:06:59::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
207, in initAPI
raise Exception(ERROR_CREATE_API_OBJECT)
Exception: Error: could not create ovirtsdk API object



Alex



-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 all-in-one setup fail

2013-03-12 Thread Alex Leonhardt
with some additional manual work, i got it to work...

- after above, went to the engine and added the local host
- install initially failed due to some qemu-img package unable to install
(as a -rhev one was in conflict or so)
- uninstalled the -rhev which uninstalled the all-in-one-package-plugin
so reinstalled that and its dependencies
- then clicked to re-install the host in the engine
- as expected the host would just restart so it did that
- the host did get added to the engine / its db, etc. correctly though and
is now running 2 VMs - yay

alex


On 12 March 2013 11:09, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 since 3.2 all-in-one setup failed on centos 6.3, i tried 3.1 instead
 today, unfortunately, again failing at the point when adding the host to
 the cluster with this time this error :


 2013-03-12 11:06:59::ERROR::all_in_one_100::206::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 204, in initAPI
 password=controller.CONF['AUTH_PASS'])
   File /usr/lib/python2.6/site-packages/ovirtsdk/api.py, line 88, in
 __init__
 debug=debug
   File
 /usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/connectionspool.py,
 line 49, in __init__
 debug=debug))
   File /usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py, line
 38, in __init__
 timeout=timeout)
   File /usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py, line
 106, in __createConnection
 raise NoCertificatesError
 NoCertificatesError: [ERROR]::ca_file (CA certificate) must be specified
 for SSL connection.

 2013-03-12 11:06:59::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 207, in initAPI
 raise Exception(ERROR_CREATE_API_OBJECT)
 Exception: Error: could not create ovirtsdk API object



 Alex



 --
 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade 3.1 to 3.2

2013-03-12 Thread Alex Leonhardt
Thanks all,

So I will need to either have a maint window for this (stop all VMs, etc.)
or have a spare machine with 96 GB memory :) ... well, we'll see ... i
think only real option at the moment is to stop the VMs to do this ...

Thanks!
Alex



On 12 March 2013 13:29, Itamar Heim ih...@redhat.com wrote:

 On 03/07/2013 11:57 AM, Alex Leonhardt wrote:

 Hmmm, http://wiki.dreyou.org/**dokuwiki/doku.php?id=ovirt_**
 rpm_update31to32http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
 says that we'd have to put the host into Maintenance mode before
 upgrade, is it not possible to run a live upgrade ?

 I don't have enough spare hardware to move VMs to for the upgrade of the
 Hyper-Visors (Ovirt nodes), the VMs cannot be stopped during the day
 either, we run multiple environments on them by now and are critical for
 development work.

 Anyone a idea of how to get onto 3.2 w/o having to stop the VMs ? If
 there is now way, fair enoug (i guess), and we'll have to look at
 alternative temporary hardware  disk before upgrading, however, it'd be
 really great if someone found a way ?


 upgrading the engine shouldn't require stopping the hosts/VMs.
 for upgrading a host it is recommended to move the host to maintenance
 first.



 Alex



 On 7 March 2013 09:50, Alex Leonhardt alex.t...@gmail.com
 mailto:alex.t...@gmail.com wrote:

 I'm also overdue to test this, so stay tuned :) .. I've heard from a
 different Alex :) that the engine / db got really messed up when he
 tried, so best to do a backup of everything before attempting a
 upgrade !

 Alex


 On 7 March 2013 09:04, Neil nwilson...@gmail.com
 mailto:nwilson...@gmail.com wrote:

 Thanks Alexandr, I hadn't seen that one.

 Will go through it.

 Thank you very much!

 On Thu, Mar 7, 2013 at 10:19 AM, Alexandr
 shur...@shurik.kiev.ua mailto:shur...@shurik.kiev.ua** wrote:
   07.03.2013 10:16, Neil пишет:
   Hi guys,
  
   Does anyone have any successful upgrades from 3.1 to 3.2
 using Centos
   6.3 and the Dreyou repos?
  
   I'm using ovirt 3.1 on our own production systems and would
 like to
   know the recommended upgrade methods/paths. I don't see much
 in the
   way of upgrade paths for any distributions for that matter.
  
   I've done quite a lot of googling and can't find much, also
 checked on
   the ovirt website for any possible guides or methods without
 much
   success.
  
   Thanks in advance.
  
   Regards.
  
   Neil Wilson.
  
   Have you seen this article
  
 http://wiki.dreyou.org/**dokuwiki/doku.php?id=ovirt_**
 rpm_update31to32http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
  
  
   __**_
   Users mailing list
   Users@ovirt.org mailto:Users@ovirt.org

   
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users
 __**_
 Users mailing list
 Users@ovirt.org mailto:Users@ovirt.org

 
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users




 --
 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co | www.vsearchcloud.com
 http://www.vsearchcloud.com |




 --
 | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co |
 www.vsearchcloud.com http://www.vsearchcloud.com |



 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Host installation problems. Brigde

2013-03-12 Thread Alex Leonhardt
in the log:

Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1037 makeBridge Failed to add
ovirtmgmt bridge out=Specified netmask or gateway but not ip

check you have

DEVICE=
IPADDR=
NETMAKS=
TYPE=

as a minimum in ifcfg-ovirtmgmt

and that ifcfg-eth0 has

BRIDGE=ovirtmgmt


Alex




On 12 March 2013 15:25, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
 files?

 - Original Message -
  From: Christer Olsen christer.r.ol...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, March 12, 2013 4:14:05 PM
  Subject: Re: [Users] Host installation problems. Brigde
 
 
 
  It seems i sent the log file to only one person.
  Here is the complete log file.
  http://pastebin.com/5VYg4DFs
 
 
 
  On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 4:55 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Here is the complete log file.
 
  http://pastebin.com/5VYg4DFs
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 10:31 AM, Antoni Segura Puimedon 
  asegu...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Dan Kenigsberg  dan...@redhat.com 
   To: Christer Olsen  christer.r.ol...@gmail.com 
   Cc: users@ovirt.org
   Sent: Monday, March 11, 2013 10:18:13 AM
   Subject: Re: [Users] Host installation problems. Brigde
  
   On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
I'm having issues with installing host in oVirt.
   
   
Manager reports:
Failed to install Host localhost. Step: SetNetworking; Details:
addNetwork
error trying to add management bridge.
  
   Which version of ovirt are you using? ovirt-3.2 should be using
   ovirt-host-deploy, which has differently-looking logs, and
   hopefully
   less bugs.
 
  According to the repo he listed, ovirt-3.1, as seen in:
 
  http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/
 
 
 
  
   
   
*** LOG ***
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 517 getAddress Entry.
url=
http://10.1.1.30:22020/Components/vds/
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 539 getAddress
return.
address=10.1.1.30 port=22020
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 957 makeBridge begin.
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 424 _getMGTIface:
read host
name: 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 431 _getMGTIface:
using host
name 10.1.1.30 strIP= 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 437 _getMGTIface
IP=10.1.1.30
strIface=eth0
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 997 makeBridge found
the
following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 135
['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
'NAME=',
'BOOTPROT$
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 143 Specified netmask
or
gateway but not ip
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 144
WARNING:root:options
IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge
Failed to add
ovirtmgmt bridge out=Specified netmask or gateway bu$
   
err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
ret=22
Sun, 

Re: [Users] Host installation problems. Brigde

2013-03-12 Thread Alex Leonhardt
did you try to just setting the ovirtmgmt interface to DHCP ?

alex


On 12 March 2013 15:28, Alex Leonhardt alex.t...@gmail.com wrote:

 in the log:

 Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1037 makeBridge Failed to
 add ovirtmgmt bridge out=Specified netmask or gateway but not ip

 check you have

 DEVICE=
 IPADDR=
 NETMAKS=
 TYPE=

 as a minimum in ifcfg-ovirtmgmt

 and that ifcfg-eth0 has

 BRIDGE=ovirtmgmt


 Alex




 On 12 March 2013 15:25, Antoni Segura Puimedon asegu...@redhat.comwrote:

 Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
 files?

 - Original Message -
  From: Christer Olsen christer.r.ol...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, March 12, 2013 4:14:05 PM
  Subject: Re: [Users] Host installation problems. Brigde
 
 
 
  It seems i sent the log file to only one person.
  Here is the complete log file.
  http://pastebin.com/5VYg4DFs
 
 
 
  On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 4:55 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Here is the complete log file.
 
  http://pastebin.com/5VYg4DFs
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 10:31 AM, Antoni Segura Puimedon 
  asegu...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Dan Kenigsberg  dan...@redhat.com 
   To: Christer Olsen  christer.r.ol...@gmail.com 
   Cc: users@ovirt.org
   Sent: Monday, March 11, 2013 10:18:13 AM
   Subject: Re: [Users] Host installation problems. Brigde
  
   On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
I'm having issues with installing host in oVirt.
   
   
Manager reports:
Failed to install Host localhost. Step: SetNetworking; Details:
addNetwork
error trying to add management bridge.
  
   Which version of ovirt are you using? ovirt-3.2 should be using
   ovirt-host-deploy, which has differently-looking logs, and
   hopefully
   less bugs.
 
  According to the repo he listed, ovirt-3.1, as seen in:
 
  http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/
 
 
 
  
   
   
*** LOG ***
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 517 getAddress Entry.
url=
http://10.1.1.30:22020/Components/vds/
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 539 getAddress
return.
address=10.1.1.30 port=22020
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 957 makeBridge begin.
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 424 _getMGTIface:
read host
name: 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 431 _getMGTIface:
using host
name 10.1.1.30 strIP= 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 437 _getMGTIface
IP=10.1.1.30
strIface=eth0
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 997 makeBridge found
the
following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 135
['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
'NAME=',
'BOOTPROT$
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 143 Specified netmask
or
gateway but not ip
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 144
WARNING:root:options
IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge
Failed to add
ovirtmgmt bridge out=Specified netmask or gateway bu$
   
err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-11 Thread Alex Leonhardt

Hi Alex / all -


Anyone experienced the same when installing 3.2 all-in-one on centos 6.3 
? I really need this working ...



Thanks
Alex


On 03/10/2013 02:26 PM, Alex Leonhardt wrote:

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it 
would have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started 
up. vdsmd wont tell you it's waiting for libvirtd to start on the 
console, it'll mention in the log that it's waiting for libvirtd and 
eventually will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:


Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...
[ DONE ]
AIO: Adding firewall rules...
[ DONE ]
Configuring oVirt Engine...
[ DONE ]
Configuring JVM...
[ DONE ]
Creating CA...
[ DONE ]
Updating ovirt-engine service...
[ DONE ]
Setting Database Configuration...
[ DONE ]
Setting Database Security...
[ DONE ]
Creating Database...
[ DONE ]
Updating the Default Data Center Storage Type...
[ DONE ]
Editing oVirt Engine Configuration...
[ DONE ]
Editing Postgresql Configuration...
[ DONE ]
Configuring the Default ISO Domain...
[ DONE ]
Configuring Firewall...
[ DONE ]
Starting ovirt-engine Service...
[ DONE ]
Configuring HTTPD...
[ DONE ]
AIO: Creating storage directory...
[ DONE ]
AIO: Adding Local Datacenter and cluster...
[ DONE ]
AIO: Adding Local host (This may take several minutes)...  [
ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
more information
Exception in thread libvirtEventLoop (most likely raised during
interpreter shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
(most recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
706, in copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
copy files to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
host status is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
host status is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line
60, in run
function()
  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600

Re: [Users] iSCSI multipath with EqualLogic SAN

2013-03-11 Thread Alex Leonhardt
I think you should have p1p2 on a different network ;) .. same with the 
san, one NIC should/could be on a different network (or probably for 
you, the 2nd head should be in a different network?) ... i've got that 
working OK with a iSCSI target service on centos and multipath does 
everything as expected ..


alex


On 03/11/2013 04:28 PM, Jonathan Horne wrote:

I finally had some time to work on this again now that I have some more nodes 
to work with.

I am trying to get the ovirt node to log in from more than 1 IP address to the 
Equallogic SAN wthout using dell's HIT-Kit.  My test node has these interfaces:

(all ovirt 3.1, mgmt. and nodes)
Eth0 - 10.32.0.44 - ovritmgmt
Eth1 - several VM IP data VLANs
P1p1 - 10.32.10.44 iscsi network
P1p2 - 10.32.10.64 iscsi network

My EQ SAN is located at 10.32.10.21. I know there is a ton of issues behind 
that being the only IP, but right now I have a stranger problem.

When I ping 10.32.10.21 like this:

Ping 10.32.10.21 -I 10.32.10.44

Tcpdump looking at p1p1 shows pings going as normal from 10.32.10.44 to 10.32.10.21.  
then I do ping 10.32.10.21 -I 10.32.10.64 and tcpdump still shows ping 
packets going from p1p1 and not from p1p2.  Tcpdump shows nothing at all on p1p2.

I don’t understand how multipath can work if all the packets exit out p1p1 and 
nothing exits from p1p2?

At this point im grasping at straws on how to effectively use the equallogic 
SAN with ovirt, as our disk thruput is currently limited to 110mb sec from the 
single 1gig pipe.  I tend to be very quick to believe I am on the wrong track 
here.

Any help or advice is greatly appreciated.
Thanks,
jonathan


This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-10 Thread Alex Leonhardt

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it would 
have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started up. 
vdsmd wont tell you it's waiting for libvirtd to start on the console, 
it'll mention in the log that it's waiting for libvirtd and eventually 
will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:


Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...
[ DONE ]
AIO: Adding firewall rules...
[ DONE ]
Configuring oVirt Engine...
[ DONE ]
Configuring JVM...
[ DONE ]
Creating CA...
[ DONE ]
Updating ovirt-engine service...
[ DONE ]
Setting Database Configuration...
[ DONE ]
Setting Database Security...
[ DONE ]
Creating Database...
[ DONE ]
Updating the Default Data Center Storage Type...
[ DONE ]
Editing oVirt Engine Configuration...
[ DONE ]
Editing Postgresql Configuration...
[ DONE ]
Configuring the Default ISO Domain...
[ DONE ]
Configuring Firewall...
[ DONE ]
Starting ovirt-engine Service...
[ DONE ]
Configuring HTTPD...
[ DONE ]
AIO: Creating storage directory...
[ DONE ]
AIO: Adding Local Datacenter and cluster...
[ DONE ]
AIO: Adding Local host (This may take several minutes)...  [
ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
more information
Exception in thread libvirtEventLoop (most likely raised during
interpreter shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
(most recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
706, in copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
copy files to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
host status is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
host status is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line
60, in run
function()
  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
1010, in retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state.
Please

[Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Hi,

The setup keeps failing at waitforhostup with :


Installing:
AIO: Validating CPU Compatibility...  [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring oVirt Engine...   [ DONE ]
Configuring JVM...[ DONE ]
Creating CA...[ DONE ]
Updating ovirt-engine service...  [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security...  [ DONE ]
Creating Database...  [ DONE ]
Updating the Default Data Center Storage Type...  [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration...   [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall...   [ DONE ]
Starting ovirt-engine Service...  [ DONE ]
Configuring HTTPD...  [ DONE ]
AIO: Creating storage directory...[ DONE ]
AIO: Adding Local Datacenter and cluster...   [ DONE ]
AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for more
information

#

2013-03-08 14:22:43::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root:: current host status
is: installing
2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root:: current host status
is: install_failed
2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::engine-setup::1934::root:: *** The following
params were used as user input:


I have the full log if required ?? Any help would be appreciated.

The options used were :

oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port:443
host-fqdn: stphv01
auth-pass: 
org-name:  LOCAL
application-mode:  both
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/exports/iso
override-firewall: None
config-allinone:   yes
storage-path:  /vmfs/ovirt
superuser-pass:


Alex


-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
-setup::1939::root:: application-mode:
both
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: default-dc-type: NFS
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-remote-install:
local
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-host: localhost
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-local-pass:

2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: nfs-mp: /exports/iso
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: iso-domain-name:
ISO_DOMAIN
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: config-nfs: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: override-firewall:
None
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: config-allinone: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: storage-path: /vmfs
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: superuser-pass:

2013-03-08 14:14:19::ERROR::engine-setup::2355::root:: Traceback (most
recent call last):
  File /usr/bin/engine-setup, line 2349, in module
main(confFile)
  File /usr/bin/engine-setup, line 2132, in main
runSequences()
  File /usr/bin/engine-setup, line 2054, in runSequences
controller.runAllSequences()
  File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54, in
runAllSequences
sequence.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154, in
run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.



On 8 March 2013 14:27, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 The setup keeps failing at waitforhostup with :


 Installing:
 AIO: Validating CPU Compatibility...  [ DONE ]
 AIO: Adding firewall rules... [ DONE ]
 Configuring oVirt Engine...   [ DONE ]
 Configuring JVM...[ DONE ]
 Creating CA...[ DONE ]
 Updating ovirt-engine service...  [ DONE ]
 Setting Database Configuration... [ DONE ]
 Setting Database Security...  [ DONE ]
 Creating Database...  [ DONE ]
 Updating the Default Data Center Storage Type...  [ DONE ]
 Editing oVirt Engine Configuration... [ DONE ]
 Editing Postgresql Configuration...   [ DONE ]
 Configuring the Default ISO Domain... [ DONE ]
 Configuring Firewall...   [ DONE ]
 Starting ovirt-engine Service...  [ DONE ]
 Configuring HTTPD...  [ DONE ]
 AIO: Creating storage directory...[ DONE ]
 AIO: Adding Local Datacenter and cluster...   [ DONE ]
 AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
 Error: Host was found in a 'Failed' state. Please check engine and
 bootstrap installation logs.
 Please check log file
 /var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for more
 information

 #

 2013-03-08 14:22:43::DEBUG::setup_sequences::59::root:: running
 waitForHostUp
 2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root:: current host
 status is: installing
 2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 314, in isHostUp
 raise Exception(INFO_CREATE_HOST_WAITING_UP)
 Exception: Waiting for the host to start

 2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root:: current host
 status is: install_failed
 2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 312, in isHostUp
 raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.

 2013-03-08 14:22:49::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com wrote:

 And here from when I tried to use localhost as the host / fqdn :


 Installing:
 AIO: Validating CPU Compatibility...  [ DONE ]
 AIO: Adding firewall rules... [ DONE ]
 Configuring oVirt Engine...   [ DONE ]
 Configuring JVM...[ DONE ]
 Creating CA...[ DONE ]
 Updating ovirt-engine service...  [ DONE ]
 Setting Database Configuration... [ DONE ]
 Setting Database Security...  [ DONE ]
 Creating Database...  [ DONE ]
 Updating the Default Data Center Storage Type...  [ DONE ]
 Editing oVirt Engine Configuration... [ DONE ]
 Editing Postgresql Configuration...   [ DONE ]
 Configuring the Default ISO Domain... [ DONE ]
 Configuring Firewall...   [ DONE ]
 Starting ovirt-engine Service...  [ DONE ]
 Configuring HTTPD...  [ DONE ]
 AIO: Creating storage directory...[ DONE ]
 AIO: Adding Local Datacenter and cluster...   [ DONE ]
 AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
 Error: Host was found in a 'Failed' state. Please check engine and
 bootstrap installation logs.
 Please check log file
 /var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for more
 information
 Exception in thread libvirtEventLoop (most likely raised during
 interpreter shutdown)

 #


 2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
 _loadFilesToIsoDomain
 2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback (most
 recent call last):
   File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
 utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
 basedefs.CONST_KVM_GID)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 706, in
 copyFile
 shutil.copy2(fileSrc, destination)
   File /usr/lib64/python2.6/shutil.py, line 95, in copy2
 copyfile(src, dst)
   File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
 with open(src, 'rb') as fsrc:
 IOError: [Errno 2] No such file or directory:
 '/usr/share/virtio-win/virtio-win.vfd'

 2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to copy
 files to iso domain


 [snip]

 2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
 waitForHostUp
 2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current host
 status is: installing
 2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 314, in isHostUp
 raise Exception(INFO_CREATE_HOST_WAITING_UP)
 Exception: Waiting for the host to start

 2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current host
 status is: install_failed
 2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 312, in isHostUp
 raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.

 2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 300, in waitForHostUp
 utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
 retry
 raise e
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.


 2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The following
 params were used as user input:
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
 override-httpd-config: yes
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
 2013-03-08 14:14:19::DEBUG::engine-setup

Re: [Users] Upgrade 3.1 to 3.2

2013-03-07 Thread Alex Leonhardt
I'm also overdue to test this, so stay tuned :) .. I've heard from a
different Alex :) that the engine / db got really messed up when he tried,
so best to do a backup of everything before attempting a upgrade !

Alex


On 7 March 2013 09:04, Neil nwilson...@gmail.com wrote:

 Thanks Alexandr, I hadn't seen that one.

 Will go through it.

 Thank you very much!

 On Thu, Mar 7, 2013 at 10:19 AM, Alexandr shur...@shurik.kiev.ua wrote:
  07.03.2013 10:16, Neil пишет:
  Hi guys,
 
  Does anyone have any successful upgrades from 3.1 to 3.2 using Centos
  6.3 and the Dreyou repos?
 
  I'm using ovirt 3.1 on our own production systems and would like to
  know the recommended upgrade methods/paths. I don't see much in the
  way of upgrade paths for any distributions for that matter.
 
  I've done quite a lot of googling and can't find much, also checked on
  the ovirt website for any possible guides or methods without much
  success.
 
  Thanks in advance.
 
  Regards.
 
  Neil Wilson.
 
  Have you seen this article
  http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade 3.1 to 3.2

2013-03-07 Thread Alex Leonhardt
Hmmm, http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32says
that we'd have to put the host into Maintenance mode before upgrade,
is it not possible to run a live upgrade ?

I don't have enough spare hardware to move VMs to for the upgrade of the
Hyper-Visors (Ovirt nodes), the VMs cannot be stopped during the day
either, we run multiple environments on them by now and are critical for
development work.

Anyone a idea of how to get onto 3.2 w/o having to stop the VMs ? If there
is now way, fair enoug (i guess), and we'll have to look at alternative
temporary hardware  disk before upgrading, however, it'd be really great
if someone found a way ?

Alex



On 7 March 2013 09:50, Alex Leonhardt alex.t...@gmail.com wrote:

 I'm also overdue to test this, so stay tuned :) .. I've heard from a
 different Alex :) that the engine / db got really messed up when he tried,
 so best to do a backup of everything before attempting a upgrade !

 Alex


 On 7 March 2013 09:04, Neil nwilson...@gmail.com wrote:

 Thanks Alexandr, I hadn't seen that one.

 Will go through it.

 Thank you very much!

 On Thu, Mar 7, 2013 at 10:19 AM, Alexandr shur...@shurik.kiev.ua wrote:
  07.03.2013 10:16, Neil пишет:
  Hi guys,
 
  Does anyone have any successful upgrades from 3.1 to 3.2 using Centos
  6.3 and the Dreyou repos?
 
  I'm using ovirt 3.1 on our own production systems and would like to
  know the recommended upgrade methods/paths. I don't see much in the
  way of upgrade paths for any distributions for that matter.
 
  I've done quite a lot of googling and can't find much, also checked on
  the ovirt website for any possible guides or methods without much
  success.
 
  Thanks in advance.
 
  Regards.
 
  Neil Wilson.
 
  Have you seen this article
  http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




 --
 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] why ovirt does not support NAT network

2013-03-07 Thread Alex Leonhardt
I can see the use for that, to be honest...

e.g. you rent 1 server and want to test some stuff, and typically for that
you don't get more than 1 IP to use for the server itself but you want your
VMs be able to get to The Internets :) ...

Alex



On 7 March 2013 11:28, Dan Kenigsberg dan...@redhat.com wrote:

 On Thu, Mar 07, 2013 at 06:49:20PM +0800, bigclouds wrote:
  why ovirt  does not support NAT network?

 Would you elaborate on that?

 Do you refer to putthing VMs behind a NAT, instead of a bridge?
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-07 Thread Alex Leonhardt
Hi Alissa,

have you had any luck ?

Alex


On 6 March 2013 12:48, Alex Leonhardt alex.t...@gmail.com wrote:

 Yep, it's ovirt 3.1 -

 on the HV :

 vdsm.x86_64   4.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-cli.noarch   4.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-python.x86_644.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-xmlrpc.noarch4.10.0-0.46.15.el6

 @vdsm31-dre


 on the Engine:

 jpackage-utils.noarch  5.0.0-7.jpp6
 @ovirt31-dre
 ovirt-engine.noarch3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-backend.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-cli.noarch
3.1.0.7-1.el6
 @ovirt31-dre
 ovirt-engine-config.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-dbscripts.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-genericapi.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-jbossas711.x86_64
1-0
 @ovirt31-dre
 ovirt-engine-notification-service.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-restapi.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-sdk.noarch
3.1.0.5-1.el6
 @ovirt31-dre
 ovirt-engine-setup.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-tools-common.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-userportal.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-webadmin-portal.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-image-uploader.noarch
3.1.0-16.el6
 @ovirt31-dre
 ovirt-iso-uploader.noarch
3.1.0-16.el6
 @ovirt31-dre
 ovirt-log-collector.noarch
3.1.0-16.el6
 @ovirt31-dre
 vdsm-bootstrap.noarch  4.10.0-0.46.15.el6

 @vdsm31-dre


 Alex




 On 6 March 2013 12:25, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: Alissa Bonas abo...@redhat.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 11:46:30 AM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  Hi,
 
  Logs are attached -
 
 

 Thank you for attaching the logs.
 I'm checking them.
 Could you please confirm - you mentioned you work with ovirt 3.1 - is it
 the version of both engine and vdsm?
 If not - what is the exact version of each of the components?
 thank you
 
 
  2013-Mar-05, 15:44:47
 
  Snapshot test creation for VM icinga-clone has been completed.
 
 
 
 
 
 
 
  2013-Mar-05, 15:44:36
 
  VM icinga-clone has paused due to storage permissions problem.
 
 
 
 
 
 
  2013-Mar-05, 15:44:33
 
  Snapshot test creation for VM icinga-clone was initiated by
  admin@internal.
 
 
 
 
 
 
  2013-Mar-05, 15:44:20
 
  VM icinga-clone started on Host TESTHV01
 
  Alex
 
 
 
 
 
 
  On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Alex Leonhardt  alex.t...@gmail.com 
   To: oVirt Mailing List  users@ovirt.org 
   Sent: Tuesday, March 5, 2013 6:12:08 PM
   Subject: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
  
  
  
   Hiya,
  
   Am testing live snapshot-ing at the moment, and my VM is being
   paused
   every time I try to do a snapshot - it wont recover either, once
   the
   snapshot is complete.
  
   This is what I see on the webadmin console :
  
   VM icinga-clone has paused due to storage permissions problem.
  
   Any hints ?
  
   When I stop the VM, then start again, all is good.
 
  Hi,
  Please attach engine+vdsm+libvirt logs with the timeframe when you
  perform the live snapshot and the failure.
  thanks
 
 
  
   Thanks
   Alex
  
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-07 Thread Alex Leonhardt
Hi Alissa,

thanks for checking, but the VM is paused - shouldn't that allow me to
take a snapshot ?

Alex



On 7 March 2013 15:19, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alissa Bonas abo...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Thursday, March 7, 2013 2:55:21 PM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Alissa Bonas abo...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Thursday, March 7, 2013 2:44:19 PM
   Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
   Hi Alissa,
  
   have you had any luck ?
  
   Alex
  
  Hi,
 
  Still checking... sorry for the delay.
 
 Hi Alex,

 It seems that there was a mistake in release notes of 3.1, because part of
 the code that's relevant for live snapshots
 didn't enter 3.1, and that can explain the problem you are experiencing.
 The code is present and supposed to be operational in 3.2 - you are
 welcome to try.
 Sorry for the confusion.


  
   On 6 March 2013 12:48, Alex Leonhardt  alex.t...@gmail.com 
   wrote:
  
  
  
  
  
  
   Yep, it's ovirt 3.1 -
  
   on the HV :
  
   vdsm.x86_64 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-cli.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-python.x86_64 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-xmlrpc.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
  
  
   on the Engine:
  
   jpackage-utils.noarch 5.0.0-7.jpp6 @ovirt31-dre
   ovirt-engine.noarch 3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-backend.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-cli.noarch
   3.1.0.7-1.el6 @ovirt31-dre
   ovirt-engine-config.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-dbscripts.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-genericapi.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-jbossas711.x86_64
   1-0 @ovirt31-dre
   ovirt-engine-notification-service.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-restapi.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-sdk.noarch
   3.1.0.5-1.el6 @ovirt31-dre
   ovirt-engine-setup.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-tools-common.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-userportal.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-webadmin-portal.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-image-uploader.noarch
   3.1.0-16.el6 @ovirt31-dre
   ovirt-iso-uploader.noarch
   3.1.0-16.el6 @ovirt31-dre
   ovirt-log-collector.noarch
   3.1.0-16.el6 @ovirt31-dre
   vdsm-bootstrap.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
  
  
   Alex
  
  
  
  
  
  
  
  
   On 6 March 2013 12:25, Alissa Bonas  abo...@redhat.com  wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
  
To: Alissa Bonas  abo...@redhat.com 
Cc: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 11:46:30 AM
Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
   
   
   
Hi,
   
Logs are attached -
   
   
  
   Thank you for attaching the logs.
   I'm checking them.
   Could you please confirm - you mentioned you work with ovirt 3.1 -
   is
   it the version of both engine and vdsm?
   If not - what is the exact version of each of the components?
   thank you
  
   
   
2013-Mar-05, 15:44:47
   
Snapshot test creation for VM icinga-clone has been completed.
   
   
   
   
   
   
   
  
2013-Mar-05, 15:44:36
   
VM icinga-clone has paused due to storage permissions problem.
   
   
   
   
   
   
  
2013-Mar-05, 15:44:33
   
Snapshot test creation for VM icinga-clone was initiated by
admin@internal.
   
   
   
   
   
   
  
  
2013-Mar-05, 15:44:20
   
VM icinga-clone started on Host TESTHV01
   
Alex
   
   
   
   
   
   
On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
   
   
   
   
   
- Original Message -
 From: Alex Leonhardt  alex.t...@gmail.com 
 To: oVirt Mailing List  users@ovirt.org 
 Sent: Tuesday, March 5, 2013 6:12:08 PM
 Subject: [Users] ovirt 3.1 + iscsi + snapshot






 Hiya,

 Am testing live snapshot-ing at the moment, and my VM is being
 paused
 every time I try to do a snapshot - it wont recover either,
 once
 the
 snapshot is complete.

 This is what I see on the webadmin console :

 VM icinga-clone has paused due to storage permissions
 problem.

 Any hints ?

 When I stop the VM, then start again, all is good.
   
Hi,
Please attach engine+vdsm+libvirt logs with the timeframe when
you
perform the live snapshot and the failure.
thanks
   
   

 Thanks
 Alex




 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com

Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-06 Thread Alex Leonhardt
Hi,

Logs are attached -

2013-Mar-05, 15:44:47
Snapshot test creation for VM icinga-clone has been completed.



2013-Mar-05, 15:44:36
VM icinga-clone has paused due to storage permissions problem.


2013-Mar-05, 15:44:33
Snapshot test creation for VM icinga-clone was initiated by admin@internal.


2013-Mar-05, 15:44:20
VM icinga-clone started on Host TESTHV01

Alex




On 5 March 2013 17:11, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: oVirt Mailing List users@ovirt.org
  Sent: Tuesday, March 5, 2013 6:12:08 PM
  Subject: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
 
 
 
  Hiya,
 
  Am testing live snapshot-ing at the moment, and my VM is being paused
  every time I try to do a snapshot - it wont recover either, once the
  snapshot is complete.
 
  This is what I see on the webadmin console :
 
  VM icinga-clone has paused due to storage permissions problem.
 
  Any hints ?
 
  When I stop the VM, then start again, all is good.

 Hi,
 Please attach engine+vdsm+libvirt logs with the timeframe when you perform
 the live snapshot and the failure.
 thanks

 
  Thanks
  Alex
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |


snapshot.logs.tar.xz
Description: Binary data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
All,

I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge
and slaved bond.vlantag to it.

I've upped the interfaces (no IPs), however ovirt-engine still wont allow
me to add the new bridged interface. I did this yesterday, so I thought,
maybe it's just a cache issue, however, it doesnt seem to update the HVs
network config periodically ?

What can I do to get this sorted ?? I dont want to have to restart the
networking as VMs are running and needed.

FWIW, the setup looks like this -


eth0
   | - bond0.111  --- br1
   | - bond0.112  --- ovirtmgmt
eth1


the change was :

eth0
   | - bond0.111  --- br1
   | - bond0.112  --- ovirtmgmt
   | - bond0.113  --- br2
eth1

I then added br2 to the ovirt-engine config, however, I'm not able to
assign it to bond in the network config (web admin interface) for the hyper
visor / host.

Also see screenshot attached.

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
attachment: ovirt-engine-network-config.png___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Sorry, the picture should actually say br2 :) ... have had to edit it to
protect the real name(s) ...

Alex


On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote:

 All,

 I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge
 and slaved bond.vlantag to it.

 I've upped the interfaces (no IPs), however ovirt-engine still wont allow
 me to add the new bridged interface. I did this yesterday, so I thought,
 maybe it's just a cache issue, however, it doesnt seem to update the HVs
 network config periodically ?

 What can I do to get this sorted ?? I dont want to have to restart the
 networking as VMs are running and needed.

 FWIW, the setup looks like this -


 eth0
| - bond0.111  --- br1
| - bond0.112  --- ovirtmgmt
 eth1


 the change was :

 eth0
| - bond0.111  --- br1
| - bond0.112  --- ovirtmgmt
| - bond0.113  --- br2
 eth1

 I then added br2 to the ovirt-engine config, however, I'm not able to
 assign it to bond in the network config (web admin interface) for the hyper
 visor / host.

 Also see screenshot attached.

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-06 Thread Alex Leonhardt
Yep, it's ovirt 3.1 -

on the HV :

vdsm.x86_64   4.10.0-0.46.15.el6

@vdsm31-dre
vdsm-cli.noarch   4.10.0-0.46.15.el6

@vdsm31-dre
vdsm-python.x86_644.10.0-0.46.15.el6

@vdsm31-dre
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6

@vdsm31-dre


on the Engine:

jpackage-utils.noarch  5.0.0-7.jpp6
@ovirt31-dre
ovirt-engine.noarch3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-backend.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-cli.noarch
   3.1.0.7-1.el6
@ovirt31-dre
ovirt-engine-config.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-dbscripts.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-genericapi.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-jbossas711.x86_64
   1-0
@ovirt31-dre
ovirt-engine-notification-service.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-restapi.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-sdk.noarch
   3.1.0.5-1.el6
@ovirt31-dre
ovirt-engine-setup.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-tools-common.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-userportal.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-webadmin-portal.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-image-uploader.noarch
   3.1.0-16.el6
@ovirt31-dre
ovirt-iso-uploader.noarch
   3.1.0-16.el6
@ovirt31-dre
ovirt-log-collector.noarch
   3.1.0-16.el6
@ovirt31-dre
vdsm-bootstrap.noarch  4.10.0-0.46.15.el6

@vdsm31-dre


Alex




On 6 March 2013 12:25, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: Alissa Bonas abo...@redhat.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 11:46:30 AM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  Hi,
 
  Logs are attached -
 
 

 Thank you for attaching the logs.
 I'm checking them.
 Could you please confirm - you mentioned you work with ovirt 3.1 - is it
 the version of both engine and vdsm?
 If not - what is the exact version of each of the components?
 thank you
 
 
  2013-Mar-05, 15:44:47
 
  Snapshot test creation for VM icinga-clone has been completed.
 
 
 
 
 
 
 
  2013-Mar-05, 15:44:36
 
  VM icinga-clone has paused due to storage permissions problem.
 
 
 
 
 
 
  2013-Mar-05, 15:44:33
 
  Snapshot test creation for VM icinga-clone was initiated by
  admin@internal.
 
 
 
 
 
 
  2013-Mar-05, 15:44:20
 
  VM icinga-clone started on Host TESTHV01
 
  Alex
 
 
 
 
 
 
  On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Alex Leonhardt  alex.t...@gmail.com 
   To: oVirt Mailing List  users@ovirt.org 
   Sent: Tuesday, March 5, 2013 6:12:08 PM
   Subject: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
  
  
  
   Hiya,
  
   Am testing live snapshot-ing at the moment, and my VM is being
   paused
   every time I try to do a snapshot - it wont recover either, once
   the
   snapshot is complete.
  
   This is what I see on the webadmin console :
  
   VM icinga-clone has paused due to storage permissions problem.
  
   Any hints ?
  
   When I stop the VM, then start again, all is good.
 
  Hi,
  Please attach engine+vdsm+libvirt logs with the timeframe when you
  perform the live snapshot and the failure.
  thanks
 
 
  
   Thanks
   Alex
  
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Hmmm, nothing is coming up in the logs when i try and add it - I think
ovirt-engine is not aware that the HV got a new interface added.

Would restarting vdsm help ? If so, would that take down my VMs ?

Alex


On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 12:42:06 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  Sorry, the picture should actually say br2 :) ... have had to edit it
  to protect the real name(s) ...
 
  Alex
 
 
 
 
  On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com  wrote:
 
 
 
 
 
 
 
 
  All,
 
  I've added manually a bond.vlantag to a Hyper-Visor, then added a
  bridge and slaved bond.vlantag to it.
 
  I've upped the interfaces (no IPs), however ovirt-engine still wont
  allow me to add the new bridged interface. I did this yesterday, so
  I thought, maybe it's just a cache issue, however, it doesnt seem to
  update the HVs network config periodically ?

 What does the engine say when you try to add it? The message could give
 us a good hint.

 
  What can I do to get this sorted ?? I dont want to have to restart
  the networking as VMs are running and needed.
 
  FWIW, the setup looks like this -
 
 
  eth0
  | - bond0.111 --- br1
  | - bond0.112 --- ovirtmgmt
 
 
  eth1
 
 
 
 
 
  the change was :
 
  eth0
  | - bond0.111 --- br1
  | - bond0.112 --- ovirtmgmt
  | - bond0.113 --- br2
  eth1
 
 
  I then added br2 to the ovirt-engine config, however, I'm not able
  to assign it to bond in the network config (web admin interface) for
  the hyper visor / host.
 
 
 
  Also see screenshot attached.
 
 
  Thanks
  Alex
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Thanks Antoni,

I'll try the above when it's a bit quieter (evening). Also, good to know
that if you put the host in maint that it will pick the changes up :) ...

IMO - the engine should poll the HVs at least once an hour / day to check
if any hardware relevant to it has changed ... :)

Thanks again, I'll update with the result(s) later today.

Alex



On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Forgot to cc users list.

 - Forwarded Message -
  From: Antoni Segura Puimedon asegu...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Sent: Wednesday, March 6, 2013 2:00:54 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Antoni Segura Puimedon asegu...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Wednesday, March 6, 2013 1:52:36 PM
   Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
  
  
  
   Hmmm, nothing is coming up in the logs when i try and add it - I
   think ovirt-engine is not aware that the HV got a new interface
   added.
  
   Would restarting vdsm help ? If so, would that take down my VMs ?
 
  I guess you could migrate the VMs to another host and try that.
  However,
  if doing that is not an option (no other hosts, for example), I guess
  there
  would be a workaround from host-side.
 
  It would be something like the following (on host):
 
  vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true
  nics=nic0,nic1
 
  substitute nic0 and nic1 for the actual nics that are on the host.
 
  This will effectively do the setup you want on the host. As far as
  making the
  engine realize it... I'm not aware of all the actions that trigger an
  update. I know
  that going to maintenance and back does it, but in this case I guess
  it is not an option.
 
  
   Alex
  
  
  
  
   On 6 March 2013 12:23, Antoni Segura Puimedon  asegu...@redhat.com
   
   wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
To: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 12:42:06 PM
Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
   
   
   
Sorry, the picture should actually say br2 :) ... have had to
edit
it
to protect the real name(s) ...
   
Alex
   
   
   
   
On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com 
wrote:
   
   
   
   
   
   
   
   
All,
   
I've added manually a bond.vlantag to a Hyper-Visor, then added
a
bridge and slaved bond.vlantag to it.
   
I've upped the interfaces (no IPs), however ovirt-engine still
wont
allow me to add the new bridged interface. I did this yesterday,
so
I thought, maybe it's just a cache issue, however, it doesnt seem
to
update the HVs network config periodically ?
  
   What does the engine say when you try to add it? The message could
   give
   us a good hint.
  
  
  
   
What can I do to get this sorted ?? I dont want to have to
restart
the networking as VMs are running and needed.
   
FWIW, the setup looks like this -
   
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
   
   
eth1
   
   
   
   
   
the change was :
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
| - bond0.113 --- br2
eth1
   
   
I then added br2 to the ovirt-engine config, however, I'm not
able
to assign it to bond in the network config (web admin interface)
for
the hyper visor / host.
   
   
   
Also see screenshot attached.
   
   
Thanks
Alex
   
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-06 Thread Alex Leonhardt
For those still interested, t
he timeout issue doesnt occur on the
m
ultipath side, nor ovirt
,
 but on the iscsid config side of things -

To shorten the timeout and fail a path faster, edit

/etc/iscsi/iscsid.conf


C
hange the value


node.session.timeo.replacement_timeout = 1
2
0

t
o something more useful, like I changed it to 10


Reloading iscsid's config does nothing
,
 you'll have to restart the host for it to work.

Alex



On 4 March 2013 17:11, Alex Leonhardt alex.t...@gmail.com wrote:

 Ok, so finally got this working, anyone know how to change the timeout for
 multipathd from say 120 seconds to ~10 seconds ?

 == /var/log/messages ==
 Mar  4 17:09:12 TESTHV01 kernel: session5: session recovery timed out
 after 120 secs
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
 hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00
 00 04 08 00 00 00 08 00
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
 hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00
 00 00 00 00 00 00 08 00


 Alex




 On 4 March 2013 15:35, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 I just tested this with this config :


 target iqn.2013-02.local.vm:iscsi.lun1
 backing-store /vol/scsi.img
 vendor_id ISCSI-MULTIPATH
 scsi_id MULTIPATHTEST
 scsi_sn 9911
 lun 1
 /backing-store
 /target


 However, upon discovery / login, the LUN ID was again :

 1IET_11


 Alex




 On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the
 way multipathing works (has nothing to do with oVirt).  The GUID of a LUN
 has to be unique.  multipathd seeing the same LUN ID across multiple
 targets assumes that it's the same LUN with multiple paths and that's how
 you get redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
I've setup the same bond config on my test machine, and this is what I get
:


# vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113
nics=eth0,eth1
'bond0.113' is not a valid bonding device name


Alex



On 6 March 2013 13:05, Alex Leonhardt alex.t...@gmail.com wrote:

 Thanks Antoni,

 I'll try the above when it's a bit quieter (evening). Also, good to know
 that if you put the host in maint that it will pick the changes up :) ...

 IMO - the engine should poll the HVs at least once an hour / day to check
 if any hardware relevant to it has changed ... :)

 Thanks again, I'll update with the result(s) later today.

 Alex



 On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Forgot to cc users list.

 - Forwarded Message -
  From: Antoni Segura Puimedon asegu...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Sent: Wednesday, March 6, 2013 2:00:54 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Antoni Segura Puimedon asegu...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Wednesday, March 6, 2013 1:52:36 PM
   Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
  
  
  
   Hmmm, nothing is coming up in the logs when i try and add it - I
   think ovirt-engine is not aware that the HV got a new interface
   added.
  
   Would restarting vdsm help ? If so, would that take down my VMs ?
 
  I guess you could migrate the VMs to another host and try that.
  However,
  if doing that is not an option (no other hosts, for example), I guess
  there
  would be a workaround from host-side.
 
  It would be something like the following (on host):
 
  vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true
  nics=nic0,nic1
 
  substitute nic0 and nic1 for the actual nics that are on the host.
 
  This will effectively do the setup you want on the host. As far as
  making the
  engine realize it... I'm not aware of all the actions that trigger an
  update. I know
  that going to maintenance and back does it, but in this case I guess
  it is not an option.
 
  
   Alex
  
  
  
  
   On 6 March 2013 12:23, Antoni Segura Puimedon  asegu...@redhat.com
   
   wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
To: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 12:42:06 PM
Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
   
   
   
Sorry, the picture should actually say br2 :) ... have had to
edit
it
to protect the real name(s) ...
   
Alex
   
   
   
   
On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com 
wrote:
   
   
   
   
   
   
   
   
All,
   
I've added manually a bond.vlantag to a Hyper-Visor, then added
a
bridge and slaved bond.vlantag to it.
   
I've upped the interfaces (no IPs), however ovirt-engine still
wont
allow me to add the new bridged interface. I did this yesterday,
so
I thought, maybe it's just a cache issue, however, it doesnt seem
to
update the HVs network config periodically ?
  
   What does the engine say when you try to add it? The message could
   give
   us a good hint.
  
  
  
   
What can I do to get this sorted ?? I dont want to have to
restart
the networking as VMs are running and needed.
   
FWIW, the setup looks like this -
   
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
   
   
eth1
   
   
   
   
   
the change was :
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
| - bond0.113 --- br2
eth1
   
   
I then added br2 to the ovirt-engine config, however, I'm not
able
to assign it to bond in the network config (web admin interface)
for
the hyper visor / host.
   
   
   
Also see screenshot attached.
   
   
Thanks
Alex
   
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list

[Users] ovirt 3.1 + iscsi + snapshot

2013-03-05 Thread Alex Leonhardt
Hiya,

Am testing live snapshot-ing at the moment, and my VM is being paused every
time I try to do a snapshot - it wont recover either, once the snapshot is
complete.

This is what I see on the webadmin console :

VM icinga-clone has paused due to storage permissions problem.

Any hints ?

When I stop the VM, then start again, all is good.

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Hi,

I just tested this with this config :


target iqn.2013-02.local.vm:iscsi.lun1
backing-store /vol/scsi.img
vendor_id ISCSI-MULTIPATH
scsi_id MULTIPATHTEST
scsi_sn 9911
lun 1
/backing-store
/target


However, upon discovery / login, the LUN ID was again :

1IET_11


Alex




On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Ok, so finally got this working, anyone know how to change the timeout for
multipathd from say 120 seconds to ~10 seconds ?

== /var/log/messages ==
Mar  4 17:09:12 TESTHV01 kernel: session5: session recovery timed out after
120 secs
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
04 08 00 00 00 08 00
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
00 00 00 00 00 08 00


Alex




On 4 March 2013 15:35, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 I just tested this with this config :


 target iqn.2013-02.local.vm:iscsi.lun1
 backing-store /vol/scsi.img
 vendor_id ISCSI-MULTIPATH
 scsi_id MULTIPATHTEST
 scsi_sn 9911
 lun 1
 /backing-store
 /target


 However, upon discovery / login, the LUN ID was again :

 1IET_11


 Alex




 On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-03 Thread Alex Leonhardt

Hi Ayal,

Thanks for that - I was thinking the same after I did some more testing 
last week - e.g. shared a image file from a different iscsi target and 
the same iscsi target, the lun on the same target changed, the one on 
the other target did again the same - so I figured it had something to 
do with tgtd.


Thanks for below, I was looking into those options to try next week :) ...

Thanks
Alex


On 03/03/2013 06:34 PM, Ayal Baron wrote:


- Original Message -





Hi there,

I was doing some testing around ovirt and iscsi and found an issue
where as when you use dd to create backing-stores for iscsi and
you point ovirt to it to discover  login, it thinks the LUN ID is
the same although the target is different and adds additional paths
to the config (automagically?) bringing down the iSCSI storage
domain.

There is no question about the behaviour, it's not a bug, that is the way 
multipathing works (has nothing to do with oVirt).  The GUID of a LUN has to be 
unique.  multipathd seeing the same LUN ID across multiple targets assumes that 
it's the same LUN with multiple paths and that's how you get redundancy and 
load balancing.
Why tgtd doesn't take care of this built in I could never grok, but what you 
need to do is edit your targets.conf and add the scsi_id and scsi_sn fields.

Example:
target MasterBackup
  allow-in-use yes
backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
/backing-store
/target


See attached screenshot of what I got when trying to a new iscsi san
storage domain to ovirt. The Storage Domain is now down and I
cannot get rid of the config (???) how do I force it to logout of
the targets ??


Also, anyone know how to deal with the duplicate LUN ID issue ?


Thanks
Alex





--



| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-01 Thread Alex Leonhardt
 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-metadata: 536 MB,
536870912 bytes
255 heads, 63 sectors/track, 65 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-ids: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-leases: 2147 MB,
2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-inbox: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-outbox: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-master: 1073 MB,
1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879--bf23022827d7:
10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc91a


Device Boot  Start End  Blocks   Id  System
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879
*   1  64  512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879
641306 9972736   8e  Linux LVM



Now I wonder whether there is a MAX on the amount of iSCSI storage domains
you can have ? I'd think that that depends on the max of the device-mapper
? Is there a max ?

Alex



On 28 February 2013 16:30, Alex Leonhardt alex.t...@gmail.com wrote:

 FWIW, restarting the HV resolves the issue and brings the storage domain
 back up; but I dont know whether that is because that's where the target
 (and iscsi initiator) runs or whether vdsmd then clears its cache / routes
 to a/the target(s) ?

 Alex



 On 28 February 2013 16:25, Alex Leonhardt alex.t...@gmail.com wrote:

 another screenshot of how confused it can get

 alex


 On 28 February 2013 15:36, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi there,

 I was doing some testing around ovirt and iscsi and found an issue where
 as when you use dd to create backing-stores for iscsi and you point
 ovirt to it to discover  login, it thinks the LUN ID is the same although
 the target is different and adds additional paths to the config
 (automagically?) bringing down the iSCSI storage domain.

 See attached screenshot of what I got when trying to a new iscsi san
 storage domain to ovirt. The Storage Domain is now down and I cannot get
 rid of the config (???) how do I force it to logout of the targets ??

 Also, anyone know how to deal with the duplicate LUN ID issue ?

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-01 Thread Alex Leonhardt
The problem persists despite me trying to manually change LUN ID on the
target (scsi-target-utils installed on centos 6.3) .. does anyone know how
to make ovirt (or vdsm?) based on iqn + lun id ? I'd think it'd resolve the
issue I'm having.

Anyone ?

Thanks,
Alex


On 28 February 2013 16:30, Alex Leonhardt alex.t...@gmail.com wrote:

 FWIW, restarting the HV resolves the issue and brings the storage domain
 back up; but I dont know whether that is because that's where the target
 (and iscsi initiator) runs or whether vdsmd then clears its cache / routes
 to a/the target(s) ?

 Alex



 On 28 February 2013 16:25, Alex Leonhardt alex.t...@gmail.com wrote:

 another screenshot of how confused it can get

 alex


 On 28 February 2013 15:36, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi there,

 I was doing some testing around ovirt and iscsi and found an issue where
 as when you use dd to create backing-stores for iscsi and you point
 ovirt to it to discover  login, it thinks the LUN ID is the same although
 the target is different and adds additional paths to the config
 (automagically?) bringing down the iSCSI storage domain.

 See attached screenshot of what I got when trying to a new iscsi san
 storage domain to ovirt. The Storage Domain is now down and I cannot get
 rid of the config (???) how do I force it to logout of the targets ??

 Also, anyone know how to deal with the duplicate LUN ID issue ?

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-25 Thread Alex Leonhardt
Hi Dafna,

I just started working on this again, and it now did pick up the change -
so my assumption for now is that it must have been locally cached on the
Hyper-Visor... I'll do some more testing to re-create this and if it
happens again, i'll email you the logs.

Thanks,
Alex


On 22 February 2013 17:14, Alex Leonhardt alex.t...@gmail.com wrote:

  Will do when back on it early next week.

 Alex

 On 02/20/2013 03:22 PM, Dafna Ron wrote:

 Hi Alex,

 theoretically, even if the target is already logged in, engine is
 sending a query called getDeviceList which should update the information
 that was changed for the target.

 can you please attach the logs (both engine and vdsm)?
 also, if you can give me more information on what storage are you using
 and what exact commands (or steps) you did it would be most appreciated.

 Thanks,

 Dafna



 On 02/20/2013 04:26 PM, Alex Leonhardt wrote:

  I thought of that, however, the node wasn't logged in to anything, in
 fact, it didnt even know about the target / disk. I dont think it got
 that far. Then I checked the engine host too, but nothing there either.

 I wont be doing much more testing today / this week, but really hope
 someone can shed some light here as will have to pick this up again
 beginning of next week.

 It's fair enough and not a biggie if it's simply a bug, but there
 simply must be some record of where these things are being written to ?

 Alex



 On 20 February 2013 14:01, Jonathan Horne 
 jho...@skopos.usmailto:jho...@skopos.us jho...@skopos.us wrote:

 I have seem the same thing in the past, you might try to get on
 the node itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:*users-boun...@ovirt.org mailto:users-boun...@ovirt.org 
 users-boun...@ovirt.org
 [mailto:users-boun...@ovirt.org users-boun...@ovirt.org 
 mailto:users-boun...@ovirt.org users-boun...@ovirt.org]
 *On Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried
 to add it as storage to the engine, it complained of being too
 small, so I resized the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother
 re-discoverying the target ? How can I remove its cache / current
 entries ? It never added it as a storage domain, so it is safe to
 remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when
 adding a storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co http://www.vcore.co | www.vsearchcloud.com
 http://www.vsearchcloud.com http://www.vsearchcloud.com |


 
 This is a PRIVATE message. If you are not the intended recipient,
 please delete without copying and kindly advise us by e-mail of
 the mistake in delivery. NOTE: Regardless of content, this e-mail
 shall not operate to bind SKOPOS to any order or other contract
 unless pursuant to explicit written agreement or government
 initiative expressly permitting the use of e-mail for such purpose.




 --

 | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co 
 http://www.vcore.co
 | www.vsearchcloud.com http://www.vsearchcloud.com 
 http://www.vsearchcloud.com |


 ___
 Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-22 Thread Alex Leonhardt

Will do when back on it early next week.

Alex

On 02/20/2013 03:22 PM, Dafna Ron wrote:

Hi Alex,

theoretically, even if the target is already logged in, engine is
sending a query called getDeviceList which should update the information
that was changed for the target.

can you please attach the logs (both engine and vdsm)?
also, if you can give me more information on what storage are you using
and what exact commands (or steps) you did it would be most appreciated.

Thanks,

Dafna



On 02/20/2013 04:26 PM, Alex Leonhardt wrote:

I thought of that, however, the node wasn't logged in to anything, in
fact, it didnt even know about the target / disk. I dont think it got
that far. Then I checked the engine host too, but nothing there either.

I wont be doing much more testing today / this week, but really hope
someone can shed some light here as will have to pick this up again
beginning of next week.

It's fair enough and not a biggie if it's simply a bug, but there
simply must be some record of where these things are being written to ?

Alex



On 20 February 2013 14:01, Jonathan Hornejho...@skopos.us
mailto:jho...@skopos.us  wrote:

 I have seem the same thing in the past, you might try to get on
 the node itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:*users-boun...@ovirt.orgmailto:users-boun...@ovirt.org
 [mailto:users-boun...@ovirt.orgmailto:users-boun...@ovirt.org]
 *On Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried
 to add it as storage to the engine, it complained of being too
 small, so I resized the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother
 re-discoverying the target ? How can I remove its cache / current
 entries ? It never added it as a storage domain, so it is safe to
 remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when
 adding a storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co  | www.vsearchcloud.com
 http://www.vsearchcloud.com  |


 
 This is a PRIVATE message. If you are not the intended recipient,
 please delete without copying and kindly advise us by e-mail of
 the mistake in delivery. NOTE: Regardless of content, this e-mail
 shall not operate to bind SKOPOS to any order or other contract
 unless pursuant to explicit written agreement or government
 initiative expressly permitting the use of e-mail for such purpose.




--

| RHCE | Senior Systems Engineer | www.vcore.cohttp://www.vcore.co
| www.vsearchcloud.comhttp://www.vsearchcloud.com  |


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Mgmt SPOF ? Re: Was: Ovirt iSCSI

2013-02-22 Thread Alex Leonhardt
AFAIK, clustered solution is an upcoming feature for hopefully this year 
... For now, be sure to take a good DB backup - have a look here :


http://www.ovirt.org/Backup_engine_db

and the one from St. Keimond here :

http://www.ovirt.org/User_talk:Stkeimond/Backing_Up_And_Restoring_OVirt

Alex


On 02/20/2013 04:39 PM, Nicolas Ecarnot wrote:

Le 20/02/2013 17:22, St.Keimond a écrit :

   I'm actually in the middle of recovering from an ovirt disaster (we
lost our management server


Sorry to fork this thread, but just a comment : I read nothing about 
the SPOF the management server appears to me.

Did I read too fast or mis-read about a clustered management solution?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] iscsi discovery issue

2013-02-20 Thread Alex Leonhardt
Hi All,

I've successfully discovered a ISCSI target, however, when I tried to add
it as storage to the engine, it complained of being too small, so I resized
the file and restarted tgtd on the server.

The problem is that the engine doesnt seem to bother re-discoverying the
target ? How can I remove its cache / current entries ? It never added it
as a storage domain, so it is safe to remove that entry I suppose ?

Why would the engine not try to re-read the device stats when adding a
storage domain ?

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-20 Thread Alex Leonhardt
I thought of that, however, the node wasn't logged in to anything, in fact,
it didnt even know about the target / disk. I dont think it got that far.
Then I checked the engine host too, but nothing there either.

I wont be doing much more testing today / this week, but really hope
someone can shed some light here as will have to pick this up again
beginning of next week.

It's fair enough and not a biggie if it's simply a bug, but there simply
must be some record of where these things are being written to ?

Alex



On 20 February 2013 14:01, Jonathan Horne jho...@skopos.us wrote:

  I have seem the same thing in the past, you might try to get on the node
 itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
 Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried to add
 it as storage to the engine, it complained of being too small, so I resized
 the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother re-discoverying the
 target ? How can I remove its cache / current entries ? It never added it
 as a storage domain, so it is safe to remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when adding a
 storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |

 --
 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery. NOTE: Regardless of content, this e-mail shall not operate to
 bind SKOPOS to any order or other contract unless pursuant to explicit
 written agreement or government initiative expressly permitting the use of
 e-mail for such purpose.




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.1 - 3.2 upgrade path

2013-02-19 Thread Alex Leonhardt
Hi,

Anyone been doing upgrades of ovirt engine + nodes from 3.1 to 3.2 yet ?
what is the proposed upgrade path ? nodes first, then engine or other way
around ?

As the domain is a 3.1 domain currently, the nodes (HVs) would become
disconnected from the engine if the engine was upgrade first ? Or, if you
upgrade the nodes (HVs) first to 3.2 will it be able to run in a 3.1
compatibility mode to still be controlled by a 3.1 engine, and when engine
is upgraded to 3.2 will the node (HV) then switch to 3.2 automatically / or
is a restart / reconfiguration required ?

Is a upgrade possible w/o taking down the node / e.g. do I have to stop all
VMs running on that node (HV) ?

Thanks,
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Ovirt iSCSI

2013-02-18 Thread Alex Leonhardt
Hi All,

I was wondering if there is a document that describes in detail how ovirt
is working with iscsi and how it creates the disks, etc. etc. on the SAN /
iSCSI storage ?

I checked the online documentation however cant see it going into much
detail. I'd also be prepared to write something up for the documenation
section, but I need to get it to work and understand first ;)

FWIW, this is a part 2 of a project I'm working on, now moving away from
NFS and onto iSCSI (a cheap san solution).

Your help would be greatly appreciated.

Thanks!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / spice client /connection

2013-01-30 Thread Alex Leonhardt
fwiw, i tried it but didnt work, i used

engine-config -s SpiceReleaseCursorKeys=ctrl+alt

and after restarting the engine, it came up with the right combo in the
window title, but it didnt work, i had to reboot the host for me to get the
cursor back

anything i did wrong here ?

alex



On 29 January 2013 23:51, Alex Leonhardt alex.t...@gmail.com wrote:

  fab, thanks i'll try that


 On 01/29/2013 12:24 PM, Andrew Cathrow wrote:

 - Original Message -


  From: Alex Leonhardt alex.t...@gmail.com alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org users@ovirt.org
 Sent: Tuesday, January 29, 2013 4:07:13 AM
 Subject: [Users] ovirt / spice client /connection

   Hi,

   is it possible to change the key combination from Shift + F12 to
 CTRL+ALT to release the cursor/mouse ?

  Use the engine-config utility to change the value for SpiceReleaseCursorKeys 
 the default is shift+f12 but it can be easily modified.
 Aic




  Alex

   --

   | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

   ___
 Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt / spice client /connection

2013-01-29 Thread Alex Leonhardt
Hi,

is it possible to change the key combination from Shift + F12 to CTRL+ALT
to release the cursor/mouse ?

Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / spice client /connection

2013-01-29 Thread Alex Leonhardt

fab, thanks i'll try that


On 01/29/2013 12:24 PM, Andrew Cathrow wrote:

- Original Message -


From: Alex Leonhardtalex.t...@gmail.com
To: oVirt Mailing Listusers@ovirt.org
Sent: Tuesday, January 29, 2013 4:07:13 AM
Subject: [Users] ovirt / spice client /connection
Hi,
is it possible to change the key combination from Shift + F12 to
CTRL+ALT to release the cursor/mouse ?

Use the engine-config utility to change the value for SpiceReleaseCursorKeys the default 
is shift+f12 but it can be easily modified.
Aic




Alex
--
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot run VM. Low disk space on relevant Storage Domain

2013-01-28 Thread Alex Leonhardt
is there a wiki article for this ? am sure others will run into this ? (i
did too)

alex


On 27 January 2013 14:31, Dafna Ron d...@redhat.com wrote:

 you can set the limit of low disk space using rhevm-config

 FreeSpaceCriticalLowInGB: Critical low disk space alert threshold (in
 GB) (Value Type: Integer)
 FreeSpaceLow: Limit of % free disk-space below which it is considered
 low (Value Type: Integer)*
 *
 run rhevm-config --help for more info on how to use the command.

 and note that you need to restart ovirt-engine service after change.


 On 01/27/2013 11:39 AM, Ricky Schneberger wrote:
  Hi,
 
  I have put up a test environment with oVirt 3.1 and found out (because
  of limited storage) that when trying to run a vm i got Error while
  executing action: Cannot run VM. Low disk space on relevant Storage
 Domain.
 
  Disk space on the storage domain is 322GB free (9% of total).
 
  Can I change these limits? How are they calculated? By percentage?
  I dont use quotas anywhere.
 
  Regards
 
  //Ricky
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users


 --
 Dafna Ron
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Data Center is being initialized, please wait for initialization to complete

2013-01-28 Thread Alex Leonhardt
Hi,

Occasionally, mainly after doing larger disk operations, I see this :

  Data Center is being initialized, please wait for initialization to
complete

and then the SPM host changes ...

I didnt see any particular load on that server at the time it happened - I
simply told it to delete some VMs from a export domain.

Any clues ?

Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
I've got now :

nfs_mount_options = soft,nosharecache,rsize=32768,wsize=32768,noatime


However, when I check the mounts on the host, it does not show these
addtitional options used ? (only soft,nosharecache), here the mount output:

HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_vmfs_data.old2 type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=x.x.x8)
HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_vmfs_data type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,vers=3,addr=x.x.x8)
HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_vmfs_data type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=127.0.0.1)

Above is after I restarted HV03 so it really should have mounted
HV03:/vmfs/data with the new options

another question would be if nolock would be a good idea as it seems that
nfs ops are sometimes being blocked by a lock ? at least, it behaves as if
.. i havent further investigated yet.

Alex





On 23 January 2013 13:27, Itamar Heim ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for nfs, an nfs
 storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be added for
 nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options, specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users

  __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
So I've tried some bits Itamar asked me to - however, still get the same
mount options shown.

I tried service vdsmd reconfigure; service vdsmd restart - the mount for
HV03:/vmfs/data should now have the new mount options, but no luck.

Anyone time to help ?

Alex



On 24 January 2013 10:54, Alex Leonhardt alex.t...@gmail.com wrote:

 I've got now :

 nfs_mount_options = soft,nosharecache,rsize=32768,wsize=32768,noatime


 However, when I check the mounts on the host, it does not show these
 addtitional options used ? (only soft,nosharecache), here the mount output:

 HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_vmfs_data.old2 type
 nfs (rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=x.x.x8)
 HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_vmfs_data type nfs
 (rw,soft,nosharecache,timeo=600,retrans=6,vers=3,addr=x.x.x8)
 HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_vmfs_data type nfs
 (rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=127.0.0.1)

 Above is after I restarted HV03 so it really should have mounted
 HV03:/vmfs/data with the new options

 another question would be if nolock would be a good idea as it seems
 that nfs ops are sometimes being blocked by a lock ? at least, it behaves
 as if .. i havent further investigated yet.

 Alex





 On 23 January 2013 13:27, Itamar Heim ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for nfs, an nfs
 storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be added for
 nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options, specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users

  __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] storage domain auto re-cover

2013-01-24 Thread Alex Leonhardt
hi,

is it possible to set a storage domain to auto-recover / auto-reactivate ?
e.g. after I restart a host that runs a storage domain, i want ovirt engine
to make that storage domain active after the host has come up.

thanks
alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
same here, ovirt 3.1 from dreyou's repo ...

vdsm-python-4.10.0-0.44.14.el6.x86_64
vdsm-cli-4.10.0-0.44.14.el6.noarch
vdsm-xmlrpc-4.10.0-0.44.14.el6.noarch
vdsm-4.10.0-0.44.14.el6.x86_64

Alex



On 24 January 2013 12:33, Alexandru Vladulescu avladule...@bfproject.rowrote:

 On 01/24/2013 02:25 PM, Itamar Heim wrote:

 On 24/01/2013 04:24, Alexandru Vladulescu wrote:


 Hi guys,

 I remember asking the same thing a couple of weeks ago. Itamar answered
 to be the same, should check the vdsm.conf file for nfs mount options.
 Because I did not had the time to do test this until now, I return with
 the test results.

 Well Alex it seems to be right, on the 3.1 version, if you go and edit
 the /etc/vdsm/vdsm.conf file, on line 146, I uncommented the
 nfs_mount_options parameter and changed it to :

 nfs_mount_options = soft,nosharecache,noatime,**rsize=8192,wsize=8192

 Went in Ovirt interface, put the node from Hosts tab into Maintenance,
 so that the ISO domain and Master Domain will get unmounted
 automatically; restarted the vdsm service on the hypervisior server and
 activate the node back from GUI. Upon mount command, there is no change
 or difference between what I have added and what was configured
 automatically before.


 I remember something about you must not pass any nfs option from ovirt,
 or it will override the vdsm.conf.
 are you trying to set nfs options from both engine and vdsm.conf?

 Basically, I had 2 questions, one was like Alex asked and it is in the
 current topic, and the other was suggestion to add these nfs configuration
 parameters changes into the GUI in Storage tab. I asked if besides the
 retrans, timeo and vers is it possible to add anything else in the future
 GUI devel.

 Must mention, I test on 3.1 version from dreyou's repo.



   type nfs
 (rw,soft,nosharecache,timeo=**10,retrans=6,vers=4,addr=x.x.**x.x,clientaddr=x.x.x.x)


 Might this be a bug on vdsm to be fixed ?

 Alex.


 On 01/24/2013 01:45 PM, Alex Leonhardt wrote:

 So I've tried some bits Itamar asked me to - however, still get the
 same mount options shown.

 I tried service vdsmd reconfigure; service vdsmd restart - the mount
 for HV03:/vmfs/data should now have the new mount options, but no luck.

 Anyone time to help ?

 Alex



 On 24 January 2013 10:54, Alex Leonhardt alex.t...@gmail.com
 mailto:alex.t...@gmail.com wrote:

 I've got now :

 nfs_mount_options = soft,nosharecache,rsize=32768,**
 wsize=32768,noatime


 However, when I check the mounts on the host, it does not show
 these addtitional options used ? (only soft,nosharecache), here
 the mount output:

 HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_**
 vmfs_data.old2
 type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,nfsvers=3,addr=**x.x.x8)
 HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_**vmfs_data type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,vers=3,addr=x.x.**x8)
 HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_**vmfs_data type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,nfsvers=3,addr=**127.0.0.1)

 Above is after I restarted HV03 so it really should have mounted
 HV03:/vmfs/data with the new options

 another question would be if nolock would be a good idea as it
 seems that nfs ops are sometimes being blocked by a lock ? at
 least, it behaves as if .. i havent further investigated yet.

 Alex





 On 23 January 2013 13:27, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using
 vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for
 nfs, an nfs storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be
 added for nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 mailto:alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 mailto:users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options,
 specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding
 a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co |
 | www.vsearchcloud.com http://www.vsearchcloud.com

Re: [Users] storage domain auto re-cover

2013-01-24 Thread Alex Leonhardt
For the DB entry on vdc_options or in which file in /etc/ovirt-engine/ ?


On 24 January 2013 14:14, Itamar Heim ih...@redhat.com wrote:

 On 24/01/2013 04:34, Alex Leonhardt wrote:

 hi,

 is it possible to set a storage domain to auto-recover / auto-reactivate
 ? e.g. after I restart a host that runs a storage domain, i want ovirt
 engine to make that storage domain active after the host has come up.

 thanks
 alex


 --

 | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co |
 www.vsearchcloud.com http://www.vsearchcloud.com |


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users


 please check your config for this:
 http://gerrit.ovirt.org/#/c/**10387/ http://gerrit.ovirt.org/#/c/10387/




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] cannot add gluster domain

2013-01-23 Thread Alex Leonhardt
Hi all,

Am not too familiar with fedora and its services, anyone can help him?

Alex
 On Jan 23, 2013 5:02 AM, T-Sinjon tscbj1...@gmail.com wrote:

 I have forced v3 in my /etc/nfsmount and there's no firewall between NFS
 server and the host.

 The only problem is no rpc.statd running . Could you tell me how can i
 start it since there's no rpcbind installed on overt node 2.5.5-0.1?

 [root@ovirtnode1 ~]# systemctl status nfs-lock.service
 nfs-lock.service - NFS file locking service.
   Loaded: loaded (/usr/lib/systemd/system/nfs-lock.service; enabled)
   Active: failed (Result: exit-code) since Thu, 17 Jan 2013 09:41:45
 +; 5 days ago
   CGroup: name=systemd:/system/nfs-lock.service

 Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Version 1.2.6
 starting
 Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Initializing NSM
 state
 [root@ovirtnode1 ~]# systemctl start nfs-lock.service
 Failed to issue method call: Unit rpcbind.service failed to load: No such
 file or directory. See system logs and 'systemctl status rpcbind.service'
 for details.

 On 22 Jan, 2013, at 6:14 PM, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi, this seems to look like the error you're getting :

 MountError: (32, ;mount.nfs: rpc.statd is not running but is required for
 remote locking.\nmount.nfs: Either use '-o nolock' to keep locks local, or
 start statd.\nmount.nfs: an incorrect mount option was specified\n)

 Are you running nfs3 on that host ? if yes, have you forced v3 ? is
 rpc.statd running ? is the NFS server firewalling off the rpc.* ports ?

 alex


 On 22 January 2013 09:58, T-Sinjon tscbj1...@gmail.com wrote:

 HI, everyone:
 Recently , I newly installed ovirt 3.1 from
 http://resources.ovirt.org/releases/stable/rpm/Fedora/17/noarch/,
 and node use
 http://resources.ovirt.org/releases/stable/tools/ovirt-node-iso-2.5.5-0.1.fc17.iso

 when i add gluster domain via nfs, mount error occurred,
 I have do manually mount action on the node but failed if without
 -o nolock option:
 # /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6
 my-gluster-ip:/gvol02/GlusterDomain
 /rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain
 mount.nfs: rpc.statd is not running but is required for remote
 locking. mount.nfs: Either use '-o nolock' to keep locks local, or start
 statd. mount.nfs: an incorrect mount option was specified

 blow is the vdsm.log from node and engine.log, any help was
 appreciated :

 vdsm.log
 Thread-12717::DEBUG::2013-01-22
 09:19:02,261::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]
 Thread-12717::DEBUG::2013-01-22
 09:19:02,261::task::588::TaskManager.Task::(_updateState)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state init -
 state preparing
 Thread-12717::INFO::2013-01-22
 09:19:02,262::logUtils::37::dispatcher::(wrapper) Run and protect:
 validateStorageServerConnection(domType=1,
 spUUID='----', conList=[{'connection':
 'my-gluster-ip:/gvol02/GlusterDomain', 'iqn': '', 'portal': '', 'user': '',
 'password': '**', 'id': '----', 'port':
 ''}], options=None)
 Thread-12717::INFO::2013-01-22
 09:19:02,262::logUtils::39::dispatcher::(wrapper) Run and protect:
 validateStorageServerConnection, Return response: {'statuslist':
 [{'status': 0, 'id': '----'}]}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::task::1172::TaskManager.Task::(prepare)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::finished: {'statuslist':
 [{'status': 0, 'id': '----'}]}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::task::588::TaskManager.Task::(_updateState)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state preparing -
 state finished
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::resourceManager::809::ResourceManager.Owner::(releaseAll)
 Owner.releaseAll requests {} resources {}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::resourceManager::844::ResourceManager.Owner::(cancelAll)
 Owner.cancelAll requests {}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,263::task::978::TaskManager.Task::(_decref)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::ref 0 aborting False
 Thread-12718::DEBUG::2013-01-22
 09:19:02,307::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]
 Thread-12718::DEBUG::2013-01-22
 09:19:02,307::task::588::TaskManager.Task::(_updateState)
 Task=`c07a075a-a910-4bc3-9a33-b957d05ea270`::moving from state init -
 state preparing
 Thread-12718::INFO::2013-01-22
 09:19:02,307::logUtils::37::dispatcher::(wrapper) Run and protect:
 connectStorageServer(domType=1,
 spUUID='----', conList=[{'connection':
 'my-gluster-ip:/gvol02/GlusterDomain', 'iqn': '', 'portal': '', 'user': '',
 'password': '**', 'id': '6463ca53-6c57-45f6-bb5c-45505891cae9', 'port':
 ''}], options=None)
 Thread-12718::DEBUG::2013-01-22
 09:19:02,467::__init__::1249

[Users] custom nfs mount options

2013-01-22 Thread Alex Leonhardt
Hi,

Is it possible set custom nfs mount options, specifically : noatime, wsize
and rsize ? I couldnt see anything when adding a NFS domain - only
timeout  retry.

Thanks!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Alex Leonhardt
I'm not sure whether it's the same, but in the past (with v3.1) when
configuring the hosts network, it changed it automatically from static -
dhcp, everytime i change network settings i have to ensure to re-tick the
static address assignment and tick the box to save the settings (scrolling
down) ... hope it helps ..

alex



On 22 January 2013 12:56, Deepak C Shetty deepa...@linux.vnet.ibm.comwrote:

 Hi All,
 I have a multi-VM setup, where I have ovirt engine on one VM and VDSM
 host on another.
 Discovering the host from the engine puts the host in Unassigned state,
 with the error saying 'ovirtmgmt' network not found.

 When i select setupNetworks and drag-drop the ovirtmgmt to setup over
 eth0, i see the below error in VDSM  host goes to non-operataional state.

 I tried the steps mentioned by Alon in http://lists.ovirt.org/**
 pipermail/users/2012-December/**011257.htmlhttp://lists.ovirt.org/pipermail/users/2012-December/011257.html
 but still see the same error

 = dump from vdsm.log 

 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,496::configNetwork::**
 1438::setupNetworks::(**setupNetworks) Requested operation is not valid:
 cannot set autostart for transient network
 Traceback (most recent call last):
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network
 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,502::supervdsmServer:*
 *:77::SuperVdsm.ServerCallback:**:(wrapper) Error in setupNetworks
 Traceback (most recent call last):
   File /usr/share/vdsm/**supervdsmServer.py, line 75, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/**supervdsmServer.py, line 170, in setupNetworks
 return configNetwork.setupNetworks(**networks, bondings, **options)
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Hi All,

This is my current setup:


HV1 has :
 storage_domain_1
 is SPM master

HV2 has :
 storage_domain_2
 is normal (not master)


HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
entry sends it to loopback)

HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
entry sends it to loopback)


All VMs on HV1 have its storage set to storage_domain_1 and all VMs on HV2
have their storage set to storage_domain_2


My problem now is that after I finally created all the disks on HV2 over a
super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
to kickstart all the VMs I created, however, formatting the disk is taking
for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
the disks over the 100Mbit link.

The weirdness really starts with HV2, as all VMs on HV1 with disks on
storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
slow in reading/writing to disk.

I've tried some network settings to increase throughput, but those didnt
help / had no effect at all.

Anyone come across this issue ? Is it something to do with the ovirtmgmt
interface only being 100Mbit ?

Alex




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Additionally, I've just seen this on the console ovirt engine web console :

Storage domain storage_domain_2 experienced a high latency of 6.76029706001
seconds from host HV2. This may cause performance and functional issues.
Please consult your Storage Administrator


Alex



On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on HV2
 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over a
 super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Looks like a version issue - v4 is dead slow, v3 seems to do a OK job (at
the moment) .. is there a way to change the mount options once a storage
domain has been added to the DC ?

Alex



On 21 January 2013 12:41, Alex Leonhardt alex.t...@gmail.com wrote:


 Additionally, I've just seen this on the console ovirt engine web console
 :

 Storage domain storage_domain_2 experienced a high latency of
 6.76029706001 seconds from host HV2. This may cause performance and
 functional issues. Please consult your Storage Administrator


 Alex



 On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on
 HV2 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over
 a super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
I'm still not convinced that that was the actual issue here, but
performance certainly has improved well enough to run and build these VMs.
Could it have something to do of where a storage domain runs ?

Alex



On 21 January 2013 14:15, Alex Leonhardt alex.t...@gmail.com wrote:

 Looks like a version issue - v4 is dead slow, v3 seems to do a OK job
 (at the moment) .. is there a way to change the mount options once a
 storage domain has been added to the DC ?

 Alex



 On 21 January 2013 12:41, Alex Leonhardt alex.t...@gmail.com wrote:


 Additionally, I've just seen this on the console ovirt engine web console
 :

 Storage domain storage_domain_2 experienced a high latency of
 6.76029706001 seconds from host HV2. This may cause performance and
 functional issues. Please consult your Storage Administrator


 Alex



 On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on
 HV2 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over
 a super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Storage domain weirdness (or design)

2013-01-17 Thread Alex Leonhardt
Hi,

I see a strange behaviour -


Setup:

1 ovirtmgmt / ovirt-engine hsot
2 ovirt nodes / HVs
2 storage domains in same cluster  DC

HV1 =  storage domain 1 (master)
HV2 = storage domain 2

Issue:

When I create a host with say ~40GB disk to be on HV2/storage_domain_2, it
does that via HV1 ? Why is that ? I realize a storage domain is attached
to the cluster/dc, however, when creating the VM I explicitly seleted to
only run on HV2, so why would it still create the disk via HV1 ? The mgmt
network (for now) is only just that, a mgmt network, not meant to create 40
GB disks (dd from /dev/null) over NFS .. it's currently only a 100mbit
switch

Question:

How, if at all, can I make Ovirt create the Disk from the host where it's
meant to run on ?


Thanks,
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node (HyperVisor) - Memory Usage

2013-01-15 Thread Alex Leonhardt
Sure no prob - will do ..


On 15 January 2013 07:17, Doron Fediuck dfedi...@redhat.com wrote:

 Hi Alex,
 Interesting, we'll need to look into it.
 Do you mind opening a BZ? I'll see that it's routed to the relevant people.

 Thanks!
 Doron


 --

 *From: *Alex Leonhardt alex.t...@gmail.com
 *To: *Doron Fediuck dfedi...@redhat.com
 *Cc: *oVirt Mailing List users@ovirt.org
 *Sent: *Monday, January 14, 2013 7:41:40 PM
 *Subject: *Re: [Users] oVirt Node (HyperVisor) - Memory Usage


 qemu 24233 11.0 1.0 *3030420* 1008484 ? Sl2012 2189:02
 /usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Conroe -enable-kvm *-m
 2048*-smp 4,sockets=1,cores=4,threads=1 -name

 above example shows ~3 Gig VSZ but only 2048m are actually configured ...

 if i'm not too blind and dumb :) ... 3030420 kb = 2959.39 mb ... and
 that's not what is configured as the VMs max allowed ram ...

 Alex






-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
Hi,

Am trying to import VMs from an abandoned storage pool -

all I'm getting is this :

2013-01-15 20:21:05,958 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(storagePoolId =
38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 65b1c9a8
2013-01-15 20:21:06,013 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8
2013-01-15 20:21:06,036 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(storagePoolId =
38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 7b0bc172
2013-01-15 20:21:06,085 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172
2013-01-15 20:21:06,928 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-11) START, GetImageDomainsListVDSCommand(storagePoolId =
38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
compatabilityVersion = null, imageGroupId =
8d41be6c-a586-4bb6-be4b-f1241a4bf088), log id: 79952c27
2013-01-15 20:21:06,951 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-11) FINISH, GetImageDomainsListVDSCommand, return: [],
log id: 79952c27
2013-01-15 20:21:06,954 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(storagePoolId =
38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
b9c2cf06-73ea-4dd4-900b-3af322ab223d, imageGroupId =
8d41be6c-a586-4bb6-be4b-f1241a4bf088, imageId =
a4782145-626c-4a6e-9e1e-fce5f1dd8f78), log id: 3085f2cd
2013-01-15 20:21:06,993 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand, return: true, log
id: 3085f2cd
2013-01-15 20:21:07,039 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-48) [8991b34] Running command: ImportVmCommand internal:
false. Entities affected :  ID: b756284f-06f9-44cd-ba45-6cac3486fe37 Type:
Storage
2013-01-15 20:21:07,040 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
Type: UNASSIGNED. Value: vmname
2013-01-15 20:21:07,045 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
Type: UNASSIGNED. Value: vmname
2013-01-15 20:21:07,049 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(pool-3-thread-48) [8991b34] transaction rolled back
2013-01-15 20:21:07,050 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-48) [8991b34] Command
org.ovirt.engine.core.bll.ImportVmCommand throw exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 6
at
java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766)
[rt.jar:1.6.0_24]
at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280)
[rt.jar:1.6.0_24]
at
org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)
[engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911)
[engine-bll.jar:]
at

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
 preparing -
state finished
Thread-3504::DEBUG::2013-01-15
22:37:32,089::resourceManager::809::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-3504::DEBUG::2013-01-15
22:37:32,089::resourceManager::844::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-3504::DEBUG::2013-01-15
22:37:32,089::task::978::TaskManager.Task::(_decref)
Task=`c9d3cc56-fe66-4466-a020-56cb1f8d1e35`::ref 0 aborting False
Thread-3505::DEBUG::2013-01-15
22:37:32,096::BindingXMLRPC::156::vds::(wrapper) [X.X.X.X]



Alex



On 15 January 2013 20:24, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 Am trying to import VMs from an abandoned storage pool -

 all I'm getting is this :

 2013-01-15 20:21:05,958 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 65b1c9a8
 2013-01-15 20:21:06,013 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8
 2013-01-15 20:21:06,036 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 7b0bc172
 2013-01-15 20:21:06,085 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172
 2013-01-15 20:21:06,928 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetImageDomainsListVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, imageGroupId =
 8d41be6c-a586-4bb6-be4b-f1241a4bf088), log id: 79952c27
 2013-01-15 20:21:06,951 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetImageDomainsListVDSCommand, return: [],
 log id: 79952c27
 2013-01-15 20:21:06,954 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, imageGroupId =
 8d41be6c-a586-4bb6-be4b-f1241a4bf088, imageId =
 a4782145-626c-4a6e-9e1e-fce5f1dd8f78), log id: 3085f2cd
 2013-01-15 20:21:06,993 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand, return: true, log
 id: 3085f2cd
 2013-01-15 20:21:07,039 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-48) [8991b34] Running command: ImportVmCommand internal:
 false. Entities affected :  ID: b756284f-06f9-44cd-ba45-6cac3486fe37 Type:
 Storage
 2013-01-15 20:21:07,040 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 20:21:07,045 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 20:21:07,049 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (pool-3-thread-48) [8991b34] transaction rolled back
 2013-01-15 20:21:07,050 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-48) [8991b34] Command
 org.ovirt.engine.core.bll.ImportVmCommand throw exception:
 java.lang.StringIndexOutOfBoundsException: String index out of range: 6
 at
 java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766)
 [rt.jar:1.6.0_24]
 at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280)
 [rt.jar:1.6.0_24]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476)
 [engine-bll.jar

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
[engine-utils.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value
violates unique constraint pk_disks
  Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
wipe_after_delete, propagate_errors, disk_alias, disk_description,
shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
,  $7 ,  $8 ,  $9 )
PL/pgSQL function insertbasedisk line 2 at SQL statement
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
[postgresql-jdbc.jar:]
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
[postgresql-jdbc.jar:]
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:360)
[postgresql-jdbc.jar:]
at
org.jboss.jca.adapters.jdbc.CachedPreparedStatement.execute(CachedPreparedStatement.java:297)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:404)
at
org.springframework.jdbc.core.JdbcTemplate$5.doInCallableStatement(JdbcTemplate.java:987)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:936)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
... 31 more


_after_ successfully importing 1 VM ...

Alex



On 15 January 2013 22:00, Itamar Heim ih...@redhat.com wrote:

 On 01/15/2013 10:24 PM, Alex Leonhardt wrote:

 Hi,

 Am trying to import VMs from an abandoned storage pool -

 all I'm getting is this :

 2013-01-15 20:21:05,958 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, vmIdList = null), log id:
 65b1c9a8
 2013-01-15 20:21:06,013 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8
 2013-01-15 20:21:06,036 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, vmIdList = null), log id:
 7b0bc172
 2013-01-15 20:21:06,085 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172
 2013-01-15 20:21:06,928 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11)
 START, GetImageDomainsListVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, imageGroupId =
 8d41be6c-a586-4bb6-be4b-**f1241a4bf088), log id: 79952c27
 2013-01-15 20:21:06,951 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11)
 FINISH, GetImageDomainsListVDSCommand, return: [], log id: 79952c27
 2013-01-15 20:21:06,954 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, imageGroupId =
 8d41be6c-a586-4bb6-be4b-**f1241a4bf088, imageId =
 a4782145-626c-4a6e-9e1e-**fce5f1dd8f78), log id: 3085f2cd
 2013-01-15 20:21:06,993 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
ok, that last one was my fault i think - i thought the DB restore I did was
100% fail, but it wasnt ... removed all the DB entries that I could
identify and the VMs are restoring now ...


On 15 January 2013 23:16, Alex Leonhardt alex.t...@gmail.com wrote:

 i'm now getting :


 2013-01-15 23:14:58,934 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-47) [215749c1] Running command: ImportVmCommand internal:
 false. Entities affected :  ID: 9bd4735c-a02b-403a-8e66-c5679b70e137 Type:
 Storage
 2013-01-15 23:14:58,940 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-47) [215749c1] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 23:14:58,949 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-47) [215749c1] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 23:14:58,972 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (pool-3-thread-47) [215749c1] transaction rolled back
 2013-01-15 23:14:58,973 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-47) [215749c1] Command
 org.ovirt.engine.core.bll.ImportVmCommand throw exception:
 org.springframework.dao.DataIntegrityViolationException:
 CallableStatementCallback; SQL [{call insertbasedisk(?, ?, ?, ?, ?, ?, ?,
 ?, ?)}]; ERROR: duplicate key value violates unique constraint pk_disks
   Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
 wipe_after_delete, propagate_errors, disk_alias, disk_description,
 shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
 ,  $7 ,  $8 ,  $9 )
 PL/pgSQL function insertbasedisk line 2 at SQL statement; nested
 exception is org.postgresql.util.PSQLException: ERROR: duplicate key value
 violates unique constraint pk_disks
   Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
 wipe_after_delete, propagate_errors, disk_alias, disk_description,
 shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
 ,  $7 ,  $8 ,  $9 )
 PL/pgSQL function insertbasedisk line 2 at SQL statement
 at
 org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:228)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:952)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:985)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:368)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:342)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:164)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:124)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:37)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.dao.DefaultGenericDaoDbFacade.save(DefaultGenericDaoDbFacade.java:93)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.addVmImagesAndSnapshots(ImportVmCommand.java:638)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.access$200(ImportVmCommand.java:76)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$4.runInTransaction(ImportVmCommand.java:501)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$4.runInTransaction(ImportVmCommand.java:497)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.processImages(ImportVmCommand.java:497)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:477)
 [engine-bll.jar:]

 at
 org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope

[Users] Template restore

2013-01-14 Thread Alex Leonhardt
Hi All,

Am having some difficulties with restoring templates -

basically, currently, I'm using each new HV (hyper-visor/node) as a
separate DC, now, the first host has about 5 VM templates that I need to be
able to restore to the 2nd HV I installed today - however - after detaching
the export domain and re-attaching (finally) to the 2nd HV, I still am
unable to import the templates into the 2nd HV (remember, separate data
center) as it complains that the system - the overall ovirt-engine -
already contains templates with the same ID, if I manually fake a different
ID, it complains about the name, if I manually amend the name, it wont show
at all ... :\

so - how can I make the templates available to the 2nd DC to create VMs
from it (this is the end goal) ...

on top of it - i dont think that when importing templates, you should have
to make the name unique, especially since they currently seem DC dependent,
so in a different DC they should be able to have the same name; and, when
restoring Templates, the system should assign new IDs to the Templates
imported, and only use the originals as a verification step if the target
DC is the same as the src DC.

Any help would be very appreciated.

Ta!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node (HyperVisor) - Memory Usage

2013-01-14 Thread Alex Leonhardt
qemu 24233 11.0 1.0 *3030420* 1008484 ? Sl2012 2189:02
/usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Conroe -enable-kvm *-m
2048*-smp 4,sockets=1,cores=4,threads=1 -name

above example shows ~3 Gig VSZ but only 2048m are actually configured ...

if i'm not too blind and dumb :) ... 3030420 kb = 2959.39 mb ... and that's
not what is configured as the VMs max allowed ram ...

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt warning about memory usage

2013-01-08 Thread Alex Leonhardt
thanks, yep noticed it has a negative value -

Amador, does that mean the host is overcommitting by 18 G of avail physical
memory although 20 G of phys memory is still free ?

Alex



2013/1/7 Amador Pahim apa...@redhat.com

  On 01/07/2013 06:18 AM, Alex Leonhardt wrote:

  Hi,

 just seen a memory usage warning in oVirt's Admin Interface saying the
 available memory is below threshold of 1024MB - however - when I checked
 the host, it had still 20GB left ?

  See screenshot.

 Alex



 ___
 Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

  The message is happening due to memAvailable statistic coming from vdsm. 
 The memAvailable field can be negative and considers a set of values from 
 different sources to compose its result (free memory, cached memory, resident 
 set size from qemu processes, committed memory from running vms and host 
 reserved memory


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-08 Thread Alex Leonhardt
Thats true, so nvm - forget my request :) ...


In general, how about a poll form that could be sent to the list ? it'll
make it very easy to spot what is most important for us users :) ? e.g.
use http://www.easypolls.net/ ?

Alex



2013/1/7 René Koch (ovido) r.k...@ovido.at

 Hi Alex,

 You can already group VMs using tags or search filters...


 --
 Regards,
 René



 On Mon, 2013-01-07 at 09:16 +, Alex Leonhardt wrote:
  Also, grouping (folders?) of VMs would be great to get a better
  overview in the Virtual Machines section.
 
  Alex
 
 
 
  2013/1/7 Patrick Hurrelmann patrick.hurrelm...@lobster.de
  On 03.01.2013 17:25, Patrick Hurrelmann wrote:
   On 03.01.2013 17:08, Itamar Heim wrote:
   Hi Everyone,
  
   as we wrap oVirt 3.2, I wanted to check with oVirt users on
  what they
   find good/useful in oVirt, and what they would like to see
   improved/added in coming versions?
  
   Thanks,
   Itamar
  
   For me, I'd like to see official rpms for RHEL6/CentOS6.
  According to
   the traffic on this list quite a lot are using Dreyou's
  packages.
  
   But I'm really looking forward to oVirt 3.2 (reading all
  those commit
   whets my appetite) :)
  
   Regards
   Patrick
 
 
  And after thinking a bit more about it, this is what I like to
  see in
  addition:
  - clustered engine (eliminate this SPOF)
  - when FreeIPA is used for authentication, make use of its CA
  and
  generate certificates using ipa-getcert
 
  Regards
  Patrick
 
  --
  Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg
 
  HRB 178831, Amtsgericht München
  Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-07 Thread Alex Leonhardt
Also, grouping (folders?) of VMs would be great to get a better overview in
the Virtual Machines section.

Alex


2013/1/7 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:25, Patrick Hurrelmann wrote:
  On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar
 
  For me, I'd like to see official rpms for RHEL6/CentOS6. According to
  the traffic on this list quite a lot are using Dreyou's packages.
 
  But I'm really looking forward to oVirt 3.2 (reading all those commit
  whets my appetite) :)
 
  Regards
  Patrick

 And after thinking a bit more about it, this is what I like to see in
 addition:
 - clustered engine (eliminate this SPOF)
 - when FreeIPA is used for authentication, make use of its CA and
 generate certificates using ipa-getcert

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt warning about memory usage

2013-01-07 Thread Alex Leonhardt
Hi,

just seen a memory usage warning in oVirt's Admin Interface saying the
available memory is below threshold of 1024MB - however - when I checked
the host, it had still 20GB left ?

See screenshot.

Alex
attachment: ovirt-node-free-memory.png___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-04 Thread Alex Leonhardt
+1 this :) ... I use dreyou's packages too ...

also - ovirt/rhev agent for centos 5.8 would be a nice to have :)


2013/1/3 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar

 For me, I'd like to see official rpms for RHEL6/CentOS6. According to
 the traffic on this list quite a lot are using Dreyou's packages.

 But I'm really looking forward to oVirt 3.2 (reading all those commit
 whets my appetite) :)

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-04 Thread Alex Leonhardt
Easier import of existing Nodes back into a new oVirt Engine would be great
- it's a complete mess at the moment (if one doesnt have a backup) - I'm
looking at this from VMware users point of view, with them, all you need to
do is point it at a server and it'll  import everything that's already
there - oVirt should have the same capabilities / with some confirmation
screens that it belongs to another storage domain, etc. etc. and if one
wants to force it, but it should still be possible ...


Alex


2013/1/4 Alex Leonhardt alex.t...@gmail.com

 +1 this :) ... I use dreyou's packages too ...

 also - ovirt/rhev agent for centos 5.8 would be a nice to have :)


 2013/1/3 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar

 For me, I'd like to see official rpms for RHEL6/CentOS6. According to
 the traffic on this list quite a lot are using Dreyou's packages.

 But I'm really looking forward to oVirt 3.2 (reading all those commit
 whets my appetite) :)

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Templates // remove after a couple VMs got created is not possible ?

2013-01-03 Thread Alex Leonhardt
Ok thanks, I'll keep that in mind. Removing that VM is not possible though
as it's already very actively used. Well, i'll keep this in mind when
creating more VMs  as do not want to have to keep old templates around ..

Thanks
Alex


2013/1/2 Maor Lipchuk mlipc...@redhat.com

 Hi Alex, if the VMs that you created used thin provisioning for the
 template, then the disks of the created VM are based on the volumes of
 the template images using qcow, and there for, they will be related to
 this template.

 If you don't want the VM to be based on the template images you can use
 the resource allocation tab to configure the template provisioning. If
 you will choose clone, then the VM images will create a new image which
 will not be based on the template images.

 I think that once the VM is based on the template, there is not much to
 do, but shut down the VMs.
 If you don't want to remove the VM's maybe yo can try to create a
 snapshot of the VM and after that clone a VM from that snapshot, and
 remove the original VM.

 Regards,
 Maor

 On 01/02/2013 06:21 PM, Alex Leonhardt wrote:
  Hi All,
 
  I was wondering why there is a necessity of keeping a oVirt Template ? I
  just tried to remove a template but it complained that it was in use by
  other VMs ? I thoguht a VM is created independently using the Template
  to copy settings  disk from and once done is independent from the
  Template ?
 
  So either way - how can I remove the Template without shutting down /
  removing any of the VMs already created based on that Template ?
 
  Thanks
  Alex
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt Templates // remove after a couple VMs got created is not possible ?

2013-01-02 Thread Alex Leonhardt
Hi All,

I was wondering why there is a necessity of keeping a oVirt Template ? I
just tried to remove a template but it complained that it was in use by
other VMs ? I thoguht a VM is created independently using the Template to
copy settings  disk from and once done is independent from the Template ?

So either way - how can I remove the Template without shutting down /
removing any of the VMs already created based on that Template ?

Thanks
Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Network reconfiguration in ovirt 3.1

2012-12-23 Thread Alex Leonhardt
I've had the same issue, turns out it resets itself everytime you 
configure the network interfaces *and* although you fix it it wont 
save the config until I saw the tick box (scroll down) to do so ;) ...


Caught me up a couple times and was going to report it as a bug next week.

The solution is not to reset the node, it's to manually reconfigure the 
NIC to have the same / old IP address, the node will come back to live 
which then enables you to re-save the network config by setting it to 
manual and ticking the box ;)


Alex


On 12/21/2012 08:49 AM, Kevin Maziere Aubry wrote:

Hi all

System : Fedora 17
On node :
Libvirt 0.10
Kernel Linux node1 3.6.10-2.fc17.x86_64
Stable VDSM from repo
On manager :
Ovirt 3.1 stable
Kernel Linux ovirt-manager 3.5.4-1.fc17.x86_64


By default the ovirtmgmt interface is created on node as a bridge with 
the same parameters than p1p1. That is good so that you keep network 
working on the node.


I've setup a new tagged network on Ovirt, which I have to add to all 
the node of my cluster.
So I plug this new network on p1p2, do not touch to ovirtmgmt network, 
and apply... and the server is lost.
In fact when reconfiguring the network the ovirtmgmt card is set to 
DHCP, which is the problem.


And the only solution to make vdsm back online, is to reset the 
complete node.


Kévin


--

Kevin Mazière
Responsable Infrastructure
Alter Way -- Hosting
1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
http://www.alterway.fr http://www.alterway.fr/


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] v2v - converting windows VMs

2012-12-21 Thread Alex Leonhardt
Hi,

Anyone got any clues about this please ? I'm due to convert some Windows XP
and Windows 7 VMs from VMWare to oVirt and would really appreciate if
someone could let me know where to find that Tools CD.

Thanks
Alex



2012/12/20 Alex Leonhardt alex.t...@gmail.com

 Hi,

 i've read up about converting Windows VMs and it needs some Guest Tools
 CD -


 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

 where can one get that CD/iso image and whatever else is required ?

 Alex


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt-shell bug ?

2012-12-21 Thread Alex Leonhardt
Hi,

am trying to use .ovirtshellrc with a set user, pass and url, however, I
keep getting this instead:

  error: invalid literal for int() with base 10: ''

and I remain disconnected. Using the same url and creds to connect manually
works - is it a bug or just some setting ?

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt-shell, action vm vmhost start issue ?

2012-12-21 Thread Alex Leonhardt
Hi,

am trying to start a VM with special kernel and initrd options :

[oVirt shell (connected)]# action vm cent6 start --vm-os-kernel
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz
--vm-os-initRd
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img
--vm-os-boot {ip=x.x.x.x;netmask=x.x.x.x;gateway=x.x.x.x;dns=x.x.x.x}

However, I keep getting this back :

  error: initRd is invalid argument segment.

Eventhough, the help says that it's a valid command option :

ATTRIBUTE OPTIONS

  The following attribute options are understood. Note: this lists all
  available attribute options for action 'start'.

[--vm-os-initRd: string]
[--vm-domain-name: string]
[--vm-placement_policy-host-id|name: string]
[--vm-placement_policy-affinity: string]
[--async: boolean]
[--vm-os-kernel: string]
[--grace_period-expiry: long]
[--vm-display-type: string]
[--vm-stateless: boolean]
[--vm-os-cmdline: string]
[--vm-domain-user-username: string]
[--pause: boolean]
[--vm-os-boot: collection]
  {
[boot.dev: string]
  }
[--vm-domain-user-password: string]
[--correlation_id: anystring]


Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-shell bug ?

2012-12-21 Thread Alex Leonhardt
Hiya,

it's :

ovirt-engine-cli.noarch 3.1.0.7-1.el6
@ovirt31-dre

there's no -v / --version command ?

also, the ovirtshellrc :

[cli]
#autopage = True
#debug = False
#ps1 = $
#ps2 = 
#verbosity = 0
[ovirt-shell]
#commands = oVirt shell commands:
#header = True
#input_format = xml
#misc_commands = oVirt shell commands:
name = oVirt-shell
#output_format = text
#password =
#port = -1
#prompt =
#ps1.connected = [oVirt shell %(version)s (connected)]#
#ps1.disconnected = [oVirt shell (disconnected)]#
#ps2.connected = [oVirt shell (connected)]#
#timeout = -1
#url =
#username =
#version =
#wide = False
username = 'admin@internal'
url = 'http://localhost:8080/api'
#insecure = False
#filter = False
#timeout = -1
password = 'password'


Alex




2012/12/21 Michael Pasternak mpast...@redhat.com


 Alex,

 Only things that can cause this is 'timeout' or url port
 in wrong format (non-int),

 can you show me the content of your .ovirtshellrc and let me know what cli
 version you're using?

 On 12/21/2012 11:19 AM, Alex Leonhardt wrote:
  Hi,
 
  am trying to use .ovirtshellrc with a set user, pass and url, however, I
 keep getting this instead:
 
error: invalid literal for int() with base 10: ''
 
  and I remain disconnected. Using the same url and creds to connect
 manually works - is it a bug or just some setting ?
 
  Alex
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users


 --

 Michael Pasternak
 RedHat, ENG-Virtualization RD

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] v2v vmware conversion

2012-12-20 Thread Alex Leonhardt
Hi,

I've seen several posts out there on how to convirt hosts from VMware -
Ovirt/KVM - Am I right to assume that just like the command for RHEV, the
equivalent for Ovirt would be :

virt-v2v -ic esx://$IP$/?no_verify=1 -o rhev -osd
intvmh02.mgmt.gr.brighttalk.net:/vol/exportdomain --network ovirtmgmt
$VMNAME$

Also, I read a post that refers to a ovirt profile for v2v - I've never had
to convert any VMs from VMWare so was wondering if that is just a custom
config or whether there is a general v2v profile that can be used to
convert to ovirt ?

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding Nodes after ovirt-engine re-install

2012-12-20 Thread Alex Leonhardt
Hi,

I was wondering if it's possible to add existing ovirt nodes (HVs)  to a
new installed ovirt-engine ? E.g. the old engine died and there was no
backup of it - how would you add the existing HVs without destroying what's
already running ?

If the above is not possible, is there a backup guide you can refer me to
? Ideally though, it should really be possible to import existing HVs
into a newly setup ovirt-engine.

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] v2v - converting windows VMs

2012-12-20 Thread Alex Leonhardt
Hi,

i've read up about converting Windows VMs and it needs some Guest Tools
CD -

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

where can one get that CD/iso image and whatever else is required ?

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] v2v - converting windows VMs

2012-12-20 Thread Alex Leonhardt
I just found this :
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/  -  is
this the equiv of the RHEV Guest Tools CD ?

Alex


2012/12/20 Alex Leonhardt alex.t...@gmail.com

 Hi,

 i've read up about converting Windows VMs and it needs some Guest Tools
 CD -


 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

 where can one get that CD/iso image and whatever else is required ?

 Alex


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Unable to establish spice session

2012-11-11 Thread Alex Leonhardt

I've figured it out - finally -

the issue is/was that I added a virtual interface to the bridge 
interface on startup. I added the ovirtmgmt:1 interface to be able to 
get to the VMs which are on a completely different network range - to 
fix it, i had to remove the virtual interface (unfortunately), detached 
the ovirtmgmt interface from eth0 and then re-attached and voila, all 
good again ... i did a restart of the HV (node) just in case ;) ..


Alex


On 11/07/2012 09:47 AM, Itamar Heim wrote:

On 11/07/2012 01:37 AM, Alex Leonhardt wrote:

I think this post I just found is related to my issue :

http://www.mail-archive.com/users@ovirt.org/msg03010.html

at the bottom it explains how changing the display network can break
spice ...


you can tell the spice client the subject of the certificate to 
expect, regardless of the ip you are connecting to.




i'll try the removal of the host and re-adding (hopefully my VMs are 
safe!)


Alex

On 11/06/2012 11:55 PM, Alex Leonhardt wrote:

Yep, found it - and it's related to this site / update to spice here :

http://spice-space.org/page/SSLConnection

but now i get :

$ spicec -h 192.168.1.21 -s 5901
Error: failed to connect w/SSL, ssl_error
error:0001:lib(0):func(0):reason(1)
140370158261576:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
version number:s3_pkt.c:338:
Warning: SSL Error:

I belive that's got something to do with trying to use ssl3 (as the ca
cert is ssl v3) instead of ssl v2 ...

Alex


On 11/06/2012 11:42 PM, Alon Bar-Lev wrote:

- Original Message -

From: Alex Leonhardtalex.t...@gmail.com
To: Alon Levyal...@redhat.com
Cc:spice-de...@lists.freedesktop.org,users@ovirt.org
Sent: Wednesday, November 7, 2012 1:35:09 AM
Subject: Re: [Users] [Spice-devel]  Unable to establish spice session


This is what i receive when trying to launch it manually :

$ spicec -h 192.168.1.21 -p 5901 -s 5901

Error: SSL_CTX_load_verify_locations failed
CA_file=/home/user/.spicec/spice_truststore.pem
140141786060104:error:02001002:system library:fopen:No such file or
directory:bss_file.c:126:fopen('/home/user/.spicec/spice_truststore.pem','r') 


140141786060104:error:2006D080:BIO routines:BIO_new_file:no  such
file:bss_file.c:129  :
140141786060104:error:0B084002:x509 certificate
routines:X509_load_cert_crl_file:system  lib:by_file.c:279:
Warning: SSL Error:

Alex


You need --ca-file parameter.
Download the certificate usinghttp://engine/ca.crt

Alon



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt cli - starting vm with special options

2012-11-06 Thread Alex Leonhardt

aha! sorry - found it :) .. it works now :)



On 11/06/2012 07:10 AM, Michael Pasternak wrote:

Hi Alex,

Your syntax is incorrect,

1. /action syntax is:
'actiontype  id  action  [parent-object identifiers] [attribute 
options]'

2.  to see detailed help for this action do:
'help action vm vm2 start' or 'help action'

3. in your case /action syntax should be:
'action vm vm2 start ...'

4. also --host-identifier option is not available in this action,
please use auto-completion or /help to see available options,
for more details, see [1]

[1] http://wiki.ovirt.org/wiki/CLI

On 11/06/2012 12:46 AM, Alex Leonhardt wrote:

hi,

to make it easier for me to play with VMs, I thought of using the ovirt cli to 
start a VM whenever I want to rebuild it, however, the CLI command below keeps 
failing - any
pointers ?

action vm start --vm-os-kernel 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz --vm-os-initRd 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img
--vm-os-boot ks=http://172.30.0.1/ks/dev/solrm01-dev.ks ksdevice=eth0 
ip=172.30.0.249 netmask=255.255.255.0 --host-identifier vm2


alex




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   >