Re: [Users] default mutipath.conf config for fedora 18 invalid

2013-01-15 Thread Dan Kenigsberg
On Wed, Jan 16, 2013 at 01:22:38AM +0100, Gianluca Cecchi wrote:
> Hello,
> configuring All-In-One on Fedora 18 puts these lines in multipath.conf
> (at least on ovrt-njghtly for f18 of some days ago)
> 
> # RHEV REVISION 0.9
> ...
> defaults {
> polling_interval5
> getuid_callout  "/lib/udev/scsi_id --whitelisted
> --device=/dev/%n"
> ...
> device {
> vendor  "HITACHI"
> product "DF.*"
> getuid_callout  "/lib/udev/scsi_id --whitelisted
> --device=/dev/%n"
> ...
> 
> Actually Fedora 18 has device-mapper-multipath 0.49 without getuid_callout;
> from changelog:
> 
> multipath no longer uses the getuid callout.  It now gets the
>   wwid from the udev database or the environment variables
> 
> so the two getuid_callouts lines have to be removed for f18
> 
> multipath -l gives
> 
> Jan 16 00:30:15 | multipath.conf +5, invalid keyword: getuid_callout
> Jan 16 00:30:15 | multipath.conf +18, invalid keyword: getuid_callout
> 
> I think it has to be considered.

Hmm, it seems that the title of "Bug 886087 - Rest query add storage
domain fails on fedora18: missing /sbin/scsi_id" is inaccurate.

I've marked the bug as an ovirt-3.2 blocker, and nacked the patch that
attempts to fix it http://gerrit.ovirt.org/#/c/10824/

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


[Users] default mutipath.conf config for fedora 18 invalid

2013-01-15 Thread Gianluca Cecchi
Hello,
configuring All-In-One on Fedora 18 puts these lines in multipath.conf
(at least on ovrt-njghtly for f18 of some days ago)

# RHEV REVISION 0.9
...
defaults {
polling_interval5
getuid_callout  "/lib/udev/scsi_id --whitelisted
--device=/dev/%n"
...
device {
vendor  "HITACHI"
product "DF.*"
getuid_callout  "/lib/udev/scsi_id --whitelisted
--device=/dev/%n"
...

Actually Fedora 18 has device-mapper-multipath 0.49 without getuid_callout;
from changelog:

multipath no longer uses the getuid callout.  It now gets the
  wwid from the udev database or the environment variables

so the two getuid_callouts lines have to be removed for f18

multipath -l gives

Jan 16 00:30:15 | multipath.conf +5, invalid keyword: getuid_callout
Jan 16 00:30:15 | multipath.conf +18, invalid keyword: getuid_callout

I think it has to be considered.

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Wed, Jan 16, 2013 at 12:08 AM, Dan Kenigsberg wrote:

> My question regarded a simple node-only reboot. I wonder if vdsm fails
> to start ALWAYS, or that this is an even more complex glitch.
>

Just done another reboot and the same problem. It seems vdsmd doesn't start
at all

[root@f18ovn03 ~]# sudo systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
  Active: inactive (dead)
  CGroup: name=systemd:/system/vdsmd.service

Under /var/log/vdsm I see vdsm.log with timestamp of when I stopped the
system:
MainThread::INFO::2013-01-16 00:45:57,716::vdsm::95::vds::(run) VDSM main
thread ended. Waiting for 16 other threads...
MainThread::INFO::2013-01-16 00:45:57,716::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,716::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,716::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,716::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::momIF::65::MOM::(stop) Shutting
down MOM
MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,717::vdsm::99::vds::(run)
<_MainThread(MainThread, started 140085026416448)>
MainThread::INFO::2013-01-16 00:45:57,718::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,718::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,718::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,718::vdsm::99::vds::(run)

MainThread::INFO::2013-01-16 00:45:57,718::vmChannels::136::vds::(stop) VM
channels listener was stopped.
MainThread::INFO::2013-01-16 00:45:57,718::vdsm::99::vds::(run)


If then I manually start it
root@f18ovn03 vdsm]# systemctl start vdsmd.service
[root@f18ovn03 vdsm]# echo $?
0
[root@f18ovn03 vdsm]# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
  Active: active (running) since Wed, 2013-01-16 01:09:44 CET; 10s ago
 Process: 2483 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited,
status=0/SUCCESS)
Main PID: 2770 (respawn)
  CGroup: name=systemd:/system/vdsmd.service
  ├ 2770 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon
--masterpid /var/run/vdsm/respawn.p...
  ├ 2773 /usr/bin/python /usr/share/vdsm/vdsm
  ├ 2791 /usr/bin/sudo -n /usr/bin/python
/usr/share/vdsm/supervdsmServer.py 75cc5638-f5c7-4431-bcbe-4a0cd8...
  └ 2792 /usr/bin/python /usr/share/vdsm/supervdsmServer.py
75cc5638-f5c7-4431-bcbe-4a0cd817a0e4 2773 /var/...

Jan 16 01:09:44 f18ovn03.ceda.polimi.it systemd-vdsmd[2483]: [27B blob data]
Jan 16 01:09:44 f18ovn03.ceda.polimi.it systemd[1]: Started Virtual Desktop
Server Manager.
Jan 16 01:09:45 f18ovn03.ceda.polimi.it python[2773]: DIGEST-MD5 client
step 2
Jan 16 01:09:45 f18ovn03.ceda.polimi.it python[2773]: DIGEST-MD5 client
step 2
Jan 16 01:09:45 f18ovn03.ceda.polimi.it python[2773]: DIGEST-MD5 client
step 3
Jan 16 01:09:45 f18ovn03.ceda.polimi.it vdsm[2773]: vdsm fileUtils WARNING
Dir /rhev/data-center/mnt already exists
Jan 16 01:09:48 f18ovn03.ceda.polimi.it vdsm[2773]: vdsm Storage.LVM
WARNING lvm pvs failed: 5 ['  NQRb0Q-3C0k-3RRo-1LZZ...T01']
Jan 16 01:09:48 f18ovn03.ceda.polimi.it vdsm[2773]: vdsm Storage.LVM
WARNING lvm vgs failed: 5 ['  x3XSZx-avUC-0NNI-w5K4...T01']
Jan 16 01:09:48 f18ovn03.ceda.polimi.it vdsm[2773]: vdsm vds WARNING Unable
to load the json rpc server module. Please m...lled.
Jan 16 01:09:51 f18ovn03.ceda.polimi.it vdsm[2773]: vdsm fileUtils WARNING
Dir /rhev/data-center/hsm-tasks already exists

Tried also to run anable again
systemctl enable vdsmd.service
and reboot but same behaviour.
In notice that the same is true for ntpd service, configured as enabled but
not started.
When I manually start vdsmd, also ntpd starts, as it is in the required
chain for vdsmd... strange
Can it depend on delay on network/bridges initialization?

when the service has not manually started by me yet, the output of
systemctl show vdsmd.service


Id=vdsmd.service
Names=vdsmd.service
Requires=multipathd.service libvirtd.service ntpd.service
systemd-journald.socket basic.target
WantedBy=multi-user.target
Conflicts=libvirt-guests.service shutdown.target
Before=shutdown.target multi-user.target
After=systemd-journald.socket basic.target
Description=Virtual Desktop Server Manager
LoadState=loaded
ActiveState=inactive
SubState=dead
FragmentPath=/usr/lib/systemd/system/vdsmd.service
UnitFileState=enabled
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimes

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  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:]
>  

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Itamar Heim
i'm assuming you didn't re-install your engine, so it still has these 
disks in its db.

in 3.2, you can import to new vm/disks without deleting the previous ones).
is this a clean install of engine, or a revival of the engine which 
storage got lost?


