Re: [Users] Related to add CPU cores and CPU socket to virtual machine !

2012-11-22 Thread Michael Pasternak
On 11/22/2012 09:49 AM, Romil Gupta wrote:
 
 Hi,
 
 Today I am trying to add cpu to a new virtual machine 
 
 *rhevm_test.py*
 
 cpu=params.CPU(topology=[params.CpuTopology(cores=2,sockets=1)])
 api.vms.add(params.VM(name=VM_NAME, memory=2*GB, 
 os=params.OperatingSystem(boot=[params.Boot(dev='cdrom')]) 
 ,cluster=api.clusters.get(name='Default'),
 template=api.templates.get('Blank'), cpu=cpu ))
 print 'VM created'
 
 But getting some exception :
 
 Failed to create VM
 'list' object has no attribute 'export'
 
 
 Can you please help me? 

please read this tread:

http://lists.ovirt.org/pipermail/users/2012-September/004024.html

 
 Thankx,
 Romil
 
 
 


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding LIO iSCSI target as storage fails

2012-11-22 Thread Vincent Miszczak
Hi guys,

I'm trying to add an LIO iSCSI target as data domain into ovirt and it fails.

The GUI reports :
Error: A Request to the Server failed with the following Status Code: 503

And the engine log reports :
2012-11-22 10:05:10,154 INFO  
[org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] Running command: AddSANStorageDomainCommand 
internal: false. Entities affected :  ID: aaa0----123456789aaa 
Type: System
2012-11-22 10:05:10,177 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, CreateVGVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde, 
deviceList=[50103ff106001405db2776165d33492091bde115a020100344c494f2d4f52470049424c4f434b3a64623237373631362d35642d343932302d393162642d]),
 log id: 7bbd158c
2012-11-22 10:05:10,904 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateVGVDSCommand, return: 
LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e, log id: 7bbd158c
2012-11-22 10:05:10,913 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, CreateStorageDomainVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@cd3431b,
 args=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 56c4cbde
2012-11-22 10:05:17,332 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateStorageDomainVDSCommand, log id: 
56c4cbde
2012-11-22 10:05:17,338 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, GetStorageDomainStatsVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde), log id: 5142061
2012-11-22 10:05:17,654 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetStorageDomainStatsVDSCommand, 
return: org.ovirt.engine.core.common.businessentities.storage_domains@68e03e79, 
log id: 5142061
2012-11-22 10:05:17,674 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, GetVGInfoVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
VGID=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 52756b80
2012-11-22 10:05:17,739 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetVGInfoVDSCommand, return: 
[org.ovirt.engine.core.common.businessentities.LUNs@53a8c83f], log id: 52756b80
2012-11-22 10:05:17,758 INFO  
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(ajp--0.0.0.0-8009-3) [7ff25919] transaction rolled back
2012-11-22 10:05:17,759 ERROR 
[org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] Command 
org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand throw exception: 
org.springframework.dao.DataIntegrityViolationException: 
CallableStatementCallback; SQL [{call insertluns(?, ?, ?, ?, ?, ?, ?, ?)}]; 
ERROR: value too long for type character varying(50)
  Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id, 
volume_group_id, serial, lun_mapping, vendor_id, product_id, device_size) 
VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 )
PL/pgSQL function insertluns line 2 at SQL statement; nested exception is 
org.postgresql.util.PSQLException: ERROR: value too long for type character 
varying(50)
  Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id, 
volume_group_id, serial, lun_mapping, vendor_id, product_id, device_size) 
VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 )

Being registered to LIO mailing list, I know there are concerns about LUN ID 
length being pretty insane (127 chars here). Having used an Equallogic iSCSI 
SAN, I did not have this problem, so I suppose this come from the id length. 
Until this is fixed at LIO side (if it has to be), ovirt should handle such 
situations.

I'm gonna resize my database col size to test that.

My configuration :
oVirt Engine Version: 3.1.0-3.19.el6 (Dreyou repo) running on stock Centos6.3
LIO Target running on Centos6.3/3.6.3-1.el6.elrepo.x86_64 kernel
Ovirt node running on latest Fedora17

Vince

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Users] Related to add CPU cores and CPU socket to virtual machine !

2012-11-22 Thread Michael Pasternak

On 11/22/2012 12:11 PM, Romil Gupta wrote:
 Thankx a lot the link u have sent me is very helpful.

glad to hear that!

 The same problem I was facing , I am also new to python !

 Thankx,
 Romil

On 11/22/2012 10:39 AM, Michael Pasternak wrote:
 On 11/22/2012 09:49 AM, Romil Gupta wrote:

 Hi,

 Today I am trying to add cpu to a new virtual machine 

 *rhevm_test.py*

 cpu=params.CPU(topology=[params.CpuTopology(cores=2,sockets=1)])
 api.vms.add(params.VM(name=VM_NAME, memory=2*GB, 
 os=params.OperatingSystem(boot=[params.Boot(dev='cdrom')]) 
 ,cluster=api.clusters.get(name='Default'),
 template=api.templates.get('Blank'), cpu=cpu ))
 print 'VM created'

 But getting some exception :

 Failed to create VM
 'list' object has no attribute 'export'


 Can you please help me? 
 
 please read this tread:
 
 http://lists.ovirt.org/pipermail/users/2012-September/004024.html
 

 Thankx,
 Romil



 
 


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding LIO iSCSI target as storage fails

2012-11-22 Thread Vincent Miszczak
Hi again,

Having fixed LUNs and LUN_storage_server_connection_map tables varchar sizes, 
adding my LIO storage is OK as expected.

create_tables.sql script should be fixed.

