[ovirt-users] help with non-standard LDAP authentication

2019-01-01 Thread alan . edwards
I am using an LDAP configuration that either does not expose or contain a 
nsUniqueId value for Groups.  Many of the standard schema fieldnames have been 
changed to contain a company prefix.  I managed to update the profiles enough 
to have the user authentication work properly & search for the LDAP groups now. 
 But I am unable to add the LDAP group due to the following error: 

Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"external_id" violates not-null constraint
  Detail: Failing row contains (dad4b561-6aaa-4e7c-9887-997ba8142d3f, ADMGROUP, 
REALM-authz, null, null, o=BASE)

I've checked the profiles to see if I could possibly remap the nsUniqueID value 
for Groups (thinking of using either the gid or dn value), but I do not see how 
I can have a different value for groups from users.  I have seen a similar 
thread from 3 years ago, but it appeared to have been a different cause.

Any advice or suggestions?  The main goal I am attempting to achieve is to use 
an existing LDAP user group to control who has access to the system such that 
we do not have to add users manually.  

Thanks,
Alan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BZJLVXXKZF6DDJGOHVUVFQWA6AP6HIAO/


[ovirt-users] Re: fail to restore ovirt-engine

2019-01-01 Thread Yedidyah Bar David
On Wed, Jan 2, 2019 at 3:45 AM maoz zadok  wrote:
>
> I really need help here... please!!
> my engine was crashed, I have backups, but the restore failed.
>
> engine-backup --mode=restore --file=backup --log=restore.log 
> --provision-all-databases --restore-permissions
>
> this is the log:
> 2019-01-02 03:39:22 13186: Start of engine-backup mode restore scope all file 
> backup
> 2019-01-02 03:39:22 13186: Setting scl env for rh-postgresql95
> 2019-01-02 03:39:22 13186: OUTPUT: Preparing to restore:
> 2019-01-02 03:39:22 13186: OUTPUT: - Unpacking file 'backup'
> 2019-01-02 03:39:22 13186: Opening tarball backup to 
> /tmp/engine-backup.bGOLRNXeD4
> 2019-01-02 03:39:22 13186: Verifying md5
> 2019-01-02 03:39:22 13186: Verifying version
> 2019-01-02 03:39:22 13186: Reading config
> 2019-01-02 03:39:22 13186: OUTPUT: Restoring:
> 2019-01-02 03:39:22 13186: OUTPUT: - Files
> 2019-01-02 03:39:22 13186: Restoring files
> 2019-01-02 03:39:22 13186: Reloading configuration
> 2019-01-02 03:39:22 13186: OUTPUT: Provisioning PostgreSQL users/databases:
> 2019-01-02 03:39:22 13186: provisionDB: user engine host localhost port 5432 
> database engine secured False secured_host_validation False
> 2019-01-02 03:39:22 13186: OUTPUT: - user 'engine', database 'engine'
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf', 
> '/tmp/engine-backup.bGOLRNXeD4/pg-provision-answer-file']
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033923-c7vy1o.log
>   Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment customization
> [ INFO  ] Stage: Setup validation
> [WARNING] Cannot validate host name settings, reason: resolved host does not 
> match any of the local addresses
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Creating PostgreSQL 'engine' database
> [ INFO  ] Configuring PostgreSQL
> [ INFO  ] Stage: Transaction commit
> [ INFO  ] Stage: Closing up
> [ INFO  ] Stage: Clean up
>   Log file is located at 
> /var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033923-c7vy1o.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ INFO  ] Execution of provisiondb completed successfully
> 2019-01-02 03:39:28 13186: provisionDB: user ovirt_engine_history host 
> localhost port 5432 database ovirt_engine_history secured False 
> secured_host_validation False
> 2019-01-02 03:39:28 13186: OUTPUT: - user 'ovirt_engine_history', database 
> 'ovirt_engine_history'
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: 
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf', 
> '/tmp/engine-backup.bGOLRNXeD4/pg-provision-answer-file']
>   Log file: 
> /var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033928-nit1oc.log
>   Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment customization
> [ INFO  ] Stage: Setup validation
> [WARNING] Cannot validate host name settings, reason: resolved host does not 
> match any of the local addresses
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Creating PostgreSQL 'ovirt_engine_history' database
> [ INFO  ] Configuring PostgreSQL
> [ INFO  ] Stage: Transaction commit
> [ INFO  ] Stage: Closing up
> [ INFO  ] Stage: Clean up
>   Log file is located at 
> /var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033928-nit1oc.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ INFO  ] Execution of provisiondb completed successfully
> 2019-01-02 03:39:34 13186: OUTPUT: Restoring:
> 2019-01-02 03:39:34 13186: Generating pgpass
> 2019-01-02 03:39:34 13186: Verifying connection
> 2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U engine -h localhost -p 
> 5432  engine -c select 1
>  ?column?
> --
> 1
> (1 row)
>
> 2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U engine -h localhost -p 
> 5432  engine -t -c show lc_messages
> 2019-01-02 03:39:34 13186: pg_cmd running: pg_dump -w -U engine -h localhost 
> -p 5432  engine -s
> 2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U ovirt_engine_history -h 
> localhost -p 5432  ovirt_engine_history -c select 1
>  ?column?
> --
> 1
> (1 row)
>
> 2019-01-02 