On 01/16/2013 01:16 AM, Alex Leonhardt 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(TransactionSupport.java:107)
[engine

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
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(TransactionSupport.java:107)
[engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engin

Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Dan Kenigsberg
On Tue, Jan 15, 2013 at 02:51:13PM +0100, Gianluca Cecchi wrote:
> On Tue, Jan 15, 2013 at 2:44 PM, Dan Kenigsberg wrote:
> 
> > Is it repeatable that vdsm is down after boot?
> 
> 
> I will try asap and report back (I have first to solve the problem
> regarding webadmin accessibility first, see other thread ;-)
> 
> question/doubt:
> If I install a host without configuring power mgmt at that point, then
> after the first reboot initiated by the engine, still I have in some way to
> select
> "confirm host has been rebooted"
> or is this not required for the initial deploy?

AFAIK confirmation is needed only when the host enters a dangerous state
(running VMs, SPM), loosing connectivity, and failing to show up
pristine to Engine after its reboot.

> 
> Gianluca

On Tue, Jan 15, 2013 at 03:17:32PM +0100, Gianluca Cecchi wrote:
> On Tue, Jan 15, 2013 at 2:51 PM, Gianluca Cecchi  wrote:
> 
> > I will try asap and report back
> 
> 
> And also: in case of host up and configured without power mgmt, what is the
> workflow to reboot it, and so test what you ask
> 
> Is it repeatable that vdsm is down after boot?
> 
> In my case the DC is uninitialized and the host is up.
> Can I simply run "shutdown -r now" inside host os, or should I before put
> it into maintenance?
> DO I have to select at any point in time "confirm host has been rebooted"?

My question regarded a simple node-only reboot. I wonder if vdsm fails
to start ALWAYS, or that this is an even more complex glitch.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Itamar Heim

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, 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.Execu

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
the ovf attached


On 15 January 2013 22:39, Alex Leonhardt  wrote:

> after some help from itamar, got the list of the VMs and Templates,
> however, the VMs wont import erroring with the following on the engine :
>
>
> 2013-01-15 22:34:18,891 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
> (ajp--0.0.0.0-8009-19) FINISH, GetVmsInfoVDSCommand, log id: 19ab9695
> 2013-01-15 22:34:19,953 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
> (ajp--0.0.0.0-8009-19) START, GetImageDomainsListVDSCommand(storagePoolId =
> eb01e934-6413-4ef6-8736-7e9e56af8ed2, ignoreFailoverLimit = false,
> compatabilityVersion = null, imageGroupId =
> 081433f7-f630-4d90-bd48-dd4300b33cce), log id: 5a777985
> 2013-01-15 22:34:19,972 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
> (ajp--0.0.0.0-8009-19) FINISH, GetImageDomainsListVDSCommand, return: [],
> log id: 5a777985
> 2013-01-15 22:34:19,973 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
> (ajp--0.0.0.0-8009-19) START, DoesImageExistVDSCommand(storagePoolId =
> eb01e934-6413-4ef6-8736-7e9e56af8ed2, ignoreFailoverLimit = false,
> compatabilityVersion = null, storageDomainId =
> 84e33e25-f4af-4b3c-9780-8a116a737236, imageGroupId =
> 081433f7-f630-4d90-bd48-dd4300b33cce, imageId =
> f4493a50-a0aa-4ea5-9c0d-641381be905a), log id: 59cb3929
> 2013-01-15 22:34:20,012 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
> (ajp--0.0.0.0-8009-19) FINISH, DoesImageExistVDSCommand, return: true, log
> id: 59cb3929
> 2013-01-15 22:34:20,051 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
> (pool-3-thread-47) [6b456986] Running command: ImportVmCommand internal:
> false. Entities affected :  ID: 9bd4735c-a02b-403a-8e66-c5679b70e137 Type:
> Storage
> 2013-01-15 22:34:20,053 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (pool-3-thread-47) [6b456986] Try to add duplicate values with same name.
> Type: UNASSIGNED. Value: vmname
> 2013-01-15 22:34:20,060 INFO
> [org.ovirt.engine.core.utils.transaction.TransactionSupport]
> (pool-3-thread-47) [6b456986] transaction rolled back
> 2013-01-15 22:34:20,064 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
> (pool-3-thread-47) [6b456986] 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
> org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
> [engine-bll.jar:]
> 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(FutureTas

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
after some help from itamar, got the list of the VMs and Templates,
however, the VMs wont import erroring with the following on the engine :


2013-01-15 22:34:18,891 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-19) FINISH, GetVmsInfoVDSCommand, log id: 19ab9695
2013-01-15 22:34:19,953 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-19) START, GetImageDomainsListVDSCommand(storagePoolId =
eb01e934-6413-4ef6-8736-7e9e56af8ed2, ignoreFailoverLimit = false,
compatabilityVersion = null, imageGroupId =
081433f7-f630-4d90-bd48-dd4300b33cce), log id: 5a777985
2013-01-15 22:34:19,972 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-19) FINISH, GetImageDomainsListVDSCommand, return: [],
log id: 5a777985
2013-01-15 22:34:19,973 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-19) START, DoesImageExistVDSCommand(storagePoolId =
eb01e934-6413-4ef6-8736-7e9e56af8ed2, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
84e33e25-f4af-4b3c-9780-8a116a737236, imageGroupId =
081433f7-f630-4d90-bd48-dd4300b33cce, imageId =
f4493a50-a0aa-4ea5-9c0d-641381be905a), log id: 59cb3929
2013-01-15 22:34:20,012 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-19) FINISH, DoesImageExistVDSCommand, return: true, log
id: 59cb3929
2013-01-15 22:34:20,051 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-47) [6b456986] Running command: ImportVmCommand internal:
false. Entities affected :  ID: 9bd4735c-a02b-403a-8e66-c5679b70e137 Type:
Storage
2013-01-15 22:34:20,053 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-3-thread-47) [6b456986] Try to add duplicate values with same name.
Type: UNASSIGNED. Value: vmname
2013-01-15 22:34:20,060 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(pool-3-thread-47) [6b456986] transaction rolled back
2013-01-15 22:34:20,064 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-47) [6b456986] 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
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engine-bll.jar:]
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(Thread

Re: [Users] oVirt node install hanging on admin login prompt

2013-01-15 Thread Jeff Bailey

On 1/15/2013 3:31 AM, Nicolas Ecarnot wrote:

Le 14/01/2013 22:24, Jeff Bailey a écrit :

On 1/14/2013 9:08 AM, Nicolas Ecarnot wrote:

Hi,

I'm trying to install oVirt node 2.5.5-0.1.fc17 and it is node going
well. I'm trying to install it on a Dell blade M610 via a iDrac, and
I'm quit accustomed to this kind of thing.

- As I already had the issue of the label on the grub boot line, I
knew how to specify /dev/sr0 or sr1 on the linux line. Well.
- The install is ok with discovering my hard drive, and the
installation seems to be fine. After rebooting, the bott process is
leading me to the login prompt where the documentation tells me to log
as 'admin' with the correct password :

The keyboard is not responding, I can not even type the user name.


Try adding usbcore.autosuspend=-1 to the kernel command line. I've had
problems with iDRAC 7 virtual consoles with both Fedora 17 and 18 and
this fixes it.  I don't know about iDRAC 6 but trying it couldn't hurt
:)  Getting the machine to always boot with that option could be a bit
tricky with Node.  I'm not sure if you'll just be able to edit the
grub.conf and persist it or not.


Thank you very much, Jeff, this did the trick !


You're welcome!  I know that suddenly losing console access to your 
blades can be a bit distressing :)


And better than that : adding it on the first use in the kernel line 
leads it to be permanently added in the grub conf even after a reboot.




That's very nice to know.  I was afraid it would be tricky with Node but 
I guess it isn't.



Nice !



___
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
org.ovirt.eng

Re: [Users] API usage - 3.1

2013-01-15 Thread Tom Brown
>> 
> 
> thankyou - i am however finding it hard to attach an iso image to a VM - I 
> have the console etc sorted however what would be required to do the same 
> with an iso image?
> 
> The below is working apart from the iso
> 
> thanks
> 
> vm_template = """
> %s
> 
>   Default
> 
> 
>   Blank
> 
> server
> 536870912
> 
>   vnc
> 
> 
>   
>   
> 
> 
>   
> 
> """
> 

i have also tried 






as per the docs but no joy ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] API usage - 3.1

2013-01-15 Thread Tom Brown

> 
> 1. you can find elements names in api schema (download it from [1] on your 
> rhevm server).
> 2. vm creation details/examples can be found at [2].
> 
> [1] http://server:[port]/api?schema
> [2] 
> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/Developer_Guide/Red_Hat_Enterprise_Virtualization-3.1-Developer_Guide-en-US.pdf
> 

thankyou - i am however finding it hard to attach an iso image to a VM - I have 
the console etc sorted however what would be required to do the same with an 
iso image?

The below is working apart from the iso

thanks

vm_template = """
%s

  Default


  Blank

server
536870912

  vnc


  
  


  

"""

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


Re: [Users] web admin portal not reachable after reboot

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 4:16 PM, Gianluca Cecchi wrote:

> See
> current iptables (not ok for engine):
> https://docs.google.com/file/d/0BwoPbcrMv8mvTmR6bThxTTJOdVU/edit
>
> iptables at engine-setup time (ok):
> https://docs.google.com/file/d/0BwoPbcrMv8mvaEprOFB1Z3JoMzg/edit
>

the not working file has this in its first line, I didn't notice before

# oVirt default firewall configuration. Automatically generated by vdsm
bootstrap script.

my merged apparently working file here:
https://docs.google.com/file/d/0BwoPbcrMv8mvYmJIU3oyeFlfZ3c/edit

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


Re: [Users] ovirt-engine-sdk-java package available via maven distribution now

2013-01-15 Thread Michael Pasternak
On 01/15/2013 04:41 PM, Michael Pasternak wrote:
> 
> All you need to work with oVirt java-sdk is add it as dependency
> to your pom.xml,
> 
> for more details see [1].
> 
> [1] http://www.ovirt.org/Java-sdk#Maven_deployment
> 


=> javaDoc can be downloaded via "mvn dependency:resolve -Dclassifier=javadoc" 
command

-- 

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


Re: [Users] web admin portal not reachable after reboot

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 3:10 PM, Gianluca Cecchi  wrote:

> BTW: I have a similar problem with an all-in-one f18 + ovirt nightly setup
> running as a VM
>
> after engine-upgrade to 3.2.0-1.20130115.git2970f58
>


I found this interesting thing on my All-in-one server.
engine-setup ran on 18/12 12:34. Its log

/var/log/ovirt-engine/engine-setup_2012_12_18_12_12_34.log

contains the lines I reported above.
But if now I go in /etc/sysconfig
# ll iptables*
-rw---. 1 root root  770 Dec 18 13:02 iptables
-rw---. 1 root root 1449 Dec 18 13:02 iptables.20121218130224
-rw---. 1 root root 1740 Nov  8 13:11 iptables-config

So it seems it was overridden by something else.
iptables.20121218130224 contains the engine directives I find in
engine-setup log file

Could it be that the host deploy part of AIO incorrectly replaced the
engine iptables setup instead of merging with it?
How could I merge them all?

See
current iptables (not ok for engine):
https://docs.google.com/file/d/0BwoPbcrMv8mvTmR6bThxTTJOdVU/edit

iptables at engine-setup time (ok):
https://docs.google.com/file/d/0BwoPbcrMv8mvaEprOFB1Z3JoMzg/edit

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


Re: [Users] VMWare vSphere resource pools access control like feature?

2013-01-15 Thread Jiri Belka
On Wed, 9 Jan 2013 09:26:22 -0500 (EST)
Ofri Masad  wrote:

> Hi Jiri,
> 
> Maor is right. What you are looking for is Quota.
> See the videos explaining about Quota:
> http://www.youtube.com/playlist?feature=plcp&list=PL2NsEhIoqsJFf2HWErznfQ-CS5fQdSRGC
> 
> We'll be more then happy to help and answer questions.

Just for archives. VMWare Resource Pool-like feature:

* create new quota
* add consumer (an user) to quota
* assign the quota permissions (an user)
  - UserVmManager
  - UserRole