What's more, when the error happened, ovirt got in inconsistent state :
-the LUN appeared in ovirt but was locked. Trying to destroy it did nothing in 
the GUI. Engine logged Failed to Acquire Lock to object EngineLock. After a 
while, the LUN disappeared by itself.

Ovirt should handle the exception correctly (by totally refusing the LUN 
registration) and outputting an explicit message (instead of error 503) could 
be nice.

Vince

De : Vincent Miszczak
Envoyé : jeudi 22 novembre 2012 10:25
À : users@ovirt.org
Objet : Adding LIO iSCSI target as storage fails

Hi guys,

I'm trying to add an LIO iSCSI target as data domain into ovirt and it fails.

The GUI reports :
Error: A Request to the Server failed with the following Status Code: 503

And the engine log reports :
2012-11-22 10:05:10,154 INFO  
[org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] Running command: AddSANStorageDomainCommand 
internal: false. Entities affected :  ID: aaa0----123456789aaa 
Type: System
2012-11-22 10:05:10,177 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, CreateVGVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde, 
deviceList=[50103ff106001405db2776165d33492091bde115a020100344c494f2d4f52470049424c4f434b3a64623237373631362d35642d343932302d393162642d]),
 log id: 7bbd158c
2012-11-22 10:05:10,904 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateVGVDSCommand, return: 
LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e, log id: 7bbd158c
2012-11-22 10:05:10,913 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, CreateStorageDomainVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@cd3431bmailto:storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@cd3431b,
 args=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 56c4cbde
2012-11-22 10:05:17,332 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateStorageDomainVDSCommand, log id: 
56c4cbde
2012-11-22 10:05:17,338 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, GetStorageDomainStatsVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde), log id: 5142061
2012-11-22 10:05:17,654 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetStorageDomainStatsVDSCommand, 
return: 
org.ovirt.engine.core.common.businessentities.storage_domains@68e03e79mailto:org.ovirt.engine.core.common.businessentities.storage_domains@68e03e79,
 log id: 5142061
2012-11-22 10:05:17,674 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] START, GetVGInfoVDSCommand(vdsId = 
936326ca-3482-11e2-a6fc-6f050df067da, 
VGID=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 52756b80
2012-11-22 10:05:17,739 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetVGInfoVDSCommand, return: 
[org.ovirt.engine.core.common.businessentities.LUNs@53a8c83f], log id: 52756b80
2012-11-22 10:05:17,758 INFO  
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(ajp--0.0.0.0-8009-3) [7ff25919] transaction rolled back
2012-11-22 10:05:17,759 ERROR 
[org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand] 
(ajp--0.0.0.0-8009-3) [7ff25919] Command 
org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand throw exception: 
org.springframework.dao.DataIntegrityViolationException: 
CallableStatementCallback; SQL [{call insertluns(?, ?, ?, ?, ?, ?, ?, ?)}]; 
ERROR: value too long for type character varying(50)
  Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id, 
volume_group_id, serial, lun_mapping, vendor_id, product_id, device_size) 
VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 )
PL/pgSQL function insertluns line 2 at SQL statement; nested exception is 
org.postgresql.util.PSQLException: ERROR: value too long for type character 
varying(50)
  Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id, 
volume_group_id, serial, lun_mapping, vendor_id, product_id, device_size) 
VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 )

Being registered to LIO mailing list, I know there are concerns about LUN ID 
length being pretty insane (127 chars here). Having used an Equallogic iSCSI 
SAN, I did not have 

Re: [Users] Adding LIO iSCSI target as storage fails

2012-11-22 Thread Eli Mesika


- Original Message -
 From: Vincent Miszczak vmiszc...@ankama.com
 To: users@ovirt.org
 Sent: Thursday, November 22, 2012 12:45:11 PM
 Subject: Re: [Users] Adding LIO iSCSI target as storage fails
 
 
 
 
 
 Hi again,
 
 
 
 Having fixed LUNs and LUN_storage_server_connection_map tables
 varchar sizes, adding my LIO storage is OK as expected.

Hi Vincent 
Can you open a BZ on that in order to resize the iqn column in 
storage_server_connection table ?
Thanks