[ovirt-users] Re: migration failed

2019-01-01 Thread Michal Skrivanek


> On 2 Jan 2019, at 03:02, 董青龙  wrote:
> 
> Hi all,
> I have an ovirt4.2 environment of 3 hosts. Now all vms in this 
> environment could not be migrated. But all the vms could be started on all 3 
> hosts. Anyone can help? Thanks a lot!

can you add source and destination vdsm.log please?

> 
> engine logs:
> 
> 2019-01-02 09:41:26,868+08 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
> (default task-9) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Lock Acquired to 
> object 
> 'EngineLock:{exclusiveLocks='[eff7f697-8a07-46e5-a631-a1011a0eb836=VM]', 
> sharedLocks=''}'
> 2019-01-02 09:41:26,978+08 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Running command: MigrateVmCommand 
> internal: false. Entities affected :  ID: 
> eff7f697-8a07-46e5-a631-a1011a0eb836 Type: VMAction group MIGRATE_VM with 
> role type USER
> 2019-01-02 09:41:27,019+08 INFO  
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, MigrateVDSCommand( 
> MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', 
> vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', 
> dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', 
> migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', 
> autoConverge='true', migrateCompressed='false', consoleAddress='null', 
> maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', 
> maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, 
> params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, 
> {limit=2, action={name=setDowntime, params=[200]}}, {limit=3, 
> action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, 
> params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, 
> {limit=-1, action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), 
> log id: 1bd72db2
> 2019-01-02 09:41:27,019+08 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, 
> MigrateBrokerVDSCommand(HostName = horeb66, 
> MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', 
> vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', 
> dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', 
> migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', 
> autoConverge='true', migrateCompressed='false', consoleAddress='null', 
> maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', 
> maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, 
> params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, 
> {limit=2, action={name=setDowntime, params=[200]}}, {limit=3, 
> action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, 
> params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, 
> {limit=-1, action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), 
> log id: 380b8d38
> 2019-01-02 09:41:27,025+08 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateBrokerVDSCommand, log 
> id: 380b8d38
> 2019-01-02 09:41:27,029+08 INFO  
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateVDSCommand, return: 
> MigratingFrom, log id: 1bd72db2
> 2019-01-02 09:41:27,036+08 INFO  
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-168938) 
> [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] EVENT_ID: VM_MIGRATION_START(62), 
> Migration started (VM: win7, Source: horeb66, Destination: horeb65, User: 
> admin@internal-authz). 
> 2019-01-02 09:41:41,557+08 INFO  
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] VM 
> 'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) moved from 'MigratingFrom' --> 
> 'Up'
> 2019-01-02 09:41:41,557+08 INFO  
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Adding VM 
> 'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) to re-run list
> 2019-01-02 09:41:41,567+08 ERROR 
> [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Rerun VM 
> 'eff7f697-8a07-46e5-a631-a1011a0eb836'. Called from VDS 'horeb66'
> 2019-01-02 09:41:41,570+08 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-168945) [] START, 
> MigrateStatusVDSCommand(HostName = horeb66, 
> 

[ovirt-users] migration failed

2019-01-01 Thread 董青龙
Hi all,
I have an ovirt4.2 environment of 3 hosts. Now all vms in this 
environment could not be migrated. But all the vms could be started on all 3 
hosts. Anyone can help? Thanks a lot!


engine logs:


2019-01-02 09:41:26,868+08 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(default task-9) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[eff7f697-8a07-46e5-a631-a1011a0eb836=VM]', 
sharedLocks=''}'
2019-01-02 09:41:26,978+08 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Running command: MigrateVmCommand 
internal: false. Entities affected :  ID: eff7f697-8a07-46e5-a631-a1011a0eb836 
Type: VMAction group MIGRATE_VM with role type USER
2019-01-02 09:41:27,019+08 INFO  
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, MigrateVDSCommand( 
MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', 
vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', 
dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', 
migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', 
autoConverge='true', migrateCompressed='false', consoleAddress='null', 
maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', 
maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, 
params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, 
{limit=2, action={name=setDowntime, params=[200]}}, {limit=3, 
action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, 
params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, {limit=-1, 
action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), log id: 1bd72db2
2019-01-02 09:41:27,019+08 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, MigrateBrokerVDSCommand(HostName 
= horeb66, 
MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', 
vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', 
dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', 
migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', 
autoConverge='true', migrateCompressed='false', consoleAddress='null', 
maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', 
maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, 
params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, 
{limit=2, action={name=setDowntime, params=[200]}}, {limit=3, 
action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, 
params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, {limit=-1, 
action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), log id: 380b8d38
2019-01-02 09:41:27,025+08 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateBrokerVDSCommand, log id: 
380b8d38
2019-01-02 09:41:27,029+08 INFO  
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateVDSCommand, return: 
MigratingFrom, log id: 1bd72db2
2019-01-02 09:41:27,036+08 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-168938) 
[3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] EVENT_ID: VM_MIGRATION_START(62), 
Migration started (VM: win7, Source: horeb66, Destination: horeb65, User: 
admin@internal-authz). 
2019-01-02 09:41:41,557+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] VM 
'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) moved from 'MigratingFrom' --> 'Up'
2019-01-02 09:41:41,557+08 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Adding VM 
'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) to re-run list
2019-01-02 09:41:41,567+08 ERROR 
[org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Rerun VM 
'eff7f697-8a07-46e5-a631-a1011a0eb836'. Called from VDS 'horeb66'
2019-01-02 09:41:41,570+08 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-168945) [] START, 
MigrateStatusVDSCommand(HostName = horeb66, 
MigrateStatusVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e',
 vmId='eff7f697-8a07-46e5-a631-a1011a0eb836'}), log id: 4ed2923c
2019-01-02 09:41:41,573+08 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 

[ovirt-users] Re: fail to restore ovirt-engine

2019-01-01 Thread maoz zadok
I really need help here... please!!
my engine was crashed, I have backups, but the restore failed.

engine-backup --mode=restore --file=backup --log=restore.log
--provision-all-databases --restore-permissions

this is the log:
2019-01-02 03:39:22 13186: Start of engine-backup mode restore scope all
file backup
2019-01-02 03:39:22 13186: Setting scl env for rh-postgresql95
2019-01-02 03:39:22 13186: OUTPUT: Preparing to restore:
2019-01-02 03:39:22 13186: OUTPUT: - Unpacking file 'backup'
2019-01-02 03:39:22 13186: Opening tarball backup to
/tmp/engine-backup.bGOLRNXeD4
2019-01-02 03:39:22 13186: Verifying md5
2019-01-02 03:39:22 13186: Verifying version
2019-01-02 03:39:22 13186: Reading config
2019-01-02 03:39:22 13186: OUTPUT: Restoring:
2019-01-02 03:39:22 13186: OUTPUT: - Files
2019-01-02 03:39:22 13186: Restoring files
2019-01-02 03:39:22 13186: Reloading configuration
2019-01-02 03:39:22 13186: OUTPUT: Provisioning PostgreSQL users/databases:
2019-01-02 03:39:22 13186: provisionDB: user engine host localhost port
5432 database engine secured False secured_host_validation False
2019-01-02 03:39:22 13186: OUTPUT: - user 'engine', database 'engine'
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
'/tmp/engine-backup.bGOLRNXeD4/pg-provision-answer-file']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033923-c7vy1o.log
  Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
[ INFO  ] Stage: Setup validation
[WARNING] Cannot validate host name settings, reason: resolved host does
not match any of the local addresses
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Creating PostgreSQL 'engine' database
[ INFO  ] Configuring PostgreSQL
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033923-c7vy1o.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of provisiondb completed successfully
2019-01-02 03:39:28 13186: provisionDB: user ovirt_engine_history host
localhost port 5432 database ovirt_engine_history secured False
secured_host_validation False
2019-01-02 03:39:28 13186: OUTPUT: - user 'ovirt_engine_history', database
'ovirt_engine_history'
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
'/tmp/engine-backup.bGOLRNXeD4/pg-provision-answer-file']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033928-nit1oc.log
  Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
[ INFO  ] Stage: Setup validation
[WARNING] Cannot validate host name settings, reason: resolved host does
not match any of the local addresses
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Creating PostgreSQL 'ovirt_engine_history' database
[ INFO  ] Configuring PostgreSQL
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-provisiondb-20190102033928-nit1oc.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of provisiondb completed successfully
2019-01-02 03:39:34 13186: OUTPUT: Restoring:
2019-01-02 03:39:34 13186: Generating pgpass
2019-01-02 03:39:34 13186: Verifying connection
2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U engine -h localhost
-p 5432  engine -c select 1
 ?column?
--
1
(1 row)

2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U engine -h localhost
-p 5432  engine -t -c show lc_messages
2019-01-02 03:39:34 13186: pg_cmd running: pg_dump -w -U engine -h
localhost -p 5432  engine -s
2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U ovirt_engine_history
-h localhost -p 5432  ovirt_engine_history -c select 1
 ?column?
--
1
(1 row)

2019-01-02 03:39:34 13186: pg_cmd running: psql -w -U ovirt_engine_history
-h localhost -p 5432  ovirt_engine_history -t -c show lc_messages
2019-01-02 03:39:34 13186: pg_cmd running: pg_dump -w -U
ovirt_engine_history -h localhost -p 5432  ovirt_engine_history -s
2019-01-02 03:39:34 13186: OUTPUT: - Engine 

[ovirt-users] fail to restore ovirt-engine

2019-01-01 Thread maoz zadok
please someone, any ideas?


engine-backup --mode=restore --file=backup --log=log_file_name
--provision-db --restore-permissions
Preparing to restore:
- Unpacking file 'backup'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
FATAL: Existing database 'engine' or user 'engine' found and temporary ones
created - Please clean up everything and try again
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6CEH5JROO2QCAFJI26M7RTDAD7DKHR4D/


[ovirt-users] Re: Win10 0x80300001

2019-01-01 Thread Lev Veyde
Hi Greg,

In theory I would expect Windows to handle it more gracefully, (i.e. detect
that the disk is missing and ask for it) but in practice you should
understand that you're pulling the carpet under the Windows installer, and
it may potentially cause issues.

The preferred way to supply the drivers is to provide them on a separate
drive.
For instance, one can use USB DOK redirection.

Thanks in advance,

On Tue, Jan 1, 2019 at 10:29 PM Greg Sheremeta  wrote:

> Should that throw a BSOD though? It doesn't in Windows 8.1.
>
> I also got this error in Windows 10 in virt-manager (not ovirt) when
> trying to get virtio working. For my last Windows 8.1 install, I used 2 DVD
> drives so I didn't have to do the DVD swap dance, and that worked out quite
> nicely. Point the drivers search at E: and D: is left alone. I'll try that
> for my next Windows 10 attempt.
>
> On Tue, Jan 1, 2019 at 7:32 AM Lev Veyde  wrote:
>
>> Hi,
>>
>> If you're using the same DVD drive to mount the drivers ISO, then you
>> need to change back (remount) the Windows DVD, after you finished loading
>> the drivers.
>>
>> Thanks in advance,
>>
>> On Thu, Dec 27, 2018 at 9:29 PM  wrote:
>>
>>> Hi,
>>>
>>> I'm trying to install win10 pro, but when I load the disk driver
>>> vioscsi, it recognizes the disk but with this error: 0x8031
>>> oVirt 4.2.7.5-1.el7
>>> Disk Interface: VirtIO-SCSI
>>>
>>> Any idea?
>>>
>>> Thanks
>>> --
>>> --
>>> Jose Ferradeira
>>> http://www.logicworks.pt
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRGPZCABF7S6RME3B3MOPX25WWKR36AV/
>>>
>>
>>
>> --
>>
>> Lev Veyde
>>
>> Software Engineer, RHCE | RHCVA | MCITP
>>
>> Red Hat Israel
>>
>> 
>>
>> l...@redhat.com | lve...@redhat.com
>> 
>> TRIED. TESTED. TRUSTED. 
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7J65CVZNTOZLULVY6GKB4PBEQGJ62HA/
>>
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> 
>
> gsher...@redhat.comIRC: gshereme
> 
>


-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

TRIED. TESTED. TRUSTED. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4SCERR2E5SE3W7RNBELRRAOKQQQLMMFN/


[ovirt-users] Re: Win10 0x80300001

2019-01-01 Thread Greg Sheremeta
Should that throw a BSOD though? It doesn't in Windows 8.1.

I also got this error in Windows 10 in virt-manager (not ovirt) when trying
to get virtio working. For my last Windows 8.1 install, I used 2 DVD drives
so I didn't have to do the DVD swap dance, and that worked out quite
nicely. Point the drivers search at E: and D: is left alone. I'll try that
for my next Windows 10 attempt.

On Tue, Jan 1, 2019 at 7:32 AM Lev Veyde  wrote:

> Hi,
>
> If you're using the same DVD drive to mount the drivers ISO, then you need
> to change back (remount) the Windows DVD, after you finished loading the
> drivers.
>
> Thanks in advance,
>
> On Thu, Dec 27, 2018 at 9:29 PM  wrote:
>
>> Hi,
>>
>> I'm trying to install win10 pro, but when I load the disk driver vioscsi,
>> it recognizes the disk but with this error: 0x8031
>> oVirt 4.2.7.5-1.el7
>> Disk Interface: VirtIO-SCSI
>>
>> Any idea?
>>
>> Thanks
>> --
>> --
>> Jose Ferradeira
>> http://www.logicworks.pt
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRGPZCABF7S6RME3B3MOPX25WWKR36AV/
>>
>
>
> --
>
> Lev Veyde
>
> Software Engineer, RHCE | RHCVA | MCITP
>
> Red Hat Israel
>
> 
>
> l...@redhat.com | lve...@redhat.com
> 
> TRIED. TESTED. TRUSTED. 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7J65CVZNTOZLULVY6GKB4PBEQGJ62HA/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HMV6RNXYCX5JVDCTJO7ZJHJIMDNPX2F3/


[ovirt-users] Re: Win10 0x80300001

2019-01-01 Thread Lev Veyde
Hi,

If you're using the same DVD drive to mount the drivers ISO, then you need
to change back (remount) the Windows DVD, after you finished loading the
drivers.

Thanks in advance,

On Thu, Dec 27, 2018 at 9:29 PM  wrote:

> Hi,
>
> I'm trying to install win10 pro, but when I load the disk driver vioscsi,
> it recognizes the disk but with this error: 0x8031
> oVirt 4.2.7.5-1.el7
> Disk Interface: VirtIO-SCSI
>
> Any idea?
>
> Thanks
> --
> --
> Jose Ferradeira
> http://www.logicworks.pt
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GRGPZCABF7S6RME3B3MOPX25WWKR36AV/
>


-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

TRIED. TESTED. TRUSTED. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7J65CVZNTOZLULVY6GKB4PBEQGJ62HA/


[ovirt-users] Re: About usb passthrough to vm

2019-01-01 Thread max zhang
nope,I think hostusb  is about to my problem,thanks man!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MNNQDGTLP36SVVE4ZVCPO2WJKTFZB224/