* assign the DB permissions (an user)
  - VmCreator

With this setup it seems the user can "inside" his quota
create new VM, new VM inherit valid quota name, and cannot
see other VMs outside of his "quota pool".

I will see more during testings.

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


[Users] oVirt features survey - please participate!

2013-01-15 Thread Dave Neary

Hi everyone,

After the mammoth thread these past few days on what you would like to 
see next from oVirt, Itamar and I have put together a list of all of the 
features you requested and made a survey to help us understand a bit 
more which features are more important to you, and the way in which you 
use oVirt.


  https://www.surveymonkey.com/s/oVirtFeatures

It will take you between 1 and 3 minutes to participate in this survey, 
and help prioritise efforts for the next version or two of oVirt. If you 
know of people who are oVirt users, but who are not on this mailing 
list, please feel free to forward this link on to them!


Also, let me remind you that you can see first hand what is coming in 
the upcoming oVirt 3.2 release and talk to the people behind oVirt 
during the oVirt Workshop in NetApp HQ, Sunnyvale, California next week. 
Registration is still open for another day or so, and we have about 10 
places still available. Sign up now!


  http://www.ovirt.org/NetApp_Workshop_January_2013

Regards,
Dave.

--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt-engine-sdk-java package available via maven distribution now

2013-01-15 Thread Michael Pasternak

All you need to work with oVirt java-sdk is add it as dependency
to your pom.xml,

for more details see [1].

[1] http://www.ovirt.org/Java-sdk#Maven_deployment

-- 

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


[Users] ovirt-engine-sdk-java 1.0.0.1 released

2013-01-15 Thread Michael Pasternak
Hi all,

I'm happy to announce first official release of ovirt-engine-sdk-java, change 
log
between sdk announcement and 1.0.0.1 is:

   * Tue Jan  15 2013 Michael Pasternak  - 1.0.0.1-1
- implement parametrized list() methods
- events can be added now (user defined events)
- events can be removed now
- host can be added now by using cluster.name (not only cluster-id)
- NIC now has "linked" property
- NIC now has "plugged" property
- VM has now ReportedDevices sub-collection
- VMNIC has now ReportedDevices sub-collection
- to host add/update added power_management.agents parameter
- to disk added permissions sub-collection
- to PowerManagement added Agents collection
- to VMDisk added move() action
- to host added hooks sub-collection
- to cluster added threads_as_cores property
- to host added hardwareInformation property
- to host added OS property
- added force flag to the host.delete() method
- added host.power_management.pm_proxy sub-collection
- added permissions sub-collection to the network
- added search capabilities to api.networks collection
- added deletion protection support to template/vm via .delete_protected 
property

More details can be found at [1].

[1] http://www.ovirt.org/Java-sdk-changelog

-- 

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 2:51 PM, Gianluca Cecchi  wrote:

> I will try asap and report back


And also: in case of host up and configured without power mgmt, what is the
workflow to reboot it, and so test what you ask

Is it repeatable that vdsm is down after boot?

In my case the DC is uninitialized and the host is up.
Can I simply run "shutdown -r now" inside host os, or should I before put
it into maintenance?
DO I have to select at any point in time "confirm host has been rebooted"?

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


Re: [Users] web admin portal not reachable after reboot

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 2:22 PM, Yaniv Kaul wrote:

> iptables?


engine was configured asking to set up / override iptables, so I thought it
had to be ok.

...
oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port:443
host-fqdn: f18engine.Xxxxt
auth-pass: 
org-name:  Y
default-dc-type:   ISCSI
db-remote-install: local
db-local-pass: 
nfs-mp:/ISO
config-nfs:yes
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes
...
Configuring Firewall (iptables)...   [ DONE ]
...

In engine setup log file:

...
2013-01-12 15:00:38::DEBUG::engine-setup::886::root:: configuring iptables
2013-01-12 15:00:38::DEBUG::engine-setup::917::root:: # Generated by
ovirt-engine installer
#filtering rules
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 892 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 892 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 875 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 875 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 662 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 662 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 2049 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 32803 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 32769 -j ACCEPT
#drop all rule
-A INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT

2013-01-12 15:00:38::DEBUG::common_utils::699::root:: successfully copied
file /etc/ovirt-engine/iptables.example to target destination
/etc/sysconfig/iptables
2013-01-12 15:00:38::DEBUG::common_utils::707::root:: setting file
/etc/sysconfig/iptables uid/gid ownership
2013-01-12 15:00:38::DEBUG::common_utils::710::root:: setting file
/etc/sysconfig/iptables mode to -1
2013-01-12 15:00:38::DEBUG::engine-setup::932::root:: Restarting the
iptables service
2013-01-12 15:00:38::DEBUG::common_utils::1208::root:: stopping iptables
2013-01-12 15:00:38::DEBUG::common_utils::1245::root:: executing action
iptables on service stop
2013-01-12 15:00:38::DEBUG::common_utils::427::root:: Executing command -->
'/sbin/service iptables stop'
2013-01-12 15:00:38::DEBUG::common_utils::465::root:: output =
2013-01-12 15:00:38::DEBUG::common_utils::466::root:: stderr = Redirecting
to /bin/systemctl stop  iptables.service

2013-01-12 15:00:38::DEBUG::common_utils::467::root:: retcode = 0
2013-01-12 15:00:38::DEBUG::common_utils::1198::root:: starting iptables
2013-01-12 15:00:38::DEBUG::common_utils::1245::root:: executing action
iptables on service start
2013-01-12 15:00:38::DEBUG::common_utils::427::root:: Executing command -->
'/sbin/service iptables start'
2013-01-12 15:00:38::DEBUG::common_utils::465::root:: output =
2013-01-12 15:00:38::DEBUG::common_utils::466::root:: stderr = Redirecting
to /bin/systemctl start  iptables.service

2013-01-12 15:00:38::DEBUG::common_utils::467::root:: retcode = 0
2013-01-12 15:00:38::DEBUG::setup_sequences::59::root:: running _startEngine
...



BTW: I have a similar problem with an all-in-one f18 + ovirt nightly setup
running as a VM

after engine-upgrade to 3.2.0-1.20130115.git2970f58

I'm not able to reach webadmin portal from the host but only if for example
I run firefox from inside the engine itself exporting DISPAY env var.

What would be the config expected for an f18 engine?


In my case:

1) engine standalone as physical server
It seems I have
firewalld enabled
iptables disabled
ip6tables disabled
ebtables ?

but setup should have enabled it from the optionschosen but I don't see
it in logfile, while I see

 2013-01-12 15:00:38::DEBUG::engine-setup::1567::root:: using chkconfig to
enable engine to load on system startup.
2013-01-12 15:00:38::DEBUG::common_utils::427::root:: Executing command -->
'/sbin/chkconfig ovirt-engine on'
2013-01-12 15:00:38::DEBUG::common_utils::465::root:: output =
2013-01-12 15:00:38::DEBUG::common_utils::466::root:: stderr = Note:
Forwarding request to 'systemctl enable ovirt-engine.service'.
ln -s '/usr/lib/systemd/system/ovirt-engine.service'
'/etc/systemd/system/multi-user.target.wants/ovirt-en

Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 2:44 PM, Dan Kenigsberg wrote:

> Is it repeatable that vdsm is down after boot?


I will try asap and report back (I have first to solve the problem
regarding webadmin accessibility first, see other thread ;-)

question/doubt:
If I install a host without configuring power mgmt at that point, then
after the first reboot initiated by the engine, still I have in some way to
select
"confirm host has been rebooted"
or is this not required for the initial deploy?

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Dan Kenigsberg
On Tue, Jan 15, 2013 at 12:14:45PM +0100, Gianluca Cecchi wrote:
> On Tue, Jan 15, 2013 at 11:49 AM, Dan Kenigsberg  wrote:
> 
> > vdsClient -s 0 getVdsCaps
> >
> > would access localhost vdsm (assuming you are using the default ssl). If it
> > barfs, we have a problem.
> >
> 
> # systemctl status vdsmd.service
> vdsmd.service - Virtual Desktop Server Manager
>   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>   Active: inactive (dead)

So vdsm is enabled, it should've been up after reboot.
But it has died. Maybe you can findout when it has happened, and
correlate this to vdsm.log or libvirtd.log for clues.
I'm out of guesses right now.

>   CGroup: name=systemd:/system/vdsmd.service
> 
> 
> # vdsClient -s 0 getVdsCaps
> Connection to 10.4.4.59:54321 refused
> 
> # systemctl start vdsmd.service
> #
> 
> # systemctl status vdsmd.service
> vdsmd.service - Virtual Desktop Server Manager
>   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>   Active: active (running) since Tue, 2013-01-15 12:09:11 CET; 15s ago
>  Process: 6566 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited,
> status=0/SUCCESS)
> Main PID: 6834 (respawn)
>   CGroup: name=systemd:/system/vdsmd.service
>   ├ 6834 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon
> --masterpid /var/run/vdsm/respawn.pid ...
>   ├ 6837 /usr/bin/python /usr/share/vdsm/vdsm
>   ├ 6855 /usr/bin/sudo -n /usr/bin/python
> /usr/share/vdsm/supervdsmServer.py d1587fa5-b439-4a5e-bca3-e3971dc08...
>   └ 6856 /usr/bin/python /usr/share/vdsm/supervdsmServer.py
> d1587fa5-b439-4a5e-bca3-e3971dc08627 6837 /var/run...
> 
> Jan 15 12:09:11 f18ovn03runuser[6831]: pam_unix(runuser:session): session
> closed for user vdsm
> Jan 15 12:09:11 f18ovn03 systemd-vdsmd[6566]: [27B blob data]
> Jan 15 12:09:11 f18ovn03 systemd[1]: Started Virtual Desktop Server Manager.
> Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 2
> Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 2
> Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 3
> Jan 15 12:09:11 f18ovn03 vdsm[6837]: vdsm fileUtils WARNING Dir
> /rhev/data-center/mnt already exists
> Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm Storage.LVM WARNING lvm pvs
> failed: 5 [] ['  Skipping clustered vo...T01']
> Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm Storage.LVM WARNING lvm vgs
> failed: 5 [] ['  Skipping clustered vo...T01']
> Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm vds WARNING Unable to load the
> json rpc server module. Please make...lled.
> 
> Is it normal the message regarding
> WARNING Dir /rhev/data-center/mnt already exists