Eli Mesika

 
 
 
 create_tables.sql script should be fixed.
 
 
 
 What’s more, when the error happened, ovirt got in inconsistent state
 :
 
 -the LUN appeared in ovirt but was locked. Trying to destroy it did
 nothing in the GUI. Engine logged “Failed to Acquire Lock to object
 EngineLock”. After a while, the LUN disappeared by itself.
 
 
 
 Ovirt should handle the exception correctly (by totally refusing the
 LUN registration) and outputting an explicit message (instead of
 “error 503”) could be nice.
 
 
 
 Vince
 
 
 
 
 
 De : Vincent Miszczak
 Envoyé : jeudi 22 novembre 2012 10:25
 À : users@ovirt.org
 Objet : Adding LIO iSCSI target as storage fails
 
 
 
 Hi guys,
 
 
 
 I’m trying to add an LIO iSCSI target as data domain into ovirt and
 it fails.
 
 
 
 The GUI reports :
 
 Error: A Request to the Server failed with the following Status Code:
 503
 
 
 
 And the engine log reports :
 
 2012-11-22 10:05:10,154 INFO
 [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] Running command:
 AddSANStorageDomainCommand internal: false. Entities affected : ID:
 aaa0----123456789aaa Type: System
 
 2012-11-22 10:05:10,177 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, CreateVGVDSCommand(vdsId =
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde,
 deviceList=[50103ff106001405db2776165d33492091bde115a020100344c494f2d4f52470049424c4f434b3a64623237373631362d35642d343932302d393162642d]),
 log id: 7bbd158c
 
 2012-11-22 10:05:10,904 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateVGVDSCommand, return:
 LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e, log id: 7bbd158c
 
 2012-11-22 10:05:10,913 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START,
 CreateStorageDomainVDSCommand(vdsId =
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@cd3431b
 , args=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 56c4cbde
 
 2012-11-22 10:05:17,332 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH,
 CreateStorageDomainVDSCommand, log id: 56c4cbde
 
 2012-11-22 10:05:17,338 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START,
 GetStorageDomainStatsVDSCommand(vdsId =
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde), log id:
 5142061
 
 2012-11-22 10:05:17,654 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH,
 GetStorageDomainStatsVDSCommand, return:
 org.ovirt.engine.core.common.businessentities.storage_domains@68e03e79
 , log id: 5142061
 
 2012-11-22 10:05:17,674 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, GetVGInfoVDSCommand(vdsId =
 936326ca-3482-11e2-a6fc-6f050df067da,
 VGID=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 52756b80
 
 2012-11-22 10:05:17,739 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetVGInfoVDSCommand,
 return:
 [org.ovirt.engine.core.common.businessentities.LUNs@53a8c83f], log
 id: 52756b80
 
 2012-11-22 10:05:17,758 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (ajp--0.0.0.0-8009-3) [7ff25919] transaction rolled back
 
 2012-11-22 10:05:17,759 ERROR
 [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] Command
 org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand throw
 exception: org.springframework.dao.DataIntegrityViolationException:
 CallableStatementCallback; SQL [{call insertluns(?, ?, ?, ?, ?, ?,
 ?, ?)}]; ERROR: value too long for type character varying(50)
 
 Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id,
 volume_group_id, serial, lun_mapping, vendor_id, product_id,
 device_size) VALUES( $1 , $2 , $3 , $4 , $5 , $6 , $7 , $8 )
 
 PL/pgSQL function insertluns line 2 at SQL statement; nested
 exception is org.postgresql.util.PSQLException: ERROR: value too
 long for type character varying(50)
 
 Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id,
 volume_group_id, serial, 

Re: [Users] How to efficiently share templates between datacenters which have local storages?

2012-11-22 Thread Adam Tkáč
2012/11/22 Itamar Heim ih...@redhat.com:
 On 11/19/2012 08:02 PM, Adam Tkáč wrote:

 Hello,

 I use oVirt 3.1.0.

 Does anyone have an idea how to efficiently share VM templates between
 multiple datacenters which use local storages for VM images? I tried
 two methods:

 1. Add another cluster to local storage datacenter which failed with
 oVirt error that this isn't allowed
 2. Tried to create new NFS data domain but this isn't possible because
 oVirt interface allows me to create only NFS export or NFS ISO domains
 (not data domain)

 So every time when I would like to use some template in other
 datacenter, I have to export it to export domain and then import it in
 other datacenter. This isn't optimal way because templates are
 duplicated over datacenters. Duplication causes problems - when I want
 to update template, I must update it and copy to all datacenters
 again. And, of course, duplicated templates consume disk space.


 how did you envision doing this without consuming disk space? a shared NFS
 domain for the templates?

Exactly. To be more precise, I imagine either NFS/Fibre Channel/iSCSI
should be possible. However as I wrote above, I'm unable to create NFS
data domain when datacenter uses local storage.

Regards, A


 Non-oVirt solution, when I manually export part of local storage of
 one datacenter with templates via NFS and then mount it in other
 datacenters is also ok but I'm not sure if it will work.



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


Re: [Users] How to efficiently share templates between datacenters which have local storages?

2012-11-22 Thread Itamar Heim

On 11/22/2012 03:18 PM, Adam Tkáč wrote:

2012/11/22 Itamar Heim ih...@redhat.com:

On 11/19/2012 08:02 PM, Adam Tkáč wrote:


Hello,

I use oVirt 3.1.0.

Does anyone have an idea how to efficiently share VM templates between
multiple datacenters which use local storages for VM images? I tried
two methods:

1. Add another cluster to local storage datacenter which failed with
oVirt error that this isn't allowed
2. Tried to create new NFS data domain but this isn't possible because
oVirt interface allows me to create only NFS export or NFS ISO domains
(not data domain)

So every time when I would like to use some template in other
datacenter, I have to export it to export domain and then import it in
other datacenter. This isn't optimal way because templates are
duplicated over datacenters. Duplication causes problems - when I want
to update template, I must update it and copy to all datacenters
again. And, of course, duplicated templates consume disk space.



how did you envision doing this without consuming disk space? a shared NFS
domain for the templates?


Exactly. To be more precise, I imagine either NFS/Fibre Channel/iSCSI
should be possible. However as I wrote above, I'm unable to create NFS
data domain when datacenter uses local storage.


true, this is still a limitation we need to resolve (and plan to), but 
not immediate




Regards, A



Non-oVirt solution, when I manually export part of local storage of
one datacenter with templates via NFS and then mount it in other
datacenters is also ok but I'm not sure if it will work.







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


[Users] Live snapshot deletion

2012-11-22 Thread Vincent Miszczak
Hi,

I've tried live VM disks snapshot. Its ok. It appears I cannot delete those 
snapshots while the VM is running.

Is it a bug? If not, is there any plan for this ?

Regards

Vince


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Users] How to efficiently share templates between datacenters which have local storages?

2012-11-22 Thread Adam Tkáč
2012/11/22 Itamar Heim ih...@redhat.com:
 On 11/22/2012 03:18 PM, Adam Tkáč wrote:

 2012/11/22 Itamar Heim ih...@redhat.com:

 On 11/19/2012 08:02 PM, Adam Tkáč wrote:


 Hello,

 I use oVirt 3.1.0.

 Does anyone have an idea how to efficiently share VM templates between
 multiple datacenters which use local storages for VM images? I tried
 two methods:

 1. Add another cluster to local storage datacenter which failed with
 oVirt error that this isn't allowed
 2. Tried to create new NFS data domain but this isn't possible because
 oVirt interface allows me to create only NFS export or NFS ISO domains
 (not data domain)

 So every time when I would like to use some template in other
 datacenter, I have to export it to export domain and then import it in
 other datacenter. This isn't optimal way because templates are
 duplicated over datacenters. Duplication causes problems - when I want
 to update template, I must update it and copy to all datacenters
 again. And, of course, duplicated templates consume disk space.



 how did you envision doing this without consuming disk space? a shared
 NFS
 domain for the templates?


 Exactly. To be more precise, I imagine either NFS/Fibre Channel/iSCSI
 should be possible. However as I wrote above, I'm unable to create NFS
 data domain when datacenter uses local storage.


 true, this is still a limitation we need to resolve (and plan to), but not
 immediate

Ok, thanks for clarification.


 Regards, A


 Non-oVirt solution, when I manually export part of local storage of
 one datacenter with templates via NFS and then mount it in other
 datacenters is also ok but I'm not sure if it will work.






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


Re: [Users] oVirt Node keeps rebooting

2012-11-22 Thread EricD
*vdsm.log is too big (14Mo)*
*spm-lock.log is attached to the email

$ lspci  | grep -i ether
*00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network
Connection (rev 05)
03:00.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)*

*



2012/11/22 Ayal Baron aba...@redhat.com

 What type of NICs do you have? (It's a shot in the dark but I know there
 is an issue with bnx2x driver which causes random reboots which some users
 have hit).
 Can you attach full vdsm.log and spm-lock.log ?

 - Original Message -
 
  [2012-11-18 15:20:08] Protecting spm lock for vdsm pid 1343
  [2012-11-18 15:20:08] Trying to acquire lease -
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99
 
 lease_file=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  id=1000 lease_time_ms
  =6 io_op_to_ms=1
  [2012-11-18 15:20:28] Lease acquired
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1000
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases,
  TS=1353270008160373
  [2012-11-18 15:20:28] Protecting spm lock for vdsm pid 1343
  [2012-11-18 15:20:28] Started renewal process (pid=1912) for
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1000
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  [2012-11-18 15:20:30] Stopping lease for pool:
  f0071c9b-cbe2-4555-9ae0-279031764a99 pgrps: -1912
  User defined signal 1
  [2012-11-18 15:20:30] releasing lease
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1000
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  [2012-11-18 15:20:33] Protecting spm lock for vdsm pid 1343
  [2012-11-18 15:20:33] Trying to acquire lease -
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99
 
 lease_file=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  id=1 lease_time_ms=60
  000 io_op_to_ms=1
  [2012-11-18 15:20:53] Lease acquired
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases,
  TS=1353270033749998
  [2012-11-18 15:20:53] Protecting spm lock for vdsm pid 1343
  [2012-11-18 15:20:53] Started renewal process (pid=2072) for
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  [2012-11-18 16:19:09] Protecting spm lock for vdsm pid 1343
  [2012-11-18 16:19:09] Trying to acquire lease -
  spUUID=8862496a-f326-46cf-8085-7ff982f985da
  lease_file=/rhev/data-center/mnt/10.10.0.200:
 _iso/8862496a-f326-46cf-8085-7ff982f985da/dom_md/leases
  id=1 lease_
  time_ms=5000 io_op_to_ms=1000
  [2012-11-18 16:19:11] Lease acquired
  spUUID=8862496a-f326-46cf-8085-7ff982f985da id=1
  lease_path=/rhev/data-center/mnt/10.10.0.200:
 _iso/8862496a-f326-46cf-8085-7ff982f985da/dom_md/leases,
  TS=1353273549413
  059
  [2012-11-18 16:19:11] Protecting spm lock for vdsm pid 1343
  [2012-11-18 16:19:11] Started renewal process (pid=25101) for
  spUUID=8862496a-f326-46cf-8085-7ff982f985da id=1
  lease_path=/rhev/data-center/mnt/10.10.0.200:
 _iso/8862496a-f326-46cf-8085-7ff982f985da/dom_md
  /leases
  [2012-11-18 16:19:13] Stopping lease for pool:
  8862496a-f326-46cf-8085-7ff982f985da pgrps: -25101
  User defined signal 1
  [2012-11-18 16:19:13] releasing lease
  spUUID=8862496a-f326-46cf-8085-7ff982f985da id=1
  lease_path=/rhev/data-center/mnt/10.10.0.200:
 _iso/8862496a-f326-46cf-8085-7ff982f985da/dom_md/leases
  [2012-11-18 18:51:27] Protecting spm lock for vdsm pid 1495
  [2012-11-18 18:51:27] Trying to acquire lease -
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99
 
 lease_file=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  id=1 lease_time_ms=60
  000 io_op_to_ms=1
  [2012-11-18 18:53:47] Lease acquired
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases,
  TS=1353282807712736
  [2012-11-18 18:53:47] Protecting spm lock for vdsm pid 1495
  [2012-11-18 18:53:47] Started renewal process (pid=2338) for
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  [2012-11-18 20:17:10] Protecting spm lock for vdsm pid 1492
  [2012-11-18 20:17:10] Trying to acquire lease -
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99
 
 lease_file=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases
  id=1 lease_time_ms=60
  000 io_op_to_ms=1
  [2012-11-18 20:19:30] Lease acquired
  spUUID=f0071c9b-cbe2-4555-9ae0-279031764a99 id=1
 
 lease_path=/rhev/data-center/mnt/_ovirt/f0071c9b-cbe2-4555-9ae0-279031764a99/dom_md/leases,
  TS=1353287950366393
  [2012-11-18 20:19:30] Protecting spm lock for vdsm pid 1492
  [2012-11-18 20:19:30] Started renewal process (pid=2182) for
  