yeah, just another log noise, I suppose :-(

> 
> ?
> 
> Now
> # vdsClient -s 0 getVdsCaps
> HBAInventory = {'iSCSI': [{'InitiatorName':
> 'iqn.1994-05.com.redhat:3563e5612db4'}], 'FC': [{'wwpn':
> '50014380011bf958', 'wwnn': '50014380011bf959', 'model': 'QMH2462 -
> PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA'}, {'wwpn':
> '50014380011bf95a', 'wwnn': '50014380011bf95b', 'model': 'QMH2462 -
> PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA'}]}
> ISCSIInitiatorName = iqn.1994-05.com.redhat:3563e5612db4
> bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '',
> 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg':
> {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
> '00:00:00:00:00:00'}}
> bridges = {'ovirtmgmt': {'addr': '10.4.4.59', 'cfg': {'IPV6INIT': 'no',
> 'IPADDR': '10.4.4.59', 'ONBOOT': 'yes', 'DELAY': '0', 'NM_CONTROLLED':
> 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'DEVICE':
> 'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '10.4.4.250'}, 'mtu': '1500',
> 'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['em3']}}
> clusterLevels = ['3.0', '3.1', '3.2']
> cpuCores = 8
> cpuFlags =
> fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,rdtscp,lm,3dnowext,3dnow,rep_good,nopl,extd_apicid,pni,cx16,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,model_athlon,model_Opteron_G1,model_Opteron_G2
> cpuModel = Dual-Core AMD Opteron(tm) Processor 8222
> cpuSockets = 4
> cpuSpeed = 3013.706
> cpuThreads = 8
> emulatedMachines = ['pc-1.2', 'none', 'pc', 'pc-1.1', 'pc-1.0', 'pc-0.15',
> 'pc-0.14', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']
> guestOverhead = 65
> hooks = {}
> kvmEnabled = true
> lastClient = 10.4.4.60
> lastClientIface = ovirtmgmt
> management_ip =
> memSize = 32176
> netConfigDirty = False
> networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '10.4.4.59', 'cfg':
> {'IPV6INIT': 'no', 'IPADDR': '10.4.4.59', 'ONBOOT': 'yes', 'DELAY': '0',
> 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none',
> 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '10.4.4.250'}, 'mtu':
> '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True,
> 'gateway': '10.4.4.250', 'ports': ['em3']}}
> nics = {'em4': {'addr': '', 'cfg': {'DEVICE': 'em4', 'HWADDR':

Re: [Users] vnic : add a custom properties and use it in vdsm_hook

2013-01-15 Thread Moti Asayag
On 12/14/2012 02:32 PM, Dan Kenigsberg wrote:
> On Thu, Dec 06, 2012 at 09:32:03AM +0100, Benoit ML wrote:
>> Hello,
>>
>> Thanks for your answer. Well i've the same feeling : it would be great
>> but need some works to have a per device custom properties : database
>> schema upgrade, code interfaces modifications, ... and I'm not a java
>> dev.
> 
> Neither do I... But if we get an agreement about the api we can start
> working, at least in the vdsm side.
> 
> While we deliberate, please note that we now have a new veb that is
> capable of changing VM connectivity (updateDevice) which does not have
> any hookpoint at all. I think that hook users would be interested to be
> notified when a nic is connected/disconnected to a new network, so I
> really hope that someone finds the time to implement it.
> 
>>
>>
>> Regards,
>>
>> 2012/12/2 Dan Kenigsberg :
>>> On Fri, Nov 30, 2012 at 02:15:31PM +0100, Benoit ML wrote:
 Hello Evrybody,

 Is there a way to add custom properties for a nic ? and use it in 
 vdsm_hooks ?

 The objectife is to redefine some network parameters of a vnic at the
 vm boot ... (such per vnic bandwitchs, per vnic vlan, and so on) and
 maybe use openvswitch ...
>>>
>>> I would very much like to see something like that, but at the moment,
>>> custom properties exist only in the VM level.
>>>
>>> You could hack around it by defining nicproperties that accepts a
>>> nested dictionary of {nicID: {property: value}, }
>>> But it would be a cruel and unusual punishment to edit it.
>>>
>>> Not long ago, Itzik and Mark discussed the need of per-nic custom
>>> properties on Gerrit. At least on the Vdsm side, it would rather easy to
>>> define: I suggest that each "device" definition would have a "custom"
>>> attribute, similar to the per-vm one. This should be a dictionary
>>> holding unicode key/value pairs, that would be passed as
>>> _ environment variables to the hook script.
>>>
>>> I know Engine much less, but I do not suppose it would be hard to model
>>> something like this there.
>>>
>>> Dan.

There is already a field on VM device level named specParams that can serve this
purpose. VmDevice.specParams is defined as a map.
It is used in few scenarios such as VM payload (on vm level).

The specParams is persisted to vm devices table and passes to any VDSM command
start of 3.1 for the device, therefore minor changes are required to DB layer
and to vdsbroker module to complete this functionality.

Most of the work is on exposing the map to the clients: Since the specParams
degined to be specificed per VM device, it makes sense to configure them on
a specific entity action: Add/Update vNic.

The specParams could be exposed as another parameter of the actions (Add/Update 
vNic) 
and modelled as an attribute of the NIC property - probably should be further 
discussed 
on arch/engine-devel.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] web admin portal not reachable after reboot

2013-01-15 Thread Yaniv Kaul
- Original Message -

> Hello,
> tried to simulate some maintenance operations and restart the f18
> server where I installed the engine, version
> 3.2.0-1.20130113.gitc954518

> I'm unable to connect to it after
> shutdown -r now

> The engine seems started correctly

> Even after

> systemctl restart ovirt-engine.service
> I'm not able to connect via web
> I can see this in httpd logs:

> [Tue Jan 15 13:38:08.512923 2013] [mpm_prefork:notice] [pid 1132]
> AH00170: caught SIGWINCH, shutting down gracefully
> [Tue Jan 15 13:38:50.950219 2013] [core:notice] [pid 1097] SELinux
> policy enabled; httpd running as context
> system_u:system_r:httpd_t:s0
> [Tue Jan 15 13:38:51.014967 2013] [suexec:notice] [pid 1097] AH01232:
> suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
> [Tue Jan 15 13:38:52.000997 2013] [ssl:notice] [pid 1097] AH01886:
> SSL FIPS mode disabled
> [Tue Jan 15 13:38:52.146753 2013] [auth_digest:notice] [pid 1097]
> AH01757: generating secret for digest authentication ...
> [Tue Jan 15 13:38:53.000950 2013] [lbmethod_heartbeat:notice] [pid
> 1097] AH02282: No slotmem from mod_heartmonitor
> [Tue Jan 15 13:38:53.001039 2013] [ssl:notice] [pid 1097] AH01886:
> SSL FIPS mode disabled
> [Tue Jan 15 13:38:53.012520 2013] [mpm_prefork:notice] [pid 1097]
> AH00163: Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips configured --
> resuming normal operations
> [Tue Jan 15 13:38:53.012539 2013] [core:notice] [pid 1097] AH00094:
> Command line: '/usr/sbin/httpd -D FOREGROUND'

> # getenforce
> Permissive

> # systemctl status httpd.service
> httpd.service - The Apache HTTP Server
> Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
> Active: active (running) since Tue, 2013-01-15 13:38:53 CET; 9min ago
> Main PID: 1097 (httpd)
> Status: "Total requests: 0; Current requests/sec: 0; Current traffic:
> 0 B/sec"
> CGroup: name=systemd:/system/httpd.service
> ├ 1097 /usr/sbin/httpd -DFOREGROUND
> ├ 1267 /usr/sbin/httpd -DFOREGROUND
> ├ 1268 /usr/sbin/httpd -DFOREGROUND
> ├ 1269 /usr/sbin/httpd -DFOREGROUND
> ├ 1270 /usr/sbin/httpd -DFOREGROUND
> └ 1271 /usr/sbin/httpd -DFOREGROUND

> Jan 15 13:38:53 f18engine.ceda.polimi.it systemd[1]: Started The
> Apache HTTP Server.

> # systemctl status ovirt-engine.service
> ovirt-engine.service - oVirt Engine
> Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service;
> enabled)
> Active: active (running) since Tue, 2013-01-15 13:38:53 CET; 9min ago
> Process: 1233 ExecStart=/usr/bin/engine-service start (code=exited,
> status=0/SUCCESS)
> Main PID: 1274 (java)
> CGroup: name=systemd:/system/ovirt-engine.service
> └ 1274 engine-service -server -XX:+TieredCompilation -Xms1g -Xmx1g
> -XX:PermSize=256m -XX:MaxPermSize=256m -D...

> Jan 15 13:38:51 f18engine systemd[1]: Starting oVirt Engine...
> Jan 15 13:38:53 f18engine engine-service[1233]: Started engine
> process 1274.
> Jan 15 13:38:53 f18engine engine-service[1233]: Starting
> engine-service: [ OK ]
> Jan 15 13:38:53 f18engine systemd[1]: Started oVirt Engine.

> On browser I get after trying
> server is taking to much to answer...

> Before shutdown it was ok

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

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


[Users] web admin portal not reachable after reboot

2013-01-15 Thread Gianluca Cecchi
Hello,
tried to simulate some maintenance operations and restart the f18 server
where I installed the engine, version
3.2.0-1.20130113.gitc954518

I'm unable to connect to it after
shutdown -r now

The engine seems started correctly

Even after

systemctl restart ovirt-engine.service
I'm not able to connect via web
I can see this in httpd logs:

[Tue Jan 15 13:38:08.512923 2013] [mpm_prefork:notice] [pid 1132] AH00170:
caught SIGWINCH, shutting down gracefully
[Tue Jan 15 13:38:50.950219 2013] [core:notice] [pid 1097] SELinux policy
enabled; httpd running as context system_u:system_r:httpd_t:s0
[Tue Jan 15 13:38:51.014967 2013] [suexec:notice] [pid 1097] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 15 13:38:52.000997 2013] [ssl:notice] [pid 1097] AH01886: SSL FIPS
mode disabled
[Tue Jan 15 13:38:52.146753 2013] [auth_digest:notice] [pid 1097] AH01757:
generating secret for digest authentication ...
[Tue Jan 15 13:38:53.000950 2013] [lbmethod_heartbeat:notice] [pid 1097]
AH02282: No slotmem from mod_heartmonitor
[Tue Jan 15 13:38:53.001039 2013] [ssl:notice] [pid 1097] AH01886: SSL FIPS
mode disabled
[Tue Jan 15 13:38:53.012520 2013] [mpm_prefork:notice] [pid 1097] AH00163:
Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips configured -- resuming normal
operations
[Tue Jan 15 13:38:53.012539 2013] [core:notice] [pid 1097] AH00094: Command
line: '/usr/sbin/httpd -D FOREGROUND'

# getenforce
Permissive

# systemctl status httpd.service
httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
  Active: active (running) since Tue, 2013-01-15 13:38:53 CET; 9min ago
Main PID: 1097 (httpd)
  Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0
B/sec"
  CGroup: name=systemd:/system/httpd.service
  ├ 1097 /usr/sbin/httpd -DFOREGROUND
  ├ 1267 /usr/sbin/httpd -DFOREGROUND
  ├ 1268 /usr/sbin/httpd -DFOREGROUND
  ├ 1269 /usr/sbin/httpd -DFOREGROUND
  ├ 1270 /usr/sbin/httpd -DFOREGROUND
  └ 1271 /usr/sbin/httpd -DFOREGROUND

Jan 15 13:38:53 f18engine.ceda.polimi.it systemd[1]: Started The Apache
HTTP Server.

# systemctl status ovirt-engine.service
ovirt-engine.service - oVirt Engine
  Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled)
  Active: active (running) since Tue, 2013-01-15 13:38:53 CET; 9min ago
 Process: 1233 ExecStart=/usr/bin/engine-service start (code=exited,
status=0/SUCCESS)
Main PID: 1274 (java)
  CGroup: name=systemd:/system/ovirt-engine.service
  └ 1274 engine-service -server -XX:+TieredCompilation -Xms1g -Xmx1g
-XX:PermSize=256m -XX:MaxPermSize=256m -D...

Jan 15 13:38:51 f18engine systemd[1]: Starting oVirt Engine...
Jan 15 13:38:53 f18engine engine-service[1233]: Started engine process 1274.
Jan 15 13:38:53 f18engine engine-service[1233]: Starting engine-service: [
 OK  ]
Jan 15 13:38:53 f18engine systemd[1]: Started oVirt Engine.

On browser I get after trying
server is taking to much to answer...

Before shutdown it was ok
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] spm keeps on shifting between nodes continously

2013-01-15 Thread Jithin Raju
Hi Haim,

I am using posixfs(gluster). I just created one volume with one brick on
each server (distribute).
This volume is attached as data domain.

Results after executing the given commands in host 1:
[root@fig /]# vdsClient -s 0 getConnectedStoragePoolsList
a8c8bb22-5f04-11e2-986d-525400927148

[root@fig /]# vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0
getConnectedStoragePoolsList`
name = dc
isoprefix =
pool_status = connected
lver = 58
domains = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3:Active
master_uuid = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3
version = 0
spm_id = 1
type = SHAREDFS
master_ver = 1
1dc4f865-f151-4016-b8f3-3dcc0eca93a3 = {'status': 'Active',
'diskfree': '98272764', 'alerts': [], 'disktotal': '1035756371968'}

host 2:
[root@blueberry /]# vdsClient -s 0 getConnectedStoragePoolsList
a8c8bb22-5f04-11e2-986d-525400927148

[root@blueberry /]# vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0
getConnectedStoragePoolsList`
name = dc
isoprefix =
pool_status = connected
lver = 61
domains = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3:Active
master_uuid = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3
version = 0
spm_id = 2
type = SHAREDFS
master_ver = 1
1dc4f865-f151-4016-b8f3-3dcc0eca93a3 = {'status': 'Active',
'diskfree': '982726868992', 'alerts': [], 'disktotal': '1035756371968'}

Thanks,
Jithin






On Tue, Jan 15, 2013 at 5:47 PM, Haim Ateya  wrote:

> what type of storage are you using? is it posix btw? can you please issues
> the following command on both hosts:
>
> vdsClient -s 0 getConnectedStoragePoolsList
> vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0
> getConnectedStoragePoolsList`
>
>
> - Original Message -
> > From: "Jithin Raju" 
> > To: users@ovirt.org
> > Sent: Tuesday, January 15, 2013 12:22:50 PM
> > Subject: [Users] spm keeps on shifting between nodes continously
> >
> >
> >
> > Hi,
> >
> >
> > I have 2 nodes of ovirt 3.1+ gluster. When i am trying to activate
> > the Data center its changing to up then contend then back up
> > continuously.
> >
> >
> > Same way along with the above SPM status is shifting between the two
> > nodes continously.
> >
> >
> > With one node its working fine.
> >
> >
> > Somebody has reported this before I remember, but do not remember the
> > fix.
> >
> >
> > engine log:
> >
> > 2013-01-15 15:50:41,762 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] START,
> > HSMGetAllTasksInfoVDSCommand(vdsId =
> > 7caf739e-5ef7-11e2-aa89-525400927148), log id: 59dae374
> > 2013-01-15 15:50:41,791 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> > HSMGetAllTasksInfoVDSCommand, return: [], log id: 59dae374
> > 2013-01-15 15:50:41,793 INFO
> > [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> > SPMGetAllTasksInfoVDSCommand, return: [], log id: 77055e85
> > 2013-01-15 15:50:41,795 INFO
> > [org.ovirt.engine.core.bll.AsyncTaskManager]
> > (QuartzScheduler_Worker-66) [16c01e11]
> > AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks
> > on Storage Pool DC
> > 2013-01-15 15:50:41,796 INFO
> > [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] START,
> > SPMGetAllTasksInfoVDSCommand(storagePoolId =
> > 1a995d7c-5ef3-11e2-a8c4-525400927148, ignoreFailoverLimit = false,
> > compatabilityVersion = null), log id: 318b02c2
> > 2013-01-15 15:50:41,798 INFO
> > [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] --
> > SPMGetAllTasksInfoVDSCommand::ExecuteIrsBrokerCommand: Attempting on
> > storage pool 1a995d7c-5ef3-11e2-a8c4-525400927148
> > 2013-01-15 15:50:41,800 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] START,
> > HSMGetAllTasksInfoVDSCommand(vdsId =
> > 7caf739e-5ef7-11e2-aa89-525400927148), log id: 22d29c5b
> > 2013-01-15 15:50:41,832 INFO
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> > HSMGetAllTasksInfoVDSCommand, return: [], log id: 22d29c5b
> > 2013-01-15 15:50:41,836 INFO
> > [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> > (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> > SPMGetAllTasksInfoVDSCommand, return: [], log id: 318b02c2
> > 2013-01-15 15:50:41,841 INFO
> > [org.ovirt.engine.core.bll.AsyncTaskManager]
> > (QuartzScheduler_Worker-66) [16c01e11]
> > AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks
> > on Storage Pool DC
> > 2013-01-15 15:50:51,830 ERROR
> > [org.ovirt.engine.core.vdsbroker.irsbroker.

[Users] ovirt node installation

2013-01-15 Thread Mikael Bergemalm
Hi,
I'm trying to install an ovirt node using the
"ovirt-node-iso-2.5.5-0.1.fc17.iso" on a HP proliant DL360 G6 but when I
get to the graphical install page the server seems frozen and I can't
choose any options. Is there an all text-based installation I can use in
some way?

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


Re: [Users] spm keeps on shifting between nodes continously

2013-01-15 Thread Haim Ateya
what type of storage are you using? is it posix btw? can you please issues the 
following command on both hosts:

vdsClient -s 0 getConnectedStoragePoolsList
vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0 getConnectedStoragePoolsList`


- Original Message -
> From: "Jithin Raju" 
> To: users@ovirt.org
> Sent: Tuesday, January 15, 2013 12:22:50 PM
> Subject: [Users] spm keeps on shifting between nodes continously
> 
> 
> 
> Hi,
> 
> 
> I have 2 nodes of ovirt 3.1+ gluster. When i am trying to activate
> the Data center its changing to up then contend then back up
> continuously.
> 
> 
> Same way along with the above SPM status is shifting between the two
> nodes continously.
> 
> 
> With one node its working fine.
> 
> 
> Somebody has reported this before I remember, but do not remember the
> fix.
> 
> 
> engine log:
> 
> 2013-01-15 15:50:41,762 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] START,
> HSMGetAllTasksInfoVDSCommand(vdsId =
> 7caf739e-5ef7-11e2-aa89-525400927148), log id: 59dae374
> 2013-01-15 15:50:41,791 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> HSMGetAllTasksInfoVDSCommand, return: [], log id: 59dae374
> 2013-01-15 15:50:41,793 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> SPMGetAllTasksInfoVDSCommand, return: [], log id: 77055e85
> 2013-01-15 15:50:41,795 INFO
> [org.ovirt.engine.core.bll.AsyncTaskManager]
> (QuartzScheduler_Worker-66) [16c01e11]
> AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks
> on Storage Pool DC
> 2013-01-15 15:50:41,796 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] START,
> SPMGetAllTasksInfoVDSCommand(storagePoolId =
> 1a995d7c-5ef3-11e2-a8c4-525400927148, ignoreFailoverLimit = false,
> compatabilityVersion = null), log id: 318b02c2
> 2013-01-15 15:50:41,798 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] --
> SPMGetAllTasksInfoVDSCommand::ExecuteIrsBrokerCommand: Attempting on
> storage pool 1a995d7c-5ef3-11e2-a8c4-525400927148
> 2013-01-15 15:50:41,800 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] START,
> HSMGetAllTasksInfoVDSCommand(vdsId =
> 7caf739e-5ef7-11e2-aa89-525400927148), log id: 22d29c5b
> 2013-01-15 15:50:41,832 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> HSMGetAllTasksInfoVDSCommand, return: [], log id: 22d29c5b
> 2013-01-15 15:50:41,836 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,
> SPMGetAllTasksInfoVDSCommand, return: [], log id: 318b02c2
> 2013-01-15 15:50:41,841 INFO
> [org.ovirt.engine.core.bll.AsyncTaskManager]
> (QuartzScheduler_Worker-66) [16c01e11]
> AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks
> on Storage Pool DC
> 2013-01-15 15:50:51,830 ERROR
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]
> (QuartzScheduler_Worker-44)
> irsBroker::BuildStorageDynamicFromXmlRpcStruct::Failed building
> Storage dynamic, xmlRpcStruct =
> org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct@7fdd2faf
> 2013-01-15 15:50:51,832 ERROR
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]
> (QuartzScheduler_Worker-44)
> org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
> IRSErrorException:
> 2013-01-15 15:50:51,833 ERROR
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
> (QuartzScheduler_Worker-44) IrsBroker::Failed::GetStoragePoolInfoVDS
> due to: IRSErrorException: IRSErrorException:
> 2013-01-15 15:50:51,865 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
> (QuartzScheduler_Worker-44) START, SpmStopVDSCommand(vdsId =
> 7caf739e-5ef7-11e2-aa89-525400927148, storagePoolId =
> 1a995d7c-5ef3-11e2-a8c4-525400927148), log id: 6c7ade5e
> 2013-01-15 15:50:51,899 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
> (QuartzScheduler_Worker-44) SpmStopVDSCommand::Stopping SPM on vds
> blueberry, pool id 1a995d7c-5ef3-11e2-a8c4-525400927148
> 2013-01-15 15:50:53,032 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
> (QuartzScheduler_Worker-44) FINISH, SpmStopVDSCommand, log id:
> 6c7ade5e
> 2013-01-15 15:50:53,036 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
> (QuartzScheduler_Worker-44) Irs placed on server null failed.
> Proceed Failover
> 2013-01-15 15:50:53,046 INFO
> [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
> (QuartzScheduler_Worker-44) [3f11e766] Running command:
> SetStoragePoolStatusCommand internal: true. Ent

Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 11:49 AM, Dan Kenigsberg  wrote:

> vdsClient -s 0 getVdsCaps
>
> would access localhost vdsm (assuming you are using the default ssl). If it
> barfs, we have a problem.
>

# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
  Active: inactive (dead)
  CGroup: name=systemd:/system/vdsmd.service


# vdsClient -s 0 getVdsCaps
Connection to 10.4.4.59:54321 refused

# systemctl start vdsmd.service
#

# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
  Active: active (running) since Tue, 2013-01-15 12:09:11 CET; 15s ago
 Process: 6566 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited,
status=0/SUCCESS)
Main PID: 6834 (respawn)
  CGroup: name=systemd:/system/vdsmd.service
  ├ 6834 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon
--masterpid /var/run/vdsm/respawn.pid ...
  ├ 6837 /usr/bin/python /usr/share/vdsm/vdsm
  ├ 6855 /usr/bin/sudo -n /usr/bin/python
/usr/share/vdsm/supervdsmServer.py d1587fa5-b439-4a5e-bca3-e3971dc08...
  └ 6856 /usr/bin/python /usr/share/vdsm/supervdsmServer.py
d1587fa5-b439-4a5e-bca3-e3971dc08627 6837 /var/run...

Jan 15 12:09:11 f18ovn03runuser[6831]: pam_unix(runuser:session): session
closed for user vdsm
Jan 15 12:09:11 f18ovn03 systemd-vdsmd[6566]: [27B blob data]
Jan 15 12:09:11 f18ovn03 systemd[1]: Started Virtual Desktop Server Manager.
Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 2
Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 2
Jan 15 12:09:11 f18ovn03 python[6837]: DIGEST-MD5 client step 3
Jan 15 12:09:11 f18ovn03 vdsm[6837]: vdsm fileUtils WARNING Dir
/rhev/data-center/mnt already exists
Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm Storage.LVM WARNING lvm pvs
failed: 5 [] ['  Skipping clustered vo...T01']
Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm Storage.LVM WARNING lvm vgs
failed: 5 [] ['  Skipping clustered vo...T01']
Jan 15 12:09:14 f18ovn03 vdsm[6837]: vdsm vds WARNING Unable to load the
json rpc server module. Please make...lled.