Re: [Users] Adding LIO iSCSI target as storage fails

2012-11-22 Thread Vincent Miszczak
Done as :
https://bugzilla.redhat.com/show_bug.cgi?id=879272

-Message d'origine-
De : Eli Mesika [mailto:emes...@redhat.com] 
Envoyé : jeudi 22 novembre 2012 13:31
À : Vincent Miszczak
Cc : users@ovirt.org
Objet : Re: [Users] Adding LIO iSCSI target as storage fails



- Original Message -
 From: Vincent Miszczak vmiszc...@ankama.com
 To: users@ovirt.org
 Sent: Thursday, November 22, 2012 12:45:11 PM
 Subject: Re: [Users] Adding LIO iSCSI target as storage fails
 
 
 
 
 
 Hi again,
 
 
 
 Having fixed LUNs and LUN_storage_server_connection_map tables varchar 
 sizes, adding my LIO storage is OK as expected.

Hi Vincent
Can you open a BZ on that in order to resize the iqn column in 
storage_server_connection table ?
Thanks

Eli Mesika

 
 
 
 create_tables.sql script should be fixed.
 
 
 
 What’s more, when the error happened, ovirt got in inconsistent state
 :
 
 -the LUN appeared in ovirt but was locked. Trying to destroy it did 
 nothing in the GUI. Engine logged “Failed to Acquire Lock to object 
 EngineLock”. After a while, the LUN disappeared by itself.
 
 
 
 Ovirt should handle the exception correctly (by totally refusing the 
 LUN registration) and outputting an explicit message (instead of 
 “error 503”) could be nice.
 
 
 
 Vince
 
 
 
 
 
 De : Vincent Miszczak
 Envoyé : jeudi 22 novembre 2012 10:25
 À : users@ovirt.org
 Objet : Adding LIO iSCSI target as storage fails
 
 
 
 Hi guys,
 
 
 
 I’m trying to add an LIO iSCSI target as data domain into ovirt and it 
 fails.
 
 
 
 The GUI reports :
 
 Error: A Request to the Server failed with the following Status Code:
 503
 
 
 
 And the engine log reports :
 
 2012-11-22 10:05:10,154 INFO
 [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] Running command:
 AddSANStorageDomainCommand internal: false. Entities affected : ID:
 aaa0----123456789aaa Type: System
 
 2012-11-22 10:05:10,177 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, CreateVGVDSCommand(vdsId = 
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde,
 deviceList=[50103ff106001405db2776165d33492091bde115a020100344c494f2d4
 f52470049424c4f434b3a64623237373631362d35642d343932302d393162642d]
 ),
 log id: 7bbd158c
 
 2012-11-22 10:05:10,904 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVGVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, CreateVGVDSCommand, return:
 LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e, log id: 7bbd158c
 
 2012-11-22 10:05:10,913 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSComma
 nd]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, 
 CreateStorageDomainVDSCommand(vdsId = 
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomain=org.ovirt.engine.core.common.businessentities.storage_do
 main_static@cd3431b , args=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), 
 log id: 56c4cbde
 
 2012-11-22 10:05:17,332 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSComma
 nd]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, 
 CreateStorageDomainVDSCommand, log id: 56c4cbde
 
 2012-11-22 10:05:17,338 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCom
 mand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, 
 GetStorageDomainStatsVDSCommand(vdsId = 
 936326ca-3482-11e2-a6fc-6f050df067da,
 storageDomainId=6e93ed9e-1dd7-42b7-9e93-dc0187cc6fde), log id:
 5142061
 
 2012-11-22 10:05:17,654 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStorageDomainStatsVDSCom
 mand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, 
 GetStorageDomainStatsVDSCommand, return:
 org.ovirt.engine.core.common.businessentities.storage_domains@68e03e79
 , log id: 5142061
 
 2012-11-22 10:05:17,674 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] START, GetVGInfoVDSCommand(vdsId = 
 936326ca-3482-11e2-a6fc-6f050df067da,
 VGID=LvKD1i-L68S-ix09-OYcr-Ytzd-93wh-8XFe8e), log id: 52756b80
 
 2012-11-22 10:05:17,739 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] FINISH, GetVGInfoVDSCommand,
 return:
 [org.ovirt.engine.core.common.businessentities.LUNs@53a8c83f], log
 id: 52756b80
 
 2012-11-22 10:05:17,758 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (ajp--0.0.0.0-8009-3) [7ff25919] transaction rolled back
 
 2012-11-22 10:05:17,759 ERROR
 [org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand]
 (ajp--0.0.0.0-8009-3) [7ff25919] Command 
 org.ovirt.engine.core.bll.storage.AddSANStorageDomainCommand throw
 exception: org.springframework.dao.DataIntegrityViolationException:
 CallableStatementCallback; SQL [{call insertluns(?, ?, ?, ?, ?, ?, ?, 
 ?)}]; ERROR: value too long for type character varying(50)
 
 Where: SQL statement INSERT INTO LUNs(LUN_id, physical_volume_id, 
 volume_group_id, serial, lun_mapping, vendor_id, product_id,
 device_size) 

Re: [Users] Live snapshot deletion

2012-11-22 Thread Shu Ming
I think it is because Qemu doesn't support the live snapshot deleting 
yet.  Can you create your snapshot while the VM is running? What is your 
Qemu version? You can get your Qemu version by qemu-kvm --version in FC17.


2012-11-22 21:29, Vincent Miszczak


Hi,

I've tried live VM disks snapshot. Its ok. It appears I cannot delete 
those snapshots while the VM is running.


Is it a bug? If not, is there any plan for this ?

Regards

Vince


--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, and is
believed to be clean.


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Live snapshot deletion

2012-11-22 Thread Maor Lipchuk
Hi Vince,
Live merge is not implemented yet, although it is in the roadmap.

Regards,
Maor

On 11/22/2012 03:29 PM, Vincent Miszczak wrote:
 Hi,
 
  
 
 I’ve tried live VM disks snapshot. Its ok. It appears I cannot delete
 those snapshots while the VM is running.
 
  
 
 Is it a bug? If not, is there any plan for this ?
 
  
 
 Regards
 
  
 
 Vince
 
  
 
 
 -- 
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.
 
 
 ___
 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-Live-0.8.iso - beta version Nov 15th 2012

2012-11-22 Thread Steve Gordon
- Original Message -
 From: Moran Goldboim mgold...@redhat.com
 To: users@ovirt.org
 Sent: Wednesday, November 14, 2012 5:22:02 PM
 Subject: [Users] oVirt-Live-0.8.iso - beta version Nov 15th 2012
 
 
   oVirt-Live-0.8.iso - beta version Nov 15th 2012
 
 
 Download
 
 download oVirt-Live-0.8.iso
 http://ovirt.org/releases/3.1/tools/oVirt-Live.0.8.iso

Hi Moran,

Where do you store the definitions used to actually create the ISO? I am 
wondering if there is any way we can trim the size of the initial download at 
all (while still offering the same experience) and would be interested in 
playing around with it some more.

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


Re: [Users] oVirt-Live-0.8.iso - beta version Nov 15th 2012

2012-11-22 Thread Steve Gordon
- Original Message -
 From: Steve Gordon sgor...@redhat.com
 To: Moran Goldboim mgold...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, November 22, 2012 2:25:54 PM
 Subject: Re: [Users] oVirt-Live-0.8.iso - beta version Nov 15th 2012
 
 - Original Message -
  From: Moran Goldboim mgold...@redhat.com
  To: users@ovirt.org
  Sent: Wednesday, November 14, 2012 5:22:02 PM
  Subject: [Users] oVirt-Live-0.8.iso - beta version Nov 15th 2012
  
  
oVirt-Live-0.8.iso - beta version Nov 15th 2012
  
  
  Download
  
  download oVirt-Live-0.8.iso
  http://ovirt.org/releases/3.1/tools/oVirt-Live.0.8.iso
 
 Hi Moran,
 
 Where do you store the definitions used to actually create the ISO? I
 am wondering if there is any way we can trim the size of the initial
 download at all (while still offering the same experience) and would
 be interested in playing around with it some more.
 
 Steve

Nevermind, I see as I move through my backlog on the other lists you have 
requested a GIT repo where I assume these will live :).

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


[Users] trying to change web root for engine

2012-11-22 Thread Cristian Falcas
Hi all,

I'm trying to change the root of the engine applications to something like
/ovirt/.

I updated those files, but it's not enough:
- /usr/share/ovirt-engine/engine.ear/META-INF/application.xml (all
context-root)
- /etc/httpd/conf.d/ovirt-engine.conf (roxyPass /ovirt/)

The welcome portal is at site/ovirt/ and working correctly.

The links go to site//ovirt/UserPortal, etc, but nothing happens: just a
blank page.

If I change the url to https it's the same: blank page.

Can someone help me with this?

Best regards,
Cristian falcas
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] missing dirs, other problems with latest nightly

2012-11-22 Thread Alon Bar-Lev


- Original Message -
 From: Cristian Falcas cristi.fal...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org, Juan Hernandez jhern...@redhat.com
 Sent: Thursday, November 22, 2012 10:23:32 PM
 Subject: Re: [Users] missing dirs, other problems with latest nightly
 
 
 
 
 
 
 On Thu, Nov 22, 2012 at 2:03 AM, Cristian Falcas 
 cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
 On Thu, Nov 22, 2012 at 2:01 AM, Cristian Falcas 
 cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
 On Thu, Nov 22, 2012 at 1:56 AM, Cristian Falcas 
 cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
 On Thu, Nov 22, 2012 at 1:24 AM, Alon Bar-Lev  alo...@redhat.com 
 wrote:
 
 
 
 
 
 - Original Message -
  From: Cristian Falcas  cristi.fal...@gmail.com 
  To: Alon Bar-Lev  alo...@redhat.com 
  Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
 
  Sent: Thursday, November 22, 2012 1:22:26 AM
  Subject: Re: [Users] missing dirs, other problems with latest
  nightly
  
  
  
  
  
  
 
  On Thu, Nov 22, 2012 at 1:11 AM, Alon Bar-Lev  alo...@redhat.com 
  wrote:
  
  
  
  
  
  - Original Message -
   From: Cristian Falcas  cristi.fal...@gmail.com 
   To: Alon Bar-Lev  alo...@redhat.com 
 
 
   Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
  
   Sent: Thursday, November 22, 2012 1:01:41 AM
   Subject: Re: [Users] missing dirs, other problems with latest
   nightly
   
   
   
   
   
   
  
   On Thu, Nov 22, 2012 at 12:56 AM, Alon Bar-Lev 
   alo...@redhat.com

   wrote:
   
   
   
   
   
   - Original Message -
From: Cristian Falcas  cristi.fal...@gmail.com 
To: Alon Bar-Lev  alo...@redhat.com 
  
  
Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
   