Is it normal the message regarding
WARNING Dir /rhev/data-center/mnt already exists

?

Now
# vdsClient -s 0 getVdsCaps
HBAInventory = {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:3563e5612db4'}], 'FC': [{'wwpn':
'50014380011bf958', 'wwnn': '50014380011bf959', 'model': 'QMH2462 -
PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA'}, {'wwpn':
'50014380011bf95a', 'wwnn': '50014380011bf95b', 'model': 'QMH2462 -
PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA'}]}
ISCSIInitiatorName = iqn.1994-05.com.redhat:3563e5612db4
bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '',
'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg':
{}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
'00:00:00:00:00:00'}}
bridges = {'ovirtmgmt': {'addr': '10.4.4.59', 'cfg': {'IPV6INIT': 'no',
'IPADDR': '10.4.4.59', 'ONBOOT': 'yes', 'DELAY': '0', 'NM_CONTROLLED':
'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'DEVICE':
'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '10.4.4.250'}, 'mtu': '1500',
'netmask': '255.255.255.0', 'stp': 'off', 'ports': ['em3']}}
clusterLevels = ['3.0', '3.1', '3.2']
cpuCores = 8
cpuFlags =
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,rdtscp,lm,3dnowext,3dnow,rep_good,nopl,extd_apicid,pni,cx16,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,model_athlon,model_Opteron_G1,model_Opteron_G2
cpuModel = Dual-Core AMD Opteron(tm) Processor 8222
cpuSockets = 4
cpuSpeed = 3013.706
cpuThreads = 8
emulatedMachines = ['pc-1.2', 'none', 'pc', 'pc-1.1', 'pc-1.0', 'pc-0.15',
'pc-0.14', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']
guestOverhead = 65
hooks = {}
kvmEnabled = true
lastClient = 10.4.4.60
lastClientIface = ovirtmgmt
management_ip =
memSize = 32176
netConfigDirty = False
networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '10.4.4.59', 'cfg':
{'IPV6INIT': 'no', 'IPADDR': '10.4.4.59', 'ONBOOT': 'yes', 'DELAY': '0',
'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none',
'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'GATEWAY': '10.4.4.250'}, 'mtu':
'1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True,
'gateway': '10.4.4.250', 'ports': ['em3']}}
nics = {'em4': {'addr': '', 'cfg': {'DEVICE': 'em4', 'HWADDR':
'00:1c:c4:ab:3a:de', 'ONBOOT': 'yes', 'NM_CONTROLLED': 'no'}, 'mtu':
'1500', 'netmask': '', 'hwaddr': '00:1c:c4:ab:3a:de', 'speed': 1000},
'em1': {'addr': '', 'cfg': {'DEVICE': 'em1', 'NM_CONTROLLED': 'no', 'TYPE':
'Ethernet', 'ONBOOT': 'yes', 'HWADDR': '00:1E:0B:21:B8:C4'}, 'mtu': '1500',
'netmask': '', 'hwaddr': '00:1e:0b:21:b8:c4', 'speed': 1000}, 'em3':
{'addr': '', 'cfg': {'BRIDGE': 'ovirtmgmt', 'IPV6INIT': 'no',
'NM_CONTROLLED': 'no', 'DEVICE': 'em3', 'HWADDR': '00:1c:c4:ab:3a:dd',
'ONBOOT': 'yes'}, 'mtu': 

Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Dan Kenigsberg
On Tue, Jan 15, 2013 at 11:38:29AM +0100, Gianluca Cecchi wrote:
> On Tue, Jan 15, 2013 at 11:30 AM, Dan Kenigsberg wrote:
> 
> > Do you have systemd's logs (/var/log/messages may have traces of vdsm's
> > stop/start).
> >
> > What happens id you start vdsm now, does it crash again or happily running?
> >
> 
> I found this strange line in messages tat could indicate something:
> Jan 15 06:07:16 f18ovn03 vdsm vds WARNING Unable to load the json rpc
> server module. Please make sure it is installed.

That's plain log noise, since you do not have vdsm-json installed. oVirt
currently uses only xmlrpc, so this is not a real issue. I suppose that
the language of this line should be fined to something like "If you
really want jsonrpc, please make sure it is installed".

> 
> Anyway full node messages here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvZnRZZnMtdU9hR28/edit

It seems that vdsm has stopped since the host was rebooted...

Jan 15 06:07:16 f18ovn03 vdsm vds WARNING Unable to load the json rpc server mod
Jan 15 06:07:18 f18ovn03 systemd[1]: Deactivating swap /dev/dm-0...
Jan 15 06:07:18 f18ovn03 systemd[1]: Deactivating swap /dev/dm-0...
Jan 15 06:07:18 f18ovn03 systemd[1]: Deactivating swap /dev/dm-0...
Jan 15 06:07:18 f18ovn03 systemd[1]: Deactivating swap /dev/dm-0...
Jan 15 06:07:18 f18ovn03 systemd[1]: Deactivating swap /dev/dm-0...
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopping Stop Read-Ahead Data Collection 10
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopped Stop Read-Ahead Data Collection 10s
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopping Shared Storage Lease Manager...
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopping Watchdog Multiplexing Daemon...
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopping Network Time Service...
Jan 15 06:07:18 f18ovn03 systemd[1]: Stopping Multi-User.

the only remaining question is why vdsm did not start up after boot. Could it
be that it is missing `systemctl enable`?

> 
> I asked a guy that can access the server to run
> 
> systemctl status vdsmd.service
> (I forgot a final d in the service daemon name in the previous e-mail)
> 
> and a
> systemctl start vdsmd.service
> 
> At the same time if you have any hint for vdsClient command it is welcome...
> Gianluca

vdsClient -s 0 getVdsCaps

would access localhost vdsm (assuming you are using the default ssl). If it
barfs, we have a problem.

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 11:30 AM, Dan Kenigsberg wrote:

> Do you have systemd's logs (/var/log/messages may have traces of vdsm's
> stop/start).
>
> What happens id you start vdsm now, does it crash again or happily running?
>

I found this strange line in messages tat could indicate something:
Jan 15 06:07:16 f18ovn03 vdsm vds WARNING Unable to load the json rpc
server module. Please make sure it is installed.

Anyway full node messages here:
https://docs.google.com/file/d/0BwoPbcrMv8mvZnRZZnMtdU9hR28/edit

I asked a guy that can access the server to run

systemctl status vdsmd.service
(I forgot a final d in the service daemon name in the previous e-mail)

and a
systemctl start vdsmd.service

At the same time if you have any hint for vdsClient command it is welcome...
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Dan Kenigsberg
On Tue, Jan 15, 2013 at 11:13:39AM +0100, Gianluca Cecchi wrote:
> On Tue, Jan 15, 2013 at 9:20 AM, Alon Bar-Lev  wrote:
> 
> > Can you just confirm that vdsm is up on host and attach
> > /var/log/vdsm/vdsm.log?
> 
> 
> right now I'm out of office, but I collected the vdsm.log and it is here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvQW9lTnhtN3VJRTA/edit
> 
> what t execute to see if the vdsm is up?
> 
> systemctl status vdsm.service ?
> or anything similar?

Yes, and you can check its reponsiveness with vdsClient; tailing
/var/log/vdsm.log can give clues, too.

I see that something has asked vdsm to stop:

MainThread::INFO::2013-01-15 06:07:19,097::logUtils::41::dispatcher::(wrapper) 
Run and protect: prepareForShutdown(options=None)

Do you have systemd's logs (/var/log/messages may have traces of vdsm's
stop/start).