Sent: Thursday, November 22, 2012 12:52:19 AM
Subject: Re: [Users] missing dirs, other problems with latest
nightly






   
On Thu, Nov 22, 2012 at 12:49 AM, Alon Bar-Lev 
alo...@redhat.com
 
wrote:





- Original Message -
 From: Cristian Falcas  cristi.fal...@gmail.com 


 To: Alon Bar-Lev  alo...@redhat.com 
 Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com
 
   
   
 Sent: Thursday, November 22, 2012 12:45:32 AM
 Subject: Re: [Users] missing dirs, other problems with latest
 nightly
 
 
 
 
 
 
 On Thu, Nov 22, 2012 at 12:20 AM, Alon Bar-Lev 
 alo...@redhat.com
  
 wrote:
 
 
 
 
 
 
 - Original Message -
  From: Cristian Falcas  cristi.fal...@gmail.com 
  To: Juan Hernandez  jhern...@redhat.com 
  Cc: users@ovirt.org
  Sent: Thursday, November 22, 2012 12:17:31 AM
  Subject: Re: [Users] missing dirs, other problems with
  latest
  nightly
  
  
  
  
  
  
  
  On Wed, Nov 21, 2012 at 11:53 PM, Juan Hernandez 
  jhern...@redhat.com  wrote:
  
  
  
  On 11/21/2012 10:50 PM, Cristian Falcas wrote:
   
   
   
   On Wed, Nov 21, 2012 at 11:26 PM, Juan Hernandez 
   jhern...@redhat.com
  
  
   mailto: jhern...@redhat.com  wrote:
   
   On 11/21/2012 09:37 PM, Cristian Falcas wrote:
Hi,

After a fresh install, those folders are missing:

/var/lib/ovirt-engine/content
/var/lib/ovirt-engine/deployments
   
   Yes Cristian, that is a problem we are aware of. We
   introduced
   that
   error in a attempt to fix bug 876164. The fix will be
   merged
   soon:
   
   http://gerrit.ovirt.org/9369
   
   Meanwhile the workaround is to manually create those
   directories
   and
   make sure they are owned by the ovirt user and the ovirt
   group:
   
   mkdir -p /var/lib/ovirt-engine/content
   chown ovirt:ovirt /var/lib/ovirt-engine/content
   mkdir -p /var/lib/ovirt-engine/deployments
   chown ovirt:ovirt /var/lib/ovirt-engine/deployments
   
   The other error messages that you see are not relevant, I
   think
   you
   can
   ignore them.
   

After that the engine starts, but can't go to the https
page
of
administrator or user portal. Relevant errors in log:

2012-11-21 22:29:52,448 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(MSC
   service
thread 1-3) Failed to decrypt Data must start with zero
2012-11-21 22:29:52,576 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils]
(MSC
   service
thread 1-3) Failed to decrypt value for property
TruststorePass
   will be
used encrypted value
2012-11-21 22:29:52,640 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils]
(MSC
   service
thread 1-3) Could not 

Re: [Users] trying to change web root for engine

2012-11-22 Thread Alon Bar-Lev


- Original Message -
 From: Cristian Falcas cristi.fal...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, November 22, 2012 10:22:01 PM
 Subject: [Users] trying to change web root for engine
 
 
 Hi all,
 
 I'm trying to change the root of the engine applications to something
 like /ovirt/.
 
 I updated those files, but it's not enough:
 - /usr/share/ovirt-engine/engine.ear/META-INF/application.xml (all
 context-root)
 - /etc/httpd/conf.d/ovirt-engine.conf (roxyPass /ovirt/)
 
 The welcome portal is at site/ovirt/ and working correctly.
 
 The links go to site//ovirt/UserPortal, etc, but nothing happens:
 just a blank page.
 
 If I change the url to https it's the same: blank page.
 
 Can someone help me with this?
 
 Best regards,
 Cristian falcas

I don't think this is really supported, there are some services that assumes 
all applications are at root. Especially the ovirt-node.

I think this is planned to be changed at release 4.0.

You can create redirect from /ovirt to / but I don't think that this is what 
you want.

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


Re: [Users] missing dirs, other problems with latest nightly

2012-11-22 Thread Cristian Falcas
On Thu, Nov 22, 2012 at 10:25 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Cristian Falcas cristi.fal...@gmail.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org, Juan Hernandez jhern...@redhat.com
  Sent: Thursday, November 22, 2012 10:23:32 PM
  Subject: Re: [Users] missing dirs, other problems with latest nightly
 
 
 
 
 
 
  On Thu, Nov 22, 2012 at 2:03 AM, Cristian Falcas 
  cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
  On Thu, Nov 22, 2012 at 2:01 AM, Cristian Falcas 
  cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
  On Thu, Nov 22, 2012 at 1:56 AM, Cristian Falcas 
  cristi.fal...@gmail.com  wrote:
 
 
 
 
 
 
 
 
 
  On Thu, Nov 22, 2012 at 1:24 AM, Alon Bar-Lev  alo...@redhat.com 
  wrote:
 
 
 
 
 
  - Original Message -
   From: Cristian Falcas  cristi.fal...@gmail.com 
   To: Alon Bar-Lev  alo...@redhat.com 
   Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
 
   Sent: Thursday, November 22, 2012 1:22:26 AM
   Subject: Re: [Users] missing dirs, other problems with latest
   nightly
  
  
  
  
  
  
 
   On Thu, Nov 22, 2012 at 1:11 AM, Alon Bar-Lev  alo...@redhat.com 
   wrote:
  
  
  
  
  
   - Original Message -
From: Cristian Falcas  cristi.fal...@gmail.com 
To: Alon Bar-Lev  alo...@redhat.com 
 
 
Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
  