What happens id you start vdsm now, does it crash again or happily running?

> 
> As you will see in the log, the server has access to some clustered volumes
> that it skips... for example you see
> 
> storageRefresh::DEBUG::2013-01-15
> 06:07:15,735::misc::84::Storage.Misc.excCmd::() FAILED:  = '
>  Skipping clustered volume group VG_VIRT04\n  Skipping volume group
> VG_VIRT04\n  Skipping clustered volume group VG_VIRT02\n  Skipping volume
> group VG_VIRT02\n  Skipping clustered volume group VG_VIRT03\n  Skipping
> volume group VG_VIRT03\n  Skipping clustered volume group VG_VIRT03\n
>  Skipping volume group VG_VIRT03\n  Skipping clustered volume group
> VG_VIRT01\n  Skipping volume group VG_VIRT01\n  Skipping clustered volume
> group VG_VIRT01\n  Skipping volume group VG_VIRT01\n';  = 5
> 
> Does this prevent it from correctly starting and so I have to prevent
> access to these luns or can I blacklist them in some way in LVM or instead
> the reason is another one at all?

I believe it's something else. Vdsm can operate with non-accessible VG showing
up in vgs.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] spm keeps on shifting between nodes continously

2013-01-15 Thread Jithin Raju
Hi,

I have 2 nodes of ovirt 3.1+ gluster. When i am trying to activate the Data
center its changing to up then contend then back up continuously.

Same way along with the above SPM status is shifting between the two nodes
continously.

With one node its working fine.

Somebody has reported this before I remember, but do not remember the fix.

engine log:
2013-01-15 15:50:41,762 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] START,
HSMGetAllTasksInfoVDSCommand(vdsId = 7caf739e-5ef7-11e2-aa89-525400927148),
log id: 59dae374
2013-01-15 15:50:41,791 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] FINISH,
HSMGetAllTasksInfoVDSCommand, return: [], log id: 59dae374
2013-01-15 15:50:41,793 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] FINISH,
SPMGetAllTasksInfoVDSCommand, return: [], log id: 77055e85
2013-01-15 15:50:41,795 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager]
(QuartzScheduler_Worker-66) [16c01e11]
AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks on
Storage Pool DC
2013-01-15 15:50:41,796 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] START,
SPMGetAllTasksInfoVDSCommand(storagePoolId =
1a995d7c-5ef3-11e2-a8c4-525400927148, ignoreFailoverLimit = false,
compatabilityVersion = null), log id: 318b02c2
2013-01-15 15:50:41,798 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] --
SPMGetAllTasksInfoVDSCommand::ExecuteIrsBrokerCommand: Attempting on
storage pool 1a995d7c-5ef3-11e2-a8c4-525400927148
2013-01-15 15:50:41,800 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] START,
HSMGetAllTasksInfoVDSCommand(vdsId = 7caf739e-5ef7-11e2-aa89-525400927148),
log id: 22d29c5b
2013-01-15 15:50:41,832 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] FINISH,
HSMGetAllTasksInfoVDSCommand, return: [], log id: 22d29c5b
2013-01-15 15:50:41,836 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]
(QuartzScheduler_Worker-66) [16c01e11] FINISH,
SPMGetAllTasksInfoVDSCommand, return: [], log id: 318b02c2
2013-01-15 15:50:41,841 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager]
(QuartzScheduler_Worker-66) [16c01e11]
AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks on
Storage Pool DC
2013-01-15 15:50:51,830 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]
(QuartzScheduler_Worker-44)
irsBroker::BuildStorageDynamicFromXmlRpcStruct::Failed building Storage
dynamic, xmlRpcStruct =
org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct@7fdd2faf
2013-01-15 15:50:51,832 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]
(QuartzScheduler_Worker-44)
org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
IRSErrorException:
2013-01-15 15:50:51,833 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-44) IrsBroker::Failed::GetStoragePoolInfoVDS due
to: IRSErrorException: IRSErrorException:
2013-01-15 15:50:51,865 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(QuartzScheduler_Worker-44) START, SpmStopVDSCommand(vdsId =
7caf739e-5ef7-11e2-aa89-525400927148, storagePoolId =
1a995d7c-5ef3-11e2-a8c4-525400927148), log id: 6c7ade5e
2013-01-15 15:50:51,899 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(QuartzScheduler_Worker-44) SpmStopVDSCommand::Stopping SPM on vds
blueberry, pool id 1a995d7c-5ef3-11e2-a8c4-525400927148
2013-01-15 15:50:53,032 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(QuartzScheduler_Worker-44) FINISH, SpmStopVDSCommand, log id: 6c7ade5e
2013-01-15 15:50:53,036 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-44) Irs placed on server null failed. Proceed
Failover
2013-01-15 15:50:53,046 INFO
 [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
(QuartzScheduler_Worker-44) [3f11e766] Running command:
SetStoragePoolStatusCommand internal: true. Entities affected :  ID:
1a995d7c-5ef3-11e2-a8c4-525400927148 Type: StoragePool
2013-01-15 15:50:53,091 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-44) [3f11e766] hostFromVds::selectedVds - fig,
spmStatus Free, storage pool DC
2013-01-15 15:50:53,097 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-44) [3f11e766] starting spm on vds fig, storage
pool DC, prevId -1, LVER 27
2013-01-15 15:50:53,103 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-44) [3f11e766] START, SpmStartVDSCommand(vdsId =
d199e4d

Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Alon Bar-Lev
Dan,
Can you please help?
vdsm stops because of what?
Thanks!

- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Tuesday, January 15, 2013 12:13:39 PM
> Subject: Re: [Users] host deploy and after reboot not responsive
> 
> 
> 
> On Tue, Jan 15, 2013 at 9:20 AM, Alon Bar-Lev wrote:
> 
> 
> 
> Can you just confirm that vdsm is up on host and attach
> /var/log/vdsm/vdsm.log?
> 
> right now I'm out of office, but I collected the vdsm.log and it is
> here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvQW9lTnhtN3VJRTA/edit
> 
> 
> 
> what t execute to see if the vdsm is up?
> 
> 
> systemctl status vdsm.service ?
> or anything similar?
> 
> 
> As you will see in the log, the server has access to some clustered
> volumes that it skips... for example you see
> 
> 
> 
> storageRefresh::DEBUG::2013-01-15
> 06:07:15,735::misc::84::Storage.Misc.excCmd::() FAILED:
>  = ' Skipping clustered volume group VG_VIRT04\n Skipping
> volume group VG_VIRT04\n Skipping clustered volume group VG_VIRT02\n
> Skipping volume group VG_VIRT02\n Skipping clustered volume group
> VG_VIRT03\n Skipping volume group VG_VIRT03\n Skipping clustered
> volume group VG_VIRT03\n Skipping volume group VG_VIRT03\n Skipping
> clustered volume group VG_VIRT01\n Skipping volume group VG_VIRT01\n
> Skipping clustered volume group VG_VIRT01\n Skipping volume group
> VG_VIRT01\n';  = 5
> 
> 
> Does this prevent it from correctly starting and so I have to prevent
> access to these luns or can I blacklist them in some way in LVM or
> instead the reason is another one at all?
> 
> 
> Gianluca
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 9:20 AM, Alon Bar-Lev  wrote:

> Can you just confirm that vdsm is up on host and attach
> /var/log/vdsm/vdsm.log?


right now I'm out of office, but I collected the vdsm.log and it is here:
https://docs.google.com/file/d/0BwoPbcrMv8mvQW9lTnhtN3VJRTA/edit

what t execute to see if the vdsm is up?

systemctl status vdsm.service ?
or anything similar?

As you will see in the log, the server has access to some clustered volumes
that it skips... for example you see

storageRefresh::DEBUG::2013-01-15
06:07:15,735::misc::84::Storage.Misc.excCmd::() FAILED:  = '
 Skipping clustered volume group VG_VIRT04\n  Skipping volume group
VG_VIRT04\n  Skipping clustered volume group VG_VIRT02\n  Skipping volume
group VG_VIRT02\n  Skipping clustered volume group VG_VIRT03\n  Skipping
volume group VG_VIRT03\n  Skipping clustered volume group VG_VIRT03\n
 Skipping volume group VG_VIRT03\n  Skipping clustered volume group
VG_VIRT01\n  Skipping volume group VG_VIRT01\n  Skipping clustered volume
group VG_VIRT01\n  Skipping volume group VG_VIRT01\n';  = 5

Does this prevent it from correctly starting and so I have to prevent
access to these luns or can I blacklist them in some way in LVM or instead
the reason is another one at all?

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


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

2013-01-15 Thread Dan Kenigsberg
On Tue, Jan 15, 2013 at 09:02:10AM +, Alex Leonhardt wrote:
> Here you go : https://bugzilla.redhat.com/show_bug.cgi?id=895448

I am not suggesting that 1GB qemu overhead is not interesting, but I do
not think this list is the best place to find the answer. I suggest that
you specify the libvirt and qemu versions, and take the question - and
the bug - to qemu-de...@nongnu.org.

> 
> Ta!
> Alex
> 
> 
> On 15 January 2013 08:54, Alex Leonhardt  wrote:
> 
> > Sure no prob - will do ..
> >
> >
> > On 15 January 2013 07:17, Doron Fediuck  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" 
> >> *To: *"Doron Fediuck" 
> >> *Cc: *"oVirt Mailing List" 
> >> *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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Network reconfiguration in ovirt 3.1

2013-01-15 Thread Dan Kenigsberg
On Mon, Jan 14, 2013 at 01:36:04PM +0200, Itamar Heim wrote:
> On 12/27/2012 03:48 PM, Dan Kenigsberg wrote:
> ...
> >On the other hand, we need to define the management network when a host
> >is added to the setup, and nagging for confirmation for each of them may
> >lead us to the blind baboon acking syndrome.
> >
> >Since I'd like to normalize the way ovirtmgmt is created, and make it
> >more like other networks, I've written up
> >http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
> >
> >If the Add Host dialog had a checkbox saying "define ovirtmgmt network
> >automatically", would it satisfy you? (any other comment to that feature
> >page is welcome).
> 
> 1. in general, I like it. iiuc, you don't really need the management
> network for normal work (engine would connect to host by its fqdn/ip
> by default). if you do want to set a vlan/bond/SLA/roles/etc - then
> you just configure it.

Who is "you" in "you just configure it"?

Currently we let Engine configure all about ovirtmgmt (though persisting
it afterwards may require out-of-band involvment). Do you suggest that
we should drop this completely?

The management network *is* the persistent configuration required for
Engine/Vdsm connectivity. We have to persist vlan id, ip address, mtu,
bonding options, nic identity and probably other stuff. This "stuff" is
aggregated into the "management network" concept. Even if we loose
ovirtmgmt, I'd expect that we'd have to continue managing the "stuff"
behind it.

> 2. need to see how to preserve backward compatibility - i.e.,
> bootstrap will probably need to handle this for older engines.

older engine would continue to use the old initialization process,
which includes passing VDSM/managementBridgeName = ovirtmgmt to otopi
(or use vds_bootsrap). Nothing changes in that front.

> 3. iirc, in ovirt-node the bridge is created prior to bootstrap,
> which wouldn't be needed any more.

Yes, this is another place where we could normalize the process.

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


[Users] iso domain creation error

2013-01-15 Thread Jithin Raju
Hi,

I ran engine-setup for ovirt 3.1fresh installation , while configuring iso
domain  i get this error:

"Should the installer configure NFS share on this server to be used as an
ISO Domain? ['yes'| 'no']  [yes] : yes
Local ISO domain path: /iso
Error: directory /iso is not empty"

my /iso is a separate ext4 filesystem which has "lost+found" directory.
I had to remove "lost+found" directory to get the iso domain created by
engine-setup.

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


Re: [Users] API usage - 3.1

2013-01-15 Thread Michael Pasternak
On 01/14/2013 01:12 PM, Tom Brown wrote:
> 
>>
>> the name of the element is  (not ).
>>
>>
> 
> Many thanks - got it
> 
> Can i also ask is it possible to set an iso to boot from, the boot order and 
> also the console type and if so what are those elements called?

1. you can find elements names in api schema (download it from [1] on your 
rhevm server).
2. vm creation details/examples can be found at [2].

[1] http://server:[port]/api?schema
[2] 
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/Developer_Guide/Red_Hat_Enterprise_Virtualization-3.1-Developer_Guide-en-US.pdf

> 
> cheers
> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
___
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
Here you go : https://bugzilla.redhat.com/show_bug.cgi?id=895448

Ta!
Alex


On 15 January 2013 08:54, Alex Leonhardt  wrote:

> Sure no prob - will do ..
>
>
> On 15 January 2013 07:17, Doron Fediuck  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" 
>> *To: *"Doron Fediuck" 
>> *Cc: *"oVirt Mailing List" 
>> *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 |
>



-- 

| 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  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" 
> *To: *"Doron Fediuck" 
> *Cc: *"oVirt Mailing List" 
> *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


Re: [Users] What do you want to see in oVirt next?

2013-01-15 Thread Alex Leonhardt
+1 for this one ! :) am actually just having a issue using templates across
DCs


On 14 January 2013 17:56, Jim Kinney  wrote:

>
> I would also like to see the ability to share template storage across all
> datacenters seamlessly.
>
> Sharing the templates between multiple datacenters would extremely useful
> especially as long as the stand-alone hosts are in their own datacenter.
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://electjimkinney.org
> http://heretothereideas.blogspot.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 node install hanging on admin login prompt

2013-01-15 Thread Nicolas Ecarnot

Le 14/01/2013 22:24, Jeff Bailey a écrit :

On 1/14/2013 9:08 AM, Nicolas Ecarnot wrote:

Hi,

I'm trying to install oVirt node 2.5.5-0.1.fc17 and it is node going
well. I'm trying to install it on a Dell blade M610 via a iDrac, and
I'm quit accustomed to this kind of thing.

- As I already had the issue of the label on the grub boot line, I
knew how to specify /dev/sr0 or sr1 on the linux line. Well.
- The install is ok with discovering my hard drive, and the
installation seems to be fine. After rebooting, the bott process is
leading me to the login prompt where the documentation tells me to log
as 'admin' with the correct password :

The keyboard is not responding, I can not even type the user name.


Try adding usbcore.autosuspend=-1 to the kernel command line.  I've had
problems with iDRAC 7 virtual consoles with both Fedora 17 and 18 and
this fixes it.  I don't know about iDRAC 6 but trying it couldn't hurt
:)  Getting the machine to always boot with that option could be a bit
tricky with Node.  I'm not sure if you'll just be able to edit the
grub.conf and persist it or not.


Thank you very much, Jeff, this did the trick !
And better than that : adding it on the first use in the kernel line 
leads it to be permanently added in the grub conf even after a reboot.


Nice !

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Tuesday, January 15, 2013 10:11:14 AM
> Subject: Re: [Users] host deploy and after reboot not responsive
> 
> 
> 
> On Tue, Jan 15, 2013 at 9:02 AM, Alon Bar-Lev wrote:
> 
> 
> 
> 
> /var/log/ovirt-engine/engine.log
> /var/log/ovirt-engine/host-deploy/*-.log
> here they are
> 
> 
> engine:
> https://docs.google.com/file/d/0BwoPbcrMv8mvTllaNUh3R1pXMDg/edit
> 
> 
> 
> host-deploy:
> https://docs.google.com/file/d/0BwoPbcrMv8mvQklOS1ZtTFJkbzg/edit
> 
> 
> 
> Thanks,
> Gianluca


It is like the engine does not even try to access this host.

After the 5 minutes wait there is the following:

2013-01-15 06:12:08,895 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-49) 
[b4e1be9] START, SetVdsStatusVDSCommand(HostName = f18ovn03.ceda.polimi.it, 
HostId = 56b94303-99d4-48ca-bc73-b3ff9943270b, status=NonResponsive, 
nonOperationalReason=NONE), log id: 12c2e2ae
2013-01-15 06:12:08,901 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-49) 
[b4e1be9] FINISH, SetVdsStatusVDSCommand, log id: 12c2e2ae

And then nothing.

Can you just confirm that vdsm is up on host and attach /var/log/vdsm/vdsm.log?

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Gianluca Cecchi
On Tue, Jan 15, 2013 at 9:02 AM, Alon Bar-Lev  wrote:

> /var/log/ovirt-engine/engine.log
> /var/log/ovirt-engine/host-deploy/*-.log
>

here they are

engine:
https://docs.google.com/file/d/0BwoPbcrMv8mvTllaNUh3R1pXMDg/edit

host-deploy:
https://docs.google.com/file/d/0BwoPbcrMv8mvQklOS1ZtTFJkbzg/edit

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


Re: [Users] host deploy and after reboot not responsive

2013-01-15 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "users" 
> Sent: Tuesday, January 15, 2013 7:28:45 AM
> Subject: [Users] host deploy and after reboot not responsive
> 
> 
> 
> Hello,
> using ovirt 3.2 on fedora 18 from ovirt-nightly
> 3.2.0-1.20130113.gitc954518
> 
> After deploy and reboot of a fedora 18 host it stays not-responsive.
> What to check and which log files to send from engine and node?

/var/log/ovirt-engine/engine.log
/var/log/ovirt-engine/host-deploy/*-.log

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