Sent: Thursday, November 22, 2012 1:01:41 AM
Subject: Re: [Users] missing dirs, other problems with latest
nightly
   
   
   
   
   
   
  
On Thu, Nov 22, 2012 at 12:56 AM, Alon Bar-Lev 
alo...@redhat.com

wrote:
   
   
   
   
   
- Original Message -
 From: Cristian Falcas  cristi.fal...@gmail.com 
 To: Alon Bar-Lev  alo...@redhat.com 
  
  
 Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com 
   
 Sent: Thursday, November 22, 2012 12:52:19 AM
 Subject: Re: [Users] missing dirs, other problems with latest
 nightly






   
 On Thu, Nov 22, 2012 at 12:49 AM, Alon Bar-Lev 
 alo...@redhat.com
 
 wrote:





 - Original Message -
  From: Cristian Falcas  cristi.fal...@gmail.com 


  To: Alon Bar-Lev  alo...@redhat.com 
  Cc: users@ovirt.org , Juan Hernandez  jhern...@redhat.com
  
   
   
  Sent: Thursday, November 22, 2012 12:45:32 AM
  Subject: Re: [Users] missing dirs, other problems with latest
  nightly
 
 
 
 
 
 
  On Thu, Nov 22, 2012 at 12:20 AM, Alon Bar-Lev 
  alo...@redhat.com
  
  wrote:
 
 
 
 
 
 
  - Original Message -
   From: Cristian Falcas  cristi.fal...@gmail.com 
   To: Juan Hernandez  jhern...@redhat.com 
   Cc: users@ovirt.org
   Sent: Thursday, November 22, 2012 12:17:31 AM
   Subject: Re: [Users] missing dirs, other problems with
   latest
   nightly
  
  
  
  
  
  
  
   On Wed, Nov 21, 2012 at 11:53 PM, Juan Hernandez 
   jhern...@redhat.com  wrote:
  
  
  
   On 11/21/2012 10:50 PM, Cristian Falcas wrote:
   
   
   
On Wed, Nov 21, 2012 at 11:26 PM, Juan Hernandez 
jhern...@redhat.com
  
  
mailto: jhern...@redhat.com  wrote:
   
On 11/21/2012 09:37 PM, Cristian Falcas wrote:
 Hi,

 After a fresh install, those folders are missing:

 /var/lib/ovirt-engine/content
 /var/lib/ovirt-engine/deployments
   
Yes Cristian, that is a problem we are aware of. We
introduced
that
error in a attempt to fix bug 876164. The fix will be
merged
soon:
   
http://gerrit.ovirt.org/9369
   
Meanwhile the workaround is to manually create those
directories
and
make sure they are owned by the ovirt user and the ovirt
group:
   
mkdir -p /var/lib/ovirt-engine/content
chown ovirt:ovirt /var/lib/ovirt-engine/content
mkdir -p /var/lib/ovirt-engine/deployments
chown ovirt:ovirt /var/lib/ovirt-engine/deployments
   
The other error messages that you see are not relevant, I
think
you
can
ignore them.
   

 After that the engine starts, but can't go to the https
 page
 of
 administrator or user portal. Relevant errors in log:

 2012-11-21 22:29:52,448 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
 (MSC
service
 thread 1-3) Failed to decrypt Data must start with zero
 2012-11-21 22:29:52,576 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils]
 (MSC
service
 thread 1-3) Failed to decrypt value for property
 TruststorePass
will be
 

Re: [Users] missing dirs, other problems with latest nightly

2012-11-22 Thread Alon Bar-Lev


- Original Message -
 From: Cristian Falcas cristi.fal...@gmail.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org, Juan Hernandez jhern...@redhat.com
 Sent: Thursday, November 22, 2012 10:28:33 PM
 Subject: Re: [Users] missing dirs, other problems with latest nightly
  It's working if I let it overwrite the http config. But until
  recently it was working also without any modifications on apache.
 
 Using the apache as front-end is the recommended configuration. Next
 version it will be the only supported configuration as far as I
 know.
 
 Alon
 
 
 In this case, I think that the overwrite http should not be asked
 during engine-setup, maybe just inform the user about the changes
 that will be done. i mean that it should write the configuration
 without user approval.

I think that it is good that we warn user, there may be some configurations in 
which user has some specific httpd.conf, and would like to do the changes 
manually.

I hope that in version 4.0 we won't overwrite the httpd.conf at all (not 
mandatory anyway), so installation will be much less intrusive.

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


Re: [Users] trying to change web root for engine

2012-11-22 Thread Cristian Falcas
On Thu, Nov 22, 2012 at 10:27 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Cristian Falcas cristi.fal...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, November 22, 2012 10:22:01 PM
  Subject: [Users] trying to change web root for engine
 
 
  Hi all,
 
  I'm trying to change the root of the engine applications to something
  like /ovirt/.
 
  I updated those files, but it's not enough:
  - /usr/share/ovirt-engine/engine.ear/META-INF/application.xml (all
  context-root)
  - /etc/httpd/conf.d/ovirt-engine.conf (roxyPass /ovirt/)
 
  The welcome portal is at site/ovirt/ and working correctly.
 
  The links go to site//ovirt/UserPortal, etc, but nothing happens:
  just a blank page.
 
  If I change the url to https it's the same: blank page.
 
  Can someone help me with this?
 
  Best regards,
  Cristian falcas

 I don't think this is really supported, there are some services that
 assumes all applications are at root. Especially the ovirt-node.

 I think this is planned to be changed at release 4.0.

 You can create redirect from /ovirt to / but I don't think that this is
 what you want.

 Alon



Thank you for your answer.

I will do it with virtualhosts then.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users