[ovirt-users] Fail to upgrade to 4.1 from 4.0

Marcin M. Jessa lists at yazzy.org
Thu Sep 15 08:26:03 UTC 2016


On 15/09/2016 10:09, Martin Perina wrote:

> ​Please share setup log from /var/log/ovirt-engine/setup, exact name is
> printed at the end of engine-setup and usually it's the latest file.
> Also from which 4.0.x version are you upgrading?

The log file is attached. I was initially upgrading from 3.6 to 4.0 
yesterday. So I was running on whatever is the latest 4.0 now.
3.6 was working fine but there was no way I could import vmware guests, 
it just failed every single time so I decided to upgrade.
Plus all the new, useful features of the 4.0 release.
But the 4.0 setup wasn't working properly, the Dashboard crashed, 
services timed out and I had to restart Apache manually for it to even 
show the website. I couldn't be bothered to start debugging and fixing 
it on a test setup so I decided to give 4.1 a shot.

-- 

Marcin M. Jessa
-------------- next part --------------
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', mode 'a' at 0x2c1b270>'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2c08210>]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.human.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.machine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:737 SEQUENCE DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._preinit (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._preinit (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._init (otopi.core.log.init)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.human.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.machine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.info.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._init (otopi.core.config.init)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.core.Plugin._init (otopi.packagers.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE setup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._post_init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.openrc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.rhel.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.systemd.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup (osetup.db.connection.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup (osetup.dwh.db.connection.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_engine_db_credentials (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers (osetup.keep.only.valid.firewall.managers)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE internal_packages
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._internal_packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE programs
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._programs (otopi.system.command.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.openrc.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.rhel.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.systemd.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE late_setup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE customization
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._customize1 (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize (otopi.dialog.cli.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options (osetup.dialog.titles.productoptions.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization (osetup.engine.core.enable)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization (setup.config.imageio-proxy.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization (setup.config.websocket-proxy.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization (osetup.dwh.core.enable)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options (osetup.dialog.titles.productoptions.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages (osetup.dialog.titles.packaging.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization (osetup.distro-rpm.package.update.check)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages (osetup.dialog.titles.packages.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network (osetup.dialog.titles.network.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization (osetup.config.protocols.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization (osetup.net.firewallmanager.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized (osetup.network.owners.config.customized)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network (osetup.dialog.titles.network.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database (osetup.dialog.titles.database.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable (osetup.engine.db.connection.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable (osetup.engine.provisioning.pgsql.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization (osetup.dwh.db.connection.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization (osetup.db.connection.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized (osetup.db.owners.connections.customized)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database (osetup.dialog.titles.database.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine (osetup.dialog.titles.engine.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable (osetup.engine.config.appmode.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization (osetup.config.applicationMode.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine (osetup.dialog.titles.engine.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage (osetup.dialog.titles.storage.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage (osetup.dialog.titles.storage.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki (osetup.dialog.titles.pki.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki (osetup.dialog.titles.pki.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache (osetup.dialog.titles.apache.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache (osetup.dialog.titles.apache.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system (osetup.dialog.titles.system.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable (osetup.engine.kdump.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable (osetup.engine.system.nfs.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization (osetup.system.nfs.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system (osetup.dialog.titles.system.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc (osetup.dialog.titles.misc.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc (osetup.dialog.titles.misc.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._customize2 (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE validation
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation (osetup.db.connection.credentials.early)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation (otopi.network.firewalld.validation)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._validate (otopi.network.iptables.validation)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory (osetup.memory.check)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE transaction-prepare
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin (osetup.system.hostile.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE early_misc
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE packages
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE misc
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._misc (otopi.system.command.redetection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc (osetup.system.sysctl.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.database.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._miscDWHConfig (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._misc_stop_remote_dwh (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.config.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc (osetup.db.connection.credentials.late)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc (osetup.dwh.db.connection.credentials)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc (osetup.pki.ca.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc (osetup.db.schema)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._misc (osetup.pki.ssh.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._misc (osetup.dwh.db.schema)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._check_separate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_VDC (setup.config.imageio-proxy.remote_vdc)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._misc_pki (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIEngine (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIProxy (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._check_separate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_VDC (setup.config.websocket-proxy.remote_vdc)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._misc_pki (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._connection (osetup.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._connection (osetup.dwh.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._engine_connection (osetup.dwh.engine.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._misc (osetup.aaa_jdbc.config.setup.admin.user)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.ca.Plugin._misc (osetup.config.encryption.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._add_iso_domain_to_db (osetup.config.iso_domain.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscAlways (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscNewDatabase (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.sso.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._updateSANWipeAfterDelete (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin.miscOptions (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._databaseOptions (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._setupAdminPassword (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._misc (osetup.config.aaa.adminuser.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._misc (osetup.setup.selinux)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE cleanup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._main_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE closeup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.engine.Plugin._closeup (osetup.core.engine.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.service.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_summary (osetup.dialog.titles.summary.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._closeup (osetup.apache.core.restart)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._closeupDWHConfig (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._closeupEngineAccess (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._devenv_closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_summary (osetup.dialog.titles.summary.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE cleanup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE pre-terminate
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate (otopi.dialog.cli.termination)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE terminate
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE reboot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._reboot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:746 SEQUENCE DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/aborted=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/debug=int:'0'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/executionDirectory=str:'/usr/share/ovirt-engine/dbscripts/upgrade'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/suppressEnvironmentKeys=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/failOnPrioOverride=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', mode 'a' at 0x2c1b270>'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2c08210>]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/randomizeEvents=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_NAME=str:'otopi'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_VERSION=str:'1.6.0_master'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/totalMemoryMB=NoneType:'None'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_NAME=str:'otopi'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_VERSION=str:'1.6.0_master'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager._boot:163 Cannot initialize minidnf
Traceback (most recent call last):
  File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 150, in _boot
    constants.PackEnv.DNF_DISABLED_PLUGINS
  File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 60, in _getMiniDNF
    from otopi import minidnf
  File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 16, in <module>
    import dnf
ImportError: No module named dnf
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfDisabledPlugins=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfExpireCache=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfRollback=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfpackagerEnabled=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/keepAliveInterval=int:'30'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.system.info.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:36 SYSTEM INFORMATION - BEGIN
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:37 executable /bin/python
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:38 python /bin/python
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:39 platform linux2
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:40 distribution ('CentOS Linux', '7.2.1511', 'Core')
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:41 host 'virt02.yazzy.net'
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:47 uid 0 euid 0 gid 0 egid 0
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:49 SYSTEM INFORMATION - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
Loaded plugins: fastestmirror, versionlock
Repository virtio-win-stable is listed more than once in the configuration
Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', mode 'a' at 0x2caf030>'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2c4b350>]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.human.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.machine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:737 SEQUENCE DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE boot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._preinit (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._preinit (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._init (otopi.core.log.init)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.human.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.machine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.info.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._init (otopi.core.config.init)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.core.Plugin._init (otopi.packagers.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE setup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._post_init (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.openrc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.rhel.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.systemd.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup (osetup.db.connection.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup (osetup.dwh.db.connection.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_engine_db_credentials (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers (osetup.keep.only.valid.firewall.managers)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE internal_packages
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._internal_packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE programs
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._programs (otopi.system.command.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.openrc.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.rhel.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.services.systemd.Plugin._programs (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE late_setup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE customization
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._customize1 (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize (otopi.dialog.cli.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options (osetup.dialog.titles.productoptions.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization (osetup.engine.core.enable)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization (setup.config.imageio-proxy.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization (setup.config.websocket-proxy.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization (osetup.dwh.core.enable)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options (osetup.dialog.titles.productoptions.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages (osetup.dialog.titles.packaging.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization (osetup.distro-rpm.package.update.check)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages (osetup.dialog.titles.packages.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network (osetup.dialog.titles.network.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization (osetup.config.protocols.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization (osetup.net.firewallmanager.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized (osetup.network.owners.config.customized)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network (osetup.dialog.titles.network.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database (osetup.dialog.titles.database.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable (osetup.engine.db.connection.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable (osetup.engine.provisioning.pgsql.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization (osetup.dwh.db.connection.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization (osetup.db.connection.customization)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized (osetup.db.owners.connections.customized)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database (osetup.dialog.titles.database.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine (osetup.dialog.titles.engine.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable (osetup.engine.config.appmode.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization (osetup.config.applicationMode.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine (osetup.dialog.titles.engine.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage (osetup.dialog.titles.storage.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage (osetup.dialog.titles.storage.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki (osetup.dialog.titles.pki.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki (osetup.dialog.titles.pki.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache (osetup.dialog.titles.apache.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache (osetup.dialog.titles.apache.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system (osetup.dialog.titles.system.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable (osetup.engine.kdump.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable (osetup.engine.system.nfs.allow)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization (osetup.system.nfs.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system (osetup.dialog.titles.system.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc (osetup.dialog.titles.misc.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc (osetup.dialog.titles.misc.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.config.Plugin._customize2 (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE validation
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.hostname.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation (osetup.db.connection.credentials.early)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation (otopi.network.firewalld.validation)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._validate (otopi.network.iptables.validation)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory (osetup.memory.check)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE transaction-prepare
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin (osetup.system.hostile.detection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE early_misc
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE packages
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE misc
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.command.Plugin._misc (otopi.system.command.redetection)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc (osetup.system.sysctl.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.database.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._miscDWHConfig (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._misc_stop_remote_dwh (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.config.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc (osetup.db.connection.credentials.late)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc (osetup.dwh.db.connection.credentials)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc (osetup.pki.ca.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc (osetup.db.schema)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._misc (osetup.pki.ssh.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._misc (osetup.dwh.db.schema)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._check_separate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_VDC (setup.config.imageio-proxy.remote_vdc)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._misc_pki (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIEngine (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIProxy (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._check_separate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_VDC (setup.config.websocket-proxy.remote_vdc)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._misc_pki (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._connection (osetup.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._connection (osetup.dwh.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._engine_connection (osetup.dwh.engine.db.connection.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._misc (osetup.aaa_jdbc.config.setup.admin.user)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.ca.Plugin._misc (osetup.config.encryption.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._add_iso_domain_to_db (osetup.config.iso_domain.available)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscAlways (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscNewDatabase (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.sso.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._updateSANWipeAfterDelete (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin.miscOptions (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._databaseOptions (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._setupAdminPassword (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._misc (osetup.config.aaa.adminuser.setup)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._misc (osetup.setup.selinux)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._misc (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE cleanup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.transaction.Plugin._main_end (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE closeup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.firewalld.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.network.iptables.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.engine.Plugin._closeup (osetup.core.engine.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.service.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_summary (osetup.dialog.titles.summary.start)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._closeup (osetup.apache.core.restart)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._closeupDWHConfig (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._closeupEngineAccess (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._devenv_closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_summary (osetup.dialog.titles.summary.end)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._closeup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE cleanup
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE pre-terminate
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate (otopi.dialog.cli.termination)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE terminate
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.core.log.Plugin._terminate (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:739 STAGE reboot
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:744     METHOD otopi.plugins.otopi.system.reboot.Plugin._reboot (None)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpSequence:746 SEQUENCE DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/aborted=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/debug=int:'0'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/executionDirectory=str:'/usr/share/ovirt-engine/dbscripts/upgrade'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/suppressEnvironmentKeys=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/failOnPrioOverride=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', mode 'a' at 0x2caf030>'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2c4b350>]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/randomizeEvents=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_NAME=str:'otopi'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_VERSION=str:'1.6.0_master'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/totalMemoryMB=NoneType:'None'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_NAME=str:'otopi'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_VERSION=str:'1.6.0_master'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager._boot:163 Cannot initialize minidnf
Traceback (most recent call last):
  File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 150, in _boot
    constants.PackEnv.DNF_DISABLED_PLUGINS
  File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 60, in _getMiniDNF
    from otopi import minidnf
  File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 16, in <module>
    import dnf
ImportError: No module named dnf
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfDisabledPlugins=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfExpireCache=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfRollback=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfpackagerEnabled=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/keepAliveInterval=int:'30'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.system.info.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:36 SYSTEM INFORMATION - BEGIN
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:37 executable /bin/python
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:38 python /bin/python
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:39 platform linux2
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:40 distribution ('CentOS Linux', '7.2.1511', 'Core')
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:41 host 'virt02.yazzy.net'
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:47 uid 0 euid 0 gid 0 egid 0
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.system.info info._init:49 SYSTEM INFORMATION - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
Loaded plugins: fastestmirror, versionlock
Repository virtio-win-stable is listed more than once in the configuration
Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumDisabledPlugins=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumEnabledPlugins=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumExpireCache=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumRollback=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumpackagerEnabled=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 INFO otopi.context context.runSequence:687 Stage: Initializing
2016-09-15 09:49:42 DEBUG otopi.context context.runSequence:691 STAGE init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.core.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configured=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUser=str:'admin at internal'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserId=str:'29d0243f-d6d5-4d5b-b1d7-2cfbfdb60cd5'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManager=str:'firewalld'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdn=str:'virt02.yazzy.net'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyConfig=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainExists=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHome=str:'/usr/share/ovirt-engine-wildfly'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/sanWipeAfterDelete=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyConfig=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/generatedByVersion=str:'4.0.3'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/remoteEngineConfigured=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/scale=str:'1'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CORE/enable=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ENGINE_CONFIG/fqdn=str:'virt02.yazzy.net'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ENGINE_CORE/enable=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/country=str:'US'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/organization=str:'yazzy.net'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/jbossPackages=str:'ovirt-engine-wildfly,ovirt-engine-wildfly-overlay'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._init:196 Registering yum packager
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.command.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.plugins.ovirt_engine_common.base.core.misc misc._init:98 Package: ovirt-engine-4.1.0_master (4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos)
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/developerMode=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/generatedByVersion=str:'4.1.0_master'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/originalGeneratedByVersion=str:'4.0.3'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/upgradeSupportedVersions=str:'3.6,4.0,4.1'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.core.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.core.transaction.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/internalPackageTransaction=Transaction:'transaction'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/mainTransaction=Transaction:'transaction'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/modifiedFiles=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.dialog.cli.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/cliVersion=int:'1'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/customization=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.firewalld.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldAvailable=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldDisableServices=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldEnable=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.iptables.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/iptablesEnable=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.ssh.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/sshEnable=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/sshUser=str:''
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.clock.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockMaxGap=int:'5'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockSet=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.reboot.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/reboot=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootAllow=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootDeferTime=int:'10'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/offlinePackager=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/generatePostInstall=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/registerUninstallGroups=RegisterGroups:'<otopi.plugins.ovirt_engine_common.base.core.uninstall.RegisterGroups object at 0x33b3c90>'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManagers=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{}'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdnNonLoopback=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdnReverseValidation=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/remoteEngineHostRootPassword']'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt-engine-dwhd,ovirt-engine-notifier'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineServiceStopNeeded=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineDbBackupDir=str:'/var/lib/ovirt-engine/backups'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/dumper=str:'pg_custom'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/newDatabase=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/restoreJobs=int:'2'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/javaNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/httpPort=int:'80'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/httpsPort=int:'443'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossAjpPort=int:'8702'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossDebugAddress=str:'127.0.0.1:8787'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHttpPort=int:'8080'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHttpsPort=int:'8443'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/lib/pgsql/data/postgresql.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresLCMessages=str:''en_US.UTF-8''
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresListenAddress=str:''*''
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresMaxConn=int:'150'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/lib/pgsql/data/pg_hba.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/lib/pgsql/data/PG_VERSION'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresService=str:'postgresql'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/httpdService=str:'httpd'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/needRestart=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupKvm=str:'kvm'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userApache=str:'apache'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userRoot=str:'root'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/dwhDbBackupDir=str:'/var/lib/ovirt-engine-dwh/backups'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/dumper=str:'pg_custom'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/newDatabase=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/restoreJobs=int:'2'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/action=str:'setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/validFirewallManagers=str:''
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupEngine=str:'ovirt'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/aaaJdbcPackage=str:'ovirt-engine-extension-aaa-jdbc'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/storageIsLocal=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainDefaultMountPoint=str:'/var/lib/exports/iso'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/docsAreLocal=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/dwhDocUrl=str:'http://www.ovirt.org/Ovirt_DWH'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/reportsDocUrl=str:'http://www.ovirt.org/Ovirt_Reports'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-image-uploader,ovirt-iso-uploader,ovirt-engine-dashboard'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/enginePackages=str:'ovirt-engine'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/engineSetupPackages=str:'ovirt-engine-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/upgradeYumGroup=str:'ovirt-engine-4.0'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/pkiRenewalDocUrl=str:'http://www.ovirt.org/OVirt_3.5.4_Release_Notes#PKI'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/storePassword=str:'**FILTERED**'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoPathsToUpload=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:'16384'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ASYNC/clearTasks=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ASYNC/clearTasksWait=int:'20'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/enable=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossNeeded=bool:'False'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[]'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/restoreBackupLate=bool:'True'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_RPMDISRO_PACKAGES=str:'ovirt-engine-dwh'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-dwh-setup'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyHost=str:'localhost'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyPort=int:'54323'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/keySize=int:'2048'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:'2222'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupVmConsole=str:'ovirt-vmconsole'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyHost=str:'localhost'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyPort=int:'6100'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
2016-09-15 09:49:42 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init
2016-09-15 09:49:42 INFO otopi.context context.runSequence:687 Stage: Environment setup
2016-09-15 09:49:42 DEBUG otopi.context context.runSequence:691 STAGE setup
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.config.Plugin._post_init
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 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']
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.log.Plugin._setup
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.misc.Plugin._setup
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Version: otopi-1.6.0_master (otopi-1.6.0-0.0.master.20160913100822.git3c2919c.el7.centos)
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup
2016-09-15 09:49:42 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Cleaning caches: ['expire-cache'].
2016-09-15 09:49:42 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x33b3e10>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.network.hostname.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.openrc.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.rhel.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.systemd.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.system.clock.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.system.reboot.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x33b3ed0>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x33b3ed0>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x33c9090>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x33b3ed0>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x33c9090>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables._IpTablesManager object at 0x33c90d0>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/remoteEngine=RemoteEngine:'<ovirt_engine_setup.remote_engine.RemoteEngine object at 0x33c9050>'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x33b3e10>, <otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files._ManualFiles object at 0x33c9150>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.plugins.ovirt_engine_common.base.system.mem mem._setup:58 Checking total memory
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/totalMemoryMB=int:'15526'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.misc.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                    select 1
                ', args: {}
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'?column?': 1}]
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.tryDatabaseConnect:334 Connection succeeded
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select count(*) as count
                from pg_catalog.pg_tables
                where schemaname = 'public';
            ', args: {}
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 152L}]
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/database=str:'engine'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/host=str:'localhost'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/newDatabase=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/password=str:'**FILTERED**'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/port=str:'5432'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/secured=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/securedHostValidation=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/user=str:'engine'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.misc.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/publicHttpPort=int:'80'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/publicHttpsPort=int:'443'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CORE/uuid=str:'6c29cd3e-242b-4214-ba8a-276952f4704f'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc misc._setup:65 dwh version: ovirt-engine-dwh-4.1.0_master (4.1.0_master)

2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ovirt_dwh_files=dict:'{}'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                    select 1
                ', args: {}
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'?column?': 1}]
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.tryDatabaseConnect:334 Connection succeeded
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select count(*) as count
                from pg_catalog.pg_tables
                where schemaname = 'public';
            ', args: {}
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:49:43 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 40L}]
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/database=str:'ovirt_engine_history'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/host=str:'localhost'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/newDatabase=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/password=str:'**FILTERED**'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/port=str:'5432'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/secured=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/securedHostValidation=bool:'False'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/user=str:'ovirt_engine_history'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>, <module 'ovirt_engine_setup.ovirt_imageio_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/ovirt_imageio_proxy/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>, <module 'ovirt_engine_setup.ovirt_imageio_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/ovirt_imageio_proxy/constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>, <module 'ovirt_engine_setup.ovirt_imageio_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/ovirt_imageio_proxy/constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/constants.pyc'>]'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/javaNeeded=bool:'True'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossNeeded=bool:'True'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'True'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports']'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoPathsToUpload=list:'['/usr/share/virtio-win/virtio-win_x86.vfd', '/usr/share/virtio-win/virtio-win_amd64.vfd', '/usr/share/virtio-win/virtio-win.iso', '/usr/share/ovirt-guest-tools-iso/ovirt-tools-setup.iso', '/usr/share/rhev-guest-tools-iso/rhev-tools-setup.iso']'
2016-09-15 09:49:43 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages util.getPackageManager:269 Using Yum as package manager
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_engine_db_credentials
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:43 INFO otopi.context context.runSequence:687 Stage: Environment packages setup
2016-09-15 09:49:43 DEBUG otopi.context context.runSequence:691 STAGE internal_packages
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare
2016-09-15 09:49:43 DEBUG otopi.transaction transaction._prepare:61 preparing 'Yum Transaction'
Loaded plugins: fastestmirror, versionlock
2016-09-15 09:49:43 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:43 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:43 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.network.hostname.Plugin._internal_packages
2016-09-15 09:49:43 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package iproute for install
Loading mirror speeds from cached hostfile
2016-09-15 09:49:44 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-epel/x86_64/metalink (0%)
2016-09-15 09:49:44 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-epel/x86_64/metalink 18 k(100%)
2016-09-15 09:49:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-epel/x86_64/metalink (0%)
2016-09-15 09:49:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-epel/x86_64/metalink 18 k(100%)
2016-09-15 09:49:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-epel/x86_64/metalink (0%)
2016-09-15 09:49:47 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-epel/x86_64/metalink 18 k(100%)
2016-09-15 09:49:47 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-epel/x86_64/metalink (0%)
2016-09-15 09:49:47 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-epel/x86_64/metalink 18 k(100%)
2016-09-15 09:49:48 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-epel/x86_64/metalink (0%)
2016-09-15 09:49:48 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-epel/x86_64/metalink 18 k(100%)
 * base: centos.uib.no
 * extras: centos.uib.no
 * ovirt-3.4-epel: www.nic.funet.fi
 * ovirt-3.4-stable: ftp.nluug.nl
 * ovirt-3.5: ftp.nluug.nl
 * ovirt-3.5-epel: www.nic.funet.fi
 * ovirt-3.6: ftp.nluug.nl
 * ovirt-3.6-epel: www.nic.funet.fi
 * ovirt-4.0: ftp.nluug.nl
 * ovirt-4.0-epel: www.nic.funet.fi
 * ovirt-master-epel: www.nic.funet.fi
 * ovirt-master-snapshot: ftp.nluug.nl
 * ovirt-master-snapshot-static: ftp.nluug.nl
 * updates: centos.uib.no
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: base/7/x86_64 (0%)
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: base/7/x86_64 3.6 k(100%)
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt36/x86_64 (0%)
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt36/x86_64 2.9 k(100%)
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt40-candidate (0%)
2016-09-15 09:49:49 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt40-candidate 3.4 k(100%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt40-release (0%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: centos-ovirt40-release 3.4 k(100%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: extras/7/x86_64 (0%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: extras/7/x86_64 3.4 k(100%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-epel/x86_64 (0%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-epel/x86_64 4.3 k(100%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-stable/7 (0%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.4-stable/7 2.9 k(100%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5/7 (0%)
2016-09-15 09:49:50 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5/7 2.9 k(100%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-epel/x86_64 (0%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-epel/x86_64 4.3 k(100%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-patternfly1-noarch-epel/x86_64 (0%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.5-patternfly1-noarch-epel/x86_64 3.0 k(100%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6/7 (0%)
2016-09-15 09:49:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6/7 2.9 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-centos-gluster37/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-centos-gluster37/x86_64 2.9 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-epel/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-epel/x86_64 4.3 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-patternfly1-noarch-epel/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-3.6-patternfly1-noarch-epel/x86_64 3.0 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0/7 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0/7 2.9 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-centos-gluster37/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-centos-gluster37/x86_64 2.9 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-epel/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-epel/x86_64 4.3 k(100%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-patternfly1-noarch-epel/x86_64 (0%)
2016-09-15 09:49:52 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-4.0-patternfly1-noarch-epel/x86_64 3.0 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-centos-gluster38/x86_64 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-centos-gluster38/x86_64 2.9 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-epel/x86_64 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-epel/x86_64 4.3 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-patternfly1-noarch-epel/x86_64 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-patternfly1-noarch-epel/x86_64 3.0 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-snapshot/7 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-snapshot/7 2.9 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-snapshot-static/7 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: ovirt-master-snapshot-static/7 2.9 k(100%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: updates/7/x86_64 (0%)
2016-09-15 09:49:53 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: updates/7/x86_64 3.4 k(100%)
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable (0%)
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: virtio-win-stable 3.0 k(100%)
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Building transaction
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Empty transaction
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction Summary:
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end
2016-09-15 09:49:54 DEBUG otopi.transaction transaction.commit:147 committing 'Yum Transaction'
Loaded plugins: fastestmirror, versionlock
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:54 INFO otopi.context context.runSequence:687 Stage: Programs detection
2016-09-15 09:49:54 DEBUG otopi.context context.runSequence:691 STAGE programs
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.system.command.Plugin._programs
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/chkconfig=str:'/sbin/chkconfig'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/date=str:'/bin/date'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/dig=str:'/bin/dig'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/exportfs=str:'/sbin/exportfs'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/firewall-cmd=str:'/bin/firewall-cmd'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/hwclock=str:'/sbin/hwclock'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ip=str:'/sbin/ip'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ntpq=str:'/sbin/ntpq'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/openssl=str:'/bin/openssl'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/pg_dump=str:'/bin/pg_dump'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/pg_restore=str:'/bin/pg_restore'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/psql=str:'/bin/psql'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/reboot=str:'/sbin/reboot'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/restorecon=str:'/sbin/restorecon'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/rpm=str:'/bin/rpm'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/selinuxenabled=str:'/sbin/selinuxenabled'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/semanage=str:'/sbin/semanage'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/service=str:'/sbin/service'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/sysctl=str:'/sbin/sysctl'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/systemctl=str:'/bin/systemctl'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.openrc.Plugin._programs
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.rhel.Plugin._programs
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:813 execute: ('/bin/systemctl', 'show-environment'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show-environment'), rc=0
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:921 execute-output: ('/bin/systemctl', 'show-environment') stdout:
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:926 execute-output: ('/bin/systemctl', 'show-environment') stderr:


2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.systemd.Plugin._programs
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show-environment'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show-environment'), rc=0
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show-environment') stdout:
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show-environment') stderr:


2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd systemd._programs:49 registering systemd provider
2016-09-15 09:49:54 INFO otopi.context context.runSequence:687 Stage: Environment setup
2016-09-15 09:49:54 DEBUG otopi.context context.runSequence:691 STAGE late_setup
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service nfs-server exists
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service'), rc=0
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service') stdout:
LoadState=loaded

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service') stderr:


2016-09-15 09:49:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.executeRaw:813 execute: ('/sbin/exportfs',), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.executeRaw:863 execute-result: ('/sbin/exportfs',), rc=0
2016-09-15 09:49:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.execute:921 execute-output: ('/sbin/exportfs',) stdout:
/iso          	virt01.yazzy.net
/iso          	virt02
/var/lib/exports/iso
		192.168.99.0/24
/var/lib/exports/data
		192.168.99.0/24

2016-09-15 09:49:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.execute:926 execute-output: ('/sbin/exportfs',) stderr:


2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs-server'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-imageio-proxy status
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'status', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'status', 'ovirt-imageio-proxy.service'), rc=3
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'status', 'ovirt-imageio-proxy.service') stdout:
● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2016-09-14 15:56:31 CEST; 17h ago
 Main PID: 4322 (code=exited, status=0/SUCCESS)

Sep 14 15:54:30 virt02.yazzy.net systemd[1]: Starting oVirt ImageIO Proxy...
Sep 14 15:54:30 virt02.yazzy.net systemd[1]: Started oVirt ImageIO Proxy.
Sep 14 15:56:31 virt02.yazzy.net systemd[1]: Stopping oVirt ImageIO Proxy...
Sep 14 15:56:31 virt02.yazzy.net systemd[1]: Stopped oVirt ImageIO Proxy.
Sep 14 19:18:59 virt02.yazzy.net systemd[1]: Stopped oVirt ImageIO Proxy.
Sep 14 21:54:08 virt02.yazzy.net systemd[1]: Stopped oVirt ImageIO Proxy.
Sep 15 09:40:16 virt02.yazzy.net systemd[1]: Stopped oVirt ImageIO Proxy.

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'ovirt-imageio-proxy.service') stderr:


2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-websocket-proxy status
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'status', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'status', 'ovirt-websocket-proxy.service'), rc=3
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'status', 'ovirt-websocket-proxy.service') stdout:
● ovirt-websocket-proxy.service - oVirt Engine websockets proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2016-09-14 15:56:31 CEST; 17h ago
 Main PID: 1058 (code=exited, status=0/SUCCESS)

Sep 14 15:35:05 virt02.yazzy.net ovirt-websocket-proxy.py[1058]: ovirt-websocket-proxy[1058] INFO msg:871   - Deny non-SSL/TLS connections
Sep 14 15:35:05 virt02.yazzy.net ovirt-websocket[1058]: 2016-09-14 15:35:05,247 ovirt-websocket-proxy: INFO msg:871   - proxying from *:6100 to targets generated by str
Sep 14 15:35:05 virt02.yazzy.net ovirt-websocket-proxy.py[1058]: ovirt-websocket-proxy[1058] INFO msg:871   - proxying from *:6100 to targets generated by str
Sep 14 15:56:31 virt02.yazzy.net systemd[1]: Stopping oVirt Engine websockets proxy...
Sep 14 15:56:31 virt02.yazzy.net ovirt-websocket[1058]: 2016-09-14 15:56:31,781 ovirt-websocket-proxy: INFO msg:871 In exit
Sep 14 15:56:31 virt02.yazzy.net ovirt-websocket-proxy.py[1058]: ovirt-websocket-proxy[1058] INFO msg:871 In exit
Sep 14 15:56:31 virt02.yazzy.net systemd[1]: Stopped oVirt Engine websockets proxy.
Sep 14 19:18:59 virt02.yazzy.net systemd[1]: Stopped oVirt Engine websockets proxy.
Sep 14 21:54:08 virt02.yazzy.net systemd[1]: Stopped oVirt Engine websockets proxy.
Sep 15 09:40:17 virt02.yazzy.net systemd[1]: Stopped oVirt Engine websockets proxy.

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'ovirt-websocket-proxy.service') stderr:


2016-09-15 09:49:54 INFO otopi.context context.runSequence:687 Stage: Environment customization
2016-09-15 09:49:54 DEBUG otopi.context context.runSequence:691 STAGE customization
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service firewalld exists
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service'), executable='None', cwd='None', env=None
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service'), rc=0
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service') stdout:
LoadState=loaded

2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service') stderr:


2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.network.firewalld firewalld._get_firewalld_cmd_version:105 firewalld version: 0.3.9
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldAvailable=bool:'True'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.core.config.Plugin._customize1
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine-extension-aaa-jdbc']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}]'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']}]'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== PRODUCT OPTIONS ==--
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/enable=bool:'True'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'True'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'True'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineHeapMax=str:'3881M'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineHeapMin=str:'3881M'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-userportal', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['ovirt-engine-setup']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-image-uploader', 'ovirt-iso-uploader', 'ovirt-engine-dashboard'], 'group': 'ovirt-engine-4.0'}]'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'True'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-image-uploader', 'ovirt-iso-uploader', 'ovirt-engine-dashboard'], 'group': 'ovirt-engine-4.0'}, {'packages': ['ovirt-engine-websocket-proxy']}]'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-userportal', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard', 'ovirt-engine-dwh']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy', 'ovirt-engine-dwh-setup']'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-image-uploader', 'ovirt-iso-uploader', 'ovirt-engine-dashboard'], 'group': 'ovirt-engine-4.0'}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]'
2016-09-15 09:49:54 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== PACKAGES ==--
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:49:54 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization
2016-09-15 09:49:54 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._customization:363 Checking for product updates...
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:49:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-extension-aaa-jdbc for install/update
2016-09-15 09:49:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum processing package ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch for install/update
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum package ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch queued
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-wildfly for install/update
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-wildfly-overlay for install/update
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine for install/update
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum processing package ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch for install/update
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum package ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch queued
2016-09-15 09:50:03 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-host-deploy for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-cli for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-image-uploader for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-iso-uploader for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-dashboard for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum processing package ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch for install/update
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum package ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch queued
2016-09-15 09:50:04 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-websocket-proxy for install/update
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum processing package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch for install/update
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch queued
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-dwh for install/update
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum processing package ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch for install/update
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum package ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch queued
2016-09-15 09:50:05 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Building transaction
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Transaction built
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Transaction Summary:
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     updated    - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum     update     - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [updated] ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:250 PACKAGE: [update] ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:50:06 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:07 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:08 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [installed] package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [reinstall_available] package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._checkForProductUpdate:272 dupes: operation [available] package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human human.queryString:145 query OVESETUP_RPMDISTRO_PACKAGE_UPGRADE
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Setup has found updates for some packages:
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [updated] ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PACKAGE: [update] ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:50:09 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 do you wish to update them now? (Yes, No) [Yes]: 
2016-09-15 09:50:45 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._customization:393 Checking for an update for Setup...
2016-09-15 09:50:45 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:50:45 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:50:45 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-setup for update
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Building transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Empty transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Transaction Summary:
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-setup-plugin-websocket-proxy for update
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Building transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Empty transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Transaction Summary:
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum queue package ovirt-engine-dwh-setup for update
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Building transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Empty transaction
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Transaction Summary:
2016-09-15 09:50:47 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:47 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/enableUpgrade=bool:'True'
2016-09-15 09:50:47 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:47 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages
2016-09-15 09:50:47 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== NETWORK CONFIGURATION ==--
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:47 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_CONFIG/fqdn
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname hostname._validateFQDNresolvability:245 virt02.yazzy.net resolves to: set(['192.168.99.31'])
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.executeRaw:813 execute: ['/bin/dig', 'virt02.yazzy.net'], executable='None', cwd='None', env=None
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.executeRaw:863 execute-result: ['/bin/dig', 'virt02.yazzy.net'], rc=0
2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.execute:921 execute-output: ['/bin/dig', 'virt02.yazzy.net'] stdout:

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> virt02.yazzy.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55150
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;virt02.yazzy.net.		IN	A

;; ANSWER SECTION:
virt02.yazzy.net.	3600	IN	A	192.168.99.31

;; AUTHORITY SECTION:
yazzy.net.		3600	IN	NS	dns.yazzy.net.

;; ADDITIONAL SECTION:
dns.yazzy.net.		3600	IN	A	192.168.99.1

;; Query time: 0 msec
;; SERVER: 192.168.99.1#53(192.168.99.1)
;; WHEN: Thu Sep 15 09:50:47 CEST 2016
;; MSG SIZE  rcvd: 95


2016-09-15 09:50:47 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.execute:926 execute-output: ['/bin/dig', 'virt02.yazzy.net'] stderr:


2016-09-15 09:50:47 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service iptables exists
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), executable='None', cwd='None', env=None
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), rc=0
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stdout:
LoadState=loaded

2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stderr:


2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Setup can automatically configure the firewall on this system.
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Note: automatic configuration of the firewall may overwrite current settings.
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human human.queryString:145 query OVESETUP_UPDATE_FIREWALL
2016-09-15 09:50:47 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:RECEIVE    No
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/updateFirewall=bool:'False'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@JBOSS_HTTP_PORT@': None, '@JBOSS_HTTPS_PORT@': None}'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}]'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@HTTPS_PORT@': 443, '@JBOSS_HTTP_PORT@': None, '@HTTP_PORT@': 80, '@JBOSS_HTTPS_PORT@': None}'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config hostname._validateFQDNresolvability:245 virt02.yazzy.net resolves to: set(['192.168.99.31'])
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config hostname._validateFQDNresolvability:245 virt02.yazzy.net resolves to: set(['192.168.99.31'])
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}]'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@HTTPS_PORT@': 443, '@JBOSS_HTTP_PORT@': None, '@HTTP_PORT@': 80, '@VMCONSOLE_PROXY_PORT@': 2222, '@JBOSS_HTTPS_PORT@': None}'
2016-09-15 09:50:55 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config hostname._validateFQDNresolvability:245 virt02.yazzy.net resolves to: set(['192.168.99.31'])
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== DATABASE CONFIGURATION ==--
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/host
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection hostname._validateFQDNresolvability:245 localhost resolves to: set(['127.0.0.1'])
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/port
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/database
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/user
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/password
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1164 dbenv: {'OVESETUP_DWH_DB/database': 'ovirt_engine_history', 'OVESETUP_DWH_DB/host': 'localhost', 'OVESETUP_DWH_DB/port': '5432', 'OVESETUP_DWH_DB/securedHostValidation': False, 'OVESETUP_DWH_DB/secured': False, 'OVESETUP_DWH_DB/password': '**FILTERED**', 'OVESETUP_DWH_DB/user': 'ovirt_engine_history'}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select count(*) as count
                from pg_catalog.pg_tables
                where schemaname = 'public';
            ', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 40L}]
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:813 execute: ('/bin/psql', '-V'), executable='None', cwd='None', env=None
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:863 execute-result: ('/bin/psql', '-V'), rc=0
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:921 execute-output: ('/bin/psql', '-V') stdout:
psql (PostgreSQL) 9.2.15

2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:926 execute-output: ('/bin/psql', '-V') stderr:


2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_encoding', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_encoding': 'UTF8'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show max_connections', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'max_connections': '150'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show lc_messages', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'lc_messages': 'en_US.UTF-8'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_version', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_version': '9.2.15'}]
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/host
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection hostname._validateFQDNresolvability:245 localhost resolves to: set(['127.0.0.1'])
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/port
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/database
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/user
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/password
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1164 dbenv: {'OVESETUP_DB/database': 'engine', 'OVESETUP_DB/host': 'localhost', 'OVESETUP_DB/user': 'engine', 'OVESETUP_DB/secured': False, 'OVESETUP_DB/securedHostValidation': False, 'OVESETUP_DB/password': '**FILTERED**', 'OVESETUP_DB/port': '5432'}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select count(*) as count
                from pg_catalog.pg_tables
                where schemaname = 'public';
            ', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 152L}]
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:813 execute: ('/bin/psql', '-V'), executable='None', cwd='None', env=None
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:863 execute-result: ('/bin/psql', '-V'), rc=0
2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:921 execute-output: ('/bin/psql', '-V') stdout:
psql (PostgreSQL) 9.2.15

2016-09-15 09:50:55 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:926 execute-output: ('/bin/psql', '-V') stderr:


2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_encoding', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_encoding': 'UTF8'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show max_connections', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'max_connections': '150'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show lc_messages', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'lc_messages': 'en_US.UTF-8'}]
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_version', args: {}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_version': '9.2.15'}]
2016-09-15 09:50:55 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'SELECT pg_database_size(%(db)s) as size', args: {'db': 'ovirt_engine_history'}
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:55 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'size': 23499896L}]
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human human.queryString:145 query OVESETUP_DWH_PERFORM_BACKUP
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 The detected DWH database size is 22 MB.
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Setup can backup the existing database. The time and space required for the database backup depend on its size. This process takes time, and in some cases (for instance, when the size is few GBs) may take several hours to complete.
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 If you choose to not back up the database, and Setup later fails for some reason, it will not be able to restore the database and all DWH data will be lost.
2016-09-15 09:50:55 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Would you like to backup the existing database before upgrading it? (Yes, No) [Yes]: 
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/performBackup=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection hostname.__init__:140 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/host
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection hostname._validateFQDNresolvability:245 localhost resolves to: set(['127.0.0.1'])
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/port
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/database
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/user
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/password
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1164 dbenv: {'OVESETUP_DB/database': 'engine', 'OVESETUP_DB/host': 'localhost', 'OVESETUP_DB/user': 'engine', 'OVESETUP_DB/secured': False, 'OVESETUP_DB/securedHostValidation': False, 'OVESETUP_DB/password': '**FILTERED**', 'OVESETUP_DB/port': '5432'}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select count(*) as count
                from pg_catalog.pg_tables
                where schemaname = 'public';
            ', args: {}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 152L}]
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:813 execute: ('/bin/psql', '-V'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:863 execute-result: ('/bin/psql', '-V'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:921 execute-output: ('/bin/psql', '-V') stdout:
psql (PostgreSQL) 9.2.15

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:926 execute-output: ('/bin/psql', '-V') stderr:


2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_encoding', args: {}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_encoding': 'UTF8'}]
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show max_connections', args: {}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'max_connections': '150'}]
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show lc_messages', args: {}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'lc_messages': 'en_US.UTF-8'}]
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'show server_version', args: {}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'server_version': '9.2.15'}]
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== OVIRT ENGINE CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== STORAGE CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== PKI CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: 07 E0 3B 10 44 E8 28 F9 3C 14 C0 78 E2 E4 D4 82 87 3A 87 57 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAEwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NDlaFw0yMTA4MTkxMzE2NDlaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCuiMeHcIeIEV5vfoI/
KVmI896nEaOnCvYFAPuTdMed4Vn32T1uHbrmHE5Uji2hAClibo1PdZtP721kIGVW
KCkm576Mx/p0dlCB6//6KLI+KTW9JzVflHF8sAoc6TAAKqSOM3wnKILu7v4JY/HO
LTt0Mg/Ucb7AbYtcFdyLFuTiatj31rHhqqFcJZ8Zs89o1S6BhH3wuAiJHtDWzn77
aciqD/De+/U+Mdv2T37zDGP+Yrfaz5LmbLhBRoPT3Iom4sc5QUgMkhClrQNJBzDc
+h3SS5OA1GQtVQXYLp/KatEwr++Vu1vm4MuELg8rwfkfUJsr/Pa9AXOh/PmwaT03
mQFzAgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQUYkKlCzTQL0Fiw1K+f4t1WNAb/6Ew
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEAGJVe7RcWaLANkeoF
9h3ITPU/hG8f7YtdKRPfYHbhMIgWxNQsmXHuWDXPeyWNkSnkjwX7MoxaPatmAZiP
rBGeiec8wAZ4AA7B9S1i1/zTd2n2Bzs902l6O0DSsAUhrr49jGsAIAiQJS9Gt2UQ
gfCAq9clcyF85ey/e96sANoxiM4igF5/IMxZ6SmlAIh6Dc57MD1mqW/2xQx1jrjX
1Gaxu8WrfEIXzij0vj4fczpFs3meVOmAq+orPOaDJc90bwNM0lCXj0Bnr63z4FCN
ms2QvtL9zvsY/oZBTWYpUaka2FR1yO5Z4+JSiOT045urkc8xv03C9yTsPHGpsssi
GJ9KXA==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: C9 F1 7F E1 01 3C 7B 4C EB 35 B1 65 71 A9 5E 95 2D B4 31 66 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAIwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NDlaFw0yMTA4MTkxMzE2NDlaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9xvTC3Z41yBBh/dm3
3pIJphufi3vG8CeFa/+cMHqcNj58p65A1iZVf8lJQZznpyr1gjrhlVx3ADeb6rt7
TitO17azGqMMV2kJohAS4a4QSiXmSsyL2u1Fr5i/E7BfcP5oXLebWoAFlLoHRU9q
nK9/B9ZSjWBC7mFvtreoS2Dyu4ZJsDE5rQfqrUfQdMj75NIyQlrg46wd3A+FgWwz
qCP/9t1nFVGBZTRezfU48/5NFptsxfpRnxzxtZ+ICWEMCF1KteU1uIBsWq8RnaFH
m2boW0xvI1PtQIV8WTndU6DkRQBmc1ESlVOQaIHt0xDXaInejqFYCils+aerylGz
44knAgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQUNT96XYjYw16oQG7dKFEjGRHyH7Ew
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEAEBlQtNqeYekCKTHg
8foraHAVVnOPBy1Vy2ZFKJs1pdVfyPCNNFROCuTVoLPkgcy1eiWSX7AokqhkDLHM
7ehEriO35Jiepnw30Co2fTmTtQo01qJwWczo4cVW136rGF3huW3/m5OX3gM2u38M
P5gUHVN6zF0X3UINEY8SVg6PvB4iDpc4NqHvVbC+mDDPxmzC5U8SeRM/okIUkbWh
94TMy8DvD0cA+Dgw/tqL5NZKKuIEmFdeyCNVV1aYEQrZ/zTk4GlWvY0BW6wejYVk
c6PVsE81Wi0D/1+ssJKFOXoQgtUZksrd7QQVjKXDr1MD3yKK/kd6VSEGf9dm7Az+
XdbjjQ==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: 6F CD 51 E6 5D 65 B2 0B B2 2A F3 A6 F4 7B 56 7B F4 BB 3F B0 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAMwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NDlaFw0yMTA4MTkxMzE2NDlaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCoUcJej+H2yL8XXaui
QwBJbB8noYoQpY7m5BEIPqFfOv7ywJl5UbCEgEASWmLRJs8wZJwFnbuwqrXBzIc6
UmC8zEAKk7UQ7735ahuYJHzxgeHF1SactEuX5esEwyO/GzvCJBS85rotfQNvtkI3
vn10mZgxnIRcrzQShbA7w7J7BYx4nLU2G0/0ARo/t6STwnEfmB68EH2BksrZy37k
mWsLjSyyHMB2LXbtrOguysNcjfHFXiK8uRuu8r5gA0yB1otSeYEktwqNO4Eg7Chd
UFA/pX9tsUv7dHP7o4I0gzbsg8I8thzy2sxp8op70S2ZzOu4CvPKfZtQ6WVWqEz6
bln9AgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQUPbjr80f+UbiCzh2BqVUmaI/S9Kgw
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEALuas+NjvBzY/ilzS
vFF12nTsjAjj9VePbN84yncReoQPkqBrH0qwhw4Yi19WMhl4A/JOVkVA7yt83uj+
bLi8aZRm8x3O7HDzCOht5cDO0rk2cO49m+2tmxZIwuor8a4b9ESmUS4CFpaLDvoT
efod5lTshG2pDFwlfHuUFnlGw7XZRdwEeOFqFxaIqwrNoZJEE+tJDxRjlxmH7nkV
sOrw/Vf70z5VFYThdkk0FZLYCPtd5YiBbcrfBw0qJnNU0XfggJIk+FTzAzsuk5+E
nTAOj43GD7RX1RXxlPek3LR75YBXzBjrfqQUxMUAD4Q6HkNb4GuOj1j11Zrkb5fC
8Y13Gg==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: 7A 4F AF 39 73 04 32 C1 66 39 DA A1 50 1F 76 1A 57 D8 53 DA 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAQwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NDlaFw0yMTA4MTkxMzE2NDlaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCaLUxkvCIJ09QiyMlH
V/GQmOelZDYqZEOR8yJJPKAaoC04gxvvT8mwrW3kNkMt4ODQBGSpNEuitfBLjjDC
xrHBuo0TB2k1uEXnsCmgMlV1w54VySvE/X/wksbLlg1kBYLtaA/0yBvt87buWZCn
nRRHxAGxALDseW53qrVEvhLEqt7eyvuaR2MeR/LWjCBP4X1LzYpMFZLqK5iNx49Q
8Lq/W1rbx7p2JJ9SmKVCCAU82SJl7UZUeoK1TiCxfXaDwUuKEtDwcH5sKoRIWT7V
reGLDewaYG7rH8VNwu8ZbSrdVuEPM9WxA3tOdeigoHXDz2ibXf3QP9AlfA5GOjT1
EUI3AgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQUvJshq7sVMPoGPQPDvyRF1fgro6sw
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEAQULsxsemv3sPe+th
BrQBjNmk3oyBffNCxkqSgrOmyPD9Aadx24gj1TcXT2d/r5NytJFDR3iTRX/RROSg
Ni5OJNw34ShYjmUXsNSRQ3o5k0ocGr+UsKNCFNFn2Y5w+qLSYub6lUT0nCS53ayM
CGjJBmKHiAhJFuJtnwdweVIU7NnXvtGvWqbl/GVO4O4u0EDC+WbF9fq650lD9Mko
mi77N5h8fesqtbRcwvGoFpLVVtTNnf7fCwdCL3ZjN31a0gb4pvSXqBdRd/0L8Qmk
3p/jNihCyr/eBxgG24XW0Y4mcUIsKQcsRt06IQvrrhhcfpqRYT/kg1+/UDtXGbsH
h6kEkg==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: 09 07 C8 62 8E 77 33 8A E8 EF 60 3E F4 4A 46 89 C2 4F C3 FB 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAUwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NDlaFw0yMTA4MTkxMzE2NTBaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhgEPp+h/yEfJBj6+w
ilNzzKFE7lMwUgEjKcJy3TWMRqXbFC7CSkTrc5uTiBxZNpIwacFPG2pwCxlrt89/
5LGIjdstno/BDThnV+Lg8xTfGiGn9/cluLMI3xWYCsOEVJtxlaYintnTEC3pc1GU
DqFKXtjBid0je6uztU1Sxu9JPQ+1ivPZBOmG6K74uLvBX0Szm5/gYduSIHgun6tc
5c5sVsNHkkGJtFP5LAq2pxpcB8/X5KDaI5ZvaJ3hBsqxQIDvtLENHesCXDbT8vUL
WV5BH9GX4S75P2S0bjZRus8StOnK9trRoFBGS/2kzxq7L50gvI8bmaU24r4LLLv+
Tku/AgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQUw27DAl3PM58DGaoo1mw8YdB5CJYw
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEAj19Xdn/WDM1XrP4l
0CEPUyafLqbhl81ziQwlm3AmEEMUxA5JxhaBdMOlpxb04DoTWO5eSsDOqtr56ji3
hbUheSzIeJ/G3vbJv5BlUrVTYDF8TE5uvBM76zgkzzcILDuNDM1u0uqss3t1e9b3
YFd1XCF94c1YbF5/Xbfr29BcBCsgl//McjCtaRZ9ffTVkt6sywnBq8pzoj5l7v4l
7MgRDiDlaC24RwiNP5t3OZNlQFG6jQHYxgeWSY3b8KKOMlOhuzuOoifvqQCSJDdC
pyXw96AC4DilnxYmo6u95Dn/Jb0EZwZjMNIXAM/CP9EK6Y5UFMeSmw9+J/Y9V2G0
01HmWA==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout:
Bag Attributes
    localKeyID: E5 29 C8 2C D9 0A 9D EB D0 22 AE 06 37 57 51 D8 04 3C 82 14 
subject=/C=US/O=yazzy.net/CN=virt02.yazzy.net
issuer=/C=US/O=yazzy.net/CN=virt02.yazzy.net.91471
-----BEGIN CERTIFICATE-----
MIIEUDCCAzigAwIBAgICEAYwDQYJKoZIhvcNAQEFBQAwQjELMAkGA1UEBhMCVVMx
EjAQBgNVBAoTCXlhenp5Lm5ldDEfMB0GA1UEAxMWdmlydDAyLnlhenp5Lm5ldC45
MTQ3MTAeFw0xNjA5MTMxMzE2NTBaFw0yMTA4MTkxMzE2NTBaMDwxCzAJBgNVBAYT
AlVTMRIwEAYDVQQKEwl5YXp6eS5uZXQxGTAXBgNVBAMTEHZpcnQwMi55YXp6eS5u
ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCw4X7iOq8FQzR8FRMB
tq7VdBuoqol1RhGW34fLwcm8z6Ehnwg0GSlHjhF7fTnS68arrn6KjXg/QnQztr7U
D1QfBf3Ul0TrJnzZUXUN6DF3DCENlYse+455vGsrUvIeWAczgntRU0PGsZZVZsnR
yTANcfQW+UE6vN7LWKyovxyCHXiOi/uelNYt7U0S0yeV1pOjOn1XenkKAHv/ypH+
/VH2OjCPLzIz8jQSU55OJAxKO9YmDlDEX80VJ5uHlj41qn4bxoqpCX4miySunGSC
H+drQxsBxxjgPlCZztAuY3C8EwOlxdrn2lcsAJMKSdOqcI9keY4/8IcfflWRSspG
5BJFAgMBAAGjggFUMIIBUDAdBgNVHQ4EFgQU2FPP7E28+kMYr1fWYu9DK9GUxOgw
gYQGCCsGAQUFBwEBBHgwdjB0BggrBgEFBQcwAoZoaHR0cDovL3ZpcnQwMi55YXp6
eS5uZXQ6ODAvb3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNv
dXJjZT1jYS1jZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwawYDVR0jBGQw
YoAUzGzEDHos+uOPKqNrodjGuKQosj6hRqREMEIxCzAJBgNVBAYTAlVTMRIwEAYD
VQQKEwl5YXp6eS5uZXQxHzAdBgNVBAMTFnZpcnQwMi55YXp6eS5uZXQuOTE0NzGC
AhAAMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgWgMCAGA1UdJQEB/wQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEAMrcjLreMzRVZgc0z
c0ORz3RATyzSM5sRobSJtz5QLtWtXbGqLzhvWsGuc0aYYIbXhhX4GSoGl0/2yhSU
f+GNXbfHjI2DkqrclqP619FSPuNBmxM3pJ+MIgqnVtB8N4ta6+WZXhGZMqtoRVcn
TCAbbi3s6h0lR+FL0M5PGjOyy6CwZYm9TBmjN2Fs6JstOeGpe1+pFfshWy+UcoV0
mONVAWXk4lsV0G21lwAw9vk9ACzUh9J3//c0BO/FV4hhLMda8L2Utwffb739xmpb
YHgG0RpjbKgo0FJ4EPB+BY3DRFb0QTvYy4SS5J2jvxeV7xEoACzlg01RZhx+/n5w
74eqOA==
-----END CERTIFICATE-----

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr:
MAC verified OK

2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== APACHE CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== SYSTEM CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@HTTPS_PORT@': 443, '@VMCONSOLE_PROXY_PORT@': 2222, '@HTTP_PORT@': 80, '@IMAGEIO_PROXY_PORT@': 54323, '@JBOSS_HTTPS_PORT@': None, '@JBOSS_HTTP_PORT@': None}'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@WEBSOCKET_PROXY_PORT@': 6100, '@HTTPS_PORT@': 443, '@VMCONSOLE_PROXY_PORT@': 2222, '@HTTP_PORT@': 80, '@IMAGEIO_PROXY_PORT@': 54323, '@JBOSS_HTTPS_PORT@': None, '@JBOSS_HTTP_PORT@': None}'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}, {'directory': 'ovirt-engine', 'name': 'ovirt-fence-kdump-listener'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}, {'directory': 'ovirt-engine', 'name': 'ovirt-fence-kdump-listener'}, {'directory': 'ovirt-engine', 'name': 'ovirt-nfs'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== MISC CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_CONFIG/scale
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== END OF CONFIGURATION ==--
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.core.config.Plugin._customize2
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}, {'directory': 'ovirt-engine', 'name': 'ovirt-fence-kdump-listener'}, {'directory': 'ovirt-engine', 'name': 'ovirt-nfs'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}, {'directory': 'ovirt-engine', 'name': 'ovirt-fence-kdump-listener'}, {'directory': 'ovirt-engine', 'name': 'ovirt-nfs'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 INFO otopi.context context.runSequence:687 Stage: Setup validation
2016-09-15 09:50:56 DEBUG otopi.context context.runSequence:691 STAGE validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.core.misc.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/aborted=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/debug=int:'0'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/executionDirectory=str:'/usr/share/ovirt-engine/dbscripts/upgrade'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/log=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/suppressEnvironmentKeys=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/chkconfig=str:'/sbin/chkconfig'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/chronyc=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/date=str:'/bin/date'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/dig=str:'/bin/dig'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/exportfs=str:'/sbin/exportfs'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/firewall-cmd=str:'/bin/firewall-cmd'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/hwclock=str:'/sbin/hwclock'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/initctl=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ip=str:'/sbin/ip'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ntpq=str:'/sbin/ntpq'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/openssl=str:'/bin/openssl'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/pg_dump=str:'/bin/pg_dump'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/pg_restore=str:'/bin/pg_restore'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/psql=str:'/bin/psql'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/rc=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/rc-update=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/reboot=str:'/sbin/reboot'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/restorecon=str:'/sbin/restorecon'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/rpm=str:'/bin/rpm'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/selinuxenabled=str:'/sbin/selinuxenabled'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/semanage=str:'/sbin/semanage'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/service=str:'/sbin/service'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ssh-keygen=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/sysctl=str:'/sbin/sysctl'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/systemctl=str:'/bin/systemctl'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/configFileAppend=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/failOnPrioOverride=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/internalPackageTransaction=Transaction:'transaction'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', mode 'a' at 0x2caf030>'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterKeys=list:'['OVESETUP_DB/password', 'OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/remoteEngineHostRootPassword']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2c4b350>]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/logRemoveAtExit=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/mainTransaction=Transaction:'transaction'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/modifiedFiles=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV CORE/randomizeEvents=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/autoAcceptDefault=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/cliVersion=int:'1'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/customization=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV DIALOG/dialect=str:'human'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_NAME=str:'otopi'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV INFO/PACKAGE_VERSION=str:'1.6.0_master'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldAvailable=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldDisableServices=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/firewalldEnable=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/iptablesEnable=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/iptablesRules=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/sshEnable=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/sshKey=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK/sshUser=str:''
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/enableUpgrade=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/requireRollback=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-userportal', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard', 'ovirt-engine-dwh']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configureRootRedirection=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configureSsl=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/configured=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/enable=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/httpdService=str:'httpd'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/needRestart=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ASYNC/clearTasks=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ASYNC/clearTasksWait=int:'20'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminPassword=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUser=str:'admin at internal'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserId=str:'29d0243f-d6d5-4d5b-b1d7-2cfbfdb60cd5'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/applicationMode=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/continueSetupOnHEVM=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineDbBackupDir=str:'/var/lib/ovirt-engine/backups'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineHeapMax=str:'3881M'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineHeapMin=str:'3881M'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/engineServiceStopNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallChangesReview=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManager=str:'firewalld'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x33b3ed0>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x33c9090>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables._IpTablesManager object at 0x33c90d0>]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdn=str:'virt02.yazzy.net'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdnNonLoopback=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/fqdnReverseValidation=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/httpPort=int:'80'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/httpsPort=int:'443'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/ignoreVdsgroupInNotifier=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyConfig=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyHost=str:'localhost'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyPort=int:'54323'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainACL=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainDefaultMountPoint=str:'/var/lib/exports/iso'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainExists=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainMountPoint=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainName=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainSdUuid=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoDomainStorageDir=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/isoPathsToUpload=list:'['/usr/share/virtio-win/virtio-win_x86.vfd', '/usr/share/virtio-win/virtio-win_amd64.vfd', '/usr/share/virtio-win/virtio-win.iso', '/usr/share/ovirt-guest-tools-iso/ovirt-tools-setup.iso', '/usr/share/rhev-guest-tools-iso/rhev-tools-setup.iso']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/javaHome=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/javaNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossAjpPort=int:'8702'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossDebugAddress=str:'127.0.0.1:8787'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossDirectHttpPort=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossDirectHttpsPort=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHome=str:'/usr/share/ovirt-engine-wildfly'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHttpPort=int:'8080'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossHttpsPort=int:'8443'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/jbossNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/keySize=int:'2048'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/pkiOIPCSRFilename=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/pkiRenewalDocUrl=str:'http://www.ovirt.org/OVirt_3.5.4_Release_Notes#PKI'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/pkiWSPCSRFilename=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/publicHttpPort=int:'80'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/publicHttpsPort=int:'443'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineHostClientKey=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineHostKnownHosts=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineHostRootPassword=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineHostSshPort=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineSetupStyle=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x33b3e10>, <otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files._ManualFiles object at 0x33c9150>]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/sanWipeAfterDelete=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/storageIsLocal=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/storageType=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/totalMemoryMB=int:'15526'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/updateFirewall=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/validFirewallManagers=str:''
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyConfig=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyHost=str:'localhost'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyPort=int:'6100'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/action=str:'setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/answerFile=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/developerMode=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/engineStop=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/generatePostInstall=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/generatedByVersion=str:'4.1.0_master'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/offlinePackager=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/originalGeneratedByVersion=str:'4.0.3'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/reconfigureOptionalComponents=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/registerUninstallGroups=RegisterGroups:'<otopi.plugins.ovirt_engine_common.base.core.uninstall.RegisterGroups object at 0x33b3c90>'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/remoteEngine=RemoteEngine:'<ovirt_engine_setup.remote_engine.RemoteEngine object at 0x33c9050>'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/setupAttributesModules=list:'[<module 'ovirt_engine_setup.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.engine_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>, <module 'ovirt_engine_setup.ovirt_imageio_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/ovirt_imageio_proxy/constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/constants.pyc'>]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE/upgradeSupportedVersions=str:'3.6,4.0,4.1'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ovirt_dwh_files=dict:'{}'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/connection=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/database=str:'engine'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/dumper=str:'pg_custom'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/filter=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/fixDbViolations=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/host=str:'localhost'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/newDatabase=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/password=str:'**FILTERED**'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/pgPassFile=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/port=str:'5432'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/restoreJobs=int:'2'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/secured=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/securedHostValidation=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/statement=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/user=str:'engine'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DIALOG/confirmSettings=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/docsAreLocal=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/dwhDocUrl=str:'http://www.ovirt.org/Ovirt_DWH'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DOCS/reportsDocUrl=str:'http://www.ovirt.org/Ovirt_Reports'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/dwhDbBackupDir=str:'/var/lib/ovirt-engine-dwh/backups'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/remoteEngineConfigured=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CONFIG/scale=str:'1'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CORE/enable=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_CORE/uuid=str:'6c29cd3e-242b-4214-ba8a-276952f4704f'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/connection=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/database=str:'ovirt_engine_history'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/disconnectExistingDwh=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/dumper=str:'pg_custom'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/filter=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/host=str:'localhost'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/newDatabase=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/password=str:'**FILTERED**'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/performBackup=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/pgPassFile=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/port=str:'5432'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/restoreBackupLate=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/restoreJobs=int:'2'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/secured=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/securedHostValidation=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/statement=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/user=str:'ovirt_engine_history'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_PROVISIONING/postgresProvisioningEnabled=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_RPMDISRO_PACKAGES=str:'ovirt-engine-dwh'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-dwh-setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ENGINE_CONFIG/fqdn=str:'virt02.yazzy.net'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_ENGINE_CORE/enable=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}, {'directory': 'ovirt-imageio-proxy', 'name': 'ovirt-imageio-proxy'}, {'directory': 'websocket-proxy', 'name': 'ovirt-websocket-proxy'}, {'directory': 'ovirt-engine', 'name': 'ovirt-fence-kdump-listener'}, {'directory': 'ovirt-engine', 'name': 'ovirt-nfs'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@WEBSOCKET_PROXY_PORT@': 6100, '@HTTPS_PORT@': 443, '@VMCONSOLE_PROXY_PORT@': 2222, '@HTTP_PORT@': 80, '@IMAGEIO_PROXY_PORT@': 54323, '@JBOSS_HTTPS_PORT@': None, '@JBOSS_HTTP_PORT@': None}'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/country=str:'US'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/organization=str:'yazzy.net'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/renew=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PKI/storePassword=str:'**FILTERED**'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/lib/pgsql/data/postgresql.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresLCMessages=str:''en_US.UTF-8''
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresListenAddress=str:''*''
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresMaxConn=int:'150'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/lib/pgsql/data/pg_hba.conf'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/lib/pgsql/data/PG_VERSION'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresProvisioningEnabled=NoneType:'None'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_PROVISIONING/postgresService=str:'postgresql'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/aaaJdbcPackage=str:'ovirt-engine-extension-aaa-jdbc'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-image-uploader,ovirt-iso-uploader,ovirt-engine-dashboard'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/enginePackages=str:'ovirt-engine'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/engineSetupPackages=str:'ovirt-engine-setup'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/jbossPackages=str:'ovirt-engine-wildfly,ovirt-engine-wildfly-overlay'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy', 'ovirt-engine-dwh-setup']'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-image-uploader', 'ovirt-iso-uploader', 'ovirt-engine-dashboard'], 'group': 'ovirt-engine-4.0'}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_RPMDISTRO/upgradeYumGroup=str:'ovirt-engine-4.0'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupEngine=str:'ovirt'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupKvm=str:'kvm'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/groupVmConsole=str:'ovirt-vmconsole'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt-engine-dwhd,ovirt-engine-notifier'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:'16384'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs-server'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userApache=str:'apache'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userRoot=str:'root'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:'2222'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfDisabledPlugins=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfExpireCache=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfRollback=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/dnfpackagerEnabled=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/keepAliveInterval=int:'30'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumDisabledPlugins=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumEnabledPlugins=list:'[]'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumExpireCache=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumRollback=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV PACKAGER/yumpackagerEnabled=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockMaxGap=int:'5'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/clockSet=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/reboot=bool:'False'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootAllow=bool:'True'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV SYSTEM/rebootDeferTime=int:'10'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.hostname.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:61 my name: virt02.yazzy.net
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname plugin.executeRaw:813 execute: ('/sbin/ip', 'addr', 'show'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname plugin.executeRaw:863 execute-result: ('/sbin/ip', 'addr', 'show'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname plugin.execute:921 execute-output: ('/sbin/ip', 'addr', 'show') stdout:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN 
    link/ether c6:79:64:ff:c8:a4 brd ff:ff:ff:ff:ff:ff
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovirtmgmt state UP qlen 1000
    link/ether 74:d4:35:56:fb:ac brd ff:ff:ff:ff:ff:ff
    inet6 fe80::76d4:35ff:fe56:fbac/64 scope link 
       valid_lft forever preferred_lft forever
4: enp5s6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:02:a5:e7:99:e3 brd ff:ff:ff:ff:ff:ff
5: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 74:d4:35:56:fb:ac brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.31/24 brd 192.168.99.255 scope global ovirtmgmt
       valid_lft forever preferred_lft forever
6: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether a6:90:93:5e:ec:ae brd ff:ff:ff:ff:ff:ff

2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname plugin.execute:926 execute-output: ('/sbin/ip', 'addr', 'show') stderr:


2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:98 my addresses: ['192.168.99.31', '192.168.99.31', '192.168.99.31']
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:99 local addresses: [u'fe80::76d4:35ff:fe56:fbac', u'192.168.99.31']
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.ssh.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.executeRaw:813 execute: ('/sbin/selinuxenabled',), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.executeRaw:863 execute-result: ('/sbin/selinuxenabled',), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.execute:921 execute-output: ('/sbin/selinuxenabled',) stdout:


2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.execute:926 execute-output: ('/sbin/selinuxenabled',) stderr:


2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine exists
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stdout:
LoadState=loaded

2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stderr:


2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine status
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'status', 'ovirt-engine.service'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'status', 'ovirt-engine.service'), rc=3
2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine.service') stdout:
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2016-09-14 15:56:27 CEST; 17h ago
 Main PID: 3862 (code=exited, status=1/FAILURE)

Sep 14 15:51:04 virt02.yazzy.net systemd[1]: Started oVirt Engine.
Sep 14 15:56:17 virt02.yazzy.net systemd[1]: Stopping oVirt Engine...
Sep 14 15:56:27 virt02.yazzy.net ovirt-engine.py[3862]: 2016-09-14 15:56:27,355 ovirt-engine: ERROR run:532 Error: Had to kill process 3907
Sep 14 15:56:27 virt02.yazzy.net systemd[1]: ovirt-engine.service: main process exited, code=exited, status=1/FAILURE
Sep 14 15:56:27 virt02.yazzy.net systemd[1]: Stopped oVirt Engine.
Sep 14 15:56:27 virt02.yazzy.net systemd[1]: Unit ovirt-engine.service entered failed state.
Sep 14 15:56:27 virt02.yazzy.net systemd[1]: ovirt-engine.service failed.
Sep 14 19:18:59 virt02.yazzy.net systemd[1]: Stopped oVirt Engine.
Sep 14 21:54:08 virt02.yazzy.net systemd[1]: Stopped oVirt Engine.
Sep 15 09:40:16 virt02.yazzy.net systemd[1]: Stopped oVirt Engine.

2016-09-15 09:50:56 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine.service') stderr:


2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.executeRaw:813 execute: ('/bin/psql', '-V'), executable='None', cwd='None', env=None
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.executeRaw:863 execute-result: ('/bin/psql', '-V'), rc=0
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.execute:921 execute-output: ('/bin/psql', '-V') stdout:
psql (PostgreSQL) 9.2.15

2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.execute:926 execute-output: ('/bin/psql', '-V') stderr:


2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmphgplCB'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select version, option_value
                from vdc_options
                where option_name = %(name)s
            ', args: {'name': 'HostedEngineVmName'}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'version': 'general', 'option_value': 'HostedEngine'}]
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                SELECT vm_guid, run_on_vds
                FROM vms
                WHERE vm_name = %(HostedEngineVmName)s;
            ', args: {'HostedEngineVmName': 'HostedEngine'}
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:56 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CONFIG/javaHome=unicode:'/usr/lib/jvm/jre'
2016-09-15 09:50:56 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier notifier._validation:69 filterStr: None
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation
2016-09-15 09:50:56 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs exportfs._validation:168 move=False, generate=False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:813 execute: ('/sbin/sysctl', '-n', 'kernel.shmmax'), executable='None', cwd='None', env=None
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:863 execute-result: ('/sbin/sysctl', '-n', 'kernel.shmmax'), rc=0
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:921 execute-output: ('/sbin/sysctl', '-n', 'kernel.shmmax') stdout:
68719476736

2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:926 execute-output: ('/sbin/sysctl', '-n', 'kernel.shmmax') stderr:


2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'dwhHostname'}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': 'virt02.yazzy.net', 'var_datetime': None, 'var_name': 'dwhHostname'}]
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'dwhUuid'}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': '6c29cd3e-242b-4214-ba8a-276952f4704f', 'var_datetime': None, 'var_name': 'dwhUuid'}]
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select
                    nsp.nspname as object_schema,
                    cls.relname as object_name,
                    rol.rolname as owner,
                    case cls.relkind
                        when 'r' then 'TABLE'
                        when 'i' then 'INDEX'
                        when 'S' then 'SEQUENCE'
                        when 'v' then 'VIEW'
                        when 'c' then 'TYPE'
                    else
                        cls.relkind::text
                    end as object_type
                from
                    pg_class cls join
                    pg_roles rol on rol.oid = cls.relowner join
                    pg_namespace nsp on nsp.oid = cls.relnamespace
                where
                    nsp.nspname not in ('information_schema', 'pg_catalog') and
                    nsp.nspname not like 'pg_%%' and
                    rol.rolname != %(user)s
                order by
                    nsp.nspname,
                    cls.relname
            ', args: {'user': 'ovirt_engine_history'}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.iptables.Plugin._validate
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select
                    nsp.nspname as object_schema,
                    cls.relname as object_name,
                    rol.rolname as owner,
                    case cls.relkind
                        when 'r' then 'TABLE'
                        when 'i' then 'INDEX'
                        when 'S' then 'SEQUENCE'
                        when 'v' then 'VIEW'
                        when 'c' then 'TYPE'
                    else
                        cls.relkind::text
                    end as object_type
                from
                    pg_class cls join
                    pg_roles rol on rol.oid = cls.relowner join
                    pg_namespace nsp on nsp.oid = cls.relnamespace
                where
                    nsp.nspname not in ('information_schema', 'pg_catalog') and
                    nsp.nspname not like 'pg_%%' and
                    rol.rolname != %(user)s
                order by
                    nsp.nspname,
                    cls.relname
            ', args: {'user': 'engine'}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                SELECT compatibility_version FROM storage_pool;
            ', args: {}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'compatibility_version': '3.6'}]
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                SELECT table_name FROM information_schema.tables
                WHERE table_name IN ('vds_groups', 'cluster');
            ', args: {}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'table_name': 'vds_groups'}, {'table_name': 'cluster'}]
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: 'SELECT compatibility_version FROM vds_groups;', args: {}
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:50:57 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'compatibility_version': '3.6'}, {'compatibility_version': '3.6'}]
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies
2016-09-15 09:50:57 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateZombies:468 Cleaning stale zombie tasks and commands
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:813 execute: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-r', '-Z'), executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmphgplCB', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}
********* QUERY **********
select exists (select * from information_schema.tables where table_schema = 'public' and table_name = 'command_entities');
**************************

 t

********* QUERY **********
/************************************************************************************************
 The following are helper SP for taskcleaner utility and are not exposed to the application DAOs

If you add a function here, drop it in taskcleaner_sp_drop.sql
************************************************************************************************/
CREATE OR REPLACE FUNCTION GetAsyncTasksZombies() RETURNS SETOF async_tasks
   AS $procedure$
DECLARE
    zombie_task_life varchar;
    zombie_timestamptz timestamp with time zone;
BEGIN
   zombie_task_life = option_value FROM vdc_options WHERE option_name = 'AsyncTaskZombieTaskLifeInMinutes';
   EXECUTE 'SELECT now() - interval ''' || zombie_task_life || ' minute'''  INTO zombie_timestamptz;

   RETURN QUERY SELECT *
   FROM async_tasks
   WHERE started_at < zombie_timestamptz
   ORDER BY command_id;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskZombiesByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF EXISTS (SELECT 1 FROM GetAsyncTasksZombies() WHERE task_id = v_task_id) THEN
        PERFORM Deleteasync_tasks(v_task_id);
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskZombiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
deleted_rows int;
root_command_id_of_deleted_cmds UUID;
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities c WHERE
        c.command_id IN (
            SELECT command_id FROM GetAsyncTasksZombies() t WHERE t.command_id = v_command_id
        );

        DELETE FROM command_entities c WHERE
        c.command_id IN (
            SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.root_command_id = v_command_id
        );
    END IF;

    DELETE FROM async_tasks WHERE
    root_command_id IN (
        SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.root_command_id = v_command_id
    );

    DELETE FROM async_tasks WHERE
    root_command_id IN (
        SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.command_id = v_command_id
    );

    PERFORM DeleteEntitySnapshotByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
deleted_rows int;
root_command_id_of_deleted_cmds UUID;
BEGIN
        DELETE FROM async_tasks WHERE command_id = v_command_id;
        IF (fn_db_is_table_exists ('command_entities')) THEN
            SELECT root_command_id  into root_command_id_of_deleted_cmds FROM COMMAND_entities WHERE command_id = v_command_id;
            DELETE FROM command_entities where command_id = v_command_id;
            GET DIAGNOSTICS deleted_rows = ROW_COUNT;
            IF deleted_rows > 0 THEN
                DELETE FROM command_entities C WHERE command_id = root_command_id_of_deleted_cmds AND NOT EXISTS (SELECT * from COMMAND_ENTITIES WHERE root_command_id = C.command_id);
            END IF;
        END IF;
        PERFORM DeleteEntitySnapshotByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTasksZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM async_tasks WHERE task_id in (SELECT task_id FROM GetAsyncTasksZombies());
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE external_id = v_task_id;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByZombieTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
    v_command_id UUID;
BEGIN
    v_command_id:=command_id FROM GetAsyncTasksZombies() WHERE task_id = v_task_id;
    DELETE FROM business_entity_snapshot WHERE command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
    v_command_id UUID;
BEGIN
    v_command_id:=command_id FROM async_tasks WHERE task_id = v_task_id;
    DELETE FROM business_entity_snapshot WHERE command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot WHERE command_id IN (SELECT command_id FROM GetAsyncTasksZombies());
    PERFORM DeleteAllCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteOrphanJobs() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM job WHERE NOT EXISTS (SELECT 1 from step where step.job_id = job.job_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByZombieCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id from GetAsyncTasksZombies() WHERE command_id = v_command_id);
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id from async_tasks WHERE command_id = v_command_id);
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id FROM GetAsyncTasksZombies());
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllJobs() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM job;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllEntitySnapshot() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot;
    PERFORM DeleteAllCommandEntities();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot where command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllCommandEntities() RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities;
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteCommandEntitiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities where command_id = v_command_id;
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllCommandEntitiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities where command_id IN (SELECT command_id FROM GetAsyncTasksZombies());
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
/************************************************************************************************
 The following are helper SP for taskcleaner utility and are not exposed to the application DAOs
/This script deals with command_entities related SP
************************************************************************************************/
Create or replace FUNCTION GetAllCommandsWithRunningTasks() RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES C
   WHERE EXISTS (SELECT * FROM ASYNC_TASKS A WHERE A.COMMAND_ID = C.COMMAND_ID);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION  GetAllCommands()
RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION GetAllCommandsWithZombieTasks()
RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES C
   WHERE C.COMMAND_ID in (SELECT COMMAND_ID from GetAsyncTasksZombies());
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommands()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES;
   GET DIAGNOSTICS deleted_rows = ROW_COUNT;
   RETURN deleted_rows;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommandsWithZombieTasks()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES C
   WHERE C.COMMAND_ID in (SELECT COMMAND_ID from GetAsyncTasksZombies());
   GET DIAGNOSTICS deleted_rows = ROW_COUNT;
   RETURN deleted_rows;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommandsWithRunningTasks()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES C WHERE C.COMMAND_ID in (SELECT * FROM ASYNC_TASKS A WHERE A.COMMAND_ID = C.COMMAND_ID);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
SELECT DeleteAllCommandsWithZombieTasks();
**************************

                                0

********* QUERY **********
/************************************************************************************************
Drop stuff created by taskcleaner_sp.sql
************************************************************************************************/
DROP FUNCTION IF EXISTS DeleteAllCommands();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllCommandsWithRunningTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllCommandsWithZombieTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllEntitySnapshot();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllJobs();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTasksZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskZombiesByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskZombiesByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotByZombieTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByZombieCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommands();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommandsWithRunningTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommandsWithZombieTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAsyncTasksZombies();
**************************

DROP FUNCTION
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:863 execute-result: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-r', '-Z'), rc=0
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:921 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-r', '-Z') stdout:
 t
                                0


2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:926 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-r', '-Z') stderr:


2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:813 execute: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-R', '-z', '-A'), executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmphgplCB', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}
********* QUERY **********
select exists (select * from information_schema.tables where table_schema = 'public' and table_name = 'command_entities');
**************************

 t

********* QUERY **********
/************************************************************************************************
 The following are helper SP for taskcleaner utility and are not exposed to the application DAOs

If you add a function here, drop it in taskcleaner_sp_drop.sql
************************************************************************************************/
CREATE OR REPLACE FUNCTION GetAsyncTasksZombies() RETURNS SETOF async_tasks
   AS $procedure$
DECLARE
    zombie_task_life varchar;
    zombie_timestamptz timestamp with time zone;
BEGIN
   zombie_task_life = option_value FROM vdc_options WHERE option_name = 'AsyncTaskZombieTaskLifeInMinutes';
   EXECUTE 'SELECT now() - interval ''' || zombie_task_life || ' minute'''  INTO zombie_timestamptz;

   RETURN QUERY SELECT *
   FROM async_tasks
   WHERE started_at < zombie_timestamptz
   ORDER BY command_id;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskZombiesByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF EXISTS (SELECT 1 FROM GetAsyncTasksZombies() WHERE task_id = v_task_id) THEN
        PERFORM Deleteasync_tasks(v_task_id);
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskZombiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
deleted_rows int;
root_command_id_of_deleted_cmds UUID;
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities c WHERE
        c.command_id IN (
            SELECT command_id FROM GetAsyncTasksZombies() t WHERE t.command_id = v_command_id
        );

        DELETE FROM command_entities c WHERE
        c.command_id IN (
            SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.root_command_id = v_command_id
        );
    END IF;

    DELETE FROM async_tasks WHERE
    root_command_id IN (
        SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.root_command_id = v_command_id
    );

    DELETE FROM async_tasks WHERE
    root_command_id IN (
        SELECT root_command_id FROM GetAsyncTasksZombies() t WHERE t.command_id = v_command_id
    );

    PERFORM DeleteEntitySnapshotByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTaskByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
deleted_rows int;
root_command_id_of_deleted_cmds UUID;
BEGIN
        DELETE FROM async_tasks WHERE command_id = v_command_id;
        IF (fn_db_is_table_exists ('command_entities')) THEN
            SELECT root_command_id  into root_command_id_of_deleted_cmds FROM COMMAND_entities WHERE command_id = v_command_id;
            DELETE FROM command_entities where command_id = v_command_id;
            GET DIAGNOSTICS deleted_rows = ROW_COUNT;
            IF deleted_rows > 0 THEN
                DELETE FROM command_entities C WHERE command_id = root_command_id_of_deleted_cmds AND NOT EXISTS (SELECT * from COMMAND_ENTITIES WHERE root_command_id = C.command_id);
            END IF;
        END IF;
        PERFORM DeleteEntitySnapshotByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAsyncTasksZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM async_tasks WHERE task_id in (SELECT task_id FROM GetAsyncTasksZombies());
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE external_id = v_task_id;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByZombieTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
    v_command_id UUID;
BEGIN
    v_command_id:=command_id FROM GetAsyncTasksZombies() WHERE task_id = v_task_id;
    DELETE FROM business_entity_snapshot WHERE command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByTaskId(v_task_id UUID) RETURNS VOID
   AS $procedure$
DECLARE
    v_command_id UUID;
BEGIN
    v_command_id:=command_id FROM async_tasks WHERE task_id = v_task_id;
    DELETE FROM business_entity_snapshot WHERE command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot WHERE command_id IN (SELECT command_id FROM GetAsyncTasksZombies());
    PERFORM DeleteAllCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteOrphanJobs() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM job WHERE NOT EXISTS (SELECT 1 from step where step.job_id = job.job_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByZombieCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id from GetAsyncTasksZombies() WHERE command_id = v_command_id);
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id from async_tasks WHERE command_id = v_command_id);
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteJobStepsZombies() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM step WHERE step_id IN (SELECT step_id FROM GetAsyncTasksZombies());
    PERFORM DeleteOrphanJobs();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllJobs() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM job;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllEntitySnapshot() RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot;
    PERFORM DeleteAllCommandEntities();
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteEntitySnapshotByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    DELETE FROM business_entity_snapshot where command_id = v_command_id;
    PERFORM DeleteCommandEntitiesByCommandId(v_command_id);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllCommandEntities() RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities;
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteCommandEntitiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities where command_id = v_command_id;
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION DeleteAllCommandEntitiesByCommandId(v_command_id UUID) RETURNS VOID
   AS $procedure$
BEGIN
    IF (fn_db_is_table_exists ('command_entities')) THEN
        DELETE FROM command_entities where command_id IN (SELECT command_id FROM GetAsyncTasksZombies());
    END IF;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
/************************************************************************************************
 The following are helper SP for taskcleaner utility and are not exposed to the application DAOs
/This script deals with command_entities related SP
************************************************************************************************/
Create or replace FUNCTION GetAllCommandsWithRunningTasks() RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES C
   WHERE EXISTS (SELECT * FROM ASYNC_TASKS A WHERE A.COMMAND_ID = C.COMMAND_ID);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION  GetAllCommands()
RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION GetAllCommandsWithZombieTasks()
RETURNS SETOF COMMAND_ENTITIES STABLE
   AS $procedure$
BEGIN
   RETURN QUERY SELECT *
   FROM COMMAND_ENTITIES C
   WHERE C.COMMAND_ID in (SELECT COMMAND_ID from GetAsyncTasksZombies());
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommands()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES;
   GET DIAGNOSTICS deleted_rows = ROW_COUNT;
   RETURN deleted_rows;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommandsWithZombieTasks()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES C
   WHERE C.COMMAND_ID in (SELECT COMMAND_ID from GetAsyncTasksZombies());
   GET DIAGNOSTICS deleted_rows = ROW_COUNT;
   RETURN deleted_rows;

END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
Create or replace FUNCTION DeleteAllCommandsWithRunningTasks()
RETURNS integer
   AS $procedure$
DECLARE
deleted_rows int;
BEGIN
   DELETE FROM COMMAND_ENTITIES C WHERE C.COMMAND_ID in (SELECT * FROM ASYNC_TASKS A WHERE A.COMMAND_ID = C.COMMAND_ID);
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
SELECT DeleteAllJobs(); SELECT DeleteAllEntitySnapshot();SELECT DeleteAsyncTasksZombies();
**************************

 

********* QUERY **********
/************************************************************************************************
Drop stuff created by taskcleaner_sp.sql
************************************************************************************************/
DROP FUNCTION IF EXISTS DeleteAllCommands();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllCommandsWithRunningTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllCommandsWithZombieTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllEntitySnapshot();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAllJobs();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTasksZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskZombiesByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteAsyncTaskZombiesByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotByZombieTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteEntitySnapshotZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByTaskId(v_task_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsByZombieCommandId(v_command_id UUID);
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS DeleteJobStepsZombies();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommands();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommandsWithRunningTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAllCommandsWithZombieTasks();
**************************

DROP FUNCTION
********* QUERY **********
DROP FUNCTION IF EXISTS GetAsyncTasksZombies();
**************************

DROP FUNCTION
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:863 execute-result: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-R', '-z', '-A'), rc=0
2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:921 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-R', '-z', '-A') stdout:
 t
 


2016-09-15 09:50:57 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:926 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-q', '-R', '-z', '-A') stderr:


2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory
2016-09-15 09:50:57 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 --== CONFIGURATION PREVIEW ==--
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Default SAN wipe after delete           : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Firewall manager                        : firewalld
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Update Firewall                         : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Host FQDN                               : virt02.yazzy.net
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Upgrade packages                        : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database secured connection      : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database host                    : localhost
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database user name               : engine
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database name                    : engine
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database port                    : 5432
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine database host name validation    : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database secured connection         : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database host                       : localhost
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database user name                  : ovirt_engine_history
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database name                       : ovirt_engine_history
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database port                       : 5432
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH database host name validation       : False
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine installation                     : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 PKI organization                        : yazzy.net
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 DWH installation                        : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Backup DWH database                     : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Engine Host FQDN                        : virt02.yazzy.net
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Configure Image I/O Proxy               : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Configure VMConsole Proxy               : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Configure WebSocket Proxy               : True
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human human.queryString:145 query OVESETUP_DIALOG_CONFIRM_SETTINGS
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                
2016-09-15 09:50:57 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Please confirm installation settings (OK, Cancel) [OK]: 
2016-09-15 09:51:00 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:51:00 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DIALOG/confirmSettings=bool:'True'
2016-09-15 09:51:00 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select version, option_value
                from vdc_options
                where option_name = %(name)s
            ', args: {'name': 'AdminPassword'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select version, option_value
                from vdc_options
                where option_name = %(name)s
            ', args: {'name': 'DomainName'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'version': 'general', 'option_value': ''}]
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks
2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateAsyncTasks:479 Cleaning async tasks and compensations
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select
                async_tasks.action_type,
                async_tasks.task_id,
                async_tasks.started_at,
                storage_pool.name
                from async_tasks, storage_pool
                where async_tasks.storage_pool_id = storage_pool.id
            ', args: {}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select relname
                from pg_class
                where relname = 'command_entities'
            ', args: {}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'relname': 'command_entities'}]
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select
                command_entities.command_type,
                command_entities.command_id,
                command_entities.created_at,
                command_entities.status
                from command_entities
                where command_entities.callback_enabled = 'true'
                  and command_entities.callback_notified = 'false'
            ', args: {}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                select command_type, entity_type
                from business_entity_snapshot
            ', args: {}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._setEngineMode:67 Setting engine into MAINTENANCE mode
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                    select count(*) as count
                    from vdc_options
                    where
                        option_name=%(name)s and
                        version=%(version)s
                ', args: {'version': 'general', 'name': 'EngineMode'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 1L}]
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                        update vdc_options
                        set
                            option_value=%(value)s
                        where
                            option_name=%(name)s and
                            version=%(version)s
                    ', args: {'version': 'general', 'name': 'EngineMode', 'value': 'MAINTENANCE'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateAsyncTasks:517 Unlocking existing entities
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:813 execute: ('/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh', '-t', 'all', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-i'), executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmphgplCB', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}
********* QUERY **********
/************************************************************************************************
 The following are helper SP for unlock_entity.sh utility and are not exposed to the application DAOs

If you add a function here, drop it in unlock_entity_drop.sql
************************************************************************************************/

create or replace FUNCTION fn_db_unlock_all()
returns void
AS $procedure$
declare
    DOWN integer;
    OK integer;
    LOCKED integer;
    TEMPLATE_OK integer;
    TEMPLATE_LOCKED integer;
    IMAGE_LOCKED integer;
    SNAPSHOT_OK varchar;
    SNAPSHOT_LOCKED varchar;
BEGIN
    DOWN:=0;
    OK:=1;
    LOCKED:=2;
    TEMPLATE_OK:=0;
    TEMPLATE_LOCKED:=1;
    IMAGE_LOCKED:=15;
    SNAPSHOT_OK:='OK';
    SNAPSHOT_LOCKED:='LOCKED';
    update vm_static set template_status = TEMPLATE_OK where template_status = TEMPLATE_LOCKED;
    update vm_dynamic set status = DOWN where status = IMAGE_LOCKED;
    update images set imagestatus = OK where imagestatus = LOCKED;
    update snapshots set status = SNAPSHOT_OK where status ilike SNAPSHOT_LOCKED;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
select fn_db_unlock_all();
**************************

 

********* QUERY **********
/************************************************************************************************
Drop the SPs created by unlock_entity.sql
************************************************************************************************/
DROP FUNCTION IF EXISTS fn_db_unlock_all();
**************************

DROP FUNCTION
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.executeRaw:863 execute-result: ('/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh', '-t', 'all', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-i'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:921 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh', '-t', 'all', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-i') stdout:
select fn_db_unlock_all();
 

unlock all  completed successfully.

2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks plugin.execute:926 execute-output: ('/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh', '-t', 'all', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-u', 'engine', '-s', 'localhost', '-p', '5432', '-d', 'engine', '-i') stderr:


2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._setEngineMode:67 Setting engine into ACTIVE mode
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                    select count(*) as count
                    from vdc_options
                    where
                        option_name=%(name)s and
                        version=%(version)s
                ', args: {'version': 'general', 'name': 'EngineMode'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'count': 1L}]
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
                        update vdc_options
                        set
                            option_value=%(value)s
                        where
                            option_name=%(name)s and
                            version=%(version)s
                    ', args: {'version': 'general', 'name': 'EngineMode', 'value': 'ACTIVE'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: []
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation
2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations dbvalidations._validation:147 Checking the Engine database consistency
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations plugin.executeRaw:813 execute: ['/usr/share/ovirt-engine/setup/dbutils/validatedb.sh', '--user=engine', '--host=localhost', '--port=5432', '--database=engine', '--log=/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'], executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmphgplCB', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}
********* QUERY **********
SET client_min_messages=ERROR;
**************************

SET
********* QUERY **********
DROP TYPE IF EXISTS fk_info_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
DROP FUNCTION IF EXISTS fn_db_validate_fks(boolean,boolean);
**************************

DROP FUNCTION
********* QUERY **********
CREATE TYPE fk_info_rs AS
    (schema_name varchar, table_name varchar, table_col varchar, fk_table_name varchar, fk_col varchar, fk_violation varchar, fk_status integer);
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_validate_fks(v_fix_it boolean, v_verbose boolean)
returns SETOF fk_info_rs
AS $procedure$
DECLARE
    v_sql text;
    v_msg text;
    v_output text;
    v_rowcount integer;
    v_record fk_info_rs%ROWTYPE;
    v_cur CURSOR FOR
    SELECT
        n.nspname as schema_name,
        c.relname as table_name,
        substring(substring ((select pg_get_constraintdef(r.oid)) from '[a-zA-Z0-9_, \-][(][a-zA-Z0-9_, \-]+[)]') from 2) as table_col,
        c2.relname AS fk_table_name,
        substring ((select pg_get_constraintdef(r.oid)) from ' [(][a-zA-Z0-9_, \-]+[)] ') as fk_col
    FROM pg_class c, pg_class c2, pg_constraint r, pg_catalog.pg_namespace n
    WHERE c.relname in (select table_name from information_schema.tables
    where table_schema not in ('pg_catalog','information_schema') and table_type = 'BASE TABLE') AND
        r.confrelid = c.oid AND
        r.contype = 'f' AND
        c2.oid = r.conrelid AND
        n.oid = c.relnamespace AND
        pg_get_constraintdef(r.oid) not ilike '%ON DELETE SET %'
    ORDER BY  table_name;

BEGIN
    OPEN v_cur;
    LOOP
        FETCH v_cur INTO v_record;
        EXIT WHEN NOT FOUND;
        v_record.fk_violation := '';
        v_record.fk_status := 0;
        IF (v_fix_it) THEN
            v_sql := 'delete from ' || v_record.schema_name || '.'  || v_record.fk_table_name ||
                      ' where ' || v_record.fk_col || 'IS NOT NULL and '  || v_record.fk_col || ' not in (select ' ||
                      trim(both '()' from v_record.table_col) || ' from ' || v_record.schema_name || '.'  || v_record.table_name || ');';
            v_msg := 'Fixing violation/s found in ' ||  v_record.fk_table_name ;
        ELSE
            v_sql := 'select ' ||  v_record.fk_col || ' from ' || v_record.schema_name || '.'  || v_record.fk_table_name ||
                      ' where ' || v_record.fk_col || 'IS NOT NULL and ' || v_record.fk_col || ' not in (select ' ||
                      trim(both '()' from v_record.table_col) || ' from ' || v_record.schema_name || '.'  || v_record.table_name || ');';
            v_msg := 'Constraint violation found in  ' ||  v_record.fk_table_name || v_record.fk_col;
        END IF;
        EXECUTE v_sql;
        GET DIAGNOSTICS v_rowcount = ROW_COUNT;
        IF (v_rowcount > 0) THEN
            IF (v_verbose and not v_fix_it) THEN
                v_record.fk_violation := v_msg || E'\nPlease run the following SQL to get the ' || v_rowcount || E' violated record/s: \n' || v_sql || E'\n';
            ELSE
                v_record.fk_violation := v_msg;
            END IF;
            v_record.fk_status := 1;
        END IF;
        RETURN NEXT v_record;

    END LOOP;
    CLOSE v_cur;
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
copy (
				select fk_violation, fk_status
				from fn_db_validate_fks(false, 0 != 0)
				where fk_status=1
			) to stdout with delimiter as '|';
**************************

********* QUERY **********
DROP TYPE IF EXISTS fk_info_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
DROP FUNCTION IF EXISTS fn_db_validate_fks(boolean,boolean);
**************************

DROP FUNCTION
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations plugin.executeRaw:863 execute-result: ['/usr/share/ovirt-engine/setup/dbutils/validatedb.sh', '--user=engine', '--host=localhost', '--port=5432', '--database=engine', '--log=/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'], rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations plugin.execute:921 execute-output: ['/usr/share/ovirt-engine/setup/dbutils/validatedb.sh', '--user=engine', '--host=localhost', '--port=5432', '--database=engine', '--log=/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'] stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations plugin.execute:926 execute-output: ['/usr/share/ovirt-engine/setup/dbutils/validatedb.sh', '--user=engine', '--host=localhost', '--port=5432', '--database=engine', '--log=/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log'] stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:51:00 INFO otopi.context context.runSequence:687 Stage: Transaction setup
2016-09-15 09:51:00 DEBUG otopi.context context.runSequence:691 STAGE transaction-prepare
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare
2016-09-15 09:51:00 DEBUG otopi.transaction transaction._prepare:61 preparing 'Yum Transaction'
Loaded plugins: fastestmirror, versionlock
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:51:00 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:199 Yum Repository virtio-win-stable is listed more than once in the configuration
2016-09-15 09:51:00 DEBUG otopi.transaction transaction._prepare:61 preparing 'DWH Engine database Transaction'
2016-09-15 09:51:00 DEBUG otopi.transaction transaction._prepare:61 preparing 'Database Transaction'
2016-09-15 09:51:00 DEBUG otopi.transaction transaction._prepare:61 preparing 'Version Lock Transaction'
2016-09-15 09:51:00 DEBUG otopi.transaction transaction._prepare:61 preparing 'DWH database Transaction'
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stderr:


2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine engine._transactionBegin:107 Stopping engine service
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-engine
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'stop', 'ovirt-engine.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'stop', 'ovirt-engine.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'stop', 'ovirt-engine.service') stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'stop', 'ovirt-engine.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-fence-kdump-listener exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service') stderr:


2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener fence_kdump_listener._transactionBegin:64 Stopping ovirt-fence-kdump-listener service
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-fence-kdump-listener
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service') stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-dwhd exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stderr:


2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service service._transactionBegin:62 Stopping dwh service
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-engine-dwhd
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service') stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-imageio-proxy exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service') stderr:


2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core core._transactionBegin:71 Stopping Image I/O Proxy service
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-imageio-proxy
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service') stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-websocket-proxy exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service') stderr:


2016-09-15 09:51:00 INFO otopi.plugins.ovirt_engine_common.websocket_proxy.core core._transactionBegin:71 Stopping websocket-proxy service
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-websocket-proxy
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service') stdout:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-dwhd exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine-dwhd status
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'status', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'status', 'ovirt-engine-dwhd.service'), rc=3
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine-dwhd.service') stdout:
● ovirt-engine-dwhd.service - oVirt Engine Data Warehouse
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine-dwhd.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2016-09-14 15:56:31 CEST; 17h ago
 Main PID: 2208 (code=exited, status=0/SUCCESS)

Sep 14 15:35:15 virt02.yazzy.net systemd[1]: Starting oVirt Engine Data Warehouse...
Sep 14 15:35:19 virt02.yazzy.net systemd[1]: Started oVirt Engine Data Warehouse.
Sep 14 15:56:27 virt02.yazzy.net systemd[1]: Stopping oVirt Engine Data Warehouse...
Sep 14 15:56:31 virt02.yazzy.net systemd[1]: Stopped oVirt Engine Data Warehouse.
Sep 14 19:18:59 virt02.yazzy.net systemd[1]: Stopped oVirt Engine Data Warehouse.
Sep 14 21:54:08 virt02.yazzy.net systemd[1]: Stopped oVirt Engine Data Warehouse.
Sep 15 09:40:16 virt02.yazzy.net systemd[1]: Stopped oVirt Engine Data Warehouse.
Sep 15 09:51:00 virt02.yazzy.net systemd[1]: Stopped oVirt Engine Data Warehouse.

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine-dwhd.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-notifier exists
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service'), rc=0
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service') stdout:
LoadState=loaded

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine-notifier status
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/bin/systemctl', 'status', 'ovirt-engine-notifier.service'), executable='None', cwd='None', env=None
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/bin/systemctl', 'status', 'ovirt-engine-notifier.service'), rc=3
2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine-notifier.service') stdout:
● ovirt-engine-notifier.service - oVirt Engine Notifier
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine-notifier.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

2016-09-15 09:51:00 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'ovirt-engine-notifier.service') stderr:


2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'DwhCurrentlyRunning'}
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:51:00 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': '0', 'var_datetime': None, 'var_name': 'DwhCurrentlyRunning'}]
2016-09-15 09:51:00 INFO otopi.context context.runSequence:687 Stage: Misc configuration
2016-09-15 09:51:00 DEBUG otopi.context context.runSequence:691 STAGE early_misc
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:51:00 INFO otopi.context context.runSequence:687 Stage: Package installation
2016-09-15 09:51:00 DEBUG otopi.context context.runSequence:691 STAGE packages
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.network.iptables.Plugin._packages
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:51:00 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages
Loading mirror speeds from cached hostfile
 * base: centos.uib.no
 * extras: centos.uib.no
 * ovirt-3.4-epel: www.nic.funet.fi
 * ovirt-3.4-stable: ftp.nluug.nl
 * ovirt-3.5: ftp.nluug.nl
 * ovirt-3.5-epel: www.nic.funet.fi
 * ovirt-3.6: ftp.nluug.nl
 * ovirt-3.6-epel: www.nic.funet.fi
 * ovirt-4.0: ftp.nluug.nl
 * ovirt-4.0-epel: www.nic.funet.fi
 * ovirt-master-epel: www.nic.funet.fi
 * ovirt-master-snapshot: ftp.nluug.nl
 * ovirt-master-snapshot-static: ftp.nluug.nl
 * updates: centos.uib.no
2016-09-15 09:51:03 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-extension-aaa-jdbc for install/update
2016-09-15 09:51:03 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum processing package ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch for install/update
2016-09-15 09:51:09 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum package ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch queued
2016-09-15 09:51:09 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-wildfly for install/update
2016-09-15 09:51:09 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-wildfly-overlay for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum processing package ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum package ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch queued
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-host-deploy for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-cli for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-image-uploader for install/update
2016-09-15 09:51:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-iso-uploader for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-dashboard for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum processing package ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum package ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch queued
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-websocket-proxy for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum processing package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum package ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch queued
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-engine-dwh for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum processing package ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch for install/update
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum package ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch queued
2016-09-15 09:51:11 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-vmconsole-proxy for install/update
2016-09-15 09:51:11 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages
2016-09-15 09:51:11 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:51:11 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages
2016-09-15 09:51:11 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Building transaction
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction built
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction Summary:
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     updated    - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum     update     - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:254 Transaction Summary:
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     updated - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._packages:259     update - ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Processing transaction
2016-09-15 09:51:12 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Status: Downloading Packages
2016-09-15 09:51:12 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Status: Download packages packages: ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
2016-09-15 09:51:13 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (1/14): ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:13 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (1/14): ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 317 k(14%)
2016-09-15 09:51:13 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (1/14): ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 1.0 M(46%)
2016-09-15 09:51:13 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:13 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (1/14): ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 2.1 M(100%)
2016-09-15 09:51:13 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:14 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 2.0 M(16%)
2016-09-15 09:51:14 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 5.0 M(39%)
2016-09-15 09:51:14 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 8.3 M(66%)
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 12 M(93%)
2016-09-15 09:51:15 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (2/14): ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 12 M(100%)
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (3/14): ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:15 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (3/14): ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch.rpm 3.1 M(100%)
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (4/14): ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:15 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (4/14): ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 249 k(100%)
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (5/14): ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:15 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:51:15 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (5/14): ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch.rpm 2.1 M(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (6/14): ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch.rpm (0%)
2016-09-15 09:51:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (6/14): ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch.rpm 173 k(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (7/14): ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (7/14): ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 47 k(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (8/14): ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (8/14): ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 3.2 M(85%)
2016-09-15 09:51:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (8/14): ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 3.7 M(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (9/14): ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (9/14): ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 236 k(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (10/14): ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (10/14): ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 23 k(100%)
2016-09-15 09:51:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:17 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 3.3 M(5%)
2016-09-15 09:51:17 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 6.5 M(11%)
2016-09-15 09:51:17 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 9.9 M(16%)
2016-09-15 09:51:17 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 13 M(22%)
2016-09-15 09:51:18 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 17 M(28%)
2016-09-15 09:51:18 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 20 M(34%)
2016-09-15 09:51:18 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 23 M(39%)
2016-09-15 09:51:19 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 27 M(45%)
2016-09-15 09:51:19 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 30 M(51%)
2016-09-15 09:51:19 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 33 M(57%)
2016-09-15 09:51:20 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 37 M(63%)
2016-09-15 09:51:20 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 40 M(68%)
2016-09-15 09:51:20 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 44 M(74%)
2016-09-15 09:51:20 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 47 M(80%)
2016-09-15 09:51:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 51 M(87%)
2016-09-15 09:51:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 54 M(92%)
2016-09-15 09:51:21 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 58 M(98%)
2016-09-15 09:51:21 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (11/14): ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 58 M(100%)
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (12/14): ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:22 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (12/14): ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 16 k(100%)
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 2.5 M(2%)
2016-09-15 09:51:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 5.7 M(5%)
2016-09-15 09:51:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 9.0 M(9%)
2016-09-15 09:51:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 12 M(12%)
2016-09-15 09:51:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 16 M(15%)
2016-09-15 09:51:24 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 19 M(19%)
2016-09-15 09:51:24 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 23 M(22%)
2016-09-15 09:51:24 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 26 M(26%)
2016-09-15 09:51:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 29 M(29%)
2016-09-15 09:51:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 33 M(32%)
2016-09-15 09:51:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 36 M(36%)
2016-09-15 09:51:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 39 M(39%)
2016-09-15 09:51:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 43 M(43%)
2016-09-15 09:51:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 46 M(46%)
2016-09-15 09:51:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 49 M(49%)
2016-09-15 09:51:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 53 M(53%)
2016-09-15 09:51:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 56 M(56%)
2016-09-15 09:51:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 59 M(59%)
2016-09-15 09:51:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 63 M(63%)
2016-09-15 09:51:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 66 M(66%)
2016-09-15 09:51:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 70 M(70%)
2016-09-15 09:51:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 73 M(73%)
2016-09-15 09:51:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 76 M(76%)
2016-09-15 09:51:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 80 M(80%)
2016-09-15 09:51:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 83 M(83%)
2016-09-15 09:51:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 86 M(87%)
2016-09-15 09:51:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 90 M(90%)
2016-09-15 09:51:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 93 M(93%)
2016-09-15 09:51:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 96 M(97%)
2016-09-15 09:51:31 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (13/14): ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 99 M(100%)
2016-09-15 09:51:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (14/14): ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm (0%)
2016-09-15 09:51:31 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Download/Verify: ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: (14/14): ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch.rpm 16 k(100%)
2016-09-15 09:51:31 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Status: Check Package Signatures
2016-09-15 09:51:31 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Status: Running Test Transaction
Running Transaction Check
2016-09-15 09:51:32 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Status: Running Transaction
2016-09-15 09:51:32 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 1/28: ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:33 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 2/28: ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:51:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-extension-aaa-jdbc-1.1.1-0.0.master.20160912121914.git21759da.el7.noarch
2016-09-15 09:51:34 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:34 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 3/28: ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:35 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:35 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:35 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 4/28: ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:36 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:37 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 5/28: ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:37 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools-backup-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:38 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:38 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 6/28: ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:39 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:39 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:40 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 7/28: ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:51:41 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dashboard-1.1.0-0.3.20160913git7189a6d.el7.centos.noarch
2016-09-15 09:51:42 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 8/28: ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:57 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-webadmin-portal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:57 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:57 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 9/28: ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:51:59 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:51:59 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:00 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 10/28: ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:03 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dbscripts-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:03 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 11/28: ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:10 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-userportal-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:16 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:16 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 12/28: ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:22 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:23 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 13/28: ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:23 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-restapi-4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos.noarch
2016-09-15 09:52:24 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh.noarch 0:4.1.0-0.0.master.20160913090532.el7.centos - u
2016-09-15 09:52:24 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum update: 14/28: ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:52:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh.noarch 0:4.1.0-0.0.master.20160913090532.el7.centos - u
2016-09-15 09:52:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh-4.1.0-0.0.master.20160913090532.el7.centos.noarch
2016-09-15 09:52:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend
2016-09-15 09:52:25 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 15/28: ovirt-engine-backend
2016-09-15 09:52:25 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:26 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-backend
2016-09-15 09:52:27 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 16/28: ovirt-engine-dashboard
2016-09-15 09:52:27 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
2016-09-15 09:52:28 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 17/28: ovirt-engine-dbscripts
2016-09-15 09:52:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools
2016-09-15 09:52:29 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 18/28: ovirt-engine-tools
2016-09-15 09:52:29 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:30 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools
2016-09-15 09:52:31 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 19/28: ovirt-engine-userportal
2016-09-15 09:52:31 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:32 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 20/28: ovirt-engine-webadmin-portal
2016-09-15 09:52:32 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine
2016-09-15 09:52:33 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 21/28: ovirt-engine
2016-09-15 09:52:33 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:34 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine
2016-09-15 09:52:35 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 22/28: ovirt-engine-restapi
2016-09-15 09:52:35 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:36 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 23/28: ovirt-engine-extension-aaa-jdbc
2016-09-15 09:52:36 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-extension-aaa-jdbc-1.1.0-1.el7.noarch
2016-09-15 09:52:37 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 24/28: ovirt-engine-extensions-api-impl
2016-09-15 09:52:37 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-extensions-api-impl-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:52:38 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 25/28: ovirt-engine-vmconsole-proxy-helper
2016-09-15 09:52:38 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-vmconsole-proxy-helper-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:52:39 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy
2016-09-15 09:52:39 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 26/28: ovirt-engine-websocket-proxy
2016-09-15 09:52:39 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy-4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos.noarch
2016-09-15 09:52:40 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-websocket-proxy
2016-09-15 09:52:43 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 27/28: ovirt-engine-tools-backup
2016-09-15 09:52:43 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
2016-09-15 09:52:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh
2016-09-15 09:52:46 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum updated: 28/28: ovirt-engine-dwh
2016-09-15 09:52:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh-4.0.2-1.el7.centos.noarch
2016-09-15 09:52:46 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Done: ovirt-engine-dwh
2016-09-15 09:52:47 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 1/28: ovirt-engine-restapi.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:47 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 2/28: ovirt-engine-tools.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:47 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 3/28: ovirt-engine-extension-aaa-jdbc.noarch 0:1.1.1-0.0.master.20160912121914.git21759da.el7 - u
2016-09-15 09:52:48 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 4/28: ovirt-engine-webadmin-portal.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:48 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 5/28: ovirt-engine-backend.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:48 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 6/28: ovirt-engine-dbscripts.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:49 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 7/28: ovirt-engine-tools-backup.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:49 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 8/28: ovirt-engine-vmconsole-proxy-helper.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:49 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 9/28: ovirt-engine-userportal.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:50 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 10/28: ovirt-engine-extensions-api-impl.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:50 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 11/28: ovirt-engine.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:50 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 12/28: ovirt-engine-websocket-proxy.noarch 0:4.1.0-0.0.master.20160914231357.git6bd7e0a.el7.centos - u
2016-09-15 09:52:50 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 13/28: ovirt-engine-dashboard.noarch 0:1.1.0-0.3.20160913git7189a6d.el7.centos - u
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 14/28: ovirt-engine-dwh.noarch 0:4.1.0-0.0.master.20160913090532.el7.centos - u
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 15/28: ovirt-engine-extensions-api-impl.noarch 0:4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 16/28: ovirt-engine-websocket-proxy.noarch 0:4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 17/28: ovirt-engine-webadmin-portal.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 18/28: ovirt-engine-vmconsole-proxy-helper.noarch 0:4.1.0-0.0.master.20160913231316.git1cacbdf.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 19/28: ovirt-engine-dashboard.noarch 0:1.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 20/28: ovirt-engine-extension-aaa-jdbc.noarch 0:1.1.0-1.el7 - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 21/28: ovirt-engine-tools.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 22/28: ovirt-engine-tools-backup.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 23/28: ovirt-engine-restapi.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 24/28: ovirt-engine-dwh.noarch 0:4.0.2-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 25/28: ovirt-engine-userportal.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 26/28: ovirt-engine.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 27/28: ovirt-engine-dbscripts.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Verify: 28/28: ovirt-engine-backend.noarch 0:4.0.3-1.el7.centos - ud
2016-09-15 09:52:51 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction processed
2016-09-15 09:52:51 INFO otopi.context context.runSequence:687 Stage: Misc configuration
2016-09-15 09:52:51 DEBUG otopi.context context.runSequence:691 STAGE misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.system.command.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV COMMAND/ssh-keygen=str:'/bin/ssh-keygen'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:813 execute: ('/sbin/sysctl', '-n', 'kernel.shmmax'), executable='None', cwd='None', env=None
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:863 execute-result: ('/sbin/sysctl', '-n', 'kernel.shmmax'), rc=0
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:921 execute-output: ('/sbin/sysctl', '-n', 'kernel.shmmax') stdout:
68719476736

2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:926 execute-output: ('/sbin/sysctl', '-n', 'kernel.shmmax') stderr:


2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-http.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-http.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-http.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-https.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-https.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-https.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-nfs.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-nfs.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-nfs.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/iptables.example''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/iptables.example' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/iptables.example' already has content
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-fence-kdump-listener=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-fence-kdump-listener</short>
  <description>oVirt configured fence_kdump listener service</description>
  <port protocol="udp" port="7410"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-http=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-http</short>
  <description>oVirt configured http service</description>
  <port protocol="tcp" port="80"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-https=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-https</short>
  <description>oVirt configured https service</description>
  <port protocol="tcp" port="443"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-imageio-proxy=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-imageio-proxy</short>
  <description>oVirt ImageIO Proxy service</description>
  <port protocol="tcp" port="54323"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-nfs=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
    <short>ovirt-nfs</short>
    <description>oVirt configured nfs service</description>
    <port protocol="tcp" port="111"/>
    <port protocol="udp" port="111"/>
    <port protocol="tcp" port="662"/>
    <port protocol="udp" port="662"/>
    <port protocol="tcp" port="875"/>
    <port protocol="udp" port="875"/>
    <port protocol="tcp" port="892"/>
    <port protocol="udp" port="892"/>
    <port protocol="tcp" port="2049"/>
    <port protocol="udp" port="32769"/>
    <port protocol="tcp" port="32803"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-postgres=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-postgres</short>
  <description>oVirt configured postgres service</description>
  <port protocol="tcp" port="5432"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-vmconsole-proxy=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-vmconsole-proxy</short>
  <description>oVirt configured VM Console Proxy service</description>
  <port protocol="tcp" port="2222"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV NETWORK_FIREWALLD_SERVICE/ovirt-websocket-proxy=str:'<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ovirt-websocket-proxy</short>
  <description>oVirt configured WebSocket Proxy service</description>
  <port protocol="tcp" port="6100"/>
</service>
'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_APACHE/needRestart=bool:'True'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.database.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-database.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-database.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-database.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.dwh_database.Plugin._miscDWHConfig
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-dwh-database.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-dwh-database.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-dwh-database.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'dwhHostname'}
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': 'virt02.yazzy.net', 'var_datetime': None, 'var_name': 'dwhHostname'}]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh advertise_dwh._get_dwh_host:114 DWH host is virt02.yazzy.net.
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade
2016-09-15 09:52:51 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._miscUpgrade:522 Upgrading CA
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cacert.template''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cacert.template' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cacert.template' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cacert.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cacert.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cacert.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cert.template''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cert.template' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cert.template' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cert.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cert.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cert.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cert.conf''
2016-09-15 09:52:51 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cert.template''
2016-09-15 09:52:51 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cacert.conf''
2016-09-15 09:52:51 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cacert.template''
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'engine'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'jboss'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'websocket-proxy'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'apache'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'reports'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:306 processing: 'imageio-proxy'[renew=False]
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ca_pki=list:'[[]]'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ca_pki=dict:'{}'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dwh.Plugin._misc_stop_remote_dwh
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'dwhHostname'}
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': 'virt02.yazzy.net', 'var_datetime': None, 'var_name': 'dwhHostname'}]
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:177 Database: 'None', Statement: '
            select * from GetDwhHistoryTimekeepingByVarName(
                %(name)s
            )
        ', args: {'name': 'DwhCurrentlyRunning'}
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:182 Creating own connection
2016-09-15 09:52:51 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:227 Result: [{'var_value': '0', 'var_datetime': None, 'var_name': 'DwhCurrentlyRunning'}]
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[{'state': 'on', 'boolean': 'httpd_can_network_connect'}]'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.config.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine-dwh/examples/10-setup-dwh-database.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine-dwh/examples/10-setup-dwh-database.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine-dwh/examples/10-setup-dwh-database.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[[]]'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[[], []]'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config
2016-09-15 09:52:51 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf''
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf' exists
2016-09-15 09:52:51 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf' already has content
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmpYlSOog'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/pgPassFile=str:'/tmp/tmp6RjEzE'
2016-09-15 09:52:51 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-09-15 09:52:51 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc
2016-09-15 09:52:51 INFO otopi.ovirt_engine_setup.engine_common.database database.backup:611 Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20160915095251.FIPiyH.dump'.
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:481 executePipeRaw: [0] popen kw={'stdin': None, 'stdout': -1, 'preexec_fn': <function _enableSignals at 0x6801d70>, 'env': {'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'PGPASSWORD': '', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'PGPASSFILE': '/tmp/tmpYlSOog', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}, 'close_fds': True, 'args': ['/bin/pg_dump', '-E', 'UTF8', '--disable-dollar-quoting', '--disable-triggers', '-U', 'engine', '-h', 'localhost', '-p', '5432', '--format=custom', '--file=/var/lib/ovirt-engine/backups/engine-20160915095251.FIPiyH.dump', 'engine'], 'stderr': -1}
2016-09-15 09:52:51 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=10083
2016-09-15 09:52:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:603 executePipe-result: [0] ['/bin/pg_dump', '-E', 'UTF8', '--disable-dollar-quoting', '--disable-triggers', '-U', 'engine', '-h', 'localhost', '-p', '5432', '--format=custom', '--file=/var/lib/ovirt-engine/backups/engine-20160915095251.FIPiyH.dump', 'engine'], rc=0
2016-09-15 09:52:54 DEBUG otopi.ovirt_engine_setup.engine_common.database database.backup:659 db backup res {'result': [{'stderr': '', 'rc': 0}], 'stdout': ''}
2016-09-15 09:52:54 DEBUG otopi.transaction transaction._prepare:61 preparing 'Engine schema Transaction'
2016-09-15 09:52:54 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:265 Creating/refreshing Engine database schema
2016-09-15 09:52:54 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:813 execute: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', '-c', 'apply'], executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'PATH': '/usr/gnat/bin:/opt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/X11R6/bin:~/bin:/root/bin', 'HOME': '/root', 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'HISTSIZE': '99999', 'EDITOR': 'nano', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160915094942-8vsvqc.log', 'XDG_SESSION_ID': '1', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmpYlSOog', 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'virt02.yazzy.net', 'HISTCONTROL': 'ignoredups:erasedups', 'PWD': '/usr/share/ovirt-engine/dbscripts/upgrade', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'OTOPI_EXECDIR': '/usr/share/ovirt-engine/dbscripts/upgrade'}
********* QUERY **********
select 1;
**************************

        1

********* QUERY **********
copy (
		select count(*) as count
		from pg_catalog.pg_tables
		where
			tablename = 'schema_version' and
			schemaname = 'public'
	) to stdout with delimiter as '|';
**************************

********* QUERY **********
select 3060000;
**************************

  3060000

********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_column_def TEXT
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ADD COLUMN ' || v_column || ' ' || v_column_def;

        EXECUTE v_sql;
    END;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_drop_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' DROP COLUMN ' || v_column;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_change_column_type (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_type VARCHAR(128),
    v_new_type VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_type
                        OR data_type ilike v_type
                        )
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column || ' TYPE ' || v_new_type;

        EXECUTE v_sql;
    END;

    --- ignore operation if requested type is already there
    ELSIF(NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_new_type
                        OR data_type ilike v_new_type
                        )
                )) THEN
                    RAISE EXCEPTION 'Table % or Column % does not exist.', v_table, v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME COLUMN ' || v_column || ' TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_table (
    v_table VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % does not exist.',
            v_table;
END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            INSERT INTO vdc_options (
                option_name,
                option_value,
                version
                )
            VALUES (
                v_option_name,
                v_option_value,
                v_version
                );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value_all_versions (v_option_name VARCHAR(100))
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value (
    v_option_name VARCHAR(100),
    v_version TEXT
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version IN (
                        SELECT ID
                        FROM fnSplitter(v_version)
                        )
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name
                AND version IN (
                    SELECT ID
                    FROM fnSplitter(v_version)
                    );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_for_version (v_version TEXT)
RETURNS void AS $PROCEDURE$
BEGIN
    DELETE
    FROM vdc_options
    WHERE version IN (
            SELECT ID
            FROM fnSplitter(v_version)
            );
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND version = v_version;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_default_config_value (
    v_option_name VARCHAR(100),
    v_default_option_value VARCHAR(4000),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40),
    v_ignore_default_value_case boolean
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
    BEGIN
        IF (v_ignore_default_value_case) THEN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value ilike v_default_option_value
                AND version = v_version;
        ELSE
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value = v_default_option_value
                AND version = v_version;
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_rename_config_key (
        v_old_option_name VARCHAR(100),
        v_new_option_name VARCHAR(100),
        v_version VARCHAR(40)
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_current_option_value VARCHAR(4000);

    BEGIN
        IF (
                EXISTS (
                    SELECT 1
                    FROM vdc_options
                    WHERE option_name ilike v_old_option_name
                        AND version = v_version
                    )
                ) THEN
            v_current_option_value:= option_value
            FROM vdc_options
            WHERE option_name ilike v_old_option_name
                AND version = v_version;

            UPDATE vdc_options
            SET option_name = v_new_option_name,
                option_value = v_current_option_value
                WHERE option_name ilike v_old_option_name
                    AND version = v_version;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128),
        v_constraint_sql TEXT
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF NOT EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' ADD CONSTRAINT ' || v_constraint || ' ' || v_constraint_sql;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_drop_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128)
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' DROP CONSTRAINT ' || v_constraint || ' CASCADE';
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION CheckDBConnection ()
    RETURNS SETOF INT IMMUTABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 1;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_functions_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'drop function if exists ' || ns.nspname || '.' || proname || '(' || oidvectortypes(proargtypes) || ') cascade;'
        FROM pg_proc
        INNER JOIN pg_namespace ns
            ON (pg_proc.pronamespace = ns.oid)
        WHERE ns.nspname = 'public'
        ORDER BY proname;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_views_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP VIEW if exists ' || table_name || ' CASCADE;'
        FROM information_schema.VIEWS
        WHERE table_schema = 'public'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_tables_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TABLE if exists ' || table_name || ' CASCADE;'
        FROM information_schema.tables
        WHERE table_schema = 'public'
            AND table_type = 'BASE TABLE'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_seq_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP SEQUENCE if exists ' || sequence_name || ' CASCADE;'
        FROM information_schema.sequences
        WHERE sequence_schema = 'public'
        ORDER BY sequence_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_user_types_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TYPE if exists ' || c.relname::information_schema.sql_identifier || ' CASCADE;'
        FROM pg_namespace n,
            pg_class c,
            pg_type t
        WHERE n.oid = c.relnamespace
            AND t.typrelid = c.oid
            AND c.relkind = 'c'::"char"
            AND n.nspname = 'public'
        ORDER BY c.relname::information_schema.sql_identifier;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_get_column_size (
        v_table VARCHAR(64),
        v_column VARCHAR(64)
        )
    RETURNS INT STABLE AS $PROCEDURE$

    DECLARE retvalue INT;

    BEGIN
        retvalue := character_maximum_length
        FROM information_schema.columns
        WHERE table_schema = 'public'
            AND table_name ilike v_table
            AND column_name ilike v_column
            AND table_schema = 'public'
            AND udt_name IN (
                'char',
                'varchar'
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION attach_user_to_role (
        v_user_name VARCHAR(255),
        v_domain VARCHAR(255),
        v_namespace VARCHAR(255),
        v_domain_entry_id TEXT,
        v_role_name VARCHAR(255)
        )
    RETURNS void AS $BODY$

    DECLARE selected_user_id uuid;

    input_role_id uuid;

    BEGIN
        SELECT roles.id
        INTO input_role_id
        FROM roles
        WHERE roles.name = v_role_name;

        -- The external identifier is the user identifier converted to an array of
        -- bytes:
        INSERT INTO users (
            user_id,
            external_id,
            namespace,
            name,
            domain,
            username,
            last_admin_check_status
            )
        SELECT uuid_generate_v1(),
            v_domain_entry_id,
            v_namespace,
            v_user_name,
            v_domain,
            v_user_name,
            true
        WHERE NOT EXISTS (
                SELECT 1
                FROM users
                WHERE domain = v_domain
                    AND external_id = v_domain_entry_id
                );

        SELECT user_id
        FROM users
        WHERE domain = v_domain
            AND external_id = v_domain_entry_id
        INTO selected_user_id;

        INSERT INTO permissions (
            id,
            role_id,
            ad_element_id,
            object_id,
            object_type_id
            )
        SELECT uuid_generate_v1(),
            input_role_id,
            selected_user_id,
            getGlobalIds('system'),
            1
        WHERE NOT EXISTS (
                SELECT role_id,
                    ad_element_id,
                    object_id,
                    object_type_id
                FROM permissions
                WHERE role_id = input_role_id
                    AND ad_element_id = selected_user_id
                    AND object_id = getGlobalIds('system')
                    AND object_type_id = 1
                );
    END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_add_action_group_to_role (
        v_role_id UUID,
        v_action_group_id INT
        )
    RETURNS VOID AS $PROCEDURE$

    BEGIN
        INSERT INTO roles_groups (
            role_id,
            action_group_id
            )
        SELECT v_role_id,
            v_action_group_id
        WHERE NOT EXISTS (
                SELECT 1
                FROM roles_groups
                WHERE role_id = v_role_id
                    AND action_group_id = v_action_group_id
                );

        RETURN;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_split_config_value (
        v_option_name VARCHAR,
        v_old_option_value VARCHAR,
        v_new_option_value VARCHAR,
        v_update_from_version VARCHAR
        )
    RETURNS void AS $BODY$

    DECLARE v_old_value VARCHAR(4000);

    v_cur CURSOR
    FOR

    SELECT DISTINCT version
    FROM vdc_options
    WHERE version <> 'general'
    ORDER BY version;

    v_version VARCHAR(40);

    v_index INT;

    v_count INT;

    v_total_count INT;

    v_version_count INT;

    BEGIN
        v_total_count := count(version)
        FROM vdc_options
        WHERE option_name = v_option_name;

        v_old_value := option_value
        FROM vdc_options
        WHERE option_name = v_option_name
            AND version = 'general';

        v_version_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        IF (v_total_count <= v_version_count) THEN
        BEGIN
            IF (v_old_value IS NULL) THEN
                v_old_value := v_old_option_value;
        END IF;
        v_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        v_index := 1;

        OPEN v_cur;

        LOOP

            FETCH v_cur
            INTO v_version;

            EXIT when NOT found;

            -- We shouldn't update if already exists
            IF (
                    NOT EXISTS (
                        SELECT 1
                        FROM vdc_options
                        WHERE option_name = v_option_name
                            AND version = v_version
                        )
                    ) THEN
                -- Might not work well for versions such as 3.10, but we currently don't have any
                IF (v_version >= v_update_from_version) THEN
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_new_option_value,
                        v_version
                        );
                ELSE
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_old_value,
                        v_version
                        );
                END IF;

            END IF;
            v_index := v_index + 1;
        END LOOP;

    CLOSE v_cur;

    DELETE
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = 'general';
    END;
END IF;

END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_grant_action_group_to_all_roles_filter (
    v_action_group_id INT,
    uuid []
    )
RETURNS void AS $BODY$

DECLARE v_role_id_to_filter alias
FOR $2;

BEGIN
    INSERT INTO roles_groups (
        role_id,
        action_group_id
        )
    SELECT DISTINCT role_id,
        v_action_group_id
    FROM roles_groups rg
    WHERE NOT ARRAY [role_id] <@ v_role_id_to_filter
        AND NOT EXISTS (
            SELECT 1
            FROM roles_groups
            WHERE role_id = rg.role_id
                AND action_group_id = v_action_group_id
            );
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_mask_object (v_object regclass)
RETURNS setof record AS $BODY$

DECLARE v_sql TEXT;

v_table record;

v_table_name TEXT;

temprec record;

BEGIN
    -- get full table/view name from v_object (i.e <namespace>.<name>)
    SELECT c.relname,
        n.nspname
    INTO v_table
    FROM pg_class c
    INNER JOIN pg_namespace n
        ON c.relnamespace = n.oid
    WHERE c.oid = v_object;

    -- try to get filtered query syntax from previous execution
    IF EXISTS (
            SELECT 1
            FROM object_column_white_list_sql
            WHERE object_name = v_table.relname
            ) THEN
        SELECT sql
        INTO v_sql
        FROM object_column_white_list_sql
        WHERE object_name = v_table.relname;
    ELSE
        v_table_name := quote_ident(v_table.nspname) || '.' || quote_ident(v_table.relname);
        -- compose sql statement while skipping values for columns not defined in object_column_white_list for this table.
    FOR temprec IN
    SELECT a.attname,
        t.typname
    FROM pg_attribute a
    INNER JOIN pg_type t
        ON a.atttypid = t.oid
    WHERE a.attrelid = v_object
        AND a.attnum > 0
        AND NOT a.attisdropped
    ORDER BY a.attnum LOOP v_sql := coalesce(v_sql || ', ', 'SELECT ');

        IF EXISTS (
            SELECT 1
            FROM object_column_white_list
            WHERE object_name = v_table.relname
                AND column_name = temprec.attname
            ) THEN v_sql := v_sql || quote_ident(temprec.attname);
        ELSE
            v_sql := v_sql || 'NULL::' || quote_ident(temprec.typname) || ' as ' || quote_ident(temprec.attname);
        END IF;

    END LOOP;

    v_sql := v_sql || ' FROM ' || v_table_name;

    v_sql := 'SELECT x::' || v_table_name || ' as rec FROM (' || v_sql || ') as x';

    -- save generated query for further use
    INSERT INTO object_column_white_list_sql (
        object_name,
        sql
        )
    VALUES (
        v_table.relname,
        v_sql
        );
    END IF;

    RETURN QUERY

    EXECUTE v_sql;
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column_to_object_white_list (
    v_object_name VARCHAR(128),
    v_column_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM object_column_white_list
                WHERE object_name = v_object_name
                    AND column_name = v_column_name
                )
            ) THEN
    BEGIN
        -- verify that there is such object in db
        IF EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name = v_object_name
                    AND column_name = v_column_name
                ) THEN
            INSERT INTO object_column_white_list (
                object_name,
                column_name
                )
            VALUES (
                v_object_name,
                v_column_name
                );
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_is_table_exists (v_table VARCHAR(64))
    RETURNS boolean STABLE AS $PROCEDURE$

    DECLARE retvalue boolean;

    BEGIN
        retvalue := EXISTS (
                SELECT *
                FROM information_schema.tables
                WHERE table_schema = 'public'
                    AND table_name ILIKE v_table
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_index (
        v_index_name VARCHAR(128),
        v_table_name VARCHAR(128),
        v_column_names TEXT,
        v_where_predicate TEXT
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_sql TEXT;

    BEGIN
        v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE INDEX ' || v_index_name || ' ON ' || v_table_name || '(' || v_column_names || ')';

        IF v_where_predicate = '' THEN v_sql := v_sql || ';';ELSE
            v_sql := v_sql || ' WHERE ' || v_where_predicate || ';';
    END IF;

    EXECUTE v_sql;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_disk (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK INT;

LOCKED INT;

BEGIN
    OK:= 1;

    LOCKED:= 2;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_snapshot (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK VARCHAR;

LOCKED VARCHAR;

BEGIN
    OK:= 'OK';

    LOCKED:= 'LOCKED';

    UPDATE snapshots
    SET status = OK
    WHERE status = LOCKED
        AND snapshot_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_entity (
    v_object_type VARCHAR(10),
    v_name VARCHAR(255),
    v_recursive boolean
    )
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

v_id UUID;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    v_id := vm_guid
    FROM vm_static
    WHERE vm_name = v_name
        AND entity_type ilike v_object_type;

    -- set VM status to DOWN
    IF (v_object_type = 'vm') THEN
        UPDATE vm_dynamic
        SET status = DOWN
        WHERE status = IMAGE_LOCKED
            AND vm_guid = v_id;
            -- set Template status to OK
    ELSE IF (v_object_type = 'template') THEN
        UPDATE vm_static
        SET template_status = TEMPLATE_OK
        WHERE template_status = TEMPLATE_LOCKED
            AND vm_guid = v_id;
    END IF;

END IF;
 --unlock images and snapshots  if recursive flag is set
IF (v_recursive) THEN
    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id IN (
            SELECT device_id
            FROM vm_device
            WHERE vm_id = v_id
                AND is_plugged
            );

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED
        AND vm_id = v_id;
END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_all ()
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    UPDATE vm_static
    SET template_status = TEMPLATE_OK
    WHERE template_status = TEMPLATE_LOCKED;

    UPDATE vm_dynamic
    SET status = DOWN
    WHERE status = IMAGE_LOCKED;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED;

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
/* Displays DC id , DC name, SPM Host id , SPM Host name and number of async tasks awaiting.

1) create a record type with DC name, DC id, SPM host id, SPM host name, count

2) get all distinct DC ids from async_tasks table

3) Run a cursor for each result in 2)

   a) get DC name
   b) get SPM Host id & name if available
   c) get count of tasks

   return current record

4) return set of generated records
*/
DROP TYPE IF EXISTS async_tasks_info_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE async_tasks_info_rs AS (
        dc_id uuid,
        dc_name VARCHAR,
        spm_host_id uuid,
        spm_host_name VARCHAR,
        task_count INT
        );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_get_async_tasks ()
RETURNS SETOF async_tasks_info_rs STABLE AS $PROCEDURE$
DECLARE v_record async_tasks_info_rs;

-- selects storage_pool_id uuid found in async_tasks
v_tasks_cursor CURSOR
FOR

SELECT DISTINCT storage_pool_id
FROM async_tasks;

BEGIN
    OPEN v_tasks_cursor;

    FETCH v_tasks_cursor
    INTO v_record.dc_id;

    WHILE FOUND
    LOOP
        -- get dc_name and SPM Host id
        v_record.dc_name := name FROM storage_pool WHERE id = v_record.dc_id;
        v_record.spm_host_id := spm_vds_id
        FROM storage_pool
        WHERE id = v_record.dc_id;

        -- get Host name if we have non NULL SPM Host
        IF (v_record.spm_host_id IS NOT NULL) THEN
            v_record.spm_host_name := vds_name
            FROM vds_static
            WHERE vds_id = v_record.spm_host_id;
        ELSE
            v_record.spm_host_name:= '';
        END IF;
        -- get tasks count for this DC
        v_record.task_count := count(*)
        FROM async_tasks
        WHERE position(cast(v_record.dc_id AS VARCHAR) IN action_parameters) > 0;

        -- return the record
        RETURN NEXT v_record;

        FETCH v_tasks_cursor
    INTO v_record.dc_id;

    END LOOP;

CLOSE v_tasks_cursor;

-- return full set of generated records
RETURN;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_csv_config_value (
    v_option_name VARCHAR(100),
    v_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE v VARCHAR [];

e VARCHAR;

v_result VARCHAR;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(option_value, ',')
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = v_version;
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_value) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

END
LOOP;

    UPDATE vdc_options
    SET option_value = v_result
    WHERE option_name = v_option_name
        AND version = v_version;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_uuid_from_csv (
    v_csv_text TEXT,
    v_uuid uuid
    )
RETURNS TEXT STABLE AS $PROCEDURE$
DECLARE v uuid [];

e uuid;

v_result TEXT;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(v_csv_text, ',');
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_uuid) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

    END LOOP;

    IF (v_result = '') THEN v_result := NULL;
    END IF;
    RETURN v_result;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value_for_versions_up_to (
    v_option_name VARCHAR(100),
    v_val VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE i INT;

arr VARCHAR [] := array ['3.6', '4.0', '4.1'];

BEGIN
    FOR i IN array_lower(arr, 1)..array_upper(arr, 1) LOOP PERFORM fn_db_add_config_value(v_option_name, v_val, arr [i]);
        EXIT WHEN arr [i] = v_version;
    END LOOP;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
select * from generate_drop_all_views_syntax();
**************************

 DROP VIEW if exists active_migration_network_interfaces CASCADE;
 DROP VIEW if exists affinity_groups_view CASCADE;
 DROP VIEW if exists all_disks CASCADE;
 DROP VIEW if exists all_disks_for_vms CASCADE;
 DROP VIEW if exists all_disks_including_memory CASCADE;
 DROP VIEW if exists all_disks_including_snapshots CASCADE;
 DROP VIEW if exists all_disks_including_snapshots_and_memory CASCADE;
 DROP VIEW if exists cluster_storage_domain CASCADE;
 DROP VIEW if exists cluster_view CASCADE;
 DROP VIEW if exists desktop_vms CASCADE;
 DROP VIEW if exists disk_vm_element_extended CASCADE;
 DROP VIEW if exists domains_with_unregistered_entities_view CASCADE;
 DROP VIEW if exists dwh_add_tags_relations_history_view CASCADE;
 DROP VIEW if exists dwh_cluster_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_datacenter_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_datacenter_storage_map_history_view CASCADE;
 DROP VIEW if exists dwh_host_configuration_full_check_view CASCADE;
 DROP VIEW if exists dwh_host_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_host_history_view CASCADE;
 DROP VIEW if exists dwh_host_interface_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_host_interface_history_view CASCADE;
 DROP VIEW if exists dwh_remove_tags_relations_history_view CASCADE;
 DROP VIEW if exists dwh_storage_domain_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_storage_domain_history_view CASCADE;
 DROP VIEW if exists dwh_tags_details_history_view CASCADE;
 DROP VIEW if exists dwh_users_history_view CASCADE;
 DROP VIEW if exists dwh_vm_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_vm_device_history_view CASCADE;
 DROP VIEW if exists dwh_vm_disk_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_vm_disks_history_view CASCADE;
 DROP VIEW if exists dwh_vm_history_view CASCADE;
 DROP VIEW if exists dwh_vm_interface_configuration_history_view CASCADE;
 DROP VIEW if exists dwh_vm_interface_history_view CASCADE;
 DROP VIEW if exists engine_session_user_flat_groups CASCADE;
 DROP VIEW if exists gluster_geo_rep_config_view CASCADE;
 DROP VIEW if exists gluster_georep_sessions_view CASCADE;
 DROP VIEW if exists gluster_server_hooks_view CASCADE;
 DROP VIEW if exists gluster_server_services_view CASCADE;
 DROP VIEW if exists gluster_volume_bricks_view CASCADE;
 DROP VIEW if exists gluster_volume_snapshot_schedules_view CASCADE;
 DROP VIEW if exists gluster_volume_snapshots_view CASCADE;
 DROP VIEW if exists gluster_volumes_view CASCADE;
 DROP VIEW if exists gluster_volume_task_steps CASCADE;
 DROP VIEW if exists host_device_view CASCADE;
 DROP VIEW if exists host_network_qos_of_migration_network_by_cluster CASCADE;
 DROP VIEW if exists images_storage_domain_view CASCADE;
 DROP VIEW if exists image_types_storage_domain CASCADE;
 DROP VIEW if exists image_types_view CASCADE;
 DROP VIEW if exists instance_types_storage_domain CASCADE;
 DROP VIEW if exists instance_types_view CASCADE;
 DROP VIEW if exists internal_permissions_view CASCADE;
 DROP VIEW if exists labels_map_view CASCADE;
 DROP VIEW if exists luns_view CASCADE;
 DROP VIEW if exists memory_and_disk_images_storage_domain_view CASCADE;
 DROP VIEW if exists network_cluster_view CASCADE;
 DROP VIEW if exists network_vds_view CASCADE;
 DROP VIEW if exists network_view CASCADE;
 DROP VIEW if exists numa_node_assignment_view CASCADE;
 DROP VIEW if exists numa_node_cpus_view CASCADE;
 DROP VIEW if exists numa_node_with_cluster_view CASCADE;
 DROP VIEW if exists permissions_view CASCADE;
 DROP VIEW if exists qos_for_disk_profile_view CASCADE;
 DROP VIEW if exists qos_for_vm_view CASCADE;
 DROP VIEW if exists quota_cluster_view CASCADE;
 DROP VIEW if exists quota_global_view CASCADE;
 DROP VIEW if exists quota_limitations_view CASCADE;
 DROP VIEW if exists quota_storage_view CASCADE;
 DROP VIEW if exists quota_view CASCADE;
 DROP VIEW if exists server_vms CASCADE;
 DROP VIEW if exists storage_domain_file_repos CASCADE;
 DROP VIEW if exists storage_domains CASCADE;
 DROP VIEW if exists storage_domains_for_search CASC********* QUERY **********
DROP VIEW if exists active_migration_network_interfaces CASCADE;
**************************

ADE;
 DROP VIEW if exists storage_domain_shared_status CASCADE;
 DROP VIEW if exists storage_domains_image_sizes CASCADE;
 DROP VIEW if exists storage_domains_with_hosts_view CASCADE;
 DROP VIEW if exists storage_domains_without_storage_pools CASCADE;
 DROP VIEW if exists storage_for_image_view CASCADE;
 DROP VIEW if exists storage_pool_with_storage_domain CASCADE;
 DROP VIEW if exists supported_cluster_features_view CASCADE;
 DROP VIEW if exists tags_user_group_map_view CASCADE;
 DROP VIEW if exists tags_user_map_view CASCADE;
 DROP VIEW if exists tags_vds_map_view CASCADE;
 DROP VIEW if exists tags_vm_map_view CASCADE;
 DROP VIEW if exists tags_vm_pool_map_view CASCADE;
 DROP VIEW if exists user_cluster_permissions_view CASCADE;
 DROP VIEW if exists user_cluster_permissions_view_base CASCADE;
 DROP VIEW if exists user_cpu_profile_permissions_view CASCADE;
 DROP VIEW if exists user_db_users_permissions_view CASCADE;
 DROP VIEW if exists user_disk_permissions_view CASCADE;
 DROP VIEW if exists user_disk_permissions_view_base CASCADE;
 DROP VIEW if exists user_disk_profile_permissions_view CASCADE;
 DROP VIEW if exists user_disk_profile_permissions_view_base CASCADE;
 DROP VIEW if exists user_network_permissions_view CASCADE;
 DROP VIEW if exists user_network_permissions_view_base CASCADE;
 DROP VIEW if exists user_object_permissions_view CASCADE;
 DROP VIEW if exists user_permissions_permissions_view CASCADE;
 DROP VIEW if exists user_profiles_view CASCADE;
 DROP VIEW if exists users_and_groups_to_vm_pool_map_view CASCADE;
 DROP VIEW if exists user_storage_domain_permissions_view CASCADE;
 DROP VIEW if exists user_storage_domain_permissions_view_base CASCADE;
 DROP VIEW if exists user_storage_pool_permissions_view CASCADE;
 DROP VIEW if exists user_storage_pool_permissions_view_base CASCADE;
 DROP VIEW if exists user_vds_permissions_view CASCADE;
 DROP VIEW if exists user_vds_permissions_view_base CASCADE;
 DROP VIEW if exists user_vm_permissions_view CASCADE;
 DROP VIEW if exists user_vm_pool_permissions_view CASCADE;
 DROP VIEW if exists user_vm_pool_permissions_view_base CASCADE;
 DROP VIEW if exists user_vm_template_permissions_view CASCADE;
 DROP VIEW if exists user_vm_template_permissions_view_base CASCADE;
 DROP VIEW if exists user_vnic_profile_permissions_view CASCADE;
 DROP VIEW if exists user_vnic_profile_permissions_view_base CASCADE;
 DROP VIEW if exists vdc_users CASCADE;
 DROP VIEW if exists vdc_users_with_tags CASCADE;
 DROP VIEW if exists vds CASCADE;
 DROP VIEW if exists vds_groups CASCADE;
 DROP VIEW if exists vds_interface_view CASCADE;
 DROP VIEW if exists vds_with_tags CASCADE;
 DROP VIEW if exists vm_device_view CASCADE;
 DROP VIEW if exists vm_host_device_view CASCADE;
 DROP VIEW if exists vm_host_pinning_view CASCADE;
 DROP VIEW if exists vm_images_storage_domains_view CASCADE;
 DROP VIEW if exists vm_images_view CASCADE;
 DROP VIEW if exists vm_interface_monitoring_view CASCADE;
 DROP VIEW if exists vm_interface_view CASCADE;
 DROP VIEW if exists vm_permissions_view CASCADE;
 DROP VIEW if exists vm_permissions_view_base CASCADE;
 DROP VIEW if exists vm_pool_map_view CASCADE;
 DROP VIEW if exists vm_pools_full_view CASCADE;
 DROP VIEW if exists vm_pools_view CASCADE;
 DROP VIEW if exists vms CASCADE;
 DROP VIEW if exists vms_for_disk_view CASCADE;
 DROP VIEW if exists vms_with_plug_info CASCADE;
 DROP VIEW if exists vms_with_tags CASCADE;
 DROP VIEW if exists vm_templates_based_storage_domain CASCADE;
 DROP VIEW if exists vm_templates_based_view CASCADE;
 DROP VIEW if exists vm_templates_based_with_plug_info CASCADE;
 DROP VIEW if exists vm_templates_storage_domain CASCADE;
 DROP VIEW if exists vm_templates_view CASCADE;
 DROP VIEW if exists vnic_profiles_view CASCADE;

DROP VIEW
********* QUERY **********
DROP VIEW if exists affinity_groups_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists all_disks CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists all_disks_for_vms CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists all_disks_including_memory CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists all_disks_including_snapshots CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists all_disks_including_snapshots_and_memory CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists cluster_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists cluster_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists desktop_vms CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists disk_vm_element_extended CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists domains_with_unregistered_entities_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_add_tags_relations_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_cluster_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_datacenter_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_datacenter_storage_map_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_host_configuration_full_check_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_host_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_host_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_host_interface_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_host_interface_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_remove_tags_relations_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_storage_domain_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_storage_domain_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_tags_details_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_users_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_device_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_disk_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_disks_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_interface_configuration_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists dwh_vm_interface_history_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists engine_session_user_flat_groups CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_geo_rep_config_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_georep_sessions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_server_hooks_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_server_services_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_volume_bricks_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_volume_snapshot_schedules_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_volume_snapshots_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_volumes_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists gluster_volume_task_steps CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists host_device_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists host_network_qos_of_migration_network_by_cluster CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists images_storage_domain_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists image_types_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists image_types_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists instance_types_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists instance_types_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists internal_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists labels_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists luns_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists memory_and_disk_images_storage_domain_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists network_cluster_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists network_vds_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists network_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists numa_node_assignment_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists numa_node_cpus_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists numa_node_with_cluster_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists qos_for_disk_profile_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists qos_for_vm_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists quota_cluster_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists quota_global_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists quota_limitations_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists quota_storage_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists quota_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists server_vms CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domain_file_repos CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domains CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domains_for_search CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domain_shared_status CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domains_image_sizes CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domains_with_hosts_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_domains_without_storage_pools CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_for_image_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists storage_pool_with_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists supported_cluster_features_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists tags_user_group_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists tags_user_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists tags_vds_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists tags_vm_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists tags_vm_pool_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_cluster_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_cluster_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_cpu_profile_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_db_users_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_disk_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_disk_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_disk_profile_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_disk_profile_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_network_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_network_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_object_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_permissions_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_profiles_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists users_and_groups_to_vm_pool_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_storage_domain_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_storage_domain_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_storage_pool_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_storage_pool_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vds_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vds_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vm_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vm_pool_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vm_pool_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vm_template_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vm_template_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vnic_profile_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists user_vnic_profile_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vdc_users CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vdc_users_with_tags CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vds CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vds_groups CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vds_interface_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vds_with_tags CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_device_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_host_device_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_host_pinning_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_images_storage_domains_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_images_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_interface_monitoring_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_interface_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_permissions_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_permissions_view_base CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_pool_map_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_pools_full_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_pools_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vms CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vms_for_disk_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vms_with_plug_info CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vms_with_tags CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_templates_based_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_templates_based_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_templates_based_with_plug_info CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_templates_storage_domain CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vm_templates_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
DROP VIEW if exists vnic_profiles_view CASCADE;
**************************

DROP VIEW
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_column_def TEXT
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ADD COLUMN ' || v_column || ' ' || v_column_def;

        EXECUTE v_sql;
    END;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_drop_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' DROP COLUMN ' || v_column;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_change_column_type (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_type VARCHAR(128),
    v_new_type VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_type
                        OR data_type ilike v_type
                        )
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column || ' TYPE ' || v_new_type;

        EXECUTE v_sql;
    END;

    --- ignore operation if requested type is already there
    ELSIF(NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_new_type
                        OR data_type ilike v_new_type
                        )
                )) THEN
                    RAISE EXCEPTION 'Table % or Column % does not exist.', v_table, v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME COLUMN ' || v_column || ' TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_table (
    v_table VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % does not exist.',
            v_table;
END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            INSERT INTO vdc_options (
                option_name,
                option_value,
                version
                )
            VALUES (
                v_option_name,
                v_option_value,
                v_version
                );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value_all_versions (v_option_name VARCHAR(100))
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value (
    v_option_name VARCHAR(100),
    v_version TEXT
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version IN (
                        SELECT ID
                        FROM fnSplitter(v_version)
                        )
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name
                AND version IN (
                    SELECT ID
                    FROM fnSplitter(v_version)
                    );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_for_version (v_version TEXT)
RETURNS void AS $PROCEDURE$
BEGIN
    DELETE
    FROM vdc_options
    WHERE version IN (
            SELECT ID
            FROM fnSplitter(v_version)
            );
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND version = v_version;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_default_config_value (
    v_option_name VARCHAR(100),
    v_default_option_value VARCHAR(4000),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40),
    v_ignore_default_value_case boolean
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
    BEGIN
        IF (v_ignore_default_value_case) THEN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value ilike v_default_option_value
                AND version = v_version;
        ELSE
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value = v_default_option_value
                AND version = v_version;
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_rename_config_key (
        v_old_option_name VARCHAR(100),
        v_new_option_name VARCHAR(100),
        v_version VARCHAR(40)
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_current_option_value VARCHAR(4000);

    BEGIN
        IF (
                EXISTS (
                    SELECT 1
                    FROM vdc_options
                    WHERE option_name ilike v_old_option_name
                        AND version = v_version
                    )
                ) THEN
            v_current_option_value:= option_value
            FROM vdc_options
            WHERE option_name ilike v_old_option_name
                AND version = v_version;

            UPDATE vdc_options
            SET option_name = v_new_option_name,
                option_value = v_current_option_value
                WHERE option_name ilike v_old_option_name
                    AND version = v_version;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128),
        v_constraint_sql TEXT
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF NOT EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' ADD CONSTRAINT ' || v_constraint || ' ' || v_constraint_sql;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_drop_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128)
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' DROP CONSTRAINT ' || v_constraint || ' CASCADE';
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION CheckDBConnection ()
    RETURNS SETOF INT IMMUTABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 1;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_functions_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'drop function if exists ' || ns.nspname || '.' || proname || '(' || oidvectortypes(proargtypes) || ') cascade;'
        FROM pg_proc
        INNER JOIN pg_namespace ns
            ON (pg_proc.pronamespace = ns.oid)
        WHERE ns.nspname = 'public'
        ORDER BY proname;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_views_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP VIEW if exists ' || table_name || ' CASCADE;'
        FROM information_schema.VIEWS
        WHERE table_schema = 'public'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_tables_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TABLE if exists ' || table_name || ' CASCADE;'
        FROM information_schema.tables
        WHERE table_schema = 'public'
            AND table_type = 'BASE TABLE'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_seq_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP SEQUENCE if exists ' || sequence_name || ' CASCADE;'
        FROM information_schema.sequences
        WHERE sequence_schema = 'public'
        ORDER BY sequence_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_user_types_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TYPE if exists ' || c.relname::information_schema.sql_identifier || ' CASCADE;'
        FROM pg_namespace n,
            pg_class c,
            pg_type t
        WHERE n.oid = c.relnamespace
            AND t.typrelid = c.oid
            AND c.relkind = 'c'::"char"
            AND n.nspname = 'public'
        ORDER BY c.relname::information_schema.sql_identifier;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_get_column_size (
        v_table VARCHAR(64),
        v_column VARCHAR(64)
        )
    RETURNS INT STABLE AS $PROCEDURE$

    DECLARE retvalue INT;

    BEGIN
        retvalue := character_maximum_length
        FROM information_schema.columns
        WHERE table_schema = 'public'
            AND table_name ilike v_table
            AND column_name ilike v_column
            AND table_schema = 'public'
            AND udt_name IN (
                'char',
                'varchar'
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION attach_user_to_role (
        v_user_name VARCHAR(255),
        v_domain VARCHAR(255),
        v_namespace VARCHAR(255),
        v_domain_entry_id TEXT,
        v_role_name VARCHAR(255)
        )
    RETURNS void AS $BODY$

    DECLARE selected_user_id uuid;

    input_role_id uuid;

    BEGIN
        SELECT roles.id
        INTO input_role_id
        FROM roles
        WHERE roles.name = v_role_name;

        -- The external identifier is the user identifier converted to an array of
        -- bytes:
        INSERT INTO users (
            user_id,
            external_id,
            namespace,
            name,
            domain,
            username,
            last_admin_check_status
            )
        SELECT uuid_generate_v1(),
            v_domain_entry_id,
            v_namespace,
            v_user_name,
            v_domain,
            v_user_name,
            true
        WHERE NOT EXISTS (
                SELECT 1
                FROM users
                WHERE domain = v_domain
                    AND external_id = v_domain_entry_id
                );

        SELECT user_id
        FROM users
        WHERE domain = v_domain
            AND external_id = v_domain_entry_id
        INTO selected_user_id;

        INSERT INTO permissions (
            id,
            role_id,
            ad_element_id,
            object_id,
            object_type_id
            )
        SELECT uuid_generate_v1(),
            input_role_id,
            selected_user_id,
            getGlobalIds('system'),
            1
        WHERE NOT EXISTS (
                SELECT role_id,
                    ad_element_id,
                    object_id,
                    object_type_id
                FROM permissions
                WHERE role_id = input_role_id
                    AND ad_element_id = selected_user_id
                    AND object_id = getGlobalIds('system')
                    AND object_type_id = 1
                );
    END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_add_action_group_to_role (
        v_role_id UUID,
        v_action_group_id INT
        )
    RETURNS VOID AS $PROCEDURE$

    BEGIN
        INSERT INTO roles_groups (
            role_id,
            action_group_id
            )
        SELECT v_role_id,
            v_action_group_id
        WHERE NOT EXISTS (
                SELECT 1
                FROM roles_groups
                WHERE role_id = v_role_id
                    AND action_group_id = v_action_group_id
                );

        RETURN;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_split_config_value (
        v_option_name VARCHAR,
        v_old_option_value VARCHAR,
        v_new_option_value VARCHAR,
        v_update_from_version VARCHAR
        )
    RETURNS void AS $BODY$

    DECLARE v_old_value VARCHAR(4000);

    v_cur CURSOR
    FOR

    SELECT DISTINCT version
    FROM vdc_options
    WHERE version <> 'general'
    ORDER BY version;

    v_version VARCHAR(40);

    v_index INT;

    v_count INT;

    v_total_count INT;

    v_version_count INT;

    BEGIN
        v_total_count := count(version)
        FROM vdc_options
        WHERE option_name = v_option_name;

        v_old_value := option_value
        FROM vdc_options
        WHERE option_name = v_option_name
            AND version = 'general';

        v_version_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        IF (v_total_count <= v_version_count) THEN
        BEGIN
            IF (v_old_value IS NULL) THEN
                v_old_value := v_old_option_value;
        END IF;
        v_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        v_index := 1;

        OPEN v_cur;

        LOOP

            FETCH v_cur
            INTO v_version;

            EXIT when NOT found;

            -- We shouldn't update if already exists
            IF (
                    NOT EXISTS (
                        SELECT 1
                        FROM vdc_options
                        WHERE option_name = v_option_name
                            AND version = v_version
                        )
                    ) THEN
                -- Might not work well for versions such as 3.10, but we currently don't have any
                IF (v_version >= v_update_from_version) THEN
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_new_option_value,
                        v_version
                        );
                ELSE
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_old_value,
                        v_version
                        );
                END IF;

            END IF;
            v_index := v_index + 1;
        END LOOP;

    CLOSE v_cur;

    DELETE
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = 'general';
    END;
END IF;

END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_grant_action_group_to_all_roles_filter (
    v_action_group_id INT,
    uuid []
    )
RETURNS void AS $BODY$

DECLARE v_role_id_to_filter alias
FOR $2;

BEGIN
    INSERT INTO roles_groups (
        role_id,
        action_group_id
        )
    SELECT DISTINCT role_id,
        v_action_group_id
    FROM roles_groups rg
    WHERE NOT ARRAY [role_id] <@ v_role_id_to_filter
        AND NOT EXISTS (
            SELECT 1
            FROM roles_groups
            WHERE role_id = rg.role_id
                AND action_group_id = v_action_group_id
            );
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_mask_object (v_object regclass)
RETURNS setof record AS $BODY$

DECLARE v_sql TEXT;

v_table record;

v_table_name TEXT;

temprec record;

BEGIN
    -- get full table/view name from v_object (i.e <namespace>.<name>)
    SELECT c.relname,
        n.nspname
    INTO v_table
    FROM pg_class c
    INNER JOIN pg_namespace n
        ON c.relnamespace = n.oid
    WHERE c.oid = v_object;

    -- try to get filtered query syntax from previous execution
    IF EXISTS (
            SELECT 1
            FROM object_column_white_list_sql
            WHERE object_name = v_table.relname
            ) THEN
        SELECT sql
        INTO v_sql
        FROM object_column_white_list_sql
        WHERE object_name = v_table.relname;
    ELSE
        v_table_name := quote_ident(v_table.nspname) || '.' || quote_ident(v_table.relname);
        -- compose sql statement while skipping values for columns not defined in object_column_white_list for this table.
    FOR temprec IN
    SELECT a.attname,
        t.typname
    FROM pg_attribute a
    INNER JOIN pg_type t
        ON a.atttypid = t.oid
    WHERE a.attrelid = v_object
        AND a.attnum > 0
        AND NOT a.attisdropped
    ORDER BY a.attnum LOOP v_sql := coalesce(v_sql || ', ', 'SELECT ');

        IF EXISTS (
            SELECT 1
            FROM object_column_white_list
            WHERE object_name = v_table.relname
                AND column_name = temprec.attname
            ) THEN v_sql := v_sql || quote_ident(temprec.attname);
        ELSE
            v_sql := v_sql || 'NULL::' || quote_ident(temprec.typname) || ' as ' || quote_ident(temprec.attname);
        END IF;

    END LOOP;

    v_sql := v_sql || ' FROM ' || v_table_name;

    v_sql := 'SELECT x::' || v_table_name || ' as rec FROM (' || v_sql || ') as x';

    -- save generated query for further use
    INSERT INTO object_column_white_list_sql (
        object_name,
        sql
        )
    VALUES (
        v_table.relname,
        v_sql
        );
    END IF;

    RETURN QUERY

    EXECUTE v_sql;
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column_to_object_white_list (
    v_object_name VARCHAR(128),
    v_column_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM object_column_white_list
                WHERE object_name = v_object_name
                    AND column_name = v_column_name
                )
            ) THEN
    BEGIN
        -- verify that there is such object in db
        IF EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name = v_object_name
                    AND column_name = v_column_name
                ) THEN
            INSERT INTO object_column_white_list (
                object_name,
                column_name
                )
            VALUES (
                v_object_name,
                v_column_name
                );
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_is_table_exists (v_table VARCHAR(64))
    RETURNS boolean STABLE AS $PROCEDURE$

    DECLARE retvalue boolean;

    BEGIN
        retvalue := EXISTS (
                SELECT *
                FROM information_schema.tables
                WHERE table_schema = 'public'
                    AND table_name ILIKE v_table
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_index (
        v_index_name VARCHAR(128),
        v_table_name VARCHAR(128),
        v_column_names TEXT,
        v_where_predicate TEXT
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_sql TEXT;

    BEGIN
        v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE INDEX ' || v_index_name || ' ON ' || v_table_name || '(' || v_column_names || ')';

        IF v_where_predicate = '' THEN v_sql := v_sql || ';';ELSE
            v_sql := v_sql || ' WHERE ' || v_where_predicate || ';';
    END IF;

    EXECUTE v_sql;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_disk (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK INT;

LOCKED INT;

BEGIN
    OK:= 1;

    LOCKED:= 2;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_snapshot (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK VARCHAR;

LOCKED VARCHAR;

BEGIN
    OK:= 'OK';

    LOCKED:= 'LOCKED';

    UPDATE snapshots
    SET status = OK
    WHERE status = LOCKED
        AND snapshot_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_entity (
    v_object_type VARCHAR(10),
    v_name VARCHAR(255),
    v_recursive boolean
    )
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

v_id UUID;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    v_id := vm_guid
    FROM vm_static
    WHERE vm_name = v_name
        AND entity_type ilike v_object_type;

    -- set VM status to DOWN
    IF (v_object_type = 'vm') THEN
        UPDATE vm_dynamic
        SET status = DOWN
        WHERE status = IMAGE_LOCKED
            AND vm_guid = v_id;
            -- set Template status to OK
    ELSE IF (v_object_type = 'template') THEN
        UPDATE vm_static
        SET template_status = TEMPLATE_OK
        WHERE template_status = TEMPLATE_LOCKED
            AND vm_guid = v_id;
    END IF;

END IF;
 --unlock images and snapshots  if recursive flag is set
IF (v_recursive) THEN
    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id IN (
            SELECT device_id
            FROM vm_device
            WHERE vm_id = v_id
                AND is_plugged
            );

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED
        AND vm_id = v_id;
END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_all ()
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    UPDATE vm_static
    SET template_status = TEMPLATE_OK
    WHERE template_status = TEMPLATE_LOCKED;

    UPDATE vm_dynamic
    SET status = DOWN
    WHERE status = IMAGE_LOCKED;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED;

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
/* Displays DC id , DC name, SPM Host id , SPM Host name and number of async tasks awaiting.

1) create a record type with DC name, DC id, SPM host id, SPM host name, count

2) get all distinct DC ids from async_tasks table

3) Run a cursor for each result in 2)

   a) get DC name
   b) get SPM Host id & name if available
   c) get count of tasks

   return current record

4) return set of generated records
*/
DROP TYPE IF EXISTS async_tasks_info_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE async_tasks_info_rs AS (
        dc_id uuid,
        dc_name VARCHAR,
        spm_host_id uuid,
        spm_host_name VARCHAR,
        task_count INT
        );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_get_async_tasks ()
RETURNS SETOF async_tasks_info_rs STABLE AS $PROCEDURE$
DECLARE v_record async_tasks_info_rs;

-- selects storage_pool_id uuid found in async_tasks
v_tasks_cursor CURSOR
FOR

SELECT DISTINCT storage_pool_id
FROM async_tasks;

BEGIN
    OPEN v_tasks_cursor;

    FETCH v_tasks_cursor
    INTO v_record.dc_id;

    WHILE FOUND
    LOOP
        -- get dc_name and SPM Host id
        v_record.dc_name := name FROM storage_pool WHERE id = v_record.dc_id;
        v_record.spm_host_id := spm_vds_id
        FROM storage_pool
        WHERE id = v_record.dc_id;

        -- get Host name if we have non NULL SPM Host
        IF (v_record.spm_host_id IS NOT NULL) THEN
            v_record.spm_host_name := vds_name
            FROM vds_static
            WHERE vds_id = v_record.spm_host_id;
        ELSE
            v_record.spm_host_name:= '';
        END IF;
        -- get tasks count for this DC
        v_record.task_count := count(*)
        FROM async_tasks
        WHERE position(cast(v_record.dc_id AS VARCHAR) IN action_parameters) > 0;

        -- return the record
        RETURN NEXT v_record;

        FETCH v_tasks_cursor
    INTO v_record.dc_id;

    END LOOP;

CLOSE v_tasks_cursor;

-- return full set of generated records
RETURN;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_csv_config_value (
    v_option_name VARCHAR(100),
    v_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE v VARCHAR [];

e VARCHAR;

v_result VARCHAR;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(option_value, ',')
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = v_version;
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_value) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

END
LOOP;

    UPDATE vdc_options
    SET option_value = v_result
    WHERE option_name = v_option_name
        AND version = v_version;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_uuid_from_csv (
    v_csv_text TEXT,
    v_uuid uuid
    )
RETURNS TEXT STABLE AS $PROCEDURE$
DECLARE v uuid [];

e uuid;

v_result TEXT;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(v_csv_text, ',');
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_uuid) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

    END LOOP;

    IF (v_result = '') THEN v_result := NULL;
    END IF;
    RETURN v_result;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value_for_versions_up_to (
    v_option_name VARCHAR(100),
    v_val VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE i INT;

arr VARCHAR [] := array ['3.6', '4.0', '4.1'];

BEGIN
    FOR i IN array_lower(arr, 1)..array_upper(arr, 1) LOOP PERFORM fn_db_add_config_value(v_option_name, v_val, arr [i]);
        EXIT WHEN arr [i] = v_version;
    END LOOP;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
select * from generate_drop_all_functions_syntax();
**************************

 drop function if exists public.activateallmaterializedviews(boolean) cascade;
 drop function if exists public.activatematerializedview(name, boolean) cascade;
 drop function if exists public.addconnectiontoiscsibond(uuid, character varying) cascade;
 drop function if exists public.addglusterserverknownaddress(uuid, character varying) cascade;
 drop function if exists public.addnetworktoiscsibond(uuid, uuid) cascade;
 drop function if exists public.attach_user_to_role(character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.boundvmpoolprestartedvms(uuid) cascade;
 drop function if exists public.calculateallclusterusage() cascade;
 drop function if exists public.calculateallstorageusage() cascade;
 drop function if exists public.calculateclusterusage(uuid, uuid) cascade;
 drop function if exists public.calculatestorageusage(uuid, uuid) cascade;
 drop function if exists public.checkdbconnection() cascade;
 drop function if exists public.checkifjobhastasks(uuid) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandsnapshotid(uuid, uuid) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandstatus(uuid, character varying) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.checkvmhostdeviceavailability(uuid, uuid) cascade;
 drop function if exists public.cleandownvms() cascade;
 drop function if exists public.clear_network_from_nics(uuid) cascade;
 drop function if exists public.clear_osinfo() cascade;
 drop function if exists public.clearallauditlogevents(integer) cascade;
 drop function if exists public.clearalldeviceaddressesbyvmid(uuid) cascade;
 drop function if exists public.clearmigratingtovds(uuid) cascade;
 drop function if exists public.clearvmdeviceaddress(uuid) cascade;
 drop function if exists public.createallmaterializedviewsiindexes() cascade;
 drop function if exists public.createcustommaterializedview(name, name, integer, integer) cascade;
 drop function if exists public.createcustommaterializedview(name, name, integer) cascade;
 drop function if exists public.createcustommaterializedviewas(name, integer, integer) cascade;
 drop function if exists public.createcustommaterializedviewas(name, integer) cascade;
 drop function if exists public.createlabel(uuid, character varying, boolean, uuid[], uuid[]) cascade;
 drop function if exists public.creatematerializedview(name, name, integer, integer) cascade;
 drop function if exists public.creatematerializedview(name, name, integer, boolean, integer) cascade;
 drop function if exists public.creatematerializedview(name, name, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer, boolean, integer) cascade;
 drop function if exists public.delete_entity_snapshot_by_command_id(uuid) cascade;
 drop function if exists public.delete_roles_groups(integer, uuid) cascade;
 drop function if exists public.deleteaffinitygroup(uuid) cascade;
 drop function if exists public.deleteallcommandentities() cascade;
 drop function if exists public.deleteallcommandentitiesbycommandid(uuid) cascade;
 drop function if exists public.deleteallfromenginesessions() cascade;
 drop function if exists public.deleteallfromvmicondefaults() cascade;
 drop function if exists public.deleteallglusterhooks(uuid) cascade;
 drop function if exists public.deleteallunusedvmicons() cascade;
 drop function if exists public.deleteallvfsconfiglabels(uuid) cascade;
 drop function if exists public.deleteallvfsconfignetworks(uuid) cascade;
 drop function if exists public.deleteasync_tasks(uuid) cascade;
 drop function if exists public.deleteasynctasksbyvdsmtaskid(uuid) cascade;
 drop function if exists public.deleteauditalertlogbyvdsidandtype(uuid, integer) cascade;
 drop function if exists public.deleteauditalertlogbyvolumeidandtype(uuid, integer) cascade;
 drop function if exists public.deleteauditlog(integer) cascade;
 drop function if exists public.deleteauditlogalertsbyvdsid(uuid, boolean) cascade;
 drop function if exists public.deleteauditlogolderthendate(timestamp with time zone) cascade;
 drop function if exists public.deletebackuprelatedalerts() cascade;
 drop function if exists public.deletebasedisk(uuid) cascade;
 drop function if exists public.deletebookmark(uuid) cascade;
 drop function if exists public.deletebypoolvds_spm_id_map(uuid, uuid) cascade;
 drop function if exists public.deletecluster(uuid) cascade;
 drop function if exists public.deleteclusterpolicy(uuid) cascade;
 drop function if exists public.deleteclusterpolicyunitsbyclusterpolicyid(uuid) cascade;
 drop function if exists public.deletecommandentitiesbycommandid(uuid) cascade;
 drop function if exists public.deletecommandentitiesolderthandate(timestamp with time zone) cascade;
 drop function if exists public.deletecommandentity(uuid) cascade;
 drop function if exists public.deletecompletedjobsolderthandate(timestamp with time zone, timestamp with time zone) cascade;
 drop function if exists public.deletecpuprofile(uuid) cascade;
 drop function if exists public.deletecustom_actions(integer) cascade;
 drop function if exists public.deletedisk_image_dynamic(uuid) cascade;
 drop function if exists public.deletedisklunmap(uuid, character varying) cascade;
 drop function if exists public.deletediskprofile(uuid) cascade;
 drop function if exists public.deletediskvmelement(uuid, uuid) cascade;
 drop function if exists public.deleteenginesession(integer) cascade;
 drop function if exists public.deleteentitysnapshotbycommandid(uuid) cascade;
 drop function if exists public.deleteevent_notification_hist(timestamp without time zone) cascade;
 drop function if exists public.deleteevent_subscriber(character varying, character varying, uuid, character varying) cascade;
 drop function if exists public.deleteexternalvariable(character varying) cascade;
 drop function if exists public.deletefenceagent(uuid) cascade;
 drop function if exists public.deletefenceagentsbyvdsid(uuid) cascade;
 drop function if exists public.deleteglustergeorepsession(uuid) cascade;
 drop function if exists public.deleteglusterhook(uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.deleteglusterhookbyid(uuid) cascade;
 drop function if exists public.deleteglusterhooksbyids(text) cascade;
 drop function if exists public.deleteglusterserver(uuid) cascade;
 drop function if exists public.deleteglusterserverbyglusterserveruuid(uuid) cascade;
 drop function if exists public.deleteglusterserverhook(uuid, uuid) cascade;
 drop function if exists public.deleteglusterserverhookbyid(uuid) cascade;
 drop function if exists public.deleteglusterserverhooksbyids(text) cascade;
 drop function if exists public.deleteglusterserverservice(uuid) cascade;
 drop function if exists public.deleteglustervolumeaccessprotocol(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumebrick(uuid) cascade;
 drop function if exists public.deleteglustervolumebricks(character varying) cascade;
 drop function if exists public.deleteglustervolumebyguid(uuid) cascade;
 drop function if exists public.deleteglustervolumebyname(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumeoption(uuid) cascade;
 drop function if exists public.deleteglustervolumeoptions(character varying) cascade;
 drop function if exists public.deleteglustervolumesbyclusterid(uuid) cascade;
 drop function if exists public.deleteglustervolumesbyguids(character varying) cascade;
 drop function if exists public.deleteglustervolumesnapshotbyguid(uuid) cascade;
 drop function if exists public.deleteglustervolumesnapshotbyname(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumesnapshotsbyvolumeid(uuid) cascade;
 drop function if exists public.deleteglustervolumesnapshotschedulebyvolumeid(uuid) cascade;
 drop function if exists public.deleteglustervolumessnapshotbyids(character varying) cascade;
 drop function if exists public.deleteglustervolumetransporttype(uuid, character varying) cascade;
 drop function if exists public.deletegroup(uuid) cascade;
 drop function if exists public.deletehostdevice(uuid, character varying) cascade;
 drop function if exists public.deletehostnicvfsconfig(uuid) cascade;
 drop function if exists public.deleteimage(uuid) cascade;
 drop function if exists public.deleteimage_storage_domain_map(uuid, uuid) cascade;
 drop function if exists public.deleteimage_storage_domain_map_by_image_id(uuid) cascade;
 drop function if exists public.deleteimageuploads(uuid) cascade;
 drop function if exists public.deleteiscsibond(uuid) cascade;
 drop function if exists public.deletejob(uuid) cascade;
 drop function if exists public.deletejobolderthandatewithstatus(timestamp with time zone, text) cascade;
 drop function if exists public.deletelabel(uuid) cascade;
 drop function if exists public.deletelibvirtsecret(uuid) cascade;
 drop function if exists public.deletelun(character varying) cascade;
 drop function if exists public.deletelun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.deletemacpool(uuid) cascade;
 drop function if exists public.deletemacpoolrangesbymacpoolid(uuid) cascade;
 drop function if exists public.deletenetwork(uuid) cascade;
 drop function if exists public.deletenetwork_cluster(uuid, uuid) cascade;
 drop function if exists public.deletenetworkattachment(uuid) cascade;
 drop function if exists public.deletenumanode(uuid) cascade;
 drop function if exists public.deletenumanodecpubynumanodeid(uuid) cascade;
 drop function if exists public.deletenumanodemapbyvdsnumanodeid(uuid) cascade;
 drop function if exists public.deletenumanodemapbyvmnumanodeid(uuid) cascade;
 drop function if exists public.deleteorphanjobs() cascade;
 drop function if exists public.deleteovfgenerations(character varying) cascade;
 drop function if exists public.deletepermission(uuid) cascade;
 drop function if exists public.deletepermissionsbyentityid(uuid) cascade;
 drop function if exists public.deletepolicyunit(uuid) cascade;
 drop function if exists public.deleteprovider(uuid) cascade;
 drop function if exists public.deleteqos(uuid) cascade;
 drop function if exists public.deletequotabyquotaguid(uuid) cascade;
 drop function if exists public.deletequotalimitationbyquotaguid(uuid) cascade;
 drop function if exists public.deleterepo_domain_file_list(uuid, integer) cascade;
 drop function if exists public.deleterole(uuid) cascade;
 drop function if exists public.deleterunningjobsoftasklesscommands() cascade;
 drop function if exists public.deletesnapshot(uuid) cascade;
 drop function if exists public.deletestep(uuid) cascade;
 drop function if exists public.deletestorage_domain_dynamic(uuid) cascade;
 drop function if exists public.deletestorage_domain_static(uuid) cascade;
 drop function if exists public.deletestorage_pool(uuid) cascade;
 drop function if exists public.deletestorage_pool_iso_map(uuid, uuid) cascade;
 drop function if exists public.deletestorage_server_connections(character varying) cascade;
 drop function if exists public.deletestoragedevicebyid(uuid) cascade;
 drop function if exists public.deletestoragedomainovfinfo(uuid) cascade;
 drop function if exists public.deletestorageserverconnectionextension(uuid) cascade;
 drop function if exists public.deletetags(uuid) cascade;
 drop function if exists public.deletetags_user_group_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_user_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vds_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vm_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vm_pool_map(uuid, uuid) cascade;
 drop function if exists public.deleteunpinnednumanodemapbyvmnumanodeid(uuid) cascade;
 drop function if exists public.deleteuser(uuid) cascade;
 drop function if exists public.deleteuserprofile(uuid) cascade;
 drop function if exists public.deletevdcoption(integer) cascade;
 drop function if exists public.deletevds(uuid) cascade;
 drop function if exists public.deletevds_interface(uuid) cascade;
 drop function if exists public.deletevds_interface_statistics(uuid) cascade;
 drop function if exists public.deletevds_spm_id_map(uuid) cascade;
 drop function if exists public.deletevdscpustatisticsbyvdsid(uuid) cascade;
 drop function if exists public.deletevdsdynamic(uuid) cascade;
 drop function if exists public.deletevdsstatic(uuid) cascade;
 drop function if exists public.deletevdsstatistics(uuid) cascade;
 drop function if exists public.deletevfsconfiglabel(uuid, text) cascade;
 drop function if exists public.deletevfsconfignetwork(uuid, uuid) cascade;
 drop function if exists public.deletevm(uuid) cascade;
 drop function if exists public.deletevm_interface_statistics(uuid) cascade;
 drop function if exists public.deletevm_pool_map(uuid) cascade;
 drop function if exists public.deletevm_pools(uuid) cascade;
 drop function if exists public.deletevmdevice(uuid, uuid) cascade;
 drop function if exists public.deletevmdevicesbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.deletevmdynamic(uuid) cascade;
 drop function if exists public.deletevmguestagentinterfacesbyvmid(uuid) cascade;
 drop function if exists public.deletevmicon(uuid) cascade;
 drop function if exists public.deletevmicondefault(uuid) cascade;
 drop function if exists public.deletevmiconifunused(uuid) cascade;
 drop function if exists public.deletevminit(uuid) cascade;
 drop function if exists public.deletevminterface(uuid) cascade;
 drop function if exists public.deletevmjobs(uuid) cascade;
 drop function if exists public.deletevmstatic(uuid, boolean) cascade;
 drop function if exists public.deletevmstatistics(uuid) cascade;
 drop function if exists public.deletevmtemplates(uuid) cascade;
 drop function if exists public.deletevnicprofile(uuid) cascade;
 drop function if exists public.displayallauditlogevents(integer) cascade;
 drop function if exists public.dropallcustommaterializedviews() cascade;
 drop function if exists public.dropallmaterializedviews() cascade;
 drop function if exists public.dropmaterializedview(name) cascade;
 drop function if exists public.existsvmdevicebyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.fn_authz_entry_info(uuid) cascade;
 drop function if exists public.fn_db_add_action_group_to_role(uuid, integer) cascade;
 drop function if exists public.fn_db_add_column(character varying, character varying, text) cascade;
 drop function if exists public.fn_db_add_column_to_object_white_list(character varying, character varying) cascade;
 drop function if exists public.fn_db_add_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_add_config_value_for_versions_up_to(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_change_column_type(character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_create_constraint(character varying, character varying, text) cascade;
 drop function if exists public.fn_db_create_index(character varying, character varying, text, text) cascade;
 drop function if exists public.fn_db_delete_config_for_version(text) cascade;
 drop function if exists public.fn_db_delete_config_value(character varying, text) cascade;
 drop function if exists public.fn_db_delete_config_value_all_versions(character varying) cascade;
 drop function if exists public.fn_db_drop_column(character varying, character varying) cascade;
 drop function if exists public.fn_db_drop_constraint(character varying, character varying) cascade;
 drop function if exists public.fn_db_get_async_tasks() cascade;
 drop function if exists public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[]) cascade;
 drop function if exists public.fn_db_is_table_exists(character varying) cascade;
 drop function if exists public.fn_db_mask_object(regclass) cascade;
 drop function if exists public.fn_db_remove_csv_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_remove_uuid_from_csv(text, uuid) cascade;
 drop function if exists public.fn_db_rename_column(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_rename_config_key(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_rename_table(character varying, character varying) cascade;
 drop function if exists public.fn_db_split_config_value(character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_unlock_all() cascade;
 drop function if exists public.fn_db_unlock_disk(uuid) cascade;
 drop function if exists public.fn_db_unlock_entity(character varying, character varying, boolean) cascade;
 drop function if exists public.fn_db_unlock_snapshot(uuid) cascade;
 drop function if exists public.fn_db_update_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean) cascade;
 drop function if exists public.fn_get_ad_element_name(uuid) cascade;
 drop function if exists public.fn_get_column_size(character varying, character varying) cascade;
 drop function if exists public.fn_get_comparable_ip_list(text) cascade;
 drop function if exists public.fn_get_dedicated_hosts_ids_by_vm_id(uuid) cascade;
 drop function if exists public.fn_get_entity_name(uuid, integer) cascade;
 drop function if exists public.fn_get_entity_parents(uuid, integer) cascade;
 drop function if exists public.fn_get_num_of_vcpus(vm_static) cascade;
 drop function if exists public.fn_image_deleted() cascade;
 drop function if exists public.fn_perms_get_storage_pools_with_permitted_action_on_clusters(uuid, integer, boolean, boolean) cascade;
 drop function if exists public.fn_user_permissions(uuid) cascade;
 drop function if exists public.fnsplitter(text) cascade;
 drop function if exists public.fnsplitterinteger(text) cascade;
 drop function if exists public.fnsplitteruuid(text) cascade;
 drop function if exists public.fnsplitterwithseperator(text, character varying) cascade;
 drop function if exists public.force_delete_storage_domain(uuid) cascade;
 drop function if exists public.freehostdevicesusedbyvmid(uuid) cascade;
 drop function if exists public.generate_drop_all_functions_syntax() cascade;
 drop function if exists public.generate_drop_all_seq_syntax() cascade;
 drop function if exists public.generate_drop_all_tables_syntax() cascade;
 drop function if exists public.generate_drop_all_user_types_syntax() cascade;
 drop function if exists public.generate_drop_all_views_syntax() cascade;
 drop function if exists public.get_all_commands() cascade;
 drop function if exists public.get_entity_permissions(uuid, integer, uuid, integer) cascade;
 drop function if exists public.get_entity_permissions_for_user_and_groups(uuid, text, integer, uuid, integer, boolean) cascade;
 drop function if exists public.get_entity_snapshot_by_command_id(uuid) cascade;
 drop function if exists public.get_entity_snapshot_by_id(uuid) cascade;
 drop function if exists public.get_oauth_client(character varying) cascade;
 drop function if exists public.get_role_groups_by_role_id(uuid) cascade;
 drop function if exists public.get_roles_groups_by_action_group_id_and_by_role_id(integer, uuid) cascade;
 drop function if exists public.get_seconds_to_wait_before_pm_operation(character varying, character varying, integer) cascade;
 drop function if exists public.getaccessprotocolsbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getallbystatus(integer) cascade;
 drop function if exists public.getalldatacentersbymacpoolid(uuid) cascade;
 drop function if exists public.getallfromasync_tasks() cascade;
 drop function if exists public.getallfromauditlog(uuid, boolean) cascade;
 drop function if exists public.getallfrombasedisks() cascade;
 drop function if exists public.getallfrombookmarks() cascade;
 drop function if exists public.getallfromclusterpolicys() cascade;
 drop function if exists public.getallfromclusterpolicyunits() cascade;
 drop function if exists public.getallfromcommandentities() cascade;
 drop function if exists public.getallfromcpuprofiles() cascade;
 drop function if exists public.getallfromcustom_actions() cascade;
 drop function if exists public.getallfromdisk_image_dynamic() cascade;
 drop function if exists public.getallfromdisklunmaps() cascade;
 drop function if exists public.getallfromdiskprofiles() cascade;
 drop function if exists public.getallfromglusterservices() cascade;
 drop function if exists public.getallfromhostdevices() cascade;
 drop function if exists public.getallfromhostnicvfsconfigs() cascade;
 drop function if exists public.getallfromimages() cascade;
 drop function if exists public.getallfromimageuploads() cascade;
 drop function if exists public.getallfromiscsibonds() cascade;
 drop function if exists public.getallfromlibvirtsecrets() cascade;
 drop function if exists public.getallfromlun_storage_server_connection_map() cascade;
 drop function if exists public.getallfrommacpools() cascade;
 drop function if exists public.getallfromnetwork(uuid, boolean) cascade;
 drop function if exists public.getallfromnetwork_cluster() cascade;
 drop function if exists public.getallfromnetwork_clusterbyclusterid(uuid) cascade;
 drop function if exists public.getallfromnetwork_clusterbynetworkid(uuid) cascade;
 drop function if exists public.getallfromnetworkattachments() cascade;
 drop function if exists public.getallfromnumanode() cascade;
 drop function if exists public.getallfromnumanodecpumap() cascade;
 drop function if exists public.getallfrompolicyunits() cascade;
 drop function if exists public.getallfromproviders() cascade;
 drop function if exists public.getallfromprovidersbytypes(character varying[]) cascade;
 drop function if exists public.getallfromrole(integer) cascade;
 drop function if exists public.getallfromsnapshots() cascade;
 drop function if exists public.getallfromsnapshotsbyvmid(uuid, uuid, boolean, boolean) cascade;
 drop function if exists public.getallfromstorage_domain_dynamic() cascade;
 drop function if exists public.getallfromstorage_domain_static() cascade;
 drop function if exists public.getallfromstorage_pool(uuid, boolean) cascade;
 drop function if exists public.getallfromstorage_pool_iso_map() cascade;
 drop function if exists public.getallfromstorageserverconnectionextensions() cascade;
 drop function if exists public.getallfromtags() cascade;
 drop function if exists public.getallfromtags_user_group_map() cascade;
 drop function if exists public.getallfromtags_user_map() cascade;
 drop function if exists public.getallfromtags_vds_map() cascade;
 drop function if exists public.getallfromtags_vm_map() cascade;
 drop function if exists public.getallfromtags_vm_pool_map() cascade;
 drop function if exists public.getallfromusers(uuid, boolean) cascade;
 drop function if exists public.getallfromvdcoption() cascade;
 drop function if exists public.getallfromvds_spm_id_map() cascade;
 drop function if exists public.getallfromvdscpustatistics() cascade;
 drop function if exists public.getallfromvdsdynamic() cascade;
 drop function if exists public.getallfromvdsstatic() cascade;
 drop function if exists public.getallfromvdsstatistics() cascade;
 drop function if exists public.getallfromvm_pool_map() cascade;
 drop function if exists public.getallfromvm_pools() cascade;
 drop function if exists public.getallfromvmdynamic() cascade;
 drop function if exists public.getallfromvmicondefaults() cascade;
 drop function if exists public.getallfromvmicons() cascade;
 drop function if exists public.getallfromvmiconsfiltered(uuid, boolean) cascade;
 drop function if exists public.getallfromvminterfaces() cascade;
 drop function if exists public.getallfromvmstatic() cascade;
 drop function if exists public.getallfromvmstaticbystoragepoolid(uuid) cascade;
 drop function if exists public.getallfromvmstatistics() cascade;
 drop function if exists public.getallfromvnicprofiles() cascade;
 drop function if exists public.getallgroups() cascade;
 drop function if exists public.getallhashesfromvmdynamic() cascade;
 drop function if exists public.getallimageuploadids() cascade;
 drop function if exists public.getalljobidsbyentityid(uuid) cascade;
 drop function if exists public.getalljobs() cascade;
 drop function if exists public.getalllibvirtsecretsbyproviderid(uuid) cascade;
 drop function if exists public.getallmacpoolrangesbymacpoolid(uuid) cascade;
 drop function if exists public.getallmacsbymacpoolid(uuid) cascade;
 drop function if exists public.getallmanagementnetworksbydatacenterid(uuid) cascade;
 drop function if exists public.getallnetworkbyclusterid(uuid, uuid, boolean) cascade;
 drop function if exists public.getallnetworkbystoragepoolid(uuid, uuid, boolean) cascade;
 drop function if exists public.getallnetworkfilters() cascade;
 drop function if exists public.getallnetworklabelsbydatacenterid(uuid) cascade;
 drop function if exists public.getallnetworksbynetworkproviderid(uuid) cascade;
 drop function if exists public.getallnetworksbyqosid(uuid) cascade;
 drop function if exists public.getallnonadminroles(integer) cascade;
 drop function if exists public.getallovfentitiesforstoragedomainbyentitytype(uuid, character varying) cascade;
 drop function if exists public.getallqosbyqostype(smallint) cascade;
 drop function if exists public.getallqosforstoragepool(uuid) cascade;
 drop function if exists public.getallqosforstoragepoolbyqostype(uuid, smallint) cascade;
 drop function if exists public.getallsnapshotsbystoragedomainid(uuid) cascade;
 drop function if exists public.getallsteps() cascade;
 drop function if exists public.getallstorage_server_connections() cascade;
 drop function if exists public.getallsupportednetworkfiltersbyversion(character varying) cascade;
 drop function if exists public.getallunfinishedvdskdumpstatus() cascade;
 drop function if exists public.getallvfsconfigbyhostid(uuid) cascade;
 drop function if exists public.getallvmjobs() cascade;
 drop function if exists public.getanyadminrolebyuseridandgroupids(uuid, text, integer) cascade;
 drop function if exists public.getasync_tasksbytask_id(uuid) cascade;
 drop function if exists public.getasynctaskentitiesbytaskid(uuid) cascade;
 drop function if exists public.getasynctasksbyentityid(uuid) cascade;
 drop function if exists public.getasynctasksbystoragepoolid(uuid) cascade;
 drop function if exists public.getasynctasksbyvdsmtaskid(uuid) cascade;
 drop function if exists public.getasynctasksidsbyentityid(uuid) cascade;
 drop function if exists public.getauditlogbyauditlogid(integer) cascade;
 drop function if exists public.getauditlogbyoriginandcustomeventid(character varying, integer) cascade;
 drop function if exists public.getauditlogbyvmid(uuid, uuid, boolean) cascade;
 drop function if exists public.getauditlogbyvmtemplateid(uuid, uuid, boolean) cascade;
 drop function if exists public.getauditlogbyvolumeidandtype(uuid, integer) cascade;
 drop function if exists public.getauditloglaterthendate(timestamp with time zone) cascade;
 drop function if exists public.getbasediskbybasediskid(uuid) cascade;
 drop function if exists public.getbasedisksbyalias(character varying) cascade;
 drop function if exists public.getbookmarkbybookmark_id(uuid) cascade;
 drop function if exists public.getbookmarkbybookmark_name(character varying) cascade;
 drop function if exists public.getbrickdetailsbyid(uuid) cascade;
 drop function if exists public.getclusterfeaturesbyversionandcategory(character varying, integer) cascade;
 drop function if exists public.getclusterpolicybyclusterpolicyid(uuid) cascade;
 drop function if exists public.getclusterpolicyunitsbyclusterpolicyid(uuid) cascade;
 drop function if exists public.getcommandassociatedentities(uuid) cascade;
 drop function if exists public.getcommandentitiesbyparentcmdid(uuid) cascade;
 drop function if exists public.getcommandentitybycommandentityid(uuid) cascade;
 drop function if exists public.getcommandidsbyentityid(uuid) cascade;
 drop function if exists public.getconnectionsbyiscsibondid(uuid) cascade;
 drop function if exists public.getcpuprofilebycpuprofileid(uuid) cascade;
 drop function if exists public.getcpuprofilesbyclusterid(uuid, uuid, boolean, integer) cascade;
 drop function if exists public.getcpuprofilesbyqosid(uuid) cascade;
 drop function if exists public.getcustom_actionsbyaction_id(integer) cascade;
 drop function if exists public.getcustom_actionsbynameandtab(character varying, integer) cascade;
 drop function if exists public.getcustom_actionsbytab_id(integer) cascade;
 drop function if exists public.getdbgeneration(uuid) cascade;
 drop function if exists public.getdcidbyexternalnetworkid(text) cascade;
 drop function if exists public.getdefaultmacpool() cascade;
 drop function if exists public.getdisk_image_dynamicbyimage_id(uuid) cascade;
 drop function if exists public.getdiskbydiskidandstoragedomainid(uuid, uuid) cascade;
 drop function if exists public.getdisklunmapbydisklunmapid(uuid, character varying) cascade;
 drop function if exists public.getdisklunmapbylunid(character varying) cascade;
 drop function if exists public.getdiskprofilebydiskprofileid(uuid) cascade;
 drop function if exists public.getdiskprofilesbyqosid(uuid) cascade;
 drop function if exists public.getdiskprofilesbystoragedomainid(uuid, uuid, boolean) cascade;
 drop function if exists public.getdisksvmguidbasicview(uuid, boolean, uuid, boolean) cascade;
 drop function if exists public.getdwhhistorytimekeepingbyvarname(character varying) cascade;
 drop function if exists public.getelementidsbyidandgroups(uuid, text) cascade;
 drop function if exists public.getenginesession(integer) cascade;
 drop function if exists public.getenginesessionbysessionid(text) cascade;
 drop function if exists public.getentitiesbydiskid(uuid) cascade;
 drop function if exists public.getevent_subscriberbysubscriber_id(uuid) cascade;
 drop function if exists public.getexternalidsfromsteps(character varying, character varying) cascade;
 drop function if exists public.getexternalvariablebyname(character varying) cascade;
 drop function if exists public.getfenceagentbyid(uuid) cascade;
 drop function if exists public.getfenceagentsbyvdsid(uuid) cascade;
 drop function if exists public.getglobalids(character varying) cascade;
 drop function if exists public.getglusterclusterservicesbyclusterid(uuid) cascade;
 drop function if exists public.getglusterclusterservicesbyclusteridandservicetype(uuid, character varying) cascade;
 drop function if exists public.getglustergeorepsessiondetails(uuid) cascade;
 drop function if exists public.getglustergeorepsessiondetailsforbrick(uuid, uuid) cascade;
 drop function if exists public.getglustergeorepsessionunsetconfig(uuid) cascade;
 drop function if exists public.getglusterhook(uuid, character varying, character varying, character varying, boolean) cascade;
 drop function if exists public.getglusterhookbyid(uuid, boolean) cascade;
 drop function if exists public.getglusterhookcontentbyid(uuid) cascade;
 drop function if exists public.getglusterhooksbyclusterid(uuid) cascade;
 drop function if exists public.getglusteroptionbyid(uuid) cascade;
 drop function if exists public.getglusterserverbyglusterserveruuid(uuid) cascade;
 drop function if exists public.getglusterserverbyserverid(uuid) cascade;
 drop function if exists public.getglusterservicebyglusterserviceid(uuid) cascade;
 drop function if exists public.getglusterservicebytypeandname(character varying, character varying) cascade;
 drop function if exists public.getglusterservicesbytype(character varying) cascade;
 drop function if exists public.getglusterservicetypes() cascade;
 drop function if exists public.getglustervolumedetailsbyid(uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyclusterid(uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyclusteridandname(uuid, character varying) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyvolumeid(uuid, uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyvolumeidandname(uuid, uuid, character varying) cascade;
 drop function if exists public.getgroupbyexternalid(character varying, text) cascade;
 drop function if exists public.getgroupbyid(uuid) cascade;
 drop function if exists public.getgroupbyname(character varying) cascade;
 drop function if exists public.gethostdevicebyhostidanddevicename(uuid, character varying) cascade;
 drop function if exists public.gethostdevicesbyhostid(uuid) cascade;
 drop function if exists public.gethostdevicesbyhostidandiommugroup(uuid, integer) cascade;
 drop function if exists public.gethostnetworksbycluster(uuid) cascade;
 drop function if exists public.gethostnicvfsconfigbyid(uuid) cascade;
 drop function if exists public.gethostsandvmsforclusters(uuid[]) cascade;
 drop function if exists public.getidsforovfdeletion(uuid) cascade;
 drop function if exists public.getidsofhostswithstatus(integer) cascade;
 drop function if exists public.getimage_storage_domain_mapbyimage_id(uuid) cascade;
 drop function if exists public.getimage_storage_domain_mapbystorage_domain_id(uuid) cascade;
 drop function if exists public.getimagebyimageid(uuid) cascade;
 drop function if exists public.getimageuploadsbycommandid(uuid) cascade;
 drop function if exists public.getimageuploadsbydiskid(uuid) cascade;
 drop function if exists public.getisclusterempty(uuid) cascade;
 drop function if exists public.getiscsibondbyiscsibondid(uuid) cascade;
 drop function if exists public.getiscsibondsbynetworkid(uuid) cascade;
 drop function if exists public.getiscsibondsbystoragepoolid(uuid) cascade;
 drop function if exists public.getjobbyjobid(uuid) cascade;
 drop function if exists public.getjobsbycorrelationid(character varying) cascade;
 drop function if exists public.getjobsbyenginesessionseqidandstatus(bigint, character varying) cascade;
 drop function if exists public.getjobsbyoffsetandpagesize(integer, integer) cascade;
 drop function if exists public.getjobsubjectentitybyjobid(uuid) cascade;
 drop function if exists public.getkdumpstatusforvds(uuid) cascade;
 drop function if exists public.getlabelsbyvfsconfigid(uuid) cascade;
 drop function if exists public.getlastsuccessfulenginebackup(character varying) cascade;
 drop function if exists public.getlibvirtsecretbylibvirtsecretid(uuid) cascade;
 drop function if exists public.getlibvirtsecretsbypoolidonactivedomains(uuid) cascade;
 drop function if exists public.getlun_storage_server_connection_mapbylun(character varying) cascade;
 drop function if exists public.getlun_storage_server_connection_mapbylunbystorage_server_conn(character varying, character varying) cascade;
 drop function if exists public.getmacpoolbymacpoolid(uuid) cascade;
 drop function if exists public.getmacsbydatacenterid(uuid) cascade;
 drop function if exists public.getmanagementnetworkbycluster(uuid) cascade;
 drop function if exists public.getnamesofhostsdedicatedtovm(uuid) cascade;
 drop function if exists public.getnamesofvmstaticdedicatedtovds(uuid) cascade;
 drop function if exists public.getnetwork_clusterbycluster_idandbynetwork_id(uuid, uuid) cascade;
 drop function if exists public.getnetworkattachmentbynetworkattachmentid(uuid) cascade;
 drop function if exists public.getnetworkattachmentbynicidandnetworkid(uuid, uuid) cascade;
 drop function if exists public.getnetworkattachmentsbyhostid(uuid) cascade;
 drop function if exists public.getnetworkattachmentsbynetworkid(uuid) cascade;
 drop function if exists public.getnetworkattachmentsbynicid(uuid) cascade;
 drop function if exists public.getnetworkbyid(uuid, uuid, boolean) cascade;
 drop function if exists public.getnetworkbyname(character varying) cascade;
 drop function if exists public.getnetworkbynameandcluster(character varying, uuid) cascade;
 drop function if exists public.getnetworkbynameanddatacenter(character varying, uuid) cascade;
 drop function if exists public.getnetworkfilterbyid(uuid) cascade;
 drop function if exists public.getnetworkfilterbyname(character varying) cascade;
 drop function if exists public.getnetworksbyiscsibondid(uuid) cascade;
 drop function if exists public.getnetworksbyvfsconfigid(uuid) cascade;
 drop function if exists public.getnoncountablequtoavmstatuses() cascade;
 drop function if exists public.getnumanodebynumanodeid(uuid) cascade;
 drop function if exists public.getnumanodecpubynumanodeid(uuid) cascade;
 drop function if exists public.getnumberofimagesinstoragedomain(uuid) cascade;
 drop function if exists public.getnumberofvmsincluster(uuid) cascade;
 drop function if exists public.getnumofsnapshotsbymemoryvolume(character varying) cascade;
 drop function if exists public.getnvmtagsbyvmid(uuid) cascade;
 drop function if exists public.getnvmtagsbyvmidanddefaulttag(uuid) cascade;
 drop function if exists public.getoptionsbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getorderedvmguidsforrunmultipleactions(character varying) cascade;
 drop function if exists public.getovfdatabyentityidandstoragedomain(uuid, uuid) cascade;
 drop function if exists public.getovfgeneration(uuid) cascade;
 drop function if exists public.getpermissionbyroleid(uuid) cascade;
 drop function if exists public.getpolicyunitbypolicyunitid(uuid) cascade;
 drop function if exists public.getproviderbyname(character varying) cascade;
 drop function if exists public.getproviderbyproviderid(uuid) cascade;
 drop function if exists public.getqosbyqosid(uuid) cascade;
 drop function if exists public.getquotacount() cascade;
 drop function if exists public.getrepo_files_by_storage_domain(uuid, integer) cascade;
 drop function if exists public.getrepo_files_in_all_storage_pools(integer, integer, integer, integer) cascade;
 drop function if exists public.getroleactiongroupsbyroleid(uuid) cascade;
 drop function if exists public.getrolebyname(character varying) cascade;
 drop function if exists public.getrolsbyid(uuid) cascade;
 drop function if exists public.getsessionuserandgroupsbyid(uuid, integer) cascade;
 drop function if exists public.getsnapshotbysnapshotid(uuid, uuid, boolean) cascade;
 drop function if exists public.getsnapshotbyvmidandstatus(uuid, character varying) cascade;
 drop function if exists public.getsnapshotbyvmidandtype(uuid, character varying, uuid, boolean) cascade;
 drop function if exists public.getsnapshotbyvmidandtypeandstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.getsnapshotidsbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.getsnapshotidsbyvmidandtypeandstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.getstepbystepid(uuid) cascade;
 drop function if exists public.getstepsbyexternaltaskid(uuid) cascade;
 drop function if exists public.getstepsbyjobid(uuid) cascade;
 drop function if exists public.getstepsbyparentstepid(uuid) cascade;
 drop function if exists public.getstorage_domain_dynamicbyid(uuid) cascade;
 drop function if exists public.getstorage_domain_staticbyid(uuid) cascade;
 drop function if exists public.getstorage_domain_staticbyname(character varying) cascade;
 drop function if exists public.getstorage_domain_staticbynamefiltered(character varying, uuid, boolean) cascade;
 drop function if exists public.getstorage_domain_staticbystorage_pool_id(uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapbystorage_idandbystorage_pool_id(uuid, uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapsbybystorage_pool_id(uuid, uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapsbystorage_id(uuid) cascade;
 drop function if exists public.getstorage_poolbyid(uuid, uuid, boolean) cascade;
 drop function if exists public.getstorage_poolbyname(character varying, boolean) cascade;
 drop function if exists public.getstorage_poolsbyclusterid(uuid) cascade;
 drop function if exists public.getstorage_poolsbystoragedomainid(uuid) cascade;
 drop function if exists public.getstorage_poolsbyvdsid(uuid) cascade;
 drop function if exists public.getstorage_server_connectionsbyconnection(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyid(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyiqn(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyiqnandconnection(character varying, character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbykey(character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbylunid(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbystoragetype(integer) cascade;
 drop function if exists public.getstorage_server_connectionsbyvolumegroupid(character varying) cascade;
 drop function if exists public.getstorageconnectionsbystoragetypeandstatus(uuid, integer, character varying) cascade;
 drop function if exists public.getstoragedevicebyid(uuid) cascade;
 drop function if exists public.getstoragedevicesbyvdsid(uuid) cascade;
 drop function if exists public.getstoragedomainidsbystoragepoolidandstatus(uuid, integer) cascade;
 drop function if exists public.getstoragepoolsbyclusterservice(boolean, boolean) cascade;
 drop function if exists public.getstorageserverconnectionextensionbyid(uuid) cascade;
 drop function if exists public.getstorageserverconnectionextensionsbyhostid(uuid) cascade;
 drop function if exists public.getstorageserverconnectionextensionsbyhostidandtarget(uuid, character varying) cascade;
 drop function if exists public.getstorageserverconnectionsbyids(text) cascade;
 drop function if exists public.getstorageserverconnectionsfordomain(uuid) cascade;
 drop function if exists public.getsupportedhostfeaturesbyhostid(uuid) cascade;
 drop function if exists public.getsystem_statistics(character varying, character varying) cascade;
 drop function if exists public.gettags_vm_pool_mapbytag_idandbyvm_pool_id(uuid, uuid) cascade;
 drop function if exists public.gettagsbyparent_id(uuid) cascade;
 drop function if exists public.gettagsbytag_id(uuid) cascade;
 drop function if exists public.gettagsbytag_name(character varying) cascade;
 drop function if exists public.gettaguserbytagidandbyuserid(uuid, uuid) cascade;
 drop function if exists public.gettagusergroupbygroupidandbytagid(uuid, uuid) cascade;
 drop function if exists public.gettagvdsbytagidandbyvdsid(uuid, uuid) cascade;
 drop function if exists public.gettagvmbytagidandbyvmid(uuid, uuid) cascade;
 drop function if exists public.gettemplatecount() cascade;
 drop function if exists public.gettransporttypesbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getuserandgroupsbyid(uuid) cascade;
 drop function if exists public.getuserbyexternalid(character varying, text) cascade;
 drop function if exists public.getuserbyuserid(uuid, boolean) cascade;
 drop function if exists public.getuserbyusernameanddomain(character varying, character varying) cascade;
 drop function if exists public.getusersbyvmguid(uuid) cascade;
 drop function if exists public.getvdcoptionbyid(integer) cascade;
 drop function if exists public.getvdcoptionbyname(character varying, character varying) cascade;
 drop function if exists public.getvds_spm_id_mapbystorage_pool_id(uuid) cascade;
 drop function if exists public.getvds_spm_id_mapbystorage_pool_idandbyvds_spm_id(uuid, integer) cascade;
 drop function if exists public.getvds_spm_id_mapbyvds_id(uuid) cascade;
 drop function if exists public.getvdscpustatisticsbyvdsid(uuid) cascade;
 drop function if exists public.getvdsdynamicbyvdsid(uuid) cascade;
 drop function if exists public.getvdsstaticbyclusterid(uuid) cascade;
 drop function if exists public.getvdsstaticbyhostname(character varying) cascade;
 drop function if exists public.getvdsstaticbyip(character varying) cascade;
 drop function if exists public.getvdsstaticbyvdsid(uuid) cascade;
 drop function if exists public.getvdsstaticbyvdsname(character varying) cascade;
 drop function if exists public.getvdsstatisticsbyvdsid(uuid) cascade;
 drop function if exists public.getvfsconfigbynicid(uuid) cascade;
 drop function if exists public.getvm_interface_statisticsbyid(uuid) cascade;
 drop function if exists public.getvm_pool_mapbyvm_pool_id(uuid) cascade;
 drop function if exists public.getvmandtemplatesidsbystoragedomainid(uuid, boolean, boolean) cascade;
 drop function if exists public.getvmdevicesattachedtohost(uuid) cascade;
 drop function if exists public.getvmdynamicbyvmguid(uuid) cascade;
 drop function if exists public.getvmguestagentinterfacesbyvmid(uuid, uuid, boolean) cascade;
 drop function if exists public.getvmiconbyvmicondataurl(text) cascade;
 drop function if exists public.getvmiconbyvmiconid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultlargeiconid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultosid(integer) cascade;
 drop function if exists public.getvmidsforversionupdate(uuid) cascade;
 drop function if exists public.getvminitbyids(text) cascade;
 drop function if exists public.getvminitbyvmid(uuid) cascade;
 drop function if exists public.getvminterfacebytemplateid(uuid) cascade;
 drop function if exists public.getvminterfacebyvminterfaceid(uuid) cascade;
 drop function if exists public.getvminterfacesbynetworkid(uuid) cascade;
 drop function if exists public.getvminterfacesbyvmid(uuid) cascade;
 drop function if exists public.getvmmapsinvmpoolbyvmpoolidandstatus(uuid, integer) cascade;
 drop function if exists public.getvmnumanodebyvdsnumanodeid(uuid) cascade;
 drop function if exists public.getvmnumanodebyvdsnumanodeidwithpinnedinfo(uuid, boolean) cascade;
 drop function if exists public.getvmsandtemplatesidswithoutattachedimagedisks(uuid, boolean) cascade;
 drop function if exists public.getvmsdynamicrunningonvds(uuid) cascade;
 drop function if exists public.getvmsidsforovfupdate(uuid) cascade;
 drop function if exists public.getvmstaticbycluster(uuid) cascade;
 drop function if exists public.getvmstaticbygroupidandnetwork(uuid, character varying) cascade;
 drop function if exists public.getvmstaticbyname(character varying) cascade;
 drop function if exists public.getvmstaticbyvmguid(uuid) cascade;
 drop function if exists public.getvmstaticwithfailbackbyvdsid(uuid) cascade;
 drop function if exists public.getvmstaticwithouticon() cascade;
 drop function if exists public.getvmstatisticsbyvmguid(uuid) cascade;
 drop function if exists public.getvmtemplateinterfacesbynetworkid(uuid) cascade;
 drop function if exists public.getvmtemplatesidsforovfupdate(uuid) cascade;
 drop function if exists public.getvnicprofilebyvnicprofileid(uuid) cascade;
 drop function if exists public.getvnicprofilesbynetworkid(uuid) cascade;
 drop function if exists public.increasestoragepoolmasterversion(uuid) cascade;
 drop function if exists public.incrementdbgeneration(uuid) cascade;
 drop function if exists public.incrementdbgenerationforallinstoragepool(uuid) cascade;
 drop function if exists public.insert_entity_snapshot(uuid, uuid, character varying, character varying, character varying, text, character varying, integer, integer) cascade;
 drop function if exists public.insert_osinfo(integer, character varying) cascade;
 drop function if exists public.insert_roles_groups(integer, uuid) cascade;
 drop function if exists public.insertaffinitygroupwithmembers(uuid, character varying, character varying, uuid, boolean, boolean, character varying) cascade;
 drop function if exists public.insertasync_tasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, timestamp with time zone, uuid, integer) cascade;
 drop function if exists public.insertasynctaskentities(uuid, uuid, character varying) cascade;
 drop function if exists public.insertauditlog(integer, timestamp with time zone, integer, character varying, integer, text, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, character varying, uuid, uuid, character varying, text, boolean, uuid, text) cascade;
 drop function if exists public.insertbasedisk(uuid, boolean, character varying, character varying, character varying, boolean, integer, smallint, timestamp with time zone, smallint, character varying) cascade;
 drop function if exists public.insertbookmark(uuid, character varying, character varying) cascade;
 drop function if exists public.insertcluster(uuid, character varying, text, character varying, character varying, uuid, integer, boolean, character varying, boolean, integer, boolean, boolean, boolean, character varying, boolean, boolean, boolean, boolean, boolean, uuid, text, boolean, integer, smallint, character varying, boolean, smallint, character varying, character varying, boolean, boolean, smallint, boolean, boolean, boolean, character varying, boolean, character varying, integer, uuid, character varying) cascade;
 drop function if exists public.insertclusterfeature(uuid, character varying, character varying, integer, text) cascade;
 drop function if exists public.insertclusterpolicy(uuid, character varying, character varying, boolean, boolean, text) cascade;
 drop function if exists public.insertclusterpolicyunit(uuid, uuid, integer, integer) cascade;
 drop function if exists public.insertcommandassociatedentities(uuid, uuid, character varying) cascade;
 drop function if exists public.insertcommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, timestamp with time zone, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.insertcpuprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.insertcpuqos(uuid, smallint, character varying, text, uuid, integer) cascade;
 drop function if exists public.insertcustom_actions(integer, character varying, character varying, integer, character varying) cascade;
 drop function if exists public.insertdedicatedhoststovm(uuid, text) cascade;
 drop function if exists public.insertdisk_image_dynamic(uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.insertdisklunmap(uuid, character varying) cascade;
 drop function if exists public.insertdiskprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.insertdiskvmelement(uuid, uuid, boolean, character varying) cascade;
 drop function if exists public.insertenginesession(integer, text, uuid, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.insertevent_notification_hist(bigint, character varying, character, character, timestamp with time zone, boolean) cascade;
 drop function if exists public.insertevent_subscriber(character varying, character varying, character varying, uuid, character varying) cascade;
 drop function if exists public.insertexternalauditlog(integer, timestamp with time zone, integer, character varying, integer, text, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, character varying, uuid, uuid, character varying, text, uuid, text, character varying, integer, integer, text) cascade;
 drop function if exists public.insertexternalvariable(character varying, character varying) cascade;
 drop function if exists public.insertfenceagent(uuid, uuid, integer, character varying, character varying, character varying, text, text, boolean, integer) cascade;
 drop function if exists public.insertglusterclusterservice(uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsession(uuid, uuid, character varying, character varying, uuid, character varying, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsessionconfig(uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsessiondetail(uuid, uuid, character varying, uuid, character varying, character varying, character varying, bigint, bigint, bigint, bigint, timestamp without time zone, timestamp without time zone, timestamp without time zone, boolean) cascade;
 drop function if exists public.insertglusterhook(uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, text, integer) cascade;
 drop function if exists public.insertglusterserver(uuid, uuid, character varying) cascade;
 drop function if exists public.insertglusterserverhook(uuid, uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.insertglusterserverservice(uuid, uuid, uuid, integer, character varying, character varying) cascade;
 drop function if exists public.insertglustervolume(uuid, uuid, character varying, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.insertglustervolumeaccessprotocol(uuid, character varying) cascade;
 drop function if exists public.insertglustervolumebrick(uuid, uuid, uuid, character varying, integer, character varying, uuid) cascade;
 drop function if exists public.insertglustervolumebrickdetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.insertglustervolumedetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.insertglustervolumeoption(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustervolumesnapshot(uuid, character varying, uuid, character varying, character varying, timestamp with time zone) cascade;
 drop function if exists public.insertglustervolumesnapshotconfig(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustervolumesnapshotschedule(uuid, character varying, character varying, character varying, character varying, character varying, integer, timestamp with time zone, time without time zone, character varying, timestamp with time zone) cascade;
 drop function if exists public.insertglustervolumetransporttype(uuid, character varying) cascade;
 drop function if exists public.insertgroup(uuid, character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.inserthostdevice(uuid, character varying, character varying, character varying, integer, character varying, character varying, character varying, character varying, character varying, integer, character varying, character varying, boolean) cascade;
 drop function if exists public.inserthostnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer) cascade;
 drop function if exists public.inserthostnicvfsconfig(uuid, uuid, boolean) cascade;
 drop function if exists public.insertimage(timestamp with time zone, uuid, uuid, bigint, uuid, integer, timestamp with time zone, uuid, integer, integer, uuid, boolean, smallint) cascade;
 drop function if exists public.insertimage_storage_domain_map(uuid, uuid, uuid, uuid) cascade;
 drop function if exists public.insertimageuploads(uuid, integer, integer, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, bigint, bigint) cascade;
 drop function if exists public.insertiscsibond(uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertjob(uuid, character varying, text, character varying, uuid, bigint, boolean, timestamp with time zone, timestamp with time zone, timestamp with time zone, character varying, boolean, boolean) cascade;
 drop function if exists public.insertjobsubjectentity(uuid, uuid, character varying) cascade;
 drop function if exists public.insertlibvirtsecret(uuid, text, integer, text, uuid, timestamp with time zone) cascade;
 drop function if exists public.insertlun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.insertluns(character varying, character varying, character varying, character varying, integer, character varying, character varying, integer) cascade;
 drop function if exists public.insertmacpool(uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.insertmacpoolrange(uuid, character varying, character varying) cascade;
 drop function if exists public.insertnetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, text) cascade;
 drop function if exists public.insertnetwork_cluster(uuid, uuid, integer, boolean, boolean, boolean, boolean, boolean) cascade;
 drop function if exists public.insertnetworkattachment(uuid, uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, integer, character varying, text) cascade;
 drop function if exists public.insertnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.insertnumanode(uuid, uuid, uuid, smallint, bigint, smallint, bigint, integer, numeric, numeric, numeric, integer, text) cascade;
 drop function if exists public.insertnumanodecpu(uuid, uuid, integer) cascade;
 drop function if exists public.insertnumanodemap(uuid, uuid, uuid, smallint, boolean) cascade;
 drop function if exists public.insertorupdateasynctasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, timestamp with time zone, uuid, integer) cascade;
 drop function if exists public.insertorupdatecommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, timestamp with time zone, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.insertorupdateuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.insertovfdataforentities(uuid, character varying, character varying, integer, character varying, uuid, text, text) cascade;
 drop function if exists public.insertpermission(uuid, uuid, uuid, uuid, integer) cascade;
 drop function if exists public.insertpolicyunit(uuid, character varying, text, boolean, smallint, text, boolean) cascade;
 drop function if exists public.insertprovider(uuid, character varying, character varying, character varying, character varying, boolean, character varying, text, text, character varying, character varying, text, text, text, boolean) cascade;
 drop function if exists public.insertquota(uuid, uuid, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.insertquotalimitation(uuid, uuid, uuid, uuid, integer, bigint, bigint) cascade;
 drop function if exists public.insertrepo_domain_file_meta_data(uuid, character varying, character varying, bigint, timestamp with time zone, bigint, integer) cascade;
 drop function if exists public.insertrole(character varying, uuid, character varying, boolean, integer, boolean, integer) cascade;
 drop function if exists public.insertsnapshot(uuid, uuid, character varying, character varying, character varying, timestamp with time zone, text, text, character varying, uuid, uuid) cascade;
 drop function if exists public.insertstep(uuid, uuid, uuid, character varying, text, integer, character varying, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying, boolean) cascade;
 drop function if exists public.insertstorage_domain_dynamic(integer, uuid, integer) cascade;
 drop function if exists public.insertstorage_domain_static(uuid, character varying, character varying, character varying, text, integer, integer, character varying, bigint, boolean, integer, integer) cascade;
 drop function if exists public.insertstorage_pool(character varying, text, uuid, character varying, integer, boolean, integer, uuid, character varying, integer, uuid) cascade;
 drop function if exists public.insertstorage_pool_iso_map(uuid, uuid, integer) cascade;
 drop function if exists public.insertstorage_server_connections(character varying, character varying, character varying, character varying, character varying, text, integer, text, character varying, character varying, character varying, smallint, smallint) cascade;
 drop function if exists public.insertstoragedevice(uuid, text, character varying, character varying, uuid, text, character varying, text, character varying, text, bigint, boolean, boolean) cascade;
 drop function if exists public.insertstoragedomainovfinfo(uuid, integer, uuid, text) cascade;
 drop function if exists public.insertstorageqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.insertstorageserverconnectionextension(uuid, uuid, character varying, text, text) cascade;
 drop function if exists public.insertsupportedclusterfeature(uuid, uuid, boolean) cascade;
 drop function if exists public.insertsupportedhostfeature(uuid, character varying) cascade;
 drop function if exists public.inserttags(character varying, uuid, character varying, uuid, boolean, integer) cascade;
 drop function if exists public.inserttags_user_group_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_user_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_vds_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_vm_map(uuid, uuid, integer) cascade;
 drop function if exists public.inserttags_vm_pool_map(uuid, uuid) cascade;
 drop function if exists public.insertunregistereddisk(uuid, uuid, character varying, character varying, uuid, timestamp with time zone, timestamp with time zone, integer, integer, bigint, bigint) cascade;
 drop function if exists public.insertunregistereddiskstovms(uuid, uuid, character varying, uuid) cascade;
 drop function if exists public.insertuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.insertuserprofile(uuid, uuid, uuid, text, boolean) cascade;
 drop function if exists public.insertvdcoption(character varying, character varying, character varying, integer) cascade;
 drop function if exists public.insertvds_interface(character varying, character varying, integer, character varying, uuid, boolean, character varying, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, uuid, character varying, integer, integer, boolean, text, integer, character varying, integer, character varying, character varying) cascade;
 drop function if exists public.insertvds_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.insertvds_spm_id_map(uuid, uuid, integer) cascade;
 drop function if exists public.insertvdscpustatistics(uuid, uuid, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.insertvdsdynamic(integer, integer, character varying, numeric, character varying, boolean, integer, integer, integer, uuid, integer, integer, integer, integer, integer, integer, integer, integer, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, integer, boolean, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, integer, text, character varying, character varying, character varying, character varying, character varying, character varying, text, text, boolean, smallint, integer, smallint, boolean, character varying, text, boolean, boolean, text) cascade;
 drop function if exists public.insertvdsstatic(text, uuid, character varying, character varying, integer, smallint, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text, text) cascade;
 drop function if exists public.insertvdsstatistics(numeric, numeric, numeric, numeric, integer, integer, integer, uuid, bigint, bigint, bigint, bigint, bigint, integer, bigint, boolean, integer, bigint, integer, boolean, boolean, boolean, boolean, timestamp with time zone) cascade;
 drop function if exists public.insertvfsconfiglabel(uuid, text) cascade;
 drop function if exists public.insertvfsconfignetwork(uuid, uuid) cascade;
 drop function if exists public.insertvm_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.insertvm_pool_map(uuid, uuid) cascade;
 drop function if exists public.insertvm_pools(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, smallint, character varying) cascade;
 drop function if exists public.insertvmdevice(uuid, uuid, character varying, character varying, character varying, integer, text, boolean, boolean, boolean, character varying, text, uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.insertvmdynamic(text, character varying, character varying, uuid, character varying, uuid, uuid, integer, uuid, character varying, character varying, character varying, timestamp with time zone, timestamp with time zone, integer, boolean, integer, boolean, integer, integer, uuid, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, bigint, bigint, bigint, integer, character varying, integer, character varying, character varying, character varying, character varying, character varying, text) cascade;
 drop function if exists public.insertvmguestagentinterface(uuid, character varying, character varying, text, text) cascade;
 drop function if exists public.insertvmicon(uuid, text) cascade;
 drop function if exists public.insertvmicondefault(uuid, integer, uuid, uuid) cascade;
 drop function if exists public.insertvminit(uuid, text, text, text, boolean, character varying, text, text, text, text, character varying, text, character varying, character varying, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.insertvminterface(uuid, character varying, character varying, integer, uuid, uuid, uuid, integer, boolean) cascade;
 drop function if exists public.insertvmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade;
 drop function if exists public.insertvmstatic(character varying, text, integer, integer, integer, uuid, uuid, character varying, uuid, timestamp with time zone, integer, boolean, boolean, boolean, integer, integer, integer, integer, character varying, boolean, boolean, boolean, boolean, character varying, text, boolean, integer, integer, integer, integer, integer, integer, character varying, integer, character varying, character varying, character varying, integer, character varying, character varying, integer, uuid, character varying, boolean, boolean, character varying, boolean, uuid, uuid, uuid, uuid, character varying, integer, integer, smallint, character varying, boolean, character varying, boolean, boolean, uuid, boolean, boolean, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertvmstatistics(numeric, numeric, numeric, integer, integer, integer, integer, text, text, text, text, uuid) cascade;
 drop function if exists public.insertvmtemplate(integer, timestamp with time zone, character varying, text, integer, integer, character varying, integer, integer, integer, integer, uuid, uuid, integer, boolean, boolean, integer, integer, character varying, boolean, integer, integer, integer, integer, integer, integer, boolean, boolean, boolean, boolean, character varying, boolean, character varying, integer, character varying, character varying, character varying, uuid, integer, text, boolean, character varying, integer, boolean, uuid, character varying, integer, uuid, character varying, smallint, character varying, boolean, boolean, boolean, uuid, character varying, boolean, boolean, character varying, character varying, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertvnicprofile(uuid, character varying, uuid, uuid, boolean, boolean, text, text, uuid) cascade;
 drop function if exists public.inst_add_glance_provider(uuid, character varying, character varying, character varying, uuid, boolean, character varying, text, text, character varying) cascade;
 drop function if exists public.inst_add_iso_storage_domain(uuid, character varying, uuid, character varying, integer, integer) cascade;
 drop function if exists public.inst_update_default_storage_pool_type(boolean) cascade;
 drop function if exists public.inst_update_service_type(uuid, boolean, boolean) cascade;
 drop function if exists public.isanyvmrunonvds(uuid) cascade;
 drop function if exists public.ismaterializedviewrefreshed(name) cascade;
 drop function if exists public.ismemballoonenabled(uuid) cascade;
 drop function if exists public.isquotainuse(uuid) cascade;
 drop function if exists public.isvmiconexist(uuid) cascade;
 drop function if exists public.loadovfdataforids(character varying) cascade;
 drop function if exists public.loadstoragedomaininfobydiskid(uuid) cascade;
 drop function if exists public.loadstoragedomaininfobydomainid(uuid) cascade;
 drop function if exists public.loadstoragedomainsforovfids(text) cascade;
 drop function if exists public.logenginebackupevent(character varying, timestamp with time zone, integer, text, character varying, text) cascade;
 drop function if exists public.markhostdevicesusedbyvmid(uuid, uuid) cascade;
 drop function if exists public.nullifyqosforstoragedomain(uuid) cascade;
 drop function if exists public.refreshallmaterializedviews(boolean) cascade;
 drop function if exists public.refreshmaterializedview(name) cascade;
 drop function if exists public.remove_entities_from_storage_domain(uuid) cascade;
 drop function if exists public.removeallvmtagsbyvmid(uuid) cascade;
 drop function if exists public.removeauditlogbybrickidlogtype(uuid, integer) cascade;
 drop function if exists public.removeconnectionfromiscsibond(uuid, character varying) cascade;
 drop function if exists public.removediskfromunregistered(uuid, uuid) cascade;
 drop function if exists public.removediskfromunregisteredrelatedtovm(uuid, uuid) cascade;
 drop function if exists public.removeentityfromunregistered(uuid, uuid) cascade;
 drop function if exists public.removefinishedkdumpstatusforvds(uuid) cascade;
 drop function if exists public.removememoryfromsnapshotbysnapshotid(uuid) cascade;
 drop function if exists public.removememoryfromsnapshotbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.removenetworkattachmentbynetworkid(uuid) cascade;
 drop function if exists public.removenetworkfromiscsibond(uuid, uuid) cascade;
 drop function if exists public.removesupportedhostfeature(uuid, character varying) cascade;
 drop function if exists public.removevmfromaffinitygroups(uuid) cascade;
 drop function if exists public.set_network_exclusively_as_display(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_gluster(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_management(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_migration(uuid, uuid) cascade;
 drop function if exists public.setallauditlogalerts(integer, boolean) cascade;
 drop function if exists public.sethashbyvmguid(uuid, character varying) cascade;
 drop function if exists public.settounknown(uuid[], integer) cascade;
 drop function if exists public.setvmidonhostdevice(uuid, character varying, uuid) cascade;
 drop function if exists public.setvmpoolbeingdestroyed(uuid, boolean) cascade;
 drop function if exists public.sso_oauth_client_exists(character varying) cascade;
 drop function if exists public.sso_oauth_register_client(character varying, character varying, character varying, character varying, character varying, text, character varying, boolean, character varying, character varying, boolean, boolean) cascade;
 drop function if exists public.sso_oauth_unregister_client(character varying) cascade;
 drop function if exists public.to_interval(integer) cascade;
 drop function if exists public.update_oauth_client(character varying, character varying, character varying, character varying, text, character varying, boolean, character varying) cascade;
 drop function if exists public.update_oauth_client_callback_prefix(character varying, character varying) cascade;
 drop function if exists public.updateaffinitygroupwithmembers(uuid, character varying, character varying, uuid, boolean, boolean, character varying) cascade;
 drop function if exists public.updateasync_tasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, uuid) cascade;
 drop function if exists public.updatebasedisk(uuid, boolean, character varying, character varying, character varying, boolean, integer, smallint, timestamp with time zone, smallint, character varying) cascade;
 drop function if exists public.updatebookmark(uuid, character varying, character varying) cascade;
 drop function if exists public.updatecluster(character varying, text, character varying, uuid, character varying, uuid, integer, boolean, character varying, boolean, integer, boolean, boolean, boolean, boolean, character varying, boolean, boolean, boolean, boolean, boolean, uuid, text, boolean, integer, smallint, character varying, boolean, smallint, character varying, character varying, boolean, boolean, smallint, boolean, boolean, boolean, character varying, boolean, character varying, integer, uuid, character varying) cascade;
 drop function if exists public.updateclusteremulatedmachine(uuid, character varying, boolean) cascade;
 drop function if exists public.updateclusterfeature(uuid, character varying, character varying, integer, text) cascade;
 drop function if exists public.updateclusterpolicy(uuid, character varying, character varying, boolean, boolean, text) cascade;
 drop function if exists public.updatecommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.updatecommandentityexecuted(uuid, boolean) cascade;
 drop function if exists public.updatecommandentitynotified(uuid, boolean) cascade;
 drop function if exists public.updatecommandentitystatus(uuid, character varying) cascade;
 drop function if exists public.updateconfigbyclusteridandname(uuid, character varying, character varying) cascade;
 drop function if exists public.updateconfigbyvolumeididandname(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updateconsoleuserwithoptimisticlocking(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updatecpuflags(uuid, character varying) cascade;
 drop function if exists public.updatecpuprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.updatecpuqos(uuid, smallint, character varying, text, uuid, integer) cascade;
 drop function if exists public.updatecustom_actions(integer, character varying, character varying, integer, character varying) cascade;
 drop function if exists public.updatededicatedhoststovm(uuid, text) cascade;
 drop function if exists public.updatedisk_image_dynamic(uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.updatedisk_image_dynamic_by_disk_id_and_vm_id(uuid, uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.updatediskprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.updatediskprofilebyimagegroupid(uuid, uuid, uuid) cascade;
 drop function if exists public.updatediskvmelement(uuid, uuid, boolean, character varying) cascade;
 drop function if exists public.updatedwhhistorytimekeeping(character varying, character varying, timestamp with time zone) cascade;
 drop function if exists public.updateexternalvariable(character varying, character varying) cascade;
 drop function if exists public.updatefenceagent(uuid, uuid, integer, character varying, character varying, character varying, text, text, boolean, integer) cascade;
 drop function if exists public.updateglusterbricktaskbyserveridbrickdir(uuid, character varying, uuid) cascade;
 drop function if exists public.updateglusterclusterservice(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustergeorepsession(uuid, character varying, uuid, uuid) cascade;
 drop function if exists public.updateglustergeorepsessionconfig(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustergeorepsessiondetail(uuid, uuid, character varying, uuid, character varying, character varying, character varying, bigint, bigint, bigint, bigint, timestamp without time zone, timestamp without time zone, timestamp without time zone, boolean) cascade;
 drop function if exists public.updateglustergeorepsessionstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterhook(uuid, character varying, character varying, character varying, text, integer) cascade;
 drop function if exists public.updateglusterhookconflictstatus(uuid, integer) cascade;
 drop function if exists public.updateglusterhookcontent(uuid, character varying, text) cascade;
 drop function if exists public.updateglusterhookcontenttype(uuid, character varying) cascade;
 drop function if exists public.updateglusterhookstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterserver(uuid, uuid) cascade;
 drop function if exists public.updateglusterserverhook(uuid, uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.updateglusterserverhookchecksum(uuid, uuid, character varying) cascade;
 drop function if exists public.updateglusterserverhookstatus(uuid, uuid, character varying) cascade;
 drop function if exists public.updateglusterserverknownaddresses(uuid, character varying) cascade;
 drop function if exists public.updateglusterserverpeerstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterserverservice(uuid, integer, character varying, character varying) cascade;
 drop function if exists public.updateglusterserverservicebyserveridandservicetype(uuid, uuid, integer, character varying, character varying) cascade;
 drop function if exists public.updateglustervolume(uuid, uuid, character varying, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.updateglustervolumeasynctask(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrick(uuid, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updateglustervolumebrickasynctask(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrickdetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.updateglustervolumebricknetworkid(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrickorder(uuid, integer) cascade;
 drop function if exists public.updateglustervolumebrickstatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumebrickunsyncedentries(uuid, integer, text) cascade;
 drop function if exists public.updateglustervolumedetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.updateglustervolumeoption(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumesnapshotschedulebyvolumeid(uuid, character varying, character varying, character varying, character varying, character varying, integer, timestamp with time zone, time without time zone, character varying, timestamp with time zone) cascade;
 drop function if exists public.updateglustervolumesnapshotstatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumesnapshotstatusbyname(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustervolumestatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumestatusbyname(uuid, character varying, character varying) cascade;
 drop function if exists public.updategroup(uuid, character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.updateguestagentstatus(uuid, integer) cascade;
 drop function if exists public.updatehostdevice(uuid, character varying, character varying, character varying, integer, character varying, character varying, character varying, character varying, character varying, integer, character varying, character varying, boolean) cascade;
 drop function if exists public.updatehostexternalstatus(uuid, integer) cascade;
 drop function if exists public.updatehostnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer) cascade;
 drop function if exists public.updatehostnicvfsconfig(uuid, uuid, boolean) cascade;
 drop function if exists public.updateimage(timestamp with time zone, uuid, uuid, bigint, uuid, integer, timestamp with time zone, uuid, integer, integer, uuid, boolean, smallint) cascade;
 drop function if exists public.updateimagesize(uuid, bigint, timestamp with time zone) cascade;
 drop function if exists public.updateimagestatus(uuid, integer) cascade;
 drop function if exists public.updateimageuploads(uuid, integer, integer, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, bigint, bigint) cascade;
 drop function if exists public.updateimagevmsnapshotid(uuid, uuid) cascade;
 drop function if exists public.updateiscsibond(uuid, character varying, character varying) cascade;
 drop function if exists public.updateisfreeflagbyid(uuid, boolean) cascade;
 drop function if exists public.updateisinitialized(uuid, boolean) cascade;
 drop function if exists public.updatejob(uuid, character varying, text, character varying, uuid, bigint, boolean, timestamp with time zone, timestamp with time zone, timestamp with time zone, character varying, boolean, boolean) cascade;
 drop function if exists public.updatejoblastupdatetime(uuid, timestamp with time zone) cascade;
 drop function if exists public.updatejobstepscompleted(uuid, character varying, timestamp with time zone) cascade;
 drop function if exists public.updatelabel(uuid, character varying, boolean, uuid[], uuid[]) cascade;
 drop function if exists public.updatelastadmincheckstatus(character varying) cascade;
 drop function if exists public.updatelibvirtsecret(uuid, text, integer, text, uuid) cascade;
 drop function if exists public.updatelun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.updateluns(character varying, character varying, character varying, character varying, integer, character varying, character varying, integer) cascade;
 drop function if exists public.updatemacpool(uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.updatematerializedviewminrefreshrate(name, integer) cascade;
 drop function if exists public.updatematerializedviewrefreshrate(name, integer) cascade;
 drop function if exists public.updatememory(character varying, uuid, uuid, uuid, character varying) cascade;
 drop function if exists public.updatenetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, text) cascade;
 drop function if exists public.updatenetwork_cluster(uuid, uuid, integer, boolean, boolean, boolean, boolean, boolean) cascade;
 drop function if exists public.updatenetwork_cluster_status(uuid, uuid, integer) cascade;
 drop function if exists public.updatenetworkattachment(uuid, uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, integer, character varying, text) cascade;
 drop function if exists public.updatenetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.updatenumanode(uuid, smallint, bigint, smallint, text) cascade;
 drop function if exists public.updatenumanodestatistics(uuid, bigint, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.updateoriginaltemplatename(uuid, character varying) cascade;
 drop function if exists public.updateovfgenerations(character varying, character varying, text, character varying) cascade;
 drop function if exists public.updateovfupdatedinfo(character varying, integer, integer) cascade;
 drop function if exists public.updatepolicyunit(uuid, boolean, text, text) cascade;
 drop function if exists public.updateprovider(uuid, character varying, character varying, character varying, character varying, boolean, character varying, text, text, character varying, character varying, text, text, text, boolean) cascade;
 drop function if exists public.updatequotaforimageandsnapshots(uuid, uuid, uuid) cascade;
 drop function if exists public.updatequotametadata(uuid, uuid, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.updatereplicacount(uuid, integer) cascade;
 drop function if exists public.updaterole(character varying, uuid, character varying, boolean, integer, boolean) cascade;
 drop function if exists public.updatesnapshot(uuid, uuid, character varying, character varying, character varying, timestamp with time zone, text, text, character varying, uuid, uuid) cascade;
 drop function if exists public.updatesnapshotcountdec(uuid, integer) cascade;
 drop function if exists public.updatesnapshotcountinc(uuid, integer) cascade;
 drop function if exists public.updatesnapshotid(uuid, uuid) cascade;
 drop function if exists public.updatesnapshotstatus(uuid, character varying) cascade;
 drop function if exists public.updatestartedexecutionentitiestounknown(timestamp with time zone) cascade;
 drop function if exists public.updatestatusofimagesbyimagegroupid(uuid, integer) cascade;
 drop function if exists public.updatestep(uuid, uuid, uuid, character varying, text, integer, character varying, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying) cascade;
 drop function if exists public.updatestepexternalidandtype(uuid, uuid, character varying) cascade;
 drop function if exists public.updatestepstatusandendtime(uuid, character varying, timestamp with time zone) cascade;
 drop function if exists public.updatestorage_domain_dynamic(integer, uuid, integer) cascade;
 drop function if exists public.updatestorage_domain_static(uuid, character varying, character varying, character varying, text, integer, integer, integer, bigint, boolean, integer, integer) cascade;
 drop function if exists public.updatestorage_pool(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, character varying, integer, uuid) cascade;
 drop function if exists public.updatestorage_pool_iso_map_status(uuid, uuid, integer) cascade;
 drop function if exists public.updatestorage_pool_partial(character varying, text, uuid, character varying, boolean, character varying, character varying, integer, uuid) cascade;
 drop function if exists public.updatestorage_pool_status(uuid, integer) cascade;
 drop function if exists public.updatestorage_server_connections(character varying, character varying, character varying, text, integer, character varying, character varying, text, character varying, character varying, character varying, smallint, smallint) cascade;
 drop function if exists public.updatestoragedevice(uuid, text, character varying, character varying, text, character varying, text, character varying, text, bigint, boolean) cascade;
 drop function if exists public.updatestoragedomainexternalstatus(uuid, integer) cascade;
 drop function if exists public.updatestoragedomainovfinfo(uuid, integer, uuid, text, timestamp with time zone) cascade;
 drop function if exists public.updatestorageqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.updatestorageserverconnectionextension(uuid, uuid, character varying, text, text) cascade;
 drop function if exists public.updatesupportedclusterfeature(uuid, uuid, boolean) cascade;
 drop function if exists public.updatetags(character varying, uuid, character varying, uuid, boolean, integer) cascade;
 drop function if exists public.updatetags_vm_pool_map(integer, integer) cascade;
 drop function if exists public.updateuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, boolean, text, character varying) cascade;
 drop function if exists public.updateuserimpl(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.updateuserprofile(uuid, uuid, uuid, text, boolean) cascade;
 drop function if exists public.updatevdcoption(character varying, character varying, integer, character varying) cascade;
 drop function if exists public.updatevds_interface(character varying, character varying, integer, character varying, uuid, boolean, character varying, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, uuid, character varying, integer, integer, boolean, text, character varying, character varying, integer, integer, character varying) cascade;
 drop function if exists public.updatevds_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.updatevdscpustatistics(uuid, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.updatevdsdynamic(integer, integer, character varying, numeric, character varying, boolean, integer, integer, integer, uuid, integer, integer, integer, integer, integer, integer, integer, integer, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, integer, boolean, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, integer, text, integer, character varying, character varying, character varying, character varying, character varying, character varying, text, text, smallint, integer, smallint, boolean, character varying, text, text, boolean, boolean, text, character varying) cascade;
 drop function if exists public.updatevdsdynamicisupdateavailable(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicnetconfigdirty(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicpowermanagementpolicyflag(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicstatus(uuid, integer) cascade;
 drop function if exists public.updatevdsdynamicstatusandreasons(uuid, integer, integer, text) cascade;
 drop function if exists public.updatevdsstatic(character varying, text, character varying, integer, smallint, uuid, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, bigint, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text) cascade;
 drop function if exists public.updatevdsstaticlaststoredkernelcmdline(uuid, text) cascade;
 drop function if exists public.updatevdsstatistics(numeric, numeric, numeric, numeric, integer, integer, integer, uuid, bigint, bigint, bigint, bigint, bigint, integer, bigint, boolean, integer, bigint, integer, boolean, boolean, boolean, boolean, timestamp with time zone) cascade;
 drop function if exists public.updatevm_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.updatevm_pool_map(uuid, uuid) cascade;
 drop function if exists public.updatevm_pools(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, smallint, character varying) cascade;
 drop function if exists public.updatevmcpuprofileidforclusterid(uuid, uuid) cascade;
 drop function if exists public.updatevmdevice(uuid, uuid, character varying, character varying, character varying, integer, text, boolean, boolean, boolean, character varying, text, uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.updatevmdevicebootorder(uuid, uuid, integer) cascade;
 drop function if exists public.updatevmdeviceforhotplugdisk(uuid, uuid, boolean) cascade;
 drop function if exists public.updatevmdeviceruntimeinfo(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updatevmdynamic(text, character varying, character varying, uuid, character varying, uuid, uuid, integer, uuid, character varying, character varying, character varying, timestamp with time zone, timestamp with time zone, integer, boolean, integer, boolean, integer, integer, uuid, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, character varying, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, bigint, bigint, bigint, integer, character varying, integer, character varying, character varying, character varying, character varying, character varying, text) cascade;
 drop function if exists public.updatevmdynamicstatus(uuid, integer) cascade;
 drop function if exists public.updatevmicon(uuid, text) cascade;
 drop function if exists public.updatevmicondefault(uuid, integer, uuid, uuid) cascade;
 drop function if exists public.updatevminit(uuid, text, text, text, boolean, character varying, text, text, text, text, character varying, text, character varying, character varying, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.updatevminterface(uuid, character varying, character varying, integer, uuid, uuid, uuid, integer, boolean) cascade;
 drop function if exists public.updatevmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade;
 drop function if exists public.updatevmstatic(character varying, text, integer, integer, integer, uuid, uuid, character varying, uuid, timestamp with time zone, integer, boolean, boolean, boolean, integer, integer, integer, integer, character varying, boolean, boolean, boolean, boolean, character varying, text, boolean, integer, integer, integer, integer, integer, integer, character varying, integer, character varying, character varying, character varying, integer, character varying, character varying, integer, uuid, character varying, boolean, boolean, character varying, boolean, uuid, uuid, uuid, uuid, character varying, integer, integer, smallint, character varying, boolean, character varying, boolean, boolean, uuid, boolean, boolean, character varying, character varying, uuid, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updatevmstatistics(numeric, numeric, numeric, integer, integer, integer, integer, text, text, text, text, uuid) cascade;
 drop function if exists public.updatevmtagsdefaultdisplaytype(uuid, uuid, integer) cascade;
 drop function if exists public.updatevmtemplate(integer, timestamp with time zone, character varying, text, integer, integer, character varying, integer, integer, integer, integer, uuid, uuid, integer, boolean, boolean, integer, integer, character varying, boolean, integer, integer, integer, integer, integer, integer, boolean, boolean, boolean, boolean, character varying, boolean, character varying, integer, character varying, character varying, character varying, uuid, integer, text, boolean, character varying, integer, boolean, uuid, character varying, integer, character varying, smallint, character varying, boolean, boolean, boolean, uuid, character varying, boolean, boolean, character varying, character varying, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updatevmtemplateshiftbasetemplate(uuid) cascade;
 drop function if exists public.updatevmtemplatestatus(uuid, integer) cascade;
 drop function if exists public.updatevnicprofile(uuid, character varying, uuid, uuid, boolean, boolean, text, text, uuid) cascade;
 drop function if exists public.upsertexternalvariable(character varying, character varying) cascade;
 drop function if exists public.upsertkdumpstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.upsertkdumpstatusforip(character varying, character varying, character varying) cascade;
 drop function if exists public.uuid_generate_v1() cascade;

********* QUERY **********
 drop function if exists public.activateallmaterializedviews(boolean) cascade;
 drop function if exists public.activatematerializedview(name, boolean) cascade;
 drop function if exists public.addconnectiontoiscsibond(uuid, character varying) cascade;
 drop function if exists public.addglusterserverknownaddress(uuid, character varying) cascade;
 drop function if exists public.addnetworktoiscsibond(uuid, uuid) cascade;
 drop function if exists public.attach_user_to_role(character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.boundvmpoolprestartedvms(uuid) cascade;
 drop function if exists public.calculateallclusterusage() cascade;
 drop function if exists public.calculateallstorageusage() cascade;
 drop function if exists public.calculateclusterusage(uuid, uuid) cascade;
 drop function if exists public.calculatestorageusage(uuid, uuid) cascade;
 drop function if exists public.checkdbconnection() cascade;
 drop function if exists public.checkifjobhastasks(uuid) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandsnapshotid(uuid, uuid) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandstatus(uuid, character varying) cascade;
 drop function if exists public.checkifsnapshotexistsbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.checkvmhostdeviceavailability(uuid, uuid) cascade;
 drop function if exists public.cleandownvms() cascade;
 drop function if exists public.clear_network_from_nics(uuid) cascade;
 drop function if exists public.clear_osinfo() cascade;
 drop function if exists public.clearallauditlogevents(integer) cascade;
 drop function if exists public.clearalldeviceaddressesbyvmid(uuid) cascade;
 drop function if exists public.clearmigratingtovds(uuid) cascade;
 drop function if exists public.clearvmdeviceaddress(uuid) cascade;
 drop function if exists public.createallmaterializedviewsiindexes() cascade;
 drop function if exists public.createcustommaterializedview(name, name, integer, integer) cascade;
 drop function if exists public.createcustommaterializedview(name, name, integer) cascade;
 drop function if exists public.createcustommaterializedviewas(name, integer, integer) cascade;
 drop function if exists public.createcustommaterializedviewas(name, integer) cascade;
 drop function if exists public.createlabel(uuid, character varying, boolean, uuid[], uuid[]) cascade;
 drop function if exists public.creatematerializedview(name, name, integer, integer) cascade;
 drop function if exists public.creatematerializedview(name, name, integer, boolean, integer) cascade;
 drop function if exists public.creatematerializedview(name, name, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer, integer) cascade;
 drop function if exists public.creatematerializedviewas(name, integer, boolean, integer) cascade;
 drop function if exists public.delete_entity_snapshot_by_command_id(uuid) cascade;
 drop function if exists public.delete_roles_groups(integer, uuid) cascade;
 drop function if exists public.deleteaffinitygroup(uuid) cascade;
 drop function if exists public.deleteallcommandentities() cascade;
 drop function if exists public.deleteallcommandentitiesbycommandid(uuid) cascade;
 drop function if exists public.deleteallfromenginesessions() cascade;
 drop function if exists public.deleteallfromvmicondefaults() cascade;
 drop function if exists public.deleteallglusterhooks(uuid) cascade;
 drop function if exists public.deleteallunusedvmicons() cascade;
 drop function if exists public.deleteallvfsconfiglabels(uuid) cascade;
 drop function if exists public.deleteallvfsconfignetworks(uuid) cascade;
 drop function if exists public.deleteasync_tasks(uuid) cascade;
 drop function if exists public.deleteasynctasksbyvdsmtaskid(uuid) cascade;
 drop function if exists public.deleteauditalertlogbyvdsidandtype(uuid, integer) cascade;
 drop function if exists public.deleteauditalertlogbyvolumeidandtype(uuid, integer) cascade;
 drop function if exists public.deleteauditlog(integer) cascade;
 drop function if exists public.deleteauditlogalertsbyvdsid(uuid, boolean) cascade;
 drop function if exists public.deleteauditlogolderthendate(timestamp with time zone) cascade;
 drop function if exists public.deletebackuprelatedalerts() cascade;
 drop function if exists public.deletebasedisk(uuid) cascade;
 drop function if exists public.deletebookmark(uuid) cascade;
 drop function if exists public.deletebypoolvds_spm_id_map(uuid, uuid) cascade;
 drop function if exists public.deletecluster(uuid) cascade;
 drop function if exists public.deleteclusterpolicy(uuid) cascade;
 drop function if exists public.deleteclusterpolicyunitsbyclusterpolicyid(uuid) cascade;
 drop function if exists public.deletecommandentitiesbycommandid(uuid) cascade;
 drop function if exists public.deletecommandentitiesolderthandate(timestamp with time zone) cascade;
 drop function if exists public.deletecommandentity(uuid) cascade;
 drop function if exists public.deletecompletedjobsolderthandate(timestamp with time zone, timestamp with time zone) cascade;
 drop function if exists public.deletecpuprofile(uuid) cascade;
 drop function if exists public.deletecustom_actions(integer) cascade;
 drop function if exists public.deletedisk_image_dynamic(uuid) cascade;
 drop function if exists public.deletedisklunmap(uuid, character varying) cascade;
 drop function if exists public.deletediskprofile(uuid) cascade;
 drop function if exists public.deletediskvmelement(uuid, uuid) cascade;
 drop function if exists public.deleteenginesession(integer) cascade;
 drop function if exists public.deleteentitysnapshotbycommandid(uuid) cascade;
 drop function if exists public.deleteevent_notification_hist(timestamp without time zone) cascade;
 drop function if exists public.deleteevent_subscriber(character varying, character varying, uuid, character varying) cascade;
 drop function if exists public.deleteexternalvariable(character varying) cascade;
 drop function if exists public.deletefenceagent(uuid) cascade;
 drop function if exists public.deletefenceagentsbyvdsid(uuid) cascade;
 drop function if exists public.deleteglustergeorepsession(uuid) cascade;
 drop function if exists public.deleteglusterhook(uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.deleteglusterhookbyid(uuid) cascade;
 drop function if exists public.deleteglusterhooksbyids(text) cascade;
 drop function if exists public.deleteglusterserver(uuid) cascade;
 drop function if exists public.deleteglusterserverbyglusterserveruuid(uuid) cascade;
 drop function if exists public.deleteglusterserverhook(uuid, uuid) cascade;
 drop function if exists public.deleteglusterserverhookbyid(uuid) cascade;
 drop function if exists public.deleteglusterserverhooksbyids(text) cascade;
 drop function if exists public.deleteglusterserverservice(uuid) cascade;
 drop function if exists public.deleteglustervolumeaccessprotocol(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumebrick(uuid) cascade;
 drop function if exists public.deleteglustervolumebricks(character varying) cascade;
 drop function if exists public.deleteglustervolumebyguid(uuid) cascade;
 drop function if exists public.deleteglustervolumebyname(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumeoption(uuid) cascade;
 drop function if exists public.deleteglustervolumeoptions(character varying) cascade;
 drop function if exists public.deleteglustervolumesbyclusterid(uuid) cascade;
 drop function if exists public.deleteglustervolumesbyguids(character varying) cascade;
 drop function if exists public.deleteglustervolumesnapshotbyguid(uuid) cascade;
 drop function if exists public.deleteglustervolumesnapshotbyname(uuid, character varying) cascade;
 drop function if exists public.deleteglustervolumesnapshotsbyvolumeid(uuid) cascade;
 drop function if exists public.deleteglustervolumesnapshotschedulebyvolumeid(uuid) cascade;
 drop function if exists public.deleteglustervolumessnapshotbyids(character varying) cascade;
 drop function if exists public.deleteglustervolumetransporttype(uuid, character varying) cascade;
 drop function if exists public.deletegroup(uuid) cascade;
 drop function if exists public.deletehostdevice(uuid, character varying) cascade;
 drop function if exists public.deletehostnicvfsconfig(uuid) cascade;
 drop function if exists public.deleteimage(uuid) cascade;
 drop function if exists public.deleteimage_storage_domain_map(uuid, uuid) cascade;
 drop function if exists public.deleteimage_storage_domain_map_by_image_id(uuid) cascade;
 drop function if exists public.deleteimageuploads(uuid) cascade;
 drop function if exists public.deleteiscsibond(uuid) cascade;
 drop function if exists public.deletejob(uuid) cascade;
 drop function if exists public.deletejobolderthandatewithstatus(timestamp with time zone, text) cascade;
 drop function if exists public.deletelabel(uuid) cascade;
 drop function if exists public.deletelibvirtsecret(uuid) cascade;
 drop function if exists public.deletelun(character varying) cascade;
 drop function if exists public.deletelun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.deletemacpool(uuid) cascade;
 drop function if exists public.deletemacpoolrangesbymacpoolid(uuid) cascade;
 drop function if exists public.deletenetwork(uuid) cascade;
 drop function if exists public.deletenetwork_cluster(uuid, uuid) cascade;
 drop function if exists public.deletenetworkattachment(uuid) cascade;
 drop function if exists public.deletenumanode(uuid) cascade;
 drop function if exists public.deletenumanodecpubynumanodeid(uuid) cascade;
 drop function if exists public.deletenumanodemapbyvdsnumanodeid(uuid) cascade;
 drop function if exists public.deletenumanodemapbyvmnumanodeid(uuid) cascade;
 drop function if exists public.deleteorphanjobs() cascade;
 drop function if exists public.deleteovfgenerations(character varying) cascade;
 drop function if exists public.deletepermission(uuid) cascade;
 drop function if exists public.deletepermissionsbyentityid(uuid) cascade;
 drop function if exists public.deletepolicyunit(uuid) cascade;
 drop function if exists public.deleteprovider(uuid) cascade;
 drop function if exists public.deleteqos(uuid) cascade;
 drop function if exists public.deletequotabyquotaguid(uuid) cascade;
 drop function if exists public.deletequotalimitationbyquotaguid(uuid) cascade;
 drop function if exists public.deleterepo_domain_file_list(uuid, integer) cascade;
 drop function if exists public.deleterole(uuid) cascade;
 drop function if exists public.deleterunningjobsoftasklesscommands() cascade;
 drop function if exists public.deletesnapshot(uuid) cascade;
 drop function if exists public.deletestep(uuid) cascade;
 drop function if exists public.deletestorage_domain_dynamic(uuid) cascade;
 drop function if exists public.deletestorage_domain_static(uuid) cascade;
 drop function if exists public.deletestorage_pool(uuid) cascade;
 drop function if exists public.deletestorage_pool_iso_map(uuid, uuid) cascade;
 drop function if exists public.deletestorage_server_connections(character varying) cascade;
 drop function if exists public.deletestoragedevicebyid(uuid) cascade;
 drop function if exists public.deletestoragedomainovfinfo(uuid) cascade;
 drop function if exists public.deletestorageserverconnectionextension(uuid) cascade;
 drop function if exists public.deletetags(uuid) cascade;
 drop function if exists public.deletetags_user_group_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_user_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vds_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vm_map(uuid, uuid) cascade;
 drop function if exists public.deletetags_vm_pool_map(uuid, uuid) cascade;
 drop function if exists public.deleteunpinnednumanodemapbyvmnumanodeid(uuid) cascade;
 drop function if exists public.deleteuser(uuid) cascade;
 drop function if exists public.deleteuserprofile(uuid) cascade;
 drop function if exists public.deletevdcoption(integer) cascade;
 drop function if exists public.deletevds(uuid) cascade;
 drop function if exists public.deletevds_interface(uuid) cascade;
 drop function if exists public.deletevds_interface_statistics(uuid) cascade;
 drop function if exists public.deletevds_spm_id_map(uuid) cascade;
 drop function if exists public.deletevdscpustatisticsbyvdsid(uuid) cascade;
 drop function if exists public.deletevdsdynamic(uuid) cascade;
 drop function if exists public.deletevdsstatic(uuid) cascade;
 drop function if exists public.deletevdsstatistics(uuid) cascade;
 drop function if exists public.deletevfsconfiglabel(uuid, text) cascade;
 drop function if exists public.deletevfsconfignetwork(uuid, uuid) cascade;
 drop function if exists public.deletevm(uuid) cascade;
 drop function if exists public.deletevm_interface_statistics(uuid) cascade;
 drop function if exists public.deletevm_pool_map(uuid) cascade;
 drop function if exists public.deletevm_pools(uuid) cascade;
 drop function if exists public.deletevmdevice(uuid, uuid) cascade;
 drop function if exists public.deletevmdevicesbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.deletevmdynamic(uuid) cascade;
 drop function if exists public.deletevmguestagentinterfacesbyvmid(uuid) cascade;
 drop function if exists public.deletevmicon(uuid) cascade;
 drop function if exists public.deletevmicondefault(uuid) cascade;
 drop function if exists public.deletevmiconifunused(uuid) cascade;
 drop function if exists public.deletevminit(uuid) cascade;
 drop function if exists public.deletevminterface(uuid) cascade;
 drop function if exists public.deletevmjobs(uuid) cascade;
 drop function if exists public.deletevmstatic(uuid, boolean) cascade;
 drop function if exists public.deletevmstatistics(uuid) cascade;
 drop function if exists public.deletevmtemplates(uuid) cascade;
 drop function if exists public.deletevnicprofile(uuid) cascade;
 drop function if exists public.displayallauditlogevents(integer) cascade;
 drop function if exists public.dropallcustommaterializedviews() cascade;
 drop function if exists public.dropallmaterializedviews() cascade;
 drop function if exists public.dropmaterializedview(name) cascade;
 drop function if exists public.existsvmdevicebyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.fn_authz_entry_info(uuid) cascade;
 drop function if exists public.fn_db_add_action_group_to_role(uuid, integer) cascade;
 drop function if exists public.fn_db_add_column(character varying, character varying, text) cascade;
 drop function if exists public.fn_db_add_column_to_object_white_list(character varying, character varying) cascade;
 drop function if exists public.fn_db_add_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_add_config_value_for_versions_up_to(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_change_column_type(character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_create_constraint(character varying, character varying, text) cascade;
 drop function if exists public.fn_db_create_index(character varying, character varying, text, text) cascade;
 drop function if exists public.fn_db_delete_config_for_version(text) cascade;
 drop function if exists public.fn_db_delete_config_value(character varying, text) cascade;
 drop function if exists public.fn_db_delete_config_value_all_versions(character varying) cascade;
 drop function if exists public.fn_db_drop_column(character varying, character varying) cascade;
 drop function if exists public.fn_db_drop_constraint(character varying, character varying) cascade;
 drop function if exists public.fn_db_get_async_tasks() cascade;
 drop function if exists public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[]) cascade;
 drop function if exists public.fn_db_is_table_exists(character varying) cascade;
 drop function if exists public.fn_db_mask_object(regclass) cascade;
 drop function if exists public.fn_db_remove_csv_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_remove_uuid_from_csv(text, uuid) cascade;
 drop function if exists public.fn_db_rename_column(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_rename_config_key(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_rename_table(character varying, character varying) cascade;
 drop function if exists public.fn_db_split_config_value(character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_unlock_all() cascade;
 drop function if exists public.fn_db_unlock_disk(uuid) cascade;
 drop function if exists public.fn_db_unlock_entity(character varying, character varying, boolean) cascade;
 drop function if exists public.fn_db_unlock_snapshot(uuid) cascade;
 drop function if exists public.fn_db_update_config_value(character varying, character varying, character varying) cascade;
 drop function if exists public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean) cascade;
 drop function if exists public.fn_get_ad_element_name(uuid) cascade;
 drop function if exists public.fn_get_column_size(character varying, character varying) cascade;
 drop function if exists public.fn_get_comparable_ip_list(text) cascade;
 drop function if exists public.fn_get_dedicated_hosts_ids_by_vm_id(uuid) cascade;
 drop function if exists public.fn_get_entity_name(uuid, integer) cascade;
 drop function if exists public.fn_get_entity_parents(uuid, integer) cascade;
 drop function if exists public.fn_get_num_of_vcpus(vm_static) cascade;
 drop function if exists public.fn_image_deleted() cascade;
 drop function if exists public.fn_perms_get_storage_pools_with_permitted_action_on_clusters(uuid, integer, boolean, boolean) cascade;
 drop function if exists public.fn_user_permissions(uuid) cascade;
 drop function if exists public.fnsplitter(text) cascade;
 drop function if exists public.fnsplitterinteger(text) cascade;
 drop function if exists public.fnsplitteruuid(text) cascade;
 drop function if exists public.fnsplitterwithseperator(text, character varying) cascade;
 drop function if exists public.force_delete_storage_domain(uuid) cascade;
 drop function if exists public.freehostdevicesusedbyvmid(uuid) cascade;
 drop function if exists public.generate_drop_all_functions_syntax() cascade;
 drop function if exists public.generate_drop_all_seq_syntax() cascade;
 drop function if exists public.generate_drop_all_tables_syntax() cascade;
 drop function if exists public.generate_drop_all_user_types_syntax() cascade;
 drop function if exists public.generate_drop_all_views_syntax() cascade;
 drop function if exists public.get_all_commands() cascade;
 drop function if exists public.get_entity_permissions(uuid, integer, uuid, integer) cascade;
 drop function if exists public.get_entity_permissions_for_user_and_groups(uuid, text, integer, uuid, integer, boolean) cascade;
 drop function if exists public.get_entity_snapshot_by_command_id(uuid) cascade;
 drop function if exists public.get_entity_snapshot_by_id(uuid) cascade;
 drop function if exists public.get_oauth_client(character varying) cascade;
 drop function if exists public.get_role_groups_by_role_id(uuid) cascade;
 drop function if exists public.get_roles_groups_by_action_group_id_and_by_role_id(integer, uuid) cascade;
 drop function if exists public.get_seconds_to_wait_before_pm_operation(character varying, character varying, integer) cascade;
 drop function if exists public.getaccessprotocolsbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getallbystatus(integer) cascade;
 drop function if exists public.getalldatacentersbymacpoolid(uuid) cascade;
 drop function if exists public.getallfromasync_tasks() cascade;
 drop function if exists public.getallfromauditlog(uuid, boolean) cascade;
 drop function if exists public.getallfrombasedisks() cascade;
 drop function if exists public.getallfrombookmarks() cascade;
 drop function if exists public.getallfromclusterpolicys() cascade;
 drop function if exists public.getallfromclusterpolicyunits() cascade;
 drop function if exists public.getallfromcommandentities() cascade;
 drop function if exists public.getallfromcpuprofiles() cascade;
 drop function if exists public.getallfromcustom_actions() cascade;
 drop function if exists public.getallfromdisk_image_dynamic() cascade;
 drop function if exists public.getallfromdisklunmaps() cascade;
 drop function if exists public.getallfromdiskprofiles() cascade;
 drop function if exists public.getallfromglusterservices() cascade;
 drop function if exists public.getallfromhostdevices() cascade;
 drop function if exists public.getallfromhostnicvfsconfigs() cascade;
 drop function if exists public.getallfromimages() cascade;
 drop function if exists public.getallfromimageuploads() cascade;
 drop function if exists public.getallfromiscsibonds() cascade;
 drop function if exists public.getallfromlibvirtsecrets() cascade;
 drop function if exists public.getallfromlun_storage_server_connection_map() cascade;
 drop function if exists public.getallfrommacpools() cascade;
 drop function if exists public.getallfromnetwork(uuid, boolean) cascade;
 drop function if exists public.getallfromnetwork_cluster() cascade;
 drop function if exists public.getallfromnetwork_clusterbyclusterid(uuid) cascade;
 drop function if exists public.getallfromnetwork_clusterbynetworkid(uuid) cascade;
 drop function if exists public.getallfromnetworkattachments() cascade;
 drop function if exists public.getallfromnumanode() cascade;
 drop function if exists public.getallfromnumanodecpumap() cascade;
 drop function if exists public.getallfrompolicyunits() cascade;
 drop function if exists public.getallfromproviders() cascade;
 drop function if exists public.getallfromprovidersbytypes(character varying[]) cascade;
 drop function if exists public.getallfromrole(integer) cascade;
 drop function if exists public.getallfromsnapshots() cascade;
 drop function if exists public.getallfromsnapshotsbyvmid(uuid, uuid, boolean, boolean) cascade;
 drop function if exists public.getallfromstorage_domain_dynamic() cascade;
 drop function if exists public.getallfromstorage_domain_static() cascade;
 drop function if exists public.getallfromstorage_pool(uuid, boolean) cascade;
 drop function if exists public.getallfromstorage_pool_iso_map() cascade;
 drop function if exists public.getallfromstorageserverconnectionextensions() cascade;
 drop function if exists public.getallfromtags() cascade;
 drop function if exists public.getallfromtags_user_group_map() cascade;
 drop function if exists public.getallfromtags_user_map() cascade;
 drop function if exists public.getallfromtags_vds_map() cascade;
 drop function if exists public.getallfromtags_vm_map() cascade;
 drop function if exists public.getallfromtags_vm_pool_map() cascade;
 drop function if exists public.getallfromusers(uuid, boolean) cascade;
 drop function if exists public.getallfromvdcoption() cascade;
 drop function if exists public.getallfromvds_spm_id_map() cascade;
 drop function if exists public.getallfromvdscpustatistics() cascade;
 drop function if exists public.getallfromvdsdynamic() cascade;
 drop function if exists public.getallfromvdsstatic() cascade;
 drop function if exists public.getallfromvdsstatistics() cascade;
 drop function if exists public.getallfromvm_pool_map() cascade;
 drop function if exists public.getallfromvm_pools() cascade;
 drop function if exists public.getallfromvmdynamic() cascade;
 drop function if exists public.getallfromvmicondefaults() cascade;
 drop function if exists public.getallfromvmicons() cascade;
 drop function if exists public.getallfromvmiconsfiltered(uuid, boolean) cascade;
 drop function if exists public.getallfromvminterfaces() cascade;
 drop function if exists public.getallfromvmstatic() cascade;
 drop function if exists public.getallfromvmstaticbystoragepoolid(uuid) cascade;
 drop function if exists public.getallfromvmstatistics() cascade;
 drop function if exists public.getallfromvnicprofiles() cascade;
 drop function if exists public.getallgroups() cascade;
 drop function if exists public.getallhashesfromvmdynamic() cascade;
 drop function if exists public.getallimageuploadids() cascade;
 drop function if exists public.getalljobidsbyentityid(uuid) cascade;
 drop function if exists public.getalljobs() cascade;
 drop function if exists public.getalllibvirtsecretsbyproviderid(uuid) cascade;
 drop function if exists public.getallmacpoolrangesbymacpoolid(uuid) cascade;
 drop function if exists public.getallmacsbymacpoolid(uuid) cascade;
 drop function if exists public.getallmanagementnetworksbydatacenterid(uuid) cascade;
 drop function if exists public.getallnetworkbyclusterid(uuid, uuid, boolean) cascade;
 drop function if exists public.getallnetworkbystoragepoolid(uuid, uuid, boolean) cascade;
 drop function if exists public.getallnetworkfilters() cascade;
 drop function if exists public.getallnetworklabelsbydatacenterid(uuid) cascade;
 drop function if exists public.getallnetworksbynetworkproviderid(uuid) cascade;
 drop function if exists public.getallnetworksbyqosid(uuid) cascade;
 drop function if exists public.getallnonadminroles(integer) cascade;
 drop function if exists public.getallovfentitiesforstoragedomainbyentitytype(uuid, character varying) cascade;
 drop function if exists public.getallqosbyqostype(smallint) cascade;
 drop function if exists public.getallqosforstoragepool(uuid) cascade;
 drop function if exists public.getallqosforstoragepoolbyqostype(uuid, smallint) cascade;
 drop function if exists public.getallsnapshotsbystoragedomainid(uuid) cascade;
 drop function if exists public.getallsteps() cascade;
 drop function if exists public.getallstorage_server_connections() cascade;
 drop function if exists public.getallsupportednetworkfiltersbyversion(character varying) cascade;
 drop function if exists public.getallunfinishedvdskdumpstatus() cascade;
 drop function if exists public.getallvfsconfigbyhostid(uuid) cascade;
 drop function if exists public.getallvmjobs() cascade;
 drop function if exists public.getanyadminrolebyuseridandgroupids(uuid, text, integer) cascade;
 drop function if exists public.getasync_tasksbytask_id(uuid) cascade;
 drop function if exists public.getasynctaskentitiesbytaskid(uuid) cascade;
 drop function if exists public.getasynctasksbyentityid(uuid) cascade;
 drop function if exists public.getasynctasksbystoragepoolid(uuid) cascade;
 drop function if exists public.getasynctasksbyvdsmtaskid(uuid) cascade;
 drop function if exists public.getasynctasksidsbyentityid(uuid) cascade;
 drop function if exists public.getauditlogbyauditlogid(integer) cascade;
 drop function if exists public.getauditlogbyoriginandcustomeventid(character varying, integer) cascade;
 drop function if exists public.getauditlogbyvmid(uuid, uuid, boolean) cascade;
 drop function if exists public.getauditlogbyvmtemplateid(uuid, uuid, boolean) cascade;
 drop function if exists public.getauditlogbyvolumeidandtype(uuid, integer) cascade;
 drop function if exists public.getauditloglaterthendate(timestamp with time zone) cascade;
 drop function if exists public.getbasediskbybasediskid(uuid) cascade;
 drop function if exists public.getbasedisksbyalias(character varying) cascade;
 drop function if exists public.getbookmarkbybookmark_id(uuid) cascade;
 drop function if exists public.getbookmarkbybookmark_name(character varying) cascade;
 drop function if exists public.getbrickdetailsbyid(uuid) cascade;
 drop function if exists public.getclusterfeaturesbyversionandcategory(character varying, integer) cascade;
 drop function if exists public.getclusterpolicybyclusterpolicyid(uuid) cascade;
 drop function if exists public.getclusterpolicyunitsbyclusterpolicyid(uuid) cascade;
 drop function if exists public.getcommandassociatedentities(uuid) cascade;
 drop function if exists public.getcommandentitiesbyparentcmdid(uuid) cascade;
 drop function if exists public.getcommandentitybycommandentityid(uuid) cascade;
 drop function if exists public.getcommandidsbyentityid(uuid) cascade;
 drop function if exists public.getconnectionsbyiscsibondid(uuid) cascade;
 drop function if exists public.getcpuprofilebycpuprofileid(uuid) cascade;
 drop function if exists public.getcpuprofilesbyclusterid(uuid, uuid, boolean, integer) cascade;
 drop function if exists public.getcpuprofilesbyqosid(uuid) cascade;
 drop function if exists public.getcustom_actionsbyaction_id(integer) cascade;
 drop function if exists public.getcustom_actionsbynameandtab(character varying, integer) cascade;
 drop function if exists public.getcustom_actionsbytab_id(integer) cascade;
 drop function if exists public.getdbgeneration(uuid) cascade;
 drop function if exists public.getdcidbyexternalnetworkid(text) cascade;
 drop function if exists public.getdefaultmacpool() cascade;
 drop function if exists public.getdisk_image_dynamicbyimage_id(uuid) cascade;
 drop function if exists public.getdiskbydiskidandstoragedomainid(uuid, uuid) cascade;
 drop function if exists public.getdisklunmapbydisklunmapid(uuid, character varying) cascade;
 drop function if exists public.getdisklunmapbylunid(character varying) cascade;
 drop function if exists public.getdiskprofilebydiskprofileid(uuid) cascade;
 drop function if exists public.getdiskprofilesbyqosid(uuid) cascade;
 drop function if exists public.getdiskprofilesbystoragedomainid(uuid, uuid, boolean) cascade;
 drop function if exists public.getdisksvmguidbasicview(uuid, boolean, uuid, boolean) cascade;
 drop function if exists public.getdwhhistorytimekeepingbyvarname(character varying) cascade;
 drop function if exists public.getelementidsbyidandgroups(uuid, text) cascade;
 drop function if exists public.getenginesession(integer) cascade;
 drop function if exists public.getenginesessionbysessionid(text) cascade;
 drop function if exists public.getentitiesbydiskid(uuid) cascade;
 drop function if exists public.getevent_subscriberbysubscriber_id(uuid) cascade;
 drop function if exists public.getexternalidsfromsteps(character varying, character varying) cascade;
 drop function if exists public.getexternalvariablebyname(character varying) cascade;
 drop function if exists public.getfenceagentbyid(uuid) cascade;
 drop function if exists public.getfenceagentsbyvdsid(uuid) cascade;
 drop function if exists public.getglobalids(character varying) cascade;
 drop function if exists public.getglusterclusterservicesbyclusterid(uuid) cascade;
 drop function if exists public.getglusterclusterservicesbyclusteridandservicetype(uuid, character varying) cascade;
 drop function if exists public.getglustergeorepsessiondetails(uuid) cascade;
 drop function if exists public.getglustergeorepsessiondetailsforbrick(uuid, uuid) cascade;
 drop function if exists public.getglustergeorepsessionunsetconfig(uuid) cascade;
 drop function if exists public.getglusterhook(uuid, character varying, character varying, character varying, boolean) cascade;
 drop function if exists public.getglusterhookbyid(uuid, boolean) cascade;
 drop function if exists public.getglusterhookcontentbyid(uuid) cascade;
 drop function if exists public.getglusterhooksbyclusterid(uuid) cascade;
 drop function if exists public.getglusteroptionbyid(uuid) cascade;
 drop function if exists public.getglusterserverbyglusterserveruuid(uuid) cascade;
 drop function if exists public.getglusterserverbyserverid(uuid) cascade;
 drop function if exists public.getglusterservicebyglusterserviceid(uuid) cascade;
 drop function if exists public.getglusterservicebytypeandname(character varying, character varying) cascade;
 drop function if exists public.getglusterservicesbytype(character varying) cascade;
 drop function if exists public.getglusterservicetypes() cascade;
 drop function if exists public.getglustervolumedetailsbyid(uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyclusterid(uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyclusteridandname(uuid, character varying) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyvolumeid(uuid, uuid) cascade;
 drop function if exists public.getglustervolumesnapshotconfigbyvolumeidandname(uuid, uuid, character varying) cascade;
 drop function if exists public.getgroupbyexternalid(character varying, text) cascade;
 drop function if exists public.getgroupbyid(uuid) cascade;
 drop function if exists public.getgroupbyname(character varying) cascade;
 drop function if exists public.gethostdevicebyhostidanddevicename(uuid, character varying) cascade;
 drop function if exists public.gethostdevicesbyhostid(uuid) cascade;
 drop function if exists public.gethostdevicesbyhostidandiommugroup(uuid, integer) cascade;
 drop function if exists public.gethostnetworksbycluster(uuid) cascade;
 drop function if exists public.gethostnicvfsconfigbyid(uuid) cascade;
 drop function if exists public.gethostsandvmsforclusters(uuid[]) cascade;
 drop function if exists public.getidsforovfdeletion(uuid) cascade;
 drop function if exists public.getidsofhostswithstatus(integer) cascade;
 drop function if exists public.getimage_storage_domain_mapbyimage_id(uuid) cascade;
 drop function if exists public.getimage_storage_domain_mapbystorage_domain_id(uuid) cascade;
 drop function if exists public.getimagebyimageid(uuid) cascade;
 drop function if exists public.getimageuploadsbycommandid(uuid) cascade;
 drop function if exists public.getimageuploadsbydiskid(uuid) cascade;
 drop function if exists public.getisclusterempty(uuid) cascade;
 drop function if exists public.getiscsibondbyiscsibondid(uuid) cascade;
 drop function if exists public.getiscsibondsbynetworkid(uuid) cascade;
 drop function if exists public.getiscsibondsbystoragepoolid(uuid) cascade;
 drop function if exists public.getjobbyjobid(uuid) cascade;
 drop function if exists public.getjobsbycorrelationid(character varying) cascade;
 drop function if exists public.getjobsbyenginesessionseqidandstatus(bigint, character varying) cascade;
 drop function if exists public.getjobsbyoffsetandpagesize(integer, integer) cascade;
 drop function if exists public.getjobsubjectentitybyjobid(uuid) cascade;
 drop function if exists public.getkdumpstatusforvds(uuid) cascade;
 drop function if exists public.getlabelsbyvfsconfigid(uuid) cascade;
 drop function if exists public.getlastsuccessfulenginebackup(character varying) cascade;
 drop function if exists public.getlibvirtsecretbylibvirtsecretid(uuid) cascade;
 drop function if exists public.getlibvirtsecretsbypoolidonactivedomains(uuid) cascade;
 drop function if exists public.getlun_storage_server_connection_mapbylun(character varying) cascade;
 drop function if exists public.getlun_storage_server_connection_mapbylunbystorage_server_conn(character varying, character varying) cascade;
 drop function if exists public.getmacpoolbymacpoolid(uuid) cascade;
 drop function if exists public.getmacsbydatacenterid(uuid) cascade;
 drop function if exists public.getmanagementnetworkbycluster(uuid) cascade;
 drop function if exists public.getnamesofhostsdedicatedtovm(uuid) cascade;
 drop function if exists public.getnamesofvmstaticdedicatedtovds(uuid) cascade;
 drop function if exists public.getnetwork_clusterbycluster_idandbynetwork_id(uuid, uuid) cascade;
 drop function if exists public.getnetworkattachmentbynetworkattachmentid(uuid) cascade;
 drop function if exists public.getnetworkattachmentbynicidandnetworkid(uuid, uuid) cascade;
 drop function if exists public.getnetworkattachmentsbyhostid(uuid) cascade;
 drop function if exists public.getnetworkattachmentsbynetworkid(uuid) cascade;
 drop function if exists public.getnetworkattachmentsbynicid(uuid) cascade;
 drop function if exists public.getnetworkbyid(uuid, uuid, boolean) cascade;
 drop function if exists public.getnetworkbyname(character varying) cascade;
 drop function if exists public.getnetworkbynameandcluster(character varying, uuid) cascade;
 drop function if exists public.getnetworkbynameanddatacenter(character varying, uuid) cascade;
 drop function if exists public.getnetworkfilterbyid(uuid) cascade;
 drop function if exists public.getnetworkfilterbyname(character varying) cascade;
 drop function if exists public.getnetworksbyiscsibondid(uuid) cascade;
 drop function if exists public.getnetworksbyvfsconfigid(uuid) cascade;
 drop function if exists public.getnoncountablequtoavmstatuses() cascade;
 drop function if exists public.getnumanodebynumanodeid(uuid) cascade;
 drop function if exists public.getnumanodecpubynumanodeid(uuid) cascade;
 drop function if exists public.getnumberofimagesinstoragedomain(uuid) cascade;
 drop function if exists public.getnumberofvmsincluster(uuid) cascade;
 drop function if exists public.getnumofsnapshotsbymemoryvolume(character varying) cascade;
 drop function if exists public.getnvmtagsbyvmid(uuid) cascade;
 drop function if exists public.getnvmtagsbyvmidanddefaulttag(uuid) cascade;
 drop function if exists public.getoptionsbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getorderedvmguidsforrunmultipleactions(character varying) cascade;
 drop function if exists public.getovfdatabyentityidandstoragedomain(uuid, uuid) cascade;
 drop function if exists public.getovfgeneration(uuid) cascade;
 drop function if exists public.getpermissionbyroleid(uuid) cascade;
 drop function if exists public.getpolicyunitbypolicyunitid(uuid) cascade;
 drop function if exists public.getproviderbyname(character varying) cascade;
 drop function if exists public.getproviderbyproviderid(uuid) cascade;
 drop function if exists public.getqosbyqosid(uuid) cascade;
 drop function if exists public.getquotacount() cascade;
 drop function if exists public.getrepo_files_by_storage_domain(uuid, integer) cascade;
 drop function if exists public.getrepo_files_in_all_storage_pools(integer, integer, integer, integer) cascade;
 drop function if exists public.getroleactiongroupsbyroleid(uuid) cascade;
 drop function if exists public.getrolebyname(character varying) cascade;
 drop function if exists public.getrolsbyid(uuid) cascade;
 drop function if exists public.getsessionuserandgroupsbyid(uuid, integer) cascade;
 drop function if exists public.getsnapshotbysnapshotid(uuid, uuid, boolean) cascade;
 drop function if exists public.getsnapshotbyvmidandstatus(uuid, character varying) cascade;
 drop function if exists public.getsnapshotbyvmidandtype(uuid, character varying, uuid, boolean) cascade;
 drop function if exists public.getsnapshotbyvmidandtypeandstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.getsnapshotidsbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.getsnapshotidsbyvmidandtypeandstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.getstepbystepid(uuid) cascade;
 drop function if exists public.getstepsbyexternaltaskid(uuid) cascade;
 drop function if exists public.getstepsbyjobid(uuid) cascade;
 drop function if exists public.getstepsbyparentstepid(uuid) cascade;
 drop function if exists public.getstorage_domain_dynamicbyid(uuid) cascade;
 drop function if exists public.getstorage_domain_staticbyid(uuid) cascade;
 drop function if exists public.getstorage_domain_staticbyname(character varying) cascade;
 drop function if exists public.getstorage_domain_staticbynamefiltered(character varying, uuid, boolean) cascade;
 drop function if exists public.getstorage_domain_staticbystorage_pool_id(uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapbystorage_idandbystorage_pool_id(uuid, uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapsbybystorage_pool_id(uuid, uuid) cascade;
 drop function if exists public.getstorage_pool_iso_mapsbystorage_id(uuid) cascade;
 drop function if exists public.getstorage_poolbyid(uuid, uuid, boolean) cascade;
 drop function if exists public.getstorage_poolbyname(character varying, boolean) cascade;
 drop function if exists public.getstorage_poolsbyclusterid(uuid) cascade;
 drop function if exists public.getstorage_poolsbystoragedomainid(uuid) cascade;
 drop function if exists public.getstorage_poolsbyvdsid(uuid) cascade;
 drop function if exists public.getstorage_server_connectionsbyconnection(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyid(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyiqn(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbyiqnandconnection(character varying, character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbykey(character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbylunid(character varying) cascade;
 drop function if exists public.getstorage_server_connectionsbystoragetype(integer) cascade;
 drop function if exists public.getstorage_server_connectionsbyvolumegroupid(character varying) cascade;
 drop function if exists public.getstorageconnectionsbystoragetypeandstatus(uuid, integer, character varying) cascade;
 drop function if exists public.getstoragedevicebyid(uuid) cascade;
 drop function if exists public.getstoragedevicesbyvdsid(uuid) cascade;
 drop function if exists public.getstoragedomainidsbystoragepoolidandstatus(uuid, integer) cascade;
 drop function if exists public.getstoragepoolsbyclusterservice(boolean, boolean) cascade;
 drop function if exists public.getstorageserverconnectionextensionbyid(uuid) cascade;
 drop function if exists public.getstorageserverconnectionextensionsbyhostid(uuid) cascade;
 drop function if exists public.getstorageserverconnectionextensionsbyhostidandtarget(uuid, character varying) cascade;
 drop function if exists public.getstorageserverconnectionsbyids(text) cascade;
 drop function if exists public.getstorageserverconnectionsfordomain(uuid) cascade;
 drop function if exists public.getsupportedhostfeaturesbyhostid(uuid) cascade;
 drop function if exists public.getsystem_statistics(character varying, character varying) cascade;
 drop function if exists public.gettags_vm_pool_mapbytag_idandbyvm_pool_id(uuid, uuid) cascade;
 drop function if exists public.gettagsbyparent_id(uuid) cascade;
 drop function if exists public.gettagsbytag_id(uuid) cascade;
 drop function if exists public.gettagsbytag_name(character varying) cascade;
 drop function if exists public.gettaguserbytagidandbyuserid(uuid, uuid) cascade;
 drop function if exists public.gettagusergroupbygroupidandbytagid(uuid, uuid) cascade;
 drop function if exists public.gettagvdsbytagidandbyvdsid(uuid, uuid) cascade;
 drop function if exists public.gettagvmbytagidandbyvmid(uuid, uuid) cascade;
 drop function if exists public.gettemplatecount() cascade;
 drop function if exists public.gettransporttypesbyglustervolumeguid(uuid) cascade;
 drop function if exists public.getuserandgroupsbyid(uuid) cascade;
 drop function if exists public.getuserbyexternalid(character varying, text) cascade;
 drop function if exists public.getuserbyuserid(uuid, boolean) cascade;
 drop function if exists public.getuserbyusernameanddomain(character varying, character varying) cascade;
 drop function if exists public.getusersbyvmguid(uuid) cascade;
 drop function if exists public.getvdcoptionbyid(integer) cascade;
 drop function if exists public.getvdcoptionbyname(character varying, character varying) cascade;
 drop function if exists public.getvds_spm_id_mapbystorage_pool_id(uuid) cascade;
 drop function if exists public.getvds_spm_id_mapbystorage_pool_idandbyvds_spm_id(uuid, integer) cascade;
 drop function if exists public.getvds_spm_id_mapbyvds_id(uuid) cascade;
 drop function if exists public.getvdscpustatisticsbyvdsid(uuid) cascade;
 drop function if exists public.getvdsdynamicbyvdsid(uuid) cascade;
 drop function if exists public.getvdsstaticbyclusterid(uuid) cascade;
 drop function if exists public.getvdsstaticbyhostname(character varying) cascade;
 drop function if exists public.getvdsstaticbyip(character varying) cascade;
 drop function if exists public.getvdsstaticbyvdsid(uuid) cascade;
 drop function if exists public.getvdsstaticbyvdsname(character varying) cascade;
 drop function if exists public.getvdsstatisticsbyvdsid(uuid) cascade;
 drop function if exists public.getvfsconfigbynicid(uuid) cascade;
 drop function if exists public.getvm_interface_statisticsbyid(uuid) cascade;
 drop function if exists public.getvm_pool_mapbyvm_pool_id(uuid) cascade;
 drop function if exists public.getvmandtemplatesidsbystoragedomainid(uuid, boolean, boolean) cascade;
 drop function if exists public.getvmdevicesattachedtohost(uuid) cascade;
 drop function if exists public.getvmdynamicbyvmguid(uuid) cascade;
 drop function if exists public.getvmguestagentinterfacesbyvmid(uuid, uuid, boolean) cascade;
 drop function if exists public.getvmiconbyvmicondataurl(text) cascade;
 drop function if exists public.getvmiconbyvmiconid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultlargeiconid(uuid) cascade;
 drop function if exists public.getvmicondefaultbyvmicondefaultosid(integer) cascade;
 drop function if exists public.getvmidsforversionupdate(uuid) cascade;
 drop function if exists public.getvminitbyids(text) cascade;
 drop function if exists public.getvminitbyvmid(uuid) cascade;
 drop function if exists public.getvminterfacebytemplateid(uuid) cascade;
 drop function if exists public.getvminterfacebyvminterfaceid(uuid) cascade;
 drop function if exists public.getvminterfacesbynetworkid(uuid) cascade;
 drop function if exists public.getvminterfacesbyvmid(uuid) cascade;
 drop function if exists public.getvmmapsinvmpoolbyvmpoolidandstatus(uuid, integer) cascade;
 drop function if exists public.getvmnumanodebyvdsnumanodeid(uuid) cascade;
 drop function if exists public.getvmnumanodebyvdsnumanodeidwithpinnedinfo(uuid, boolean) cascade;
 drop function if exists public.getvmsandtemplatesidswithoutattachedimagedisks(uuid, boolean) cascade;
 drop function if exists public.getvmsdynamicrunningonvds(uuid) cascade;
 drop function if exists public.getvmsidsforovfupdate(uuid) cascade;
 drop function if exists public.getvmstaticbycluster(uuid) cascade;
 drop function if exists public.getvmstaticbygroupidandnetwork(uuid, character varying) cascade;
 drop function if exists public.getvmstaticbyname(character varying) cascade;
 drop function if exists public.getvmstaticbyvmguid(uuid) cascade;
 drop function if exists public.getvmstaticwithfailbackbyvdsid(uuid) cascade;
 drop function if exists public.getvmstaticwithouticon() cascade;
 drop function if exists public.getvmstatisticsbyvmguid(uuid) cascade;
 drop function if exists public.getvmtemplateinterfacesbynetworkid(uuid) cascade;
 drop function if exists public.getvmtemplatesidsforovfupdate(uuid) cascade;
 drop function if exists public.getvnicprofilebyvnicprofileid(uuid) cascade;
 drop function if exists public.getvnicprofilesbynetworkid(uuid) cascade;
 drop function if exists public.increasestoragepoolmasterversion(uuid) cascade;
 drop function if exists public.incrementdbgeneration(uuid) cascade;
 drop function if exists public.incrementdbgenerationforallinstoragepool(uuid) cascade;
 drop function if exists public.insert_entity_snapshot(uuid, uuid, character varying, character varying, character varying, text, character varying, integer, integer) cascade;
 drop function if exists public.insert_osinfo(integer, character varying) cascade;
 drop function if exists public.insert_roles_groups(integer, uuid) cascade;
 drop function if exists public.insertaffinitygroupwithmembers(uuid, character varying, character varying, uuid, boolean, boolean, character varying) cascade;
 drop function if exists public.insertasync_tasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, timestamp with time zone, uuid, integer) cascade;
 drop function if exists public.insertasynctaskentities(uuid, uuid, character varying) cascade;
 drop function if exists public.insertauditlog(integer, timestamp with time zone, integer, character varying, integer, text, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, character varying, uuid, uuid, character varying, text, boolean, uuid, text) cascade;
 drop function if exists public.insertbasedisk(uuid, boolean, character varying, character varying, character varying, boolean, integer, smallint, timestamp with time zone, smallint, character varying) cascade;
 drop function if exists public.insertbookmark(uuid, character varying, character varying) cascade;
 drop function if exists public.insertcluster(uuid, character varying, text, character varying, character varying, uuid, integer, boolean, character varying, boolean, integer, boolean, boolean, boolean, character varying, boolean, boolean, boolean, boolean, boolean, uuid, text, boolean, integer, smallint, character varying, boolean, smallint, character varying, character varying, boolean, boolean, smallint, boolean, boolean, boolean, character varying, boolean, character varying, integer, uuid, character varying) cascade;
 drop function if exists public.insertclusterfeature(uuid, character varying, character varying, integer, text) cascade;
 drop function if exists public.insertclusterpolicy(uuid, character varying, character varying, boolean, boolean, text) cascade;
 drop function if exists public.insertclusterpolicyunit(uuid, uuid, integer, integer) cascade;
 drop function if exists public.insertcommandassociatedentities(uuid, uuid, character varying) cascade;
 drop function if exists public.insertcommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, timestamp with time zone, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.insertcpuprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.insertcpuqos(uuid, smallint, character varying, text, uuid, integer) cascade;
 drop function if exists public.insertcustom_actions(integer, character varying, character varying, integer, character varying) cascade;
 drop function if exists public.insertdedicatedhoststovm(uuid, text) cascade;
 drop function if exists public.insertdisk_image_dynamic(uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.insertdisklunmap(uuid, character varying) cascade;
 drop function if exists public.insertdiskprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.insertdiskvmelement(uuid, uuid, boolean, character varying) cascade;
 drop function if exists public.insertenginesession(integer, text, uuid, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.insertevent_notification_hist(bigint, character varying, character, character, timestamp with time zone, boolean) cascade;
 drop function if exists public.insertevent_subscriber(character varying, character varying, character varying, uuid, character varying) cascade;
 drop function if exists public.insertexternalauditlog(integer, timestamp with time zone, integer, character varying, integer, text, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, uuid, character varying, character varying, uuid, uuid, character varying, text, uuid, text, character varying, integer, integer, text) cascade;
 drop function if exists public.insertexternalvariable(character varying, character varying) cascade;
 drop function if exists public.insertfenceagent(uuid, uuid, integer, character varying, character varying, character varying, text, text, boolean, integer) cascade;
 drop function if exists public.insertglusterclusterservice(uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsession(uuid, uuid, character varying, character varying, uuid, character varying, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsessionconfig(uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustergeorepsessiondetail(uuid, uuid, character varying, uuid, character varying, character varying, character varying, bigint, bigint, bigint, bigint, timestamp without time zone, timestamp without time zone, timestamp without time zone, boolean) cascade;
 drop function if exists public.insertglusterhook(uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, text, integer) cascade;
 drop function if exists public.insertglusterserver(uuid, uuid, character varying) cascade;
 drop function if exists public.insertglusterserverhook(uuid, uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.insertglusterserverservice(uuid, uuid, uuid, integer, character varying, character varying) cascade;
 drop function if exists public.insertglustervolume(uuid, uuid, character varying, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.insertglustervolumeaccessprotocol(uuid, character varying) cascade;
 drop function if exists public.insertglustervolumebrick(uuid, uuid, uuid, character varying, integer, character varying, uuid) cascade;
 drop function if exists public.insertglustervolumebrickdetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.insertglustervolumedetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.insertglustervolumeoption(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustervolumesnapshot(uuid, character varying, uuid, character varying, character varying, timestamp with time zone) cascade;
 drop function if exists public.insertglustervolumesnapshotconfig(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.insertglustervolumesnapshotschedule(uuid, character varying, character varying, character varying, character varying, character varying, integer, timestamp with time zone, time without time zone, character varying, timestamp with time zone) cascade;
 drop function if exists public.insertglustervolumetransporttype(uuid, character varying) cascade;
 drop function if exists public.insertgroup(uuid, character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.inserthostdevice(uuid, character varying, character varying, character varying, integer, character varying, character varying, character varying, character varying, character varying, integer, character varying, character varying, boolean) cascade;
 drop function if exists public.inserthostnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer) cascade;
 drop function if exists public.inserthostnicvfsconfig(uuid, uuid, boolean) cascade;
 drop function if exists public.insertimage(timestamp with time zone, uuid, uuid, bigint, uuid, integer, timestamp with time zone, uuid, integer, integer, uuid, boolean, smallint) cascade;
 drop function if exists public.insertimage_storage_domain_map(uuid, uuid, uuid, uuid) cascade;
 drop function if exists public.insertimageuploads(uuid, integer, integer, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, bigint, bigint) cascade;
 drop function if exists public.insertiscsibond(uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertjob(uuid, character varying, text, character varying, uuid, bigint, boolean, timestamp with time zone, timestamp with time zone, timestamp with time zone, character varying, boolean, boolean) cascade;
 drop function if exists public.insertjobsubjectentity(uuid, uuid, character varying) cascade;
 drop function if exists public.insertlibvirtsecret(uuid, text, integer, text, uuid, timestamp with time zone) cascade;
 drop function if exists public.insertlun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.insertluns(character varying, character varying, character varying, character varying, integer, character varying, character varying, integer) cascade;
 drop function if exists public.insertmacpool(uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.insertmacpoolrange(uuid, character varying, character varying) cascade;
 drop function if exists public.insertnetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, text) cascade;
 drop function if exists public.insertnetwork_cluster(uuid, uuid, integer, boolean, boolean, boolean, boolean, boolean) cascade;
 drop function if exists public.insertnetworkattachment(uuid, uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, integer, character varying, text) cascade;
 drop function if exists public.insertnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.insertnumanode(uuid, uuid, uuid, smallint, bigint, smallint, bigint, integer, numeric, numeric, numeric, integer, text) cascade;
 drop function if exists public.insertnumanodecpu(uuid, uuid, integer) cascade;
 drop function if exists public.insertnumanodemap(uuid, uuid, uuid, smallint, boolean) cascade;
 drop function if exists public.insertorupdateasynctasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, timestamp with time zone, uuid, integer) cascade;
 drop function if exists public.insertorupdatecommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, timestamp with time zone, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.insertorupdateuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.insertovfdataforentities(uuid, character varying, character varying, integer, character varying, uuid, text, text) cascade;
 drop function if exists public.insertpermission(uuid, uuid, uuid, uuid, integer) cascade;
 drop function if exists public.insertpolicyunit(uuid, character varying, text, boolean, smallint, text, boolean) cascade;
 drop function if exists public.insertprovider(uuid, character varying, character varying, character varying, character varying, boolean, character varying, text, text, character varying, character varying, text, text, text, boolean) cascade;
 drop function if exists public.insertquota(uuid, uuid, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.insertquotalimitation(uuid, uuid, uuid, uuid, integer, bigint, bigint) cascade;
 drop function if exists public.insertrepo_domain_file_meta_data(uuid, character varying, character varying, bigint, timestamp with time zone, bigint, integer) cascade;
 drop function if exists public.insertrole(character varying, uuid, character varying, boolean, integer, boolean, integer) cascade;
 drop function if exists public.insertsnapshot(uuid, uuid, character varying, character varying, character varying, timestamp with time zone, text, text, character varying, uuid, uuid) cascade;
 drop function if exists public.insertstep(uuid, uuid, uuid, character varying, text, integer, character varying, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying, boolean) cascade;
 drop function if exists public.insertstorage_domain_dynamic(integer, uuid, integer) cascade;
 drop function if exists public.insertstorage_domain_static(uuid, character varying, character varying, character varying, text, integer, integer, character varying, bigint, boolean, integer, integer) cascade;
 drop function if exists public.insertstorage_pool(character varying, text, uuid, character varying, integer, boolean, integer, uuid, character varying, integer, uuid) cascade;
 drop function if exists public.insertstorage_pool_iso_map(uuid, uuid, integer) cascade;
 drop function if exists public.insertstorage_server_connections(character varying, character varying, character varying, character varying, character varying, text, integer, text, character varying, character varying, character varying, smallint, smallint) cascade;
 drop function if exists public.insertstoragedevice(uuid, text, character varying, character varying, uuid, text, character varying, text, character varying, text, bigint, boolean, boolean) cascade;
 drop function if exists public.insertstoragedomainovfinfo(uuid, integer, uuid, text) cascade;
 drop function if exists public.insertstorageqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.insertstorageserverconnectionextension(uuid, uuid, character varying, text, text) cascade;
 drop function if exists public.insertsupportedclusterfeature(uuid, uuid, boolean) cascade;
 drop function if exists public.insertsupportedhostfeature(uuid, character varying) cascade;
 drop function if exists public.inserttags(character varying, uuid, character varying, uuid, boolean, integer) cascade;
 drop function if exists public.inserttags_user_group_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_user_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_vds_map(uuid, uuid) cascade;
 drop function if exists public.inserttags_vm_map(uuid, uuid, integer) cascade;
 drop function if exists public.inserttags_vm_pool_map(uuid, uuid) cascade;
 drop function if exists public.insertunregistereddisk(uuid, uuid, character varying, character varying, uuid, timestamp with time zone, timestamp with time zone, integer, integer, bigint, bigint) cascade;
 drop function if exists public.insertunregistereddiskstovms(uuid, uuid, character varying, uuid) cascade;
 drop function if exists public.insertuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.insertuserprofile(uuid, uuid, uuid, text, boolean) cascade;
 drop function if exists public.insertvdcoption(character varying, character varying, character varying, integer) cascade;
 drop function if exists public.insertvds_interface(character varying, character varying, integer, character varying, uuid, boolean, character varying, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, uuid, character varying, integer, integer, boolean, text, integer, character varying, integer, character varying, character varying) cascade;
 drop function if exists public.insertvds_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.insertvds_spm_id_map(uuid, uuid, integer) cascade;
 drop function if exists public.insertvdscpustatistics(uuid, uuid, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.insertvdsdynamic(integer, integer, character varying, numeric, character varying, boolean, integer, integer, integer, uuid, integer, integer, integer, integer, integer, integer, integer, integer, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, integer, boolean, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, integer, text, character varying, character varying, character varying, character varying, character varying, character varying, text, text, boolean, smallint, integer, smallint, boolean, character varying, text, boolean, boolean, text) cascade;
 drop function if exists public.insertvdsstatic(text, uuid, character varying, character varying, integer, smallint, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text, text) cascade;
 drop function if exists public.insertvdsstatistics(numeric, numeric, numeric, numeric, integer, integer, integer, uuid, bigint, bigint, bigint, bigint, bigint, integer, bigint, boolean, integer, bigint, integer, boolean, boolean, boolean, boolean, timestamp with time zone) cascade;
 drop function if exists public.insertvfsconfiglabel(uuid, text) cascade;
 drop function if exists public.insertvfsconfignetwork(uuid, uuid) cascade;
 drop function if exists public.insertvm_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.insertvm_pool_map(uuid, uuid) cascade;
 drop function if exists public.insertvm_pools(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, smallint, character varying) cascade;
 drop function if exists public.insertvmdevice(uuid, uuid, character varying, character varying, character varying, integer, text, boolean, boolean, boolean, character varying, text, uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.insertvmdynamic(text, character varying, character varying, uuid, character varying, uuid, uuid, integer, uuid, character varying, character varying, character varying, timestamp with time zone, timestamp with time zone, integer, boolean, integer, boolean, integer, integer, uuid, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, bigint, bigint, bigint, integer, character varying, integer, character varying, character varying, character varying, character varying, character varying, text) cascade;
 drop function if exists public.insertvmguestagentinterface(uuid, character varying, character varying, text, text) cascade;
 drop function if exists public.insertvmicon(uuid, text) cascade;
 drop function if exists public.insertvmicondefault(uuid, integer, uuid, uuid) cascade;
 drop function if exists public.insertvminit(uuid, text, text, text, boolean, character varying, text, text, text, text, character varying, text, character varying, character varying, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.insertvminterface(uuid, character varying, character varying, integer, uuid, uuid, uuid, integer, boolean) cascade;
 drop function if exists public.insertvmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade;
 drop function if exists public.insertvmstatic(character varying, text, integer, integer, integer, uuid, uuid, character varying, uuid, timestamp with time zone, integer, boolean, boolean, boolean, integer, integer, integer, integer, character varying, boolean, boolean, boolean, boolean, character varying, text, boolean, integer, integer, integer, integer, integer, integer, character varying, integer, character varying, character varying, character varying, integer, character varying, character varying, integer, uuid, character varying, boolean, boolean, character varying, boolean, uuid, uuid, uuid, uuid, character varying, integer, integer, smallint, character varying, boolean, character varying, boolean, boolean, uuid, boolean, boolean, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertvmstatistics(numeric, numeric, numeric, integer, integer, integer, integer, text, text, text, text, uuid) cascade;
 drop function if exists public.insertvmtemplate(integer, timestamp with time zone, character varying, text, integer, integer, character varying, integer, integer, integer, integer, uuid, uuid, integer, boolean, boolean, integer, integer, character varying, boolean, integer, integer, integer, integer, integer, integer, boolean, boolean, boolean, boolean, character varying, boolean, character varying, integer, character varying, character varying, character varying, uuid, integer, text, boolean, character varying, integer, boolean, uuid, character varying, integer, uuid, character varying, smallint, character varying, boolean, boolean, boolean, uuid, character varying, boolean, boolean, character varying, character varying, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.insertvnicprofile(uuid, character varying, uuid, uuid, boolean, boolean, text, text, uuid) cascade;
 drop function if exists public.inst_add_glance_provider(uuid, character varying, character varying, character varying, uuid, boolean, character varying, text, text, character varying) cascade;
 drop function if exists public.inst_add_iso_storage_domain(uuid, character varying, uuid, character varying, integer, integer) cascade;
 drop function if exists public.inst_update_default_storage_pool_type(boolean) cascade;
 drop function if exists public.inst_update_service_type(uuid, boolean, boolean) cascade;
 drop function if exists public.isanyvmrunonvds(uuid) cascade;
 drop function if exists public.ismaterializedviewrefreshed(name) cascade;
 drop function if exists public.ismemballoonenabled(uuid) cascade;
 drop function if exists public.isquotainuse(uuid) cascade;
 drop function if exists public.isvmiconexist(uuid) cascade;
 drop function if exists public.loadovfdataforids(character varying) cascade;
 drop function if exists public.loadstoragedomaininfobydiskid(uuid) cascade;
 drop function if exists public.loadstoragedomaininfobydomainid(uuid) cascade;
 drop function if exists public.loadstoragedomainsforovfids(text) cascade;
 drop function if exists public.logenginebackupevent(character varying, timestamp with time zone, integer, text, character varying, text) cascade;
 drop function if exists public.markhostdevicesusedbyvmid(uuid, uuid) cascade;
 drop function if exists public.nullifyqosforstoragedomain(uuid) cascade;
 drop function if exists public.refreshallmaterializedviews(boolean) cascade;
 drop function if exists public.refreshmaterializedview(name) cascade;
 drop function if exists public.remove_entities_from_storage_domain(uuid) cascade;
 drop function if exists public.removeallvmtagsbyvmid(uuid) cascade;
 drop function if exists public.removeauditlogbybrickidlogtype(uuid, integer) cascade;
 drop function if exists public.removeconnectionfromiscsibond(uuid, character varying) cascade;
 drop function if exists public.removediskfromunregistered(uuid, uuid) cascade;
 drop function if exists public.removediskfromunregisteredrelatedtovm(uuid, uuid) cascade;
 drop function if exists public.removeentityfromunregistered(uuid, uuid) cascade;
 drop function if exists public.removefinishedkdumpstatusforvds(uuid) cascade;
 drop function if exists public.removememoryfromsnapshotbysnapshotid(uuid) cascade;
 drop function if exists public.removememoryfromsnapshotbyvmidandtype(uuid, character varying) cascade;
 drop function if exists public.removenetworkattachmentbynetworkid(uuid) cascade;
 drop function if exists public.removenetworkfromiscsibond(uuid, uuid) cascade;
 drop function if exists public.removesupportedhostfeature(uuid, character varying) cascade;
 drop function if exists public.removevmfromaffinitygroups(uuid) cascade;
 drop function if exists public.set_network_exclusively_as_display(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_gluster(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_management(uuid, uuid) cascade;
 drop function if exists public.set_network_exclusively_as_migration(uuid, uuid) cascade;
 drop function if exists public.setallauditlogalerts(integer, boolean) cascade;
 drop function if exists public.sethashbyvmguid(uuid, character varying) cascade;
 drop function if exists public.settounknown(uuid[], integer) cascade;
 drop function if exists public.setvmidonhostdevice(uuid, character varying, uuid) cascade;
 drop function if exists public.setvmpoolbeingdestroyed(uuid, boolean) cascade;
 drop function if exists public.sso_oauth_client_exists(character varying) cascade;
 drop function if exists public.sso_oauth_register_client(character varying, character varying, character varying, character varying, character varying, text, character varying, boolean, character varying, character varying, boolean, boolean) cascade;
 drop function if exists public.sso_oauth_unregister_client(character varying) cascade;
 drop function if exists public.to_interval(integer) cascade;
 drop function if exists public.update_oauth_client(character varying, character varying, character varying, character varying, text, character varying, boolean, character varying) cascade;
 drop function if exists public.update_oauth_client_callback_prefix(character varying, character varying) cascade;
 drop function if exists public.updateaffinitygroupwithmembers(uuid, character varying, character varying, uuid, boolean, boolean, character varying) cascade;
 drop function if exists public.updateasync_tasks(integer, integer, integer, uuid, uuid, uuid, uuid, uuid, uuid, uuid) cascade;
 drop function if exists public.updatebasedisk(uuid, boolean, character varying, character varying, character varying, boolean, integer, smallint, timestamp with time zone, smallint, character varying) cascade;
 drop function if exists public.updatebookmark(uuid, character varying, character varying) cascade;
 drop function if exists public.updatecluster(character varying, text, character varying, uuid, character varying, uuid, integer, boolean, character varying, boolean, integer, boolean, boolean, boolean, boolean, character varying, boolean, boolean, boolean, boolean, boolean, uuid, text, boolean, integer, smallint, character varying, boolean, smallint, character varying, character varying, boolean, boolean, smallint, boolean, boolean, boolean, character varying, boolean, character varying, integer, uuid, character varying) cascade;
 drop function if exists public.updateclusteremulatedmachine(uuid, character varying, boolean) cascade;
 drop function if exists public.updateclusterfeature(uuid, character varying, character varying, integer, text) cascade;
 drop function if exists public.updateclusterpolicy(uuid, character varying, character varying, boolean, boolean, text) cascade;
 drop function if exists public.updatecommandentity(uuid, bigint, uuid, integer, uuid, uuid, uuid, uuid, text, character varying, character varying, boolean, boolean, text, character varying, text) cascade;
 drop function if exists public.updatecommandentityexecuted(uuid, boolean) cascade;
 drop function if exists public.updatecommandentitynotified(uuid, boolean) cascade;
 drop function if exists public.updatecommandentitystatus(uuid, character varying) cascade;
 drop function if exists public.updateconfigbyclusteridandname(uuid, character varying, character varying) cascade;
 drop function if exists public.updateconfigbyvolumeididandname(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updateconsoleuserwithoptimisticlocking(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updatecpuflags(uuid, character varying) cascade;
 drop function if exists public.updatecpuprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.updatecpuqos(uuid, smallint, character varying, text, uuid, integer) cascade;
 drop function if exists public.updatecustom_actions(integer, character varying, character varying, integer, character varying) cascade;
 drop function if exists public.updatededicatedhoststovm(uuid, text) cascade;
 drop function if exists public.updatedisk_image_dynamic(uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.updatedisk_image_dynamic_by_disk_id_and_vm_id(uuid, uuid, integer, integer, bigint, numeric, numeric, numeric) cascade;
 drop function if exists public.updatediskprofile(uuid, character varying, uuid, uuid, text) cascade;
 drop function if exists public.updatediskprofilebyimagegroupid(uuid, uuid, uuid) cascade;
 drop function if exists public.updatediskvmelement(uuid, uuid, boolean, character varying) cascade;
 drop function if exists public.updatedwhhistorytimekeeping(character varying, character varying, timestamp with time zone) cascade;
 drop function if exists public.updateexternalvariable(character varying, character varying) cascade;
 drop function if exists public.updatefenceagent(uuid, uuid, integer, character varying, character varying, character varying, text, text, boolean, integer) cascade;
 drop function if exists public.updateglusterbricktaskbyserveridbrickdir(uuid, character varying, uuid) cascade;
 drop function if exists public.updateglusterclusterservice(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustergeorepsession(uuid, character varying, uuid, uuid) cascade;
 drop function if exists public.updateglustergeorepsessionconfig(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustergeorepsessiondetail(uuid, uuid, character varying, uuid, character varying, character varying, character varying, bigint, bigint, bigint, bigint, timestamp without time zone, timestamp without time zone, timestamp without time zone, boolean) cascade;
 drop function if exists public.updateglustergeorepsessionstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterhook(uuid, character varying, character varying, character varying, text, integer) cascade;
 drop function if exists public.updateglusterhookconflictstatus(uuid, integer) cascade;
 drop function if exists public.updateglusterhookcontent(uuid, character varying, text) cascade;
 drop function if exists public.updateglusterhookcontenttype(uuid, character varying) cascade;
 drop function if exists public.updateglusterhookstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterserver(uuid, uuid) cascade;
 drop function if exists public.updateglusterserverhook(uuid, uuid, character varying, character varying, character varying) cascade;
 drop function if exists public.updateglusterserverhookchecksum(uuid, uuid, character varying) cascade;
 drop function if exists public.updateglusterserverhookstatus(uuid, uuid, character varying) cascade;
 drop function if exists public.updateglusterserverknownaddresses(uuid, character varying) cascade;
 drop function if exists public.updateglusterserverpeerstatus(uuid, character varying) cascade;
 drop function if exists public.updateglusterserverservice(uuid, integer, character varying, character varying) cascade;
 drop function if exists public.updateglusterserverservicebyserveridandservicetype(uuid, uuid, integer, character varying, character varying) cascade;
 drop function if exists public.updateglustervolume(uuid, uuid, character varying, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.updateglustervolumeasynctask(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrick(uuid, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updateglustervolumebrickasynctask(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrickdetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.updateglustervolumebricknetworkid(uuid, uuid) cascade;
 drop function if exists public.updateglustervolumebrickorder(uuid, integer) cascade;
 drop function if exists public.updateglustervolumebrickstatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumebrickunsyncedentries(uuid, integer, text) cascade;
 drop function if exists public.updateglustervolumedetails(uuid, bigint, bigint, bigint) cascade;
 drop function if exists public.updateglustervolumeoption(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumesnapshotschedulebyvolumeid(uuid, character varying, character varying, character varying, character varying, character varying, integer, timestamp with time zone, time without time zone, character varying, timestamp with time zone) cascade;
 drop function if exists public.updateglustervolumesnapshotstatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumesnapshotstatusbyname(uuid, character varying, character varying) cascade;
 drop function if exists public.updateglustervolumestatus(uuid, character varying) cascade;
 drop function if exists public.updateglustervolumestatusbyname(uuid, character varying, character varying) cascade;
 drop function if exists public.updategroup(uuid, character varying, character varying, character varying, text, character varying) cascade;
 drop function if exists public.updateguestagentstatus(uuid, integer) cascade;
 drop function if exists public.updatehostdevice(uuid, character varying, character varying, character varying, integer, character varying, character varying, character varying, character varying, character varying, integer, character varying, character varying, boolean) cascade;
 drop function if exists public.updatehostexternalstatus(uuid, integer) cascade;
 drop function if exists public.updatehostnetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer) cascade;
 drop function if exists public.updatehostnicvfsconfig(uuid, uuid, boolean) cascade;
 drop function if exists public.updateimage(timestamp with time zone, uuid, uuid, bigint, uuid, integer, timestamp with time zone, uuid, integer, integer, uuid, boolean, smallint) cascade;
 drop function if exists public.updateimagesize(uuid, bigint, timestamp with time zone) cascade;
 drop function if exists public.updateimagestatus(uuid, integer) cascade;
 drop function if exists public.updateimageuploads(uuid, integer, integer, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, bigint, bigint) cascade;
 drop function if exists public.updateimagevmsnapshotid(uuid, uuid) cascade;
 drop function if exists public.updateiscsibond(uuid, character varying, character varying) cascade;
 drop function if exists public.updateisfreeflagbyid(uuid, boolean) cascade;
 drop function if exists public.updateisinitialized(uuid, boolean) cascade;
 drop function if exists public.updatejob(uuid, character varying, text, character varying, uuid, bigint, boolean, timestamp with time zone, timestamp with time zone, timestamp with time zone, character varying, boolean, boolean) cascade;
 drop function if exists public.updatejoblastupdatetime(uuid, timestamp with time zone) cascade;
 drop function if exists public.updatejobstepscompleted(uuid, character varying, timestamp with time zone) cascade;
 drop function if exists public.updatelabel(uuid, character varying, boolean, uuid[], uuid[]) cascade;
 drop function if exists public.updatelastadmincheckstatus(character varying) cascade;
 drop function if exists public.updatelibvirtsecret(uuid, text, integer, text, uuid) cascade;
 drop function if exists public.updatelun_storage_server_connection_map(character varying, character varying) cascade;
 drop function if exists public.updateluns(character varying, character varying, character varying, character varying, integer, character varying, character varying, integer) cascade;
 drop function if exists public.updatemacpool(uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.updatematerializedviewminrefreshrate(name, integer) cascade;
 drop function if exists public.updatematerializedviewrefreshrate(name, integer) cascade;
 drop function if exists public.updatememory(character varying, uuid, uuid, uuid, character varying) cascade;
 drop function if exists public.updatenetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, text) cascade;
 drop function if exists public.updatenetwork_cluster(uuid, uuid, integer, boolean, boolean, boolean, boolean, boolean) cascade;
 drop function if exists public.updatenetwork_cluster_status(uuid, uuid, integer) cascade;
 drop function if exists public.updatenetworkattachment(uuid, uuid, uuid, character varying, character varying, character varying, character varying, character varying, character varying, integer, character varying, text) cascade;
 drop function if exists public.updatenetworkqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.updatenumanode(uuid, smallint, bigint, smallint, text) cascade;
 drop function if exists public.updatenumanodestatistics(uuid, bigint, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.updateoriginaltemplatename(uuid, character varying) cascade;
 drop function if exists public.updateovfgenerations(character varying, character varying, text, character varying) cascade;
 drop function if exists public.updateovfupdatedinfo(character varying, integer, integer) cascade;
 drop function if exists public.updatepolicyunit(uuid, boolean, text, text) cascade;
 drop function if exists public.updateprovider(uuid, character varying, character varying, character varying, character varying, boolean, character varying, text, text, character varying, character varying, text, text, text, boolean) cascade;
 drop function if exists public.updatequotaforimageandsnapshots(uuid, uuid, uuid) cascade;
 drop function if exists public.updatequotametadata(uuid, uuid, character varying, character varying, integer, integer, integer, integer) cascade;
 drop function if exists public.updatereplicacount(uuid, integer) cascade;
 drop function if exists public.updaterole(character varying, uuid, character varying, boolean, integer, boolean) cascade;
 drop function if exists public.updatesnapshot(uuid, uuid, character varying, character varying, character varying, timestamp with time zone, text, text, character varying, uuid, uuid) cascade;
 drop function if exists public.updatesnapshotcountdec(uuid, integer) cascade;
 drop function if exists public.updatesnapshotcountinc(uuid, integer) cascade;
 drop function if exists public.updatesnapshotid(uuid, uuid) cascade;
 drop function if exists public.updatesnapshotstatus(uuid, character varying) cascade;
 drop function if exists public.updatestartedexecutionentitiestounknown(timestamp with time zone) cascade;
 drop function if exists public.updatestatusofimagesbyimagegroupid(uuid, integer) cascade;
 drop function if exists public.updatestep(uuid, uuid, uuid, character varying, text, integer, character varying, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying) cascade;
 drop function if exists public.updatestepexternalidandtype(uuid, uuid, character varying) cascade;
 drop function if exists public.updatestepstatusandendtime(uuid, character varying, timestamp with time zone) cascade;
 drop function if exists public.updatestorage_domain_dynamic(integer, uuid, integer) cascade;
 drop function if exists public.updatestorage_domain_static(uuid, character varying, character varying, character varying, text, integer, integer, integer, bigint, boolean, integer, integer) cascade;
 drop function if exists public.updatestorage_pool(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, character varying, integer, uuid) cascade;
 drop function if exists public.updatestorage_pool_iso_map_status(uuid, uuid, integer) cascade;
 drop function if exists public.updatestorage_pool_partial(character varying, text, uuid, character varying, boolean, character varying, character varying, integer, uuid) cascade;
 drop function if exists public.updatestorage_pool_status(uuid, integer) cascade;
 drop function if exists public.updatestorage_server_connections(character varying, character varying, character varying, text, integer, character varying, character varying, text, character varying, character varying, character varying, smallint, smallint) cascade;
 drop function if exists public.updatestoragedevice(uuid, text, character varying, character varying, text, character varying, text, character varying, text, bigint, boolean) cascade;
 drop function if exists public.updatestoragedomainexternalstatus(uuid, integer) cascade;
 drop function if exists public.updatestoragedomainovfinfo(uuid, integer, uuid, text, timestamp with time zone) cascade;
 drop function if exists public.updatestorageqos(uuid, smallint, character varying, text, uuid, integer, integer, integer, integer, integer, integer) cascade;
 drop function if exists public.updatestorageserverconnectionextension(uuid, uuid, character varying, text, text) cascade;
 drop function if exists public.updatesupportedclusterfeature(uuid, uuid, boolean) cascade;
 drop function if exists public.updatetags(character varying, uuid, character varying, uuid, boolean, integer) cascade;
 drop function if exists public.updatetags_vm_pool_map(integer, integer) cascade;
 drop function if exists public.updateuser(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, boolean, text, character varying) cascade;
 drop function if exists public.updateuserimpl(character varying, character varying, character varying, character varying, character varying, character varying, uuid, character varying, text, character varying) cascade;
 drop function if exists public.updateuserprofile(uuid, uuid, uuid, text, boolean) cascade;
 drop function if exists public.updatevdcoption(character varying, character varying, integer, character varying) cascade;
 drop function if exists public.updatevds_interface(character varying, character varying, integer, character varying, uuid, boolean, character varying, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, uuid, character varying, integer, integer, boolean, text, character varying, character varying, integer, integer, character varying) cascade;
 drop function if exists public.updatevds_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.updatevdscpustatistics(uuid, integer, numeric, numeric, numeric, integer) cascade;
 drop function if exists public.updatevdsdynamic(integer, integer, character varying, numeric, character varying, boolean, integer, integer, integer, uuid, integer, integer, integer, integer, integer, integer, integer, integer, character varying, character varying, character varying, character varying, integer, character varying, integer, integer, integer, boolean, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, character varying, integer, text, integer, character varying, character varying, character varying, character varying, character varying, character varying, text, text, smallint, integer, smallint, boolean, character varying, text, text, boolean, boolean, text, character varying) cascade;
 drop function if exists public.updatevdsdynamicisupdateavailable(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicnetconfigdirty(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicpowermanagementpolicyflag(uuid, boolean) cascade;
 drop function if exists public.updatevdsdynamicstatus(uuid, integer) cascade;
 drop function if exists public.updatevdsdynamicstatusandreasons(uuid, integer, integer, text) cascade;
 drop function if exists public.updatevdsstatic(character varying, text, character varying, integer, smallint, uuid, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, bigint, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text) cascade;
 drop function if exists public.updatevdsstaticlaststoredkernelcmdline(uuid, text) cascade;
 drop function if exists public.updatevdsstatistics(numeric, numeric, numeric, numeric, integer, integer, integer, uuid, bigint, bigint, bigint, bigint, bigint, integer, bigint, boolean, integer, bigint, integer, boolean, boolean, boolean, boolean, timestamp with time zone) cascade;
 drop function if exists public.updatevm_interface_statistics(uuid, numeric, numeric, bigint, bigint, numeric, numeric, bigint, bigint, integer, double precision, uuid) cascade;
 drop function if exists public.updatevm_pool_map(uuid, uuid) cascade;
 drop function if exists public.updatevm_pools(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, smallint, character varying) cascade;
 drop function if exists public.updatevmcpuprofileidforclusterid(uuid, uuid) cascade;
 drop function if exists public.updatevmdevice(uuid, uuid, character varying, character varying, character varying, integer, text, boolean, boolean, boolean, character varying, text, uuid, character varying, boolean, character varying) cascade;
 drop function if exists public.updatevmdevicebootorder(uuid, uuid, integer) cascade;
 drop function if exists public.updatevmdeviceforhotplugdisk(uuid, uuid, boolean) cascade;
 drop function if exists public.updatevmdeviceruntimeinfo(uuid, uuid, character varying, character varying) cascade;
 drop function if exists public.updatevmdynamic(text, character varying, character varying, uuid, character varying, uuid, uuid, integer, uuid, character varying, character varying, character varying, timestamp with time zone, timestamp with time zone, integer, boolean, integer, boolean, integer, integer, uuid, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, character varying, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, bigint, bigint, bigint, integer, character varying, integer, character varying, character varying, character varying, character varying, character varying, text) cascade;
 drop function if exists public.updatevmdynamicstatus(uuid, integer) cascade;
 drop function if exists public.updatevmicon(uuid, text) cascade;
 drop function if exists public.updatevmicondefault(uuid, integer, uuid, uuid) cascade;
 drop function if exists public.updatevminit(uuid, text, text, text, boolean, character varying, text, text, text, text, character varying, text, character varying, character varying, character varying, character varying, character varying, character varying, character varying) cascade;
 drop function if exists public.updatevminterface(uuid, character varying, character varying, integer, uuid, uuid, uuid, integer, boolean) cascade;
 drop function if exists public.updatevmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade;
 drop function if exists public.updatevmstatic(character varying, text, integer, integer, integer, uuid, uuid, character varying, uuid, timestamp with time zone, integer, boolean, boolean, boolean, integer, integer, integer, integer, character varying, boolean, boolean, boolean, boolean, character varying, text, boolean, integer, integer, integer, integer, integer, integer, character varying, integer, character varying, character varying, character varying, integer, character varying, character varying, integer, uuid, character varying, boolean, boolean, character varying, boolean, uuid, uuid, uuid, uuid, character varying, integer, integer, smallint, character varying, boolean, character varying, boolean, boolean, uuid, boolean, boolean, character varying, character varying, uuid, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updatevmstatistics(numeric, numeric, numeric, integer, integer, integer, integer, text, text, text, text, uuid) cascade;
 drop function if exists public.updatevmtagsdefaultdisplaytype(uuid, uuid, integer) cascade;
 drop function if exists public.updatevmtemplate(integer, timestamp with time zone, character varying, text, integer, integer, character varying, integer, integer, integer, integer, uuid, uuid, integer, boolean, boolean, integer, integer, character varying, boolean, integer, integer, integer, integer, integer, integer, boolean, boolean, boolean, boolean, character varying, boolean, character varying, integer, character varying, character varying, character varying, uuid, integer, text, boolean, character varying, integer, boolean, uuid, character varying, integer, character varying, smallint, character varying, boolean, boolean, boolean, uuid, character varying, boolean, boolean, character varying, character varying, character varying, character varying, uuid, uuid, character varying, character varying, uuid) cascade;
 drop function if exists public.updatevmtemplateshiftbasetemplate(uuid) cascade;
 drop function if exists public.updatevmtemplatestatus(uuid, integer) cascade;
 drop function if exists public.updatevnicprofile(uuid, character varying, uuid, uuid, boolean, boolean, text, text, uuid) cascade;
 drop function if exists public.upsertexternalvariable(character varying, character varying) cascade;
 drop function if exists public.upsertkdumpstatus(uuid, character varying, character varying) cascade;
 drop function if exists public.upsertkdumpstatusforip(character varying, character varying, character varying) cascade;
 drop function if exists public.uuid_generate_v1() cascade;
**************************

DROP FUNCTION
********* QUERY **********
DROP TYPE IF EXISTS idTextType CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE idtexttype AS (id TEXT);
**************************

CREATE TYPE
********* QUERY **********
DROP TYPE IF EXISTS idUuidType CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE iduuidtype AS (id uuid);
**************************

CREATE TYPE
********* QUERY **********
DROP TYPE IF EXISTS booleanResultType CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE booleanresulttype AS (result boolean);
**************************

CREATE TYPE
********* QUERY **********
DROP TYPE IF EXISTS authzEntryInfoType CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE authzentryinfotype AS (
    name TEXT,
    namespace VARCHAR(2048),
    authz VARCHAR(255)
);
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION getGlobalIds (v_name VARCHAR(4000))
RETURNS UUID IMMUTABLE STRICT AS $FUNCTION$

DECLARE v_id UUID;

BEGIN
    IF (v_name = 'system') THEN
        v_id := 'AAA00000-0000-0000-0000-123456789AAA';
    ELSIF(v_name = 'everyone') THEN
        v_id := 'EEE00000-0000-0000-0000-123456789EEE';

    -- bottom is an object which all the objects in the system are its parents
    -- useful to denote we want all objects when checking for permissions
    ELSIF(v_name = 'bottom') THEN
        v_id := 'BBB00000-0000-0000-0000-123456789BBB';
    END IF;

    RETURN v_id;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION public.fnSplitterInteger(ids TEXT)
RETURNS SETOF INTEGER IMMUTABLE AS
$FUNCTION$
BEGIN
    RETURN QUERY
        SELECT CAST(regexp_split_to_table(ids, ',') AS INTEGER);
END; $FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fnSplitter (ids TEXT)
RETURNS SETOF idTextType IMMUTABLE
AS $FUNCTION$

BEGIN
    RETURN QUERY

    SELECT regexp_split_to_table(ids, ',') AS id;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fnSplitterUuid (ids TEXT)
RETURNS SETOF UUID IMMUTABLE AS $FUNCTION$

BEGIN
    IF ids != '' THEN
        RETURN QUERY
        SELECT CAST(regexp_split_to_table(ids, ',') AS UUID);
    END IF;

END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fnSplitterWithSeperator (
    ids TEXT,
    separator VARCHAR(10)
    )
RETURNS SETOF idTextType IMMUTABLE
AS $FUNCTION$

BEGIN
    RETURN QUERY

    SELECT regexp_split_to_table(ids, separator) AS id;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
DROP TYPE IF EXISTS user_permissions CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE user_permissions AS (
    permission_id uuid,
    role_id uuid,
    user_id uuid
);
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fn_user_permissions (v_userId IN uuid)
RETURNS SETOF user_permissions STABLE AS $FUNCTION$

DECLARE

BEGIN
    RETURN QUERY

    SELECT permissions.id AS permission_id,
        permissions.role_id,
        permissions.ad_element_id AS user_id
    FROM permissions
    INNER JOIN users
        ON permissions.ad_element_id = users.user_id
    WHERE users.user_id = v_userId

    UNION

    SELECT
        permissions.id AS permission_id,
        permissions.role_id,
        TEMP.user_id AS user_id
    FROM permissions
    INNER JOIN (
        -- get all groups of admin users
        SELECT
            ad_groups.id group_id,
            users.user_id
        FROM
            ad_groups,
            engine_sessions
        WHERE ad_groups.id IN (
            SELECT *
            FROM fnsplitteruuid(engine_sessions.group_ids)
            )
            AND users.user_id = v_userId
        ) TEMP
        ON permissions.ad_element_id = TEMP.group_id;
END;$FUNCTION$
LANGUAGE 'plpgsql';
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fn_get_entity_parents (
    v_entity_id IN uuid,
    v_object_type IN int4
    )
RETURNS SETOF idUuidType STABLE AS $FUNCTION$

/*Gets a list of all parent GUID to the system root (including)

Object Types (compatible with VdcObjectType, XXX entries are unused currently)
Unknown XXX,
System XXX,
       Bottom = 0,
                VM = 2,
                VDS = 3,
                VmTemplate = 4,
                VmPool = 5,
                AdElements XXX,
                Tags XXX,
                Bookmarks XXX,
                Cluster = 9,
                MultiLevelAdministration XXX,
                Storage = 11,
                EventNotification XXX,
                ImportExport XXX,
                StoragePool = 14,
                User = 15,
                Role = 16,
                Quota = 17,
                GlusterVolume = 18,
        Disk = 19,
        Network = 20,
        VNICProfile = 27,
        MacPool = 28
        DiskProfile = 29
        CpuProfile = 30
*/
DECLARE
    v_entity_type int4 := v_object_type;
    system_root_id uuid;
    v_cluster_id uuid;
    ds_id uuid;
    v_image_id uuid;
    v_storage_id uuid;
    v_vm_id uuid;
    v_storage_pool_id uuid;
    v_profile_network_id uuid;
    v_disk_profile_storage_id uuid;
    v_cpu_profile_cluster_id uuid;

BEGIN
    system_root_id := (
        SELECT getGlobalIds('system')
    );-- hardcoded also in MLA Handler
    CASE
        WHEN v_entity_type = 0
            THEN -- Bottom
                RETURN QUERY SELECT object_id FROM permissions;
        WHEN v_entity_type = 2
            THEN -- VM
                -- get cluster id
                v_cluster_id := (
                    SELECT cluster_id
                    FROM vm_static
                    WHERE vm_guid = v_entity_id
                    );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                    );RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 3
            THEN -- VDS
                -- get cluster id
                v_cluster_id := (
                    SELECT cluster_id
                    FROM vds_static
                    WHERE vds_id = v_entity_id
                    );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                    );RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 4
            THEN -- Template
                -- get image id first
                v_image_id := (
                    SELECT image_guid
                    FROM images i
                    INNER JOIN vm_device vd
                        ON i.image_group_id = vd.device_id
                    WHERE vm_id = v_entity_id limit 1
                    );
                -- get the storage id from images
                v_storage_id := (
                    SELECT storage_domain_id
                    FROM image_storage_domain_map
                    WHERE image_id = v_image_id limit 1
                    );
                -- finally get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM storage_pool_iso_map
                    WHERE storage_id = v_storage_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 5
            THEN -- VM Pool
                -- get cluster id
                v_cluster_id := (
                    SELECT cluster_id
                    FROM vm_pools
                    WHERE vm_pool_id = v_entity_id
                    );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 9
            THEN -- Cluster
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_entity_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 11
            THEN -- Storage Domain
                RETURN QUERY SELECT system_root_id AS id

            UNION ALL

                SELECT storage_pool_id AS id
                FROM storage_pool_iso_map
                WHERE storage_id = v_entity_id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 17
            THEN -- Quota
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM quota
                    WHERE id = v_entity_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 18
            THEN -- GlusterVolume
                -- get cluster id
                v_cluster_id := (
                    SELECT v.cluster_id
                    FROM gluster_volumes v
                    WHERE id = v_entity_id
                    );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 19
            THEN -- Disk
                -- get data center, storage domain and vm
                SELECT INTO ds_id,
                v_storage_id,
                v_vm_id storage_pool_id,
                storage_id,
                vm_id
                FROM images_storage_domain_view
                LEFT JOIN vm_device
                ON vm_device.device_id = images_storage_domain_view.disk_id
                WHERE image_group_id = v_entity_id;
                -- get cluster
                v_cluster_id := (
                    SELECT cluster_id
                    FROM vm_static
                    WHERE vm_guid = v_vm_id
                    );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_storage_id AS id

            UNION

                SELECT v_vm_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 20
            THEN -- Network
                SELECT INTO v_storage_pool_id network.storage_pool_id
                FROM network
                WHERE network.id = v_entity_id;
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT v_storage_pool_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 27
            THEN -- VNICProfile
                SELECT INTO v_profile_network_id vnic_profiles.network_id
                FROM vnic_profiles
                WHERE vnic_profiles.id = v_entity_id;

                SELECT INTO v_storage_pool_id network.storage_pool_id
                FROM network
                WHERE network.id = v_profile_network_id;
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT v_storage_pool_id AS id

            UNION

                SELECT v_profile_network_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 29
            THEN -- DiskProfile
                SELECT INTO v_disk_profile_storage_id disk_profiles.storage_domain_id
                FROM disk_profiles
                WHERE disk_profiles.id = v_entity_id;

                SELECT INTO v_storage_pool_id storage_pool_iso_map.storage_pool_id
                FROM storage_pool_iso_map
                WHERE storage_pool_iso_map.storage_id = v_disk_profile_storage_id;
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT v_storage_pool_id AS id

            UNION

                SELECT v_disk_profile_storage_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 30
            THEN -- CpuProfile
                SELECT INTO v_cpu_profile_cluster_id cpu_profiles.cluster_id
                FROM cpu_profiles
                WHERE cpu_profiles.id = v_entity_id;

                SELECT INTO v_storage_pool_id cluster.storage_pool_id
                FROM cluster
                WHERE cluster.cluster_id = v_cpu_profile_cluster_id;
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT v_storage_pool_id AS id

            UNION

                SELECT v_cpu_profile_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 23
            THEN -- Gluster Hook
                -- get cluster id
                v_cluster_id := (
                    SELECT cluster_id
                    FROM gluster_hooks
                    WHERE id = v_entity_id
                );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        WHEN v_entity_type = 25
            THEN -- Gluster Service
                -- get cluster id
                v_cluster_id := (
                    SELECT cluster_id
                    FROM vds_static
                    WHERE vds_id = v_entity_id
                );
                -- get data center id
                ds_id := (
                    SELECT storage_pool_id
                    FROM cluster
                    WHERE cluster_id = v_cluster_id
                );
                RETURN QUERY SELECT system_root_id AS id

            UNION

                SELECT ds_id AS id

            UNION

                SELECT v_cluster_id AS id

            UNION

                SELECT v_entity_id AS id;
        ELSE IF
            v_entity_type IN (
                    1,
                    14,
                    15,
                    16,
                    28
                    ) THEN -- Data Center, users, roles and mac pools are under system
            RETURN QUERY SELECT system_root_id AS id

        UNION

            SELECT v_entity_id AS id;
        END IF;

    END CASE ;
END;$FUNCTION$
LANGUAGE 'plpgsql';
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fn_authz_entry_info(v_ad_element_id IN uuid)
RETURNS AuthzEntryInfoType STABLE
AS $FUNCTION$
DECLARE
    result authzEntryInfoType;
BEGIN
    IF (v_ad_element_id = getGlobalIds('everyone')) THEN
        SELECT 'Everyone',
            '*',
            ''
        INTO result;
    ELSE
        SELECT (COALESCE(name, '') || ' ' || COALESCE(surname, '') || ' (' || COALESCE(username, '') || '@' || COALESCE(domain, '') || ')'),
            namespace,
            domain
        INTO result
        FROM users
        WHERE user_id = v_ad_element_id;

        IF (result IS NULL) THEN
            SELECT name,
                   namespace,
                   domain
            INTO result
            FROM ad_groups
            WHERE ID = v_ad_element_id;
        END IF ;
    END IF;
    RETURN result;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fn_get_ad_element_name(v_ad_element_id IN uuid)
RETURNS TEXT STABLE
AS $FUNCTION$
DECLARE
    result TEXT;
BEGIN
    IF (v_ad_element_id = getGlobalIds('everyone')) THEN
        result := 'Everyone';
    ELSE
        SELECT (COALESCE(name, '') || ' ' || COALESCE(surname, '') || ' (' || COALESCE(username, '') || '@' || COALESCE(domain, '') || ')')
        INTO result
        FROM users
        WHERE user_id = v_ad_element_id;

        IF (result IS NULL) THEN
            SELECT name
            INTO result
            FROM ad_groups
            WHERE ID = v_ad_element_id;
        END IF ;
   END IF;
   RETURN result;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION PUBLIC.fn_get_entity_name(v_entity_id IN uuid,
    v_object_type IN int4
    )
RETURNS TEXT STABLE
AS $FUNCTION$
            /*    Gets object name by its id and type

    Object Types (compatible with VdcObjectType, XXX entries are unused currently)
        Unknown XXX,
        System XXX,
        VM = 2,
        VDS = 3,
        VmTemplate = 4,
        VmPool = 5,
        AdElements XXX,
        Tags XXX,
        Bookmarks XXX,
        Cluster = 9,
        MultiLevelAdministration XXX,
        Storage = 11,
        EventNotification XXX,
        ImportExport XXX,
        StoragePool = 14,
        User = 15,
        Role = 16,
        Quota = 17,
        GlusterVolume = 18,
        Disk = 19,
        Network = 20,
        VNICProfile = 27,
        MacPool = 28,
        DiskProfile = 29
        CpuProfile = 30
*/
    DECLARE v_entity_type int4 := v_object_type;result TEXT;BEGIN
    CASE
        WHEN v_entity_type = 1
            THEN result := 'System';
        WHEN v_entity_type = 2
        OR v_entity_type = 4
            THEN result := (
                            SELECT vm_name
                            FROM vm_static
                            WHERE vm_guid = v_entity_id
                           );
        WHEN v_entity_type = 3
            THEN result := (
                            SELECT vds_name
                            FROM vds_static
                            WHERE vds_id = v_entity_id
                           );
        WHEN v_entity_type = 5
            THEN result := (
                            SELECT vm_pool_name
                            FROM vm_pools
                            WHERE vm_pool_id = v_entity_id
                           );
        WHEN v_entity_type = 7
            THEN result := (
                            SELECT tag_name
                            FROM tags
                             WHERE tag_id = v_entity_id
                            );
        WHEN v_entity_type = 8
            THEN result := (
                            SELECT bookmark_name
                            FROM bookmarks
                            WHERE bookmark_id = v_entity_id
                           );
        WHEN v_entity_type = 9
            THEN result := (
                            SELECT name
                            FROM cluster
                            WHERE cluster_id = v_entity_id
                           );
        WHEN v_entity_type = 11
             THEN result := (
                             SELECT storage_name
                             FROM storage_domain_static
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 14
             THEN result := (
                             SELECT name
                             FROM storage_pool
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 15
             THEN result := (
                             SELECT username
                             FROM users
                             WHERE user_id = v_entity_id
                            );
        WHEN v_entity_type = 16
             THEN result := (
                             SELECT name
                             FROM roles
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 17
             THEN result := (
                             SELECT quota_name
                             FROM quota
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 18
             THEN result := (
                             SELECT vol_name
                             FROM gluster_volumes
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 19
             THEN result := (
                             SELECT disk_alias
                             FROM base_disks
                             WHERE disk_id = v_entity_id
                            );
        WHEN v_entity_type = 20
             THEN result := (
                             SELECT name
                             FROM network
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 23
             THEN result := (
                             SELECT CONCAT (
                                     gluster_command,
                                     '-',
                                     stage,
                                     '-',
                                     name
                                     )
                             FROM gluster_hooks
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 25
             THEN result := (
                             SELECT service_name
                             FROM gluster_services
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 27
             THEN result := (
                             SELECT name
                             FROM vnic_profiles
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 28
             THEN result := (
                             SELECT name
                             FROM mac_pools
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 29
             THEN result := (
                             SELECT name
                             FROM disk_profiles
                             WHERE id = v_entity_id
                            );
        WHEN v_entity_type = 30
             THEN result := (
                             SELECT name
                             FROM cpu_profiles
                             WHERE id = v_entity_id
                            );
        ELSE result := 'Unknown type ' || v_entity_type;
        END CASE ;
        -- This should be written to an error var or include object_id that is missing
        --    IF result IS NULL THEN
        --        result := v_entity_id || '' NOT FOUND'';
        --    END IF;
        RETURN result;
END;$FUNCTION$
LANGUAGE 'plpgsql';
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION getUserAndGroupsById(v_id UUID)
RETURNS SETOF idUuidType STABLE
AS $FUNCTION$
BEGIN
    RETURN QUERY

    SELECT ad_groups.ID
    FROM ad_groups,
         engine_sessions
    WHERE engine_sessions.user_id = v_id
        AND ad_groups.id IN (
            SELECT *
            FROM fnsplitteruuid(engine_sessions.group_ids)
        )

    UNION
    SELECT v_id

    UNION
    -- user is also member of 'Everyone'
    SELECT 'EEE00000-0000-0000-0000-123456789EEE';
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION getElementIdsByIdAndGroups(
    v_id UUID,
    v_group_ids TEXT
    )
RETURNS SETOF idUuidType IMMUTABLE
AS $FUNCTION$
BEGIN
    RETURN QUERY
        SELECT *
        FROM fnsplitteruuid(v_group_ids)

        UNION

        SELECT v_id

        UNION

        -- user is also member of 'Everyone'
        SELECT 'EEE00000-0000-0000-0000-123456789EEE';
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
DROP TYPE IF
EXISTS cluster_usage_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE cluster_usage_rs AS (
                                   virtual_cpu_usage INT,
                                   mem_size_mb_usage BIGINT
                                  );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION getNonCountableQutoaVmStatuses()
RETURNS SETOF INT IMMUTABLE
AS $BODY$
BEGIN
RETURN query
    SELECT 0

    UNION ALL

    SELECT 13

    UNION ALL

    SELECT 14

    UNION ALL

    SELECT 15;
    --(Down(0), Suspended(13), ImageIllegal(14), ImageLocked(15))
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION CalculateClusterUsage(
    v_quota_id UUID,
    v_cluster_id UUID
    )
RETURNS SETOF cluster_usage_rs STABLE
AS $FUNCTION$
BEGIN
    RETURN QUERY

    SELECT cast(COALESCE(sum(num_of_sockets * cpu_per_socket), 0) AS INT) AS virtual_cpu_usage,
           COALESCE(sum(mem_size_mb), 0) AS mem_size_mb_usage
    FROM vm_static,
         vm_dynamic
    WHERE quota_id = v_quota_id
        AND vm_dynamic.vm_guid = vm_static.vm_guid
        AND vm_dynamic.status NOT IN (
            SELECT getNonCountableQutoaVmStatuses()
        )
        AND (
            v_cluster_id = vm_static.cluster_id
            OR v_cluster_id IS NULL
        );
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
DROP TYPE IF EXISTS all_cluster_usage_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE all_cluster_usage_rs AS (
    quota_cluster_id uuid,
    quota_id uuid,
    cluster_id uuid,
    cluster_name VARCHAR(40),
    virtual_cpu INT,
    virtual_cpu_usage INT,
    mem_size_mb BIGINT,
    mem_size_mb_usage BIGINT
    );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION calculateAllClusterUsage()
RETURNS SETOF all_cluster_usage_rs STABLE
AS $FUNCTION$
BEGIN
    RETURN QUERY

    SELECT
        quota_limitation.id AS quota_cluster_id,
        quota_limitation.quota_id AS quota_id,
        quota_limitation.cluster_id AS cluster_id,
        cluster.name AS cluster_name,
        quota_limitation.virtual_cpu,
        cast(COALESCE(sum(num_of_sockets * cpu_per_socket * cast(vm_dynamic.status NOT IN (
                            SELECT getNonCountableQutoaVmStatuses()
                            ) AS INT)), 0) AS INT) AS virtual_cpu_usage,
        quota_limitation.mem_size_mb,
        COALESCE(sum(vm_static.mem_size_mb), 0) AS mem_size_mb_usage
    FROM quota_limitation
    LEFT JOIN vm_static
        ON vm_static.quota_id = quota_limitation.quota_id
    LEFT JOIN vm_dynamic
        ON vm_dynamic.vm_guid = vm_static.vm_guid
    LEFT JOIN cluster
        ON cluster.cluster_id = vm_static.cluster_id
    WHERE quota_limitation.virtual_cpu IS NOT NULL
        AND quota_limitation.mem_size_mb IS NOT NULL
    GROUP BY quota_limitation.quota_id,
        quota_limitation.cluster_id,
        cluster_name,
        quota_limitation.virtual_cpu,
        quota_limitation.mem_size_mb,
        vm_static.quota_id,
        cluster.cluster_id,
        vm_static.cluster_id,
        quota_limitation.id;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
DROP TYPE IF EXISTS all_storage_usage_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE all_storage_usage_rs AS (
    quota_storage_id uuid,
    quota_id uuid,
    storage_id uuid,
    storage_name VARCHAR(250),
    storage_size_gb BIGINT,
    storage_size_gb_usage FLOAT
    );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION calculateAllStorageUsage()
RETURNS SETOF all_storage_usage_rs STABLE
AS $FUNCTION$
BEGIN
-- Summarize size of all disks that are active.
    RETURN QUERY

    SELECT
        quota_limitation.id AS quota_storage_id,
        quota_limitation.quota_id AS quota_id,
        quota_limitation.storage_id AS storage_id,
        storage_domain_static.storage_name,
        quota_limitation.storage_size_gb,
        cast(COALESCE(sum(size * cast(active AS INT) + disk_image_dynamic.actual_size * cast((NOT active) AS INT)) / 1073741824, 0) AS FLOAT) AS storage_usage
        -- 1073741824 is 1024^3 (for GB)
    FROM quota_limitation
    LEFT JOIN image_storage_domain_map
        ON quota_limitation.quota_id = image_storage_domain_map.quota_id
    LEFT JOIN images
        ON images.image_guid = image_storage_domain_map.image_id
    LEFT JOIN disk_image_dynamic
        ON images.image_guid = disk_image_dynamic.image_id
    LEFT JOIN storage_domain_static
        ON image_storage_domain_map.storage_domain_id = storage_domain_static.id
    WHERE quota_limitation.storage_size_gb IS NOT NULL
    GROUP BY
        quota_limitation.quota_id,
        storage_id,
        quota_limitation.id,
        storage_domain_static.storage_name,
        quota_limitation.storage_size_gb;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION CalculateStorageUsage(v_quota_id UUID, v_storage_id UUID)
RETURNS double precision STABLE
AS $FUNCTION$
DECLARE
  v_retVal double precision;
BEGIN
  SELECT COALESCE(sum(CASE active WHEN TRUE THEN size ELSE actual_size END) / (1024 * 1024 * 1024),0)
  INTO v_retVal
  FROM images_storage_domain_view
  WHERE quota_id = v_quota_id
    AND (v_storage_id IS NULL
        OR v_storage_id = storage_id);
  RETURN v_retVal;
END; $FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION create_uuid_sequence()
RETURNS void AS $PROCEDURE$
BEGIN
    IF NOT EXISTS (
                   SELECT 1
                   FROM information_schema.sequences
                   WHERE sequence_schema = 'public'
                       AND sequence_name = 'uuid_sequence'
                   ) THEN
                        CREATE sequence uuid_sequence increment BY 1 START WITH 1;
    END IF ;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
SELECT create_uuid_sequence();
**************************

 

********* QUERY **********
DROP FUNCTION create_uuid_sequence();
**************************

DROP FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION uuid_generate_v1()
RETURNS uuid STABLE
AS $PROCEDURE$
DECLARE
    v_val BIGINT;
    v_4_1_part CHAR(4);
    v_4_2_part CHAR(4);
    v_4_3_part CHAR(4);
    v_8_part CHAR(8);
    v_12_part CHAR(12);
    v_4_part_max INT;
BEGIN
    PERFORM setseed(random());

    -- The only part we should use modulo is the 4 digit part, all the
    -- rest are really big numbers (i.e 16^8 - 1 and 16^12 - 1)
    -- The use of round(random() * 1000 is for getting a different id
    -- for DC/Cluster in different installations
    v_4_part_max = 65535;-- this is 16^4 -1

    v_val := nextval('uuid_sequence');
    v_4_1_part := lpad(to_hex((v_val + (round(random() * 1000))::BIGINT)), 4, '0');
    v_4_2_part := lpad(to_hex((v_val + (round(random() * 1000))::BIGINT)), 4, '0');
    v_4_3_part := lpad(to_hex((v_val + (round(random() * 1000))::BIGINT)), 4, '0');

    -- generate this part using the clock timestamp
    v_8_part := lpad(to_hex(cast(FLOOR(EXTRACT(EPOCH FROM clock_timestamp())) as bigint)), 8 , '0');

    v_12_part := lpad(to_hex((v_val + (round(random() * 1000))::BIGINT)), 12, '0');

    RETURN v_8_part || v_4_1_part || v_4_2_part || v_4_3_part || v_12_part;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_get_comparable_ip_list(TEXT)
RETURNS inet [] IMMUTABLE STRICT
AS $PROCEDURE$
BEGIN
    CASE
        WHEN ($1 IS NULL)
        OR ($1 ~ E'^\\s*$')
            THEN RETURN NULL;
        ELSE
            RETURN regexp_split_to_array(trim(both FROM $1), E'\\s+')::inet [];
    END CASE ;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_get_dedicated_hosts_ids_by_vm_id(v_vm_id UUID)
RETURNS TEXT STABLE
AS $FUNCTION$
BEGIN
    RETURN array_to_string(array_agg(vds_id), ',')
    FROM vm_host_pinning_map
    WHERE vm_id = v_vm_id;
END;$FUNCTION$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_get_num_of_vcpus(vm_static)
RETURNS INT IMMUTABLE
AS $PROCEDURE$

BEGIN
    RETURN $1. num_of_sockets * $1. cpu_per_socket * $1. threads_per_cpu;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_column_def TEXT
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ADD COLUMN ' || v_column || ' ' || v_column_def;

        EXECUTE v_sql;
    END;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_drop_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' DROP COLUMN ' || v_column;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_change_column_type (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_type VARCHAR(128),
    v_new_type VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_type
                        OR data_type ilike v_type
                        )
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column || ' TYPE ' || v_new_type;

        EXECUTE v_sql;
    END;

    --- ignore operation if requested type is already there
    ELSIF(NOT EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                    AND (
                        udt_name ilike v_new_type
                        OR data_type ilike v_new_type
                        )
                )) THEN
                    RAISE EXCEPTION 'Table % or Column % does not exist.', v_table, v_column;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_column (
    v_table VARCHAR(128),
    v_column VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                    AND column_name ilike v_column
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME COLUMN ' || v_column || ' TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % or Column % does not exist.',
            v_table,
            v_column;
END

IF ;END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_rename_table (
    v_table VARCHAR(128),
    v_new_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
DECLARE v_sql TEXT;

BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name ilike v_table
                )
            ) THEN
    BEGIN
        v_sql := 'ALTER TABLE ' || v_table || ' RENAME TO ' || v_new_name;

        EXECUTE v_sql;
    END;
    ELSE
        RAISE EXCEPTION 'Table % does not exist.',
            v_table;
END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            INSERT INTO vdc_options (
                option_name,
                option_value,
                version
                )
            VALUES (
                v_option_name,
                v_option_value,
                v_version
                );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value_all_versions (v_option_name VARCHAR(100))
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_value (
    v_option_name VARCHAR(100),
    v_version TEXT
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version IN (
                        SELECT ID
                        FROM fnSplitter(v_version)
                        )
                )
            ) THEN
        BEGIN
            DELETE
            FROM vdc_options
            WHERE option_name ilike v_option_name
                AND version IN (
                    SELECT ID
                    FROM fnSplitter(v_version)
                    );
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_delete_config_for_version (v_version TEXT)
RETURNS void AS $PROCEDURE$
BEGIN
    DELETE
    FROM vdc_options
    WHERE version IN (
            SELECT ID
            FROM fnSplitter(v_version)
            );
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_config_value (
    v_option_name VARCHAR(100),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
        BEGIN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND version = v_version;
        END;
    END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_update_default_config_value (
    v_option_name VARCHAR(100),
    v_default_option_value VARCHAR(4000),
    v_option_value VARCHAR(4000),
    v_version VARCHAR(40),
    v_ignore_default_value_case boolean
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            EXISTS (
                SELECT 1
                FROM vdc_options
                WHERE option_name ilike v_option_name
                    AND version = v_version
                )
            ) THEN
    BEGIN
        IF (v_ignore_default_value_case) THEN
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value ilike v_default_option_value
                AND version = v_version;
        ELSE
            UPDATE vdc_options
            SET option_value = v_option_value
            WHERE option_name ilike v_option_name
                AND option_value = v_default_option_value
                AND version = v_version;
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_rename_config_key (
        v_old_option_name VARCHAR(100),
        v_new_option_name VARCHAR(100),
        v_version VARCHAR(40)
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_current_option_value VARCHAR(4000);

    BEGIN
        IF (
                EXISTS (
                    SELECT 1
                    FROM vdc_options
                    WHERE option_name ilike v_old_option_name
                        AND version = v_version
                    )
                ) THEN
            v_current_option_value:= option_value
            FROM vdc_options
            WHERE option_name ilike v_old_option_name
                AND version = v_version;

            UPDATE vdc_options
            SET option_name = v_new_option_name,
                option_value = v_current_option_value
                WHERE option_name ilike v_old_option_name
                    AND version = v_version;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128),
        v_constraint_sql TEXT
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF NOT EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' ADD CONSTRAINT ' || v_constraint || ' ' || v_constraint_sql;
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_drop_constraint (
        v_table VARCHAR(128),
        v_constraint VARCHAR(128)
        )
    RETURNS void AS $PROCEDURE$

    BEGIN
        IF EXISTS (
                SELECT 1
                FROM pg_constraint
                WHERE conname ilike v_constraint
                ) THEN
            EXECUTE 'ALTER TABLE ' || v_table || ' DROP CONSTRAINT ' || v_constraint || ' CASCADE';
        END IF;

    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION CheckDBConnection ()
    RETURNS SETOF INT IMMUTABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 1;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_functions_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'drop function if exists ' || ns.nspname || '.' || proname || '(' || oidvectortypes(proargtypes) || ') cascade;'
        FROM pg_proc
        INNER JOIN pg_namespace ns
            ON (pg_proc.pronamespace = ns.oid)
        WHERE ns.nspname = 'public'
        ORDER BY proname;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_views_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP VIEW if exists ' || table_name || ' CASCADE;'
        FROM information_schema.VIEWS
        WHERE table_schema = 'public'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_tables_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TABLE if exists ' || table_name || ' CASCADE;'
        FROM information_schema.tables
        WHERE table_schema = 'public'
            AND table_type = 'BASE TABLE'
        ORDER BY table_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_seq_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP SEQUENCE if exists ' || sequence_name || ' CASCADE;'
        FROM information_schema.sequences
        WHERE sequence_schema = 'public'
        ORDER BY sequence_name;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION generate_drop_all_user_types_syntax ()
    RETURNS SETOF TEXT STABLE AS $PROCEDURE$

    BEGIN
        RETURN QUERY

        SELECT 'DROP TYPE if exists ' || c.relname::information_schema.sql_identifier || ' CASCADE;'
        FROM pg_namespace n,
            pg_class c,
            pg_type t
        WHERE n.oid = c.relnamespace
            AND t.typrelid = c.oid
            AND c.relkind = 'c'::"char"
            AND n.nspname = 'public'
        ORDER BY c.relname::information_schema.sql_identifier;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_get_column_size (
        v_table VARCHAR(64),
        v_column VARCHAR(64)
        )
    RETURNS INT STABLE AS $PROCEDURE$

    DECLARE retvalue INT;

    BEGIN
        retvalue := character_maximum_length
        FROM information_schema.columns
        WHERE table_schema = 'public'
            AND table_name ilike v_table
            AND column_name ilike v_column
            AND table_schema = 'public'
            AND udt_name IN (
                'char',
                'varchar'
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION attach_user_to_role (
        v_user_name VARCHAR(255),
        v_domain VARCHAR(255),
        v_namespace VARCHAR(255),
        v_domain_entry_id TEXT,
        v_role_name VARCHAR(255)
        )
    RETURNS void AS $BODY$

    DECLARE selected_user_id uuid;

    input_role_id uuid;

    BEGIN
        SELECT roles.id
        INTO input_role_id
        FROM roles
        WHERE roles.name = v_role_name;

        -- The external identifier is the user identifier converted to an array of
        -- bytes:
        INSERT INTO users (
            user_id,
            external_id,
            namespace,
            name,
            domain,
            username,
            last_admin_check_status
            )
        SELECT uuid_generate_v1(),
            v_domain_entry_id,
            v_namespace,
            v_user_name,
            v_domain,
            v_user_name,
            true
        WHERE NOT EXISTS (
                SELECT 1
                FROM users
                WHERE domain = v_domain
                    AND external_id = v_domain_entry_id
                );

        SELECT user_id
        FROM users
        WHERE domain = v_domain
            AND external_id = v_domain_entry_id
        INTO selected_user_id;

        INSERT INTO permissions (
            id,
            role_id,
            ad_element_id,
            object_id,
            object_type_id
            )
        SELECT uuid_generate_v1(),
            input_role_id,
            selected_user_id,
            getGlobalIds('system'),
            1
        WHERE NOT EXISTS (
                SELECT role_id,
                    ad_element_id,
                    object_id,
                    object_type_id
                FROM permissions
                WHERE role_id = input_role_id
                    AND ad_element_id = selected_user_id
                    AND object_id = getGlobalIds('system')
                    AND object_type_id = 1
                );
    END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_add_action_group_to_role (
        v_role_id UUID,
        v_action_group_id INT
        )
    RETURNS VOID AS $PROCEDURE$

    BEGIN
        INSERT INTO roles_groups (
            role_id,
            action_group_id
            )
        SELECT v_role_id,
            v_action_group_id
        WHERE NOT EXISTS (
                SELECT 1
                FROM roles_groups
                WHERE role_id = v_role_id
                    AND action_group_id = v_action_group_id
                );

        RETURN;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_split_config_value (
        v_option_name VARCHAR,
        v_old_option_value VARCHAR,
        v_new_option_value VARCHAR,
        v_update_from_version VARCHAR
        )
    RETURNS void AS $BODY$

    DECLARE v_old_value VARCHAR(4000);

    v_cur CURSOR
    FOR

    SELECT DISTINCT version
    FROM vdc_options
    WHERE version <> 'general'
    ORDER BY version;

    v_version VARCHAR(40);

    v_index INT;

    v_count INT;

    v_total_count INT;

    v_version_count INT;

    BEGIN
        v_total_count := count(version)
        FROM vdc_options
        WHERE option_name = v_option_name;

        v_old_value := option_value
        FROM vdc_options
        WHERE option_name = v_option_name
            AND version = 'general';

        v_version_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        IF (v_total_count <= v_version_count) THEN
        BEGIN
            IF (v_old_value IS NULL) THEN
                v_old_value := v_old_option_value;
        END IF;
        v_count := count(DISTINCT version)
        FROM vdc_options
        WHERE version <> 'general';

        v_index := 1;

        OPEN v_cur;

        LOOP

            FETCH v_cur
            INTO v_version;

            EXIT when NOT found;

            -- We shouldn't update if already exists
            IF (
                    NOT EXISTS (
                        SELECT 1
                        FROM vdc_options
                        WHERE option_name = v_option_name
                            AND version = v_version
                        )
                    ) THEN
                -- Might not work well for versions such as 3.10, but we currently don't have any
                IF (v_version >= v_update_from_version) THEN
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_new_option_value,
                        v_version
                        );
                ELSE
                    INSERT INTO vdc_options (
                        option_name,
                        option_value,
                        version
                        )
                    VALUES (
                        v_option_name,
                        v_old_value,
                        v_version
                        );
                END IF;

            END IF;
            v_index := v_index + 1;
        END LOOP;

    CLOSE v_cur;

    DELETE
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = 'general';
    END;
END IF;

END;$BODY$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_grant_action_group_to_all_roles_filter (
    v_action_group_id INT,
    uuid []
    )
RETURNS void AS $BODY$

DECLARE v_role_id_to_filter alias
FOR $2;

BEGIN
    INSERT INTO roles_groups (
        role_id,
        action_group_id
        )
    SELECT DISTINCT role_id,
        v_action_group_id
    FROM roles_groups rg
    WHERE NOT ARRAY [role_id] <@ v_role_id_to_filter
        AND NOT EXISTS (
            SELECT 1
            FROM roles_groups
            WHERE role_id = rg.role_id
                AND action_group_id = v_action_group_id
            );
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_mask_object (v_object regclass)
RETURNS setof record AS $BODY$

DECLARE v_sql TEXT;

v_table record;

v_table_name TEXT;

temprec record;

BEGIN
    -- get full table/view name from v_object (i.e <namespace>.<name>)
    SELECT c.relname,
        n.nspname
    INTO v_table
    FROM pg_class c
    INNER JOIN pg_namespace n
        ON c.relnamespace = n.oid
    WHERE c.oid = v_object;

    -- try to get filtered query syntax from previous execution
    IF EXISTS (
            SELECT 1
            FROM object_column_white_list_sql
            WHERE object_name = v_table.relname
            ) THEN
        SELECT sql
        INTO v_sql
        FROM object_column_white_list_sql
        WHERE object_name = v_table.relname;
    ELSE
        v_table_name := quote_ident(v_table.nspname) || '.' || quote_ident(v_table.relname);
        -- compose sql statement while skipping values for columns not defined in object_column_white_list for this table.
    FOR temprec IN
    SELECT a.attname,
        t.typname
    FROM pg_attribute a
    INNER JOIN pg_type t
        ON a.atttypid = t.oid
    WHERE a.attrelid = v_object
        AND a.attnum > 0
        AND NOT a.attisdropped
    ORDER BY a.attnum LOOP v_sql := coalesce(v_sql || ', ', 'SELECT ');

        IF EXISTS (
            SELECT 1
            FROM object_column_white_list
            WHERE object_name = v_table.relname
                AND column_name = temprec.attname
            ) THEN v_sql := v_sql || quote_ident(temprec.attname);
        ELSE
            v_sql := v_sql || 'NULL::' || quote_ident(temprec.typname) || ' as ' || quote_ident(temprec.attname);
        END IF;

    END LOOP;

    v_sql := v_sql || ' FROM ' || v_table_name;

    v_sql := 'SELECT x::' || v_table_name || ' as rec FROM (' || v_sql || ') as x';

    -- save generated query for further use
    INSERT INTO object_column_white_list_sql (
        object_name,
        sql
        )
    VALUES (
        v_table.relname,
        v_sql
        );
    END IF;

    RETURN QUERY

    EXECUTE v_sql;
END;$BODY$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_column_to_object_white_list (
    v_object_name VARCHAR(128),
    v_column_name VARCHAR(128)
    )
RETURNS void AS $PROCEDURE$
BEGIN
    IF (
            NOT EXISTS (
                SELECT 1
                FROM object_column_white_list
                WHERE object_name = v_object_name
                    AND column_name = v_column_name
                )
            ) THEN
    BEGIN
        -- verify that there is such object in db
        IF EXISTS (
                SELECT 1
                FROM information_schema.columns
                WHERE table_schema = 'public'
                    AND table_name = v_object_name
                    AND column_name = v_column_name
                ) THEN
            INSERT INTO object_column_white_list (
                object_name,
                column_name
                )
            VALUES (
                v_object_name,
                v_column_name
                );
        END IF;

    END;
    END IF;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR REPLACE FUNCTION fn_db_is_table_exists (v_table VARCHAR(64))
    RETURNS boolean STABLE AS $PROCEDURE$

    DECLARE retvalue boolean;

    BEGIN
        retvalue := EXISTS (
                SELECT *
                FROM information_schema.tables
                WHERE table_schema = 'public'
                    AND table_name ILIKE v_table
                );

        RETURN retvalue;
    END;$PROCEDURE$
    LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE
        OR replace FUNCTION fn_db_create_index (
        v_index_name VARCHAR(128),
        v_table_name VARCHAR(128),
        v_column_names TEXT,
        v_where_predicate TEXT
        )
    RETURNS void AS $PROCEDURE$

    DECLARE v_sql TEXT;

    BEGIN
        v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE INDEX ' || v_index_name || ' ON ' || v_table_name || '(' || v_column_names || ')';

        IF v_where_predicate = '' THEN v_sql := v_sql || ';';ELSE
            v_sql := v_sql || ' WHERE ' || v_where_predicate || ';';
    END IF;

    EXECUTE v_sql;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_disk (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK INT;

LOCKED INT;

BEGIN
    OK:= 1;

    LOCKED:= 2;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_snapshot (v_id UUID)
RETURNS void AS $PROCEDURE$
DECLARE OK VARCHAR;

LOCKED VARCHAR;

BEGIN
    OK:= 'OK';

    LOCKED:= 'LOCKED';

    UPDATE snapshots
    SET status = OK
    WHERE status = LOCKED
        AND snapshot_id = v_id;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_entity (
    v_object_type VARCHAR(10),
    v_name VARCHAR(255),
    v_recursive boolean
    )
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

v_id UUID;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    v_id := vm_guid
    FROM vm_static
    WHERE vm_name = v_name
        AND entity_type ilike v_object_type;

    -- set VM status to DOWN
    IF (v_object_type = 'vm') THEN
        UPDATE vm_dynamic
        SET status = DOWN
        WHERE status = IMAGE_LOCKED
            AND vm_guid = v_id;
            -- set Template status to OK
    ELSE IF (v_object_type = 'template') THEN
        UPDATE vm_static
        SET template_status = TEMPLATE_OK
        WHERE template_status = TEMPLATE_LOCKED
            AND vm_guid = v_id;
    END IF;

END IF;
 --unlock images and snapshots  if recursive flag is set
IF (v_recursive) THEN
    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED
        AND image_group_id IN (
            SELECT device_id
            FROM vm_device
            WHERE vm_id = v_id
                AND is_plugged
            );

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED
        AND vm_id = v_id;
END IF;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_unlock_all ()
RETURNS void AS $PROCEDURE$
DECLARE DOWN INT;

OK INT;

LOCKED INT;

TEMPLATE_OK INT;

TEMPLATE_LOCKED INT;

IMAGE_LOCKED INT;

SNAPSHOT_OK VARCHAR;

SNAPSHOT_LOCKED VARCHAR;

BEGIN
    DOWN:= 0;

    OK:= 1;

    LOCKED:= 2;

    TEMPLATE_OK:= 0;

    TEMPLATE_LOCKED:= 1;

    IMAGE_LOCKED:= 15;

    SNAPSHOT_OK:= 'OK';

    SNAPSHOT_LOCKED:= 'LOCKED';

    UPDATE vm_static
    SET template_status = TEMPLATE_OK
    WHERE template_status = TEMPLATE_LOCKED;

    UPDATE vm_dynamic
    SET status = DOWN
    WHERE status = IMAGE_LOCKED;

    UPDATE images
    SET imagestatus = OK
    WHERE imagestatus = LOCKED;

    UPDATE snapshots
    SET status = SNAPSHOT_OK
    WHERE status ilike SNAPSHOT_LOCKED;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
/* Displays DC id , DC name, SPM Host id , SPM Host name and number of async tasks awaiting.

1) create a record type with DC name, DC id, SPM host id, SPM host name, count

2) get all distinct DC ids from async_tasks table

3) Run a cursor for each result in 2)

   a) get DC name
   b) get SPM Host id & name if available
   c) get count of tasks

   return current record

4) return set of generated records
*/
DROP TYPE IF EXISTS async_tasks_info_rs CASCADE;
**************************

DROP TYPE
********* QUERY **********
CREATE TYPE async_tasks_info_rs AS (
        dc_id uuid,
        dc_name VARCHAR,
        spm_host_id uuid,
        spm_host_name VARCHAR,
        task_count INT
        );
**************************

CREATE TYPE
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_get_async_tasks ()
RETURNS SETOF async_tasks_info_rs STABLE AS $PROCEDURE$
DECLARE v_record async_tasks_info_rs;

-- selects storage_pool_id uuid found in async_tasks
v_tasks_cursor CURSOR
FOR

SELECT DISTINCT storage_pool_id
FROM async_tasks;

BEGIN
    OPEN v_tasks_cursor;

    FETCH v_tasks_cursor
    INTO v_record.dc_id;

    WHILE FOUND
    LOOP
        -- get dc_name and SPM Host id
        v_record.dc_name := name FROM storage_pool WHERE id = v_record.dc_id;
        v_record.spm_host_id := spm_vds_id
        FROM storage_pool
        WHERE id = v_record.dc_id;

        -- get Host name if we have non NULL SPM Host
        IF (v_record.spm_host_id IS NOT NULL) THEN
            v_record.spm_host_name := vds_name
            FROM vds_static
            WHERE vds_id = v_record.spm_host_id;
        ELSE
            v_record.spm_host_name:= '';
        END IF;
        -- get tasks count for this DC
        v_record.task_count := count(*)
        FROM async_tasks
        WHERE position(cast(v_record.dc_id AS VARCHAR) IN action_parameters) > 0;

        -- return the record
        RETURN NEXT v_record;

        FETCH v_tasks_cursor
    INTO v_record.dc_id;

    END LOOP;

CLOSE v_tasks_cursor;

-- return full set of generated records
RETURN;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_csv_config_value (
    v_option_name VARCHAR(100),
    v_value VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE v VARCHAR [];

e VARCHAR;

v_result VARCHAR;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(option_value, ',')
    FROM vdc_options
    WHERE option_name = v_option_name
        AND version = v_version;
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_value) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

END
LOOP;

    UPDATE vdc_options
    SET option_value = v_result
    WHERE option_name = v_option_name
        AND version = v_version;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_remove_uuid_from_csv (
    v_csv_text TEXT,
    v_uuid uuid
    )
RETURNS TEXT STABLE AS $PROCEDURE$
DECLARE v uuid [];

e uuid;

v_result TEXT;

v_sep VARCHAR(1);

BEGIN
    v_result := '';

    v_sep := '';

    v := string_to_array(v_csv_text, ',');
    FOR

    e IN

    SELECT unnest(v) LOOP

    IF (e != v_uuid) THEN v_result := v_result || v_sep || e;
        v_sep := ',';
    END IF;

    END LOOP;

    IF (v_result = '') THEN v_result := NULL;
    END IF;
    RETURN v_result;
END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
CREATE OR REPLACE FUNCTION fn_db_add_config_value_for_versions_up_to (
    v_option_name VARCHAR(100),
    v_val VARCHAR(4000),
    v_version VARCHAR(40)
    )
RETURNS void AS $PROCEDURE$
DECLARE i INT;

arr VARCHAR [] := array ['3.6', '4.0', '4.1'];

BEGIN
    FOR i IN array_lower(arr, 1)..array_upper(arr, 1) LOOP PERFORM fn_db_add_config_value(v_option_name, v_val, arr [i]);
        EXIT WHEN arr [i] = v_version;
    END LOOP;

END;$PROCEDURE$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
SELECT setval('vdc_options_seq', max(option_id)) FROM vdc_options;
**************************

    946

********* QUERY **********
SELECT setval('custom_actions_seq', max(action_id)) FROM custom_actions;
**************************

       

********* QUERY **********
SELECT setval('vdc_db_log_seq', max(error_id)) FROM vdc_db_log;
**************************

       

********* QUERY **********
SELECT setval('audit_log_seq', max(audit_log_id)) FROM audit_log;
**************************

 375975

********* QUERY **********
SELECT setval('schema_version_seq', max(id)) FROM schema_version;
**************************

    425

********* QUERY **********
/************************************************************************************
                DATABASE APPLICATION CONFIGURATION FILE

This file is used to update the vdc_options configuration table.
The following sections are available:
    Add Section
    Update section (w/o overriding current value)
    Delete section - Deprecated, all config key removals should be done in an upgrade script!
    Split config section
    Simple upgrades not available using a fn_db* function call
    Complex upgrades using temporary functions

In each section (except simple/function sections), entries are ordered by key,
please keep this when modifying this file.

PLEASE NOTE THAT THIS SCRIPT MUST REMAIN RE-ENTRANT!

************************************************************************************/



select fn_db_rename_config_key('AuditLogAgingThreashold', 'AuditLogAgingThreshold', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('ClientConsoleModeDefault', 'ClientModeSpiceDefault', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('PowerClientAutoApprovePatterns','AutoApprovePatterns','general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('PowerClientAutoRegistrationDefaultClusterID','AutoRegistrationDefaultClusterID','general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('PowerClientAutoInstallCertificateOnApprove','AutoInstallCertificateOnApprove','general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('UseSecureConnectionWithServers', 'EncryptHostCommunication', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('SpiceReleaseCursorKeys', 'ConsoleReleaseCursorKeys', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('SpiceToggleFullScreenKeys', 'ConsoleToggleFullScreenKeys', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('SSHInactivityTimoutSeconds', 'SSHInactivityTimeoutSeconds', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('SSHInactivityHardTimoutSeconds', 'SSHInactivityHardTimeoutSeconds', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('StorageDomainFalureTimeoutInMinutes', 'StorageDomainFailureTimeoutInMinutes', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('VdsLoadBalancingeIntervalInMinutes', 'VdsLoadBalancingIntervalInMinutes', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('VdsRecoveryTimeoutInMintues', 'VdsRecoveryTimeoutInMinutes', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('UknownTaskPrePollingLapse', 'UnknownTaskPrePollingLapse', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('DefaultMtu', 'DefaultMTU', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('ManagementNetwork', 'DefaultManagementNetwork', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('FreeSpaceCriticalLowInGB','CriticalSpaceActionBlocker', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('FreeSpaceLow', 'WarningLowSpaceIndicator', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('BootstrapMinimalVdsmVersion','4.9','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CpuPinMigrationEnabled','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AdminDomain','internal','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AffinityRulesEnforcementManagerEnabled', 'true', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AffinityRulesEnforcementManagerRegularInterval', '1', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AgentAppName','ovirt-guest-agent-common,ovirt-guest-agent','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AllowClusterWithVirtGlusterEnabled','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AllowDuplicateMacAddresses','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ApplicationMode','255','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncCommandPollingLoopInSeconds','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncCommandPollingRateInSeconds','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncTaskPollingRate','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncTaskStatusCacheRefreshRateInSeconds','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncTaskStatusCachingTimeInMinutes','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AsyncTaskZombieTaskLifeInMinutes','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AuditLogAgingThreshold','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AuditLogCleanupTime','03:35:35','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CoCoLifeInMinutes','3000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CoCoWaitForEventInMinutes','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CommandCoordinatorThreadPoolSize','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CommandEntityAgingThreshold','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CommandEntityCleanupTime','03:35:35','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OnlyRequiredNetworksMandatoryForVdsSelection','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoApprovePatterns','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoInstallCertificateOnApprove','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoRecoverySchedule','0 0/5 * * * ?','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoRegistrationDefaultClusterID','99408929-82CF-4DC7-A532-9D998063FA95','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoRepoDomainRefreshTime','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('BlockMigrationOnSwapUsagePercentage','0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CipherSuite','DEFAULT','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ConnectToServerTimeoutInSeconds','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('ClusterEmulatedMachines','pc-i440fx-rhel7.2.0,pc-i440fx-2.1,pseries-rhel7.2.0','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CpuOverCommitDurationMinutes','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DataDir','/usr/share/engine','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DBEngine','Postgres','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DebugTimerLogging','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMaxThreadPoolSize','500','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMinThreadPoolSize','50','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMaxThreadWaitQueueSize','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultWindowsTimeZone','GMT Standard Time','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultGeneralTimeZone','Etc/GMT','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultWorkgroup','WORKGROUP','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DisableFenceAtStartupInSec','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PopulateDirectLUNDiskDescriptionWithLUNId','4','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableHostTimeDrift','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RemoteViewerSupportedVersions','rhev-win64:2.0-128;rhev-win32:2.0-128;rhel7:2.0-6;rhel6:2.0-14','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RemoteViewerNewerVersionUrl','${console_client_resources_url}','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableSpiceRootCertificateValidation','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableSwapCheck','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableUSBAsDefault','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableVdsLoadBalancing','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('BackupCheckPeriodInHours','6','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('BackupAlertPeriodInDays','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EngineMode','Active','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FailedJobCleanupTimeInMinutes','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceAgentDefaultParams','drac7:privlvl=OPERATOR,lanplus,delay=10;ilo3:lanplus,power_wait=4;ilo4:lanplus,power_wait=4','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomFenceAgentDefaultParams','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceAgentDefaultParamsForPPC','ilo3:lanplus=1,cipher=1,privlvl=administrator,power_wait=4;ilo4:ilanplus=1,cipher=1,privlvl=administrator,power_wait=4;ipmilan:lanplus=1,cipher=1,privlvl=administrator,power_wait=4','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomFenceAgentDefaultParamsForPPC','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomFenceAgentMapping','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomFencePowerWaitParam','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceProxyDefaultPreferences','cluster,dc','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceQuietTimeBetweenOperationsInSec','180','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceStartStatusDelayBetweenRetriesInSec','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceStartStatusRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceStopStatusDelayBetweenRetriesInSec','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceStopStatusRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FencePowerWaitParam','apc=power_wait,apc_snmp=power_wait,bladecenter=power_wait,cisco_ucs=power_wait,drac5=power_wait,drac7=power_wait,eps=delay,hpblade=power_wait,ilo=power_wait,ilo2=power_wait,ilo3=power_wait,ilo4=power_wait,ipmilan=power_wait,rsa=power_wait,rsb=power_wait,wti=power_wait','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FindFenceProxyDelayBetweenRetriesInSec','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FindFenceProxyRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CriticalSpaceActionBlocker','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WarningLowSpaceIndicator','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateHooks', '7200', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateLight', '5', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateHeavy', '300', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateStorageDevices', '7200', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterVolumeOptionGroupVirtValue','virt','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterVolumeOptionOwnerUserVirtValue','36','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterVolumeOptionOwnerGroupVirtValue','36','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateTasks', '60', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterPeerStatusRetries', '2', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterTaskMinWaitForCleanupInMins', '10', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateHealInfo', '600', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterUnSyncedEntriesHistoryLimit', '40', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('GlusterSelfHealMonitoringSupported', 'false', '3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateGeoRepDiscoveryInSecs', '3600', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateGeoRepStatusInSecs', '300', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterRefreshRateSnapshotDiscovery', '300', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterMetaVolumeName', 'gluster_shared_storage', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterStorageDeviceListMountPointsToIgnore','/,/home,/boot,/run/gluster/snaps/.*','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterStorageDeviceListFileSystemTypesToIgnore','swap','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlusterDefaultBrickMountPoint','/gluster-bricks','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('KeystoneAuthUrl', '', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GuestToolsSetupIsoPrefix','ovirt-guest-tools-','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HighUtilizationForEvenlyDistribute','75','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HighUtilizationForPowerSave','75','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostPreparingForMaintenanceIdleTime', '300', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostTimeDriftInSec','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('HotPlugCpuSupported', '{"x86_64":"false","ppc64":"false"}', '3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('HotPlugCpuSupported', '{"x86_64":"true","ppc64":"false"}', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('HotUnplugCpuSupported', '{"x86_64":"false","ppc64":"false"}', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HotPlugMemorySupported', '{"x86_64":"true","ppc64":"false"}', '3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('HotUnplugMemorySupported', '{"x86_64":"false","ppc64":"false"}', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxMemorySlots','16','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HotPlugMemoryMultiplicationSizeMb','256','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IsMigrationSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IsSuspendSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DisconnectPoolOnReconstruct','0,2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OsRepositoryConfDir','/osinfo.conf.d','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IterationsWithBalloonProblem','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultSysprepLocale','en_US','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('DataOperationsByHSM', 'false', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('ClusterRequiredRngSourcesDefault', 'RANDOM', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostDevicePassthroughCapabilities', 'pci,scsi,usb_device', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PackageNamesForCheckUpdate','vdsm,vdsm-cli','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UserPackageNamesForCheckUpdate','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostPackagesUpdateTimeInHours','24','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvirtNodePackageNamesForCheckUpdate','ovirt-node-ng-image-update','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CertificationValidityCheckTimeInHours','24','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxIoThreadsPerVm','127','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DisplayUncaughtUIExceptions', 'true', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpiceProxyDefault','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RemapCtrlAltDelDefault','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('MigrationPoliciesSupported', 'false', '3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value('InstallVds','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IoOpTimeoutSec','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IPTablesConfig',
'# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
# vdsm
-A INPUT -p tcp --dport @VDSM_PORT@ -j ACCEPT
# ovirt-imageio-daemon
-A INPUT -p tcp --dport 54322 -j ACCEPT
# libvirt tls
-A INPUT -p tcp --dport 16514 -j ACCEPT
# SSH
-A INPUT -p tcp --dport @SSH_PORT@ -j ACCEPT
# guest consoles
-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT
# migration
-A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
# snmp
-A INPUT -p udp --dport 161 -j ACCEPT
# Reject any other input traffic
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -m physdev ! --physdev-is-bridged -j REJECT --reject-with icmp-host-prohibited
COMMIT
','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IPTablesConfigForGluster',
'
# glusterd
-A INPUT -p tcp -m tcp --dport 24007 -j ACCEPT

# gluster swift
-A INPUT -p tcp -m tcp --dport 8080  -j ACCEPT

# portmapper
-A INPUT -p udp -m udp --dport 111   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38465 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38466 -j ACCEPT

# nfs
-A INPUT -p tcp -m tcp --dport 38467 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 2049  -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38469 -j ACCEPT

# nrpe
-A INPUT -p tcp --dport 5666 -j ACCEPT

# status
-A INPUT -p tcp -m tcp --dport 39543 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 55863 -j ACCEPT

# nlockmgr
-A INPUT -p tcp -m tcp --dport 38468 -j ACCEPT
-A INPUT -p udp -m udp --dport 963   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 965   -j ACCEPT

# ctdbd
-A INPUT -p tcp -m tcp --dport 4379  -j ACCEPT

# smbd
-A INPUT -p tcp -m tcp --dport 139   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 445   -j ACCEPT

# Ports for gluster volume bricks (default 100 ports)
# Needed for gluster < 3.4.0 that may be still handled by the engine
-A INPUT -p tcp -m tcp --dport 24009:24108 -j ACCEPT

# Ports for gluster volume bricks in Hyper Converged setup(default 100 ports)
-A INPUT -p tcp -m tcp --dport 49217:49316 -j ACCEPT
','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IPTablesConfigForVirt',
'
# libvirt tls
-A INPUT -p tcp --dport 16514 -j ACCEPT

# serial consoles
-A INPUT -p tcp -m multiport --dports 2223 -j ACCEPT

# guest consoles
-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT

# migration
-A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('Ipv6Supported', 'false', '4.0');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('VirtIOScsiIOThread', 'false', '4.0');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IPTablesConfigSiteCustom','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IsMultilevelAdministrationOn','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('JobCleanupRateInMinutes','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('JobPageSize','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LeaseRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LeaseTimeSec','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LicenseCertificateFingerPrint','5f 38 41 89 b1 33 49 0c 24 13 6b b3 e5 ba 9e c7 fd 83 80 3b','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LockPolicy','ON','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LockRenewalIntervalSec','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogPhysicalMemoryThresholdInMB','1024','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogSwapMemoryThresholdInMB','1024','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LowUtilizationForEvenlyDistribute','0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LowUtilizationForPowerSave','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MacPoolRanges','00:1A:4A:16:01:51-00:1A:4A:16:01:e6','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ManagedDevicesWhiteList','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultManagementNetwork','ovirtmgmt','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxAuditLogMessageLength','10000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxBlockDiskSize','8192','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxMacsCountInPool','100000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxNumberOfHostsInStoragePool','250','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('MaxNumOfCpuPerSocket', '16', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('MaxNumOfThreadsPerCpu', '8', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('MaxNumOfVmCpus', '240', '4.0');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxNumOfVmCpus', '288', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('MaxNumOfVmSockets', '16', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxRerunVmOnVdsCount','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxStorageVdsDelayCheckSec','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxStorageVdsTimeoutCheckSec','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVdsMemOverCommit','200','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVdsMemOverCommitForServers','150','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVdsNameLength','255','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVmNameLengthNonWindows','64','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVmNameLengthWindows','15','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxVmsInPool','1000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MinimalETLVersion','3.0.0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('NicDHCPDelayGraceInMS','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('NumberOfFailedRunsOnVds','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('NumberOfUSBSlots','4','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('NumberVmRefreshesBeforeSave','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EnableMACAntiSpoofingFilterRules','true', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxSchedulerWeight','1000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpeedOptimizationSchedulingThreshold','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SchedulerAllowOverBooking','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SchedulerOverBookingThreshold','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadFileMaxTimeInMinutes','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RetrieveDataMaxTimeInMinutes','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StorageDomainOvfStoreCount','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxImagesInChain','90','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OrganizationName','oVirt','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OriginType','OVIRT','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvfVirtualSystemType','ENGINE','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvirtInitialSupportedIsoVersion','2.5.5:5.8','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvirtIsoPrefix','^ovirt-node-iso-([0-9].*)\.iso$:^rhevh-([0-9].*)\.iso$','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvirtNodeOS','^ovirt.*$:^rhev.*$','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('oVirtISOsRepositoryPath','/usr/share/ovirt-node-iso:/usr/share/rhev-hypervisor','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('oVirtUpgradeScriptName','/usr/share/vdsm-reg/vdsm-upgrade','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('oVirtUploadPath','/data/updates/ovirt-node-image.iso','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvfUpdateIntervalInMinutes','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OvfItemsCountPerUpdate','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PayloadSize','8192','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PMHealthCheckEnabled','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PMHealthCheckIntervalInSec','3600','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PostgresI18NPrefix','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PostgresLikeSyntax','ILIKE','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PostgresPagingSyntax',E' OFFSET (%1$s -1) LIMIT %2$s','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PostgresPagingType','Offset','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PostgresSearchTemplate',E'SELECT * FROM (%2$s) %1$s) as T1 %3$s','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('PredefinedVMProperties', 'sap_agent=^(true|false)$;sndbuf=^[0-9]+$;vhost=^(([a-zA-Z0-9_]*):(true|false))(,(([a-zA-Z0-9_]*):(true|false)))*$;viodiskcache=^(none|writeback|writethrough)$', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ProductRPMVersion','3.0.0.0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QuotaGraceStorage','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QuotaGraceCluster','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QuotaThresholdStorage','80','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QuotaThresholdCluster','80','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RhevhLocalFSPath','/data/images/','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SANWipeAfterDelete','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SearchResultsLimit','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SendSMPOnRunVm','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('ServerCPUList','3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 8:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 3:IBM POWER8:powernv,model_power8:power8:ppc64;','3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('ServerCPUList', '3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 9:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ServerRebootTimeout','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SetupNetworksPollingTimeout','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SignCertTimeoutInSeconds','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpiceDriverNameInGuest','RHEV-Spice','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ConsoleReleaseCursorKeys','shift+f12','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ConsoleToggleFullScreenKeys','shift+f11','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpiceUsbAutoShare','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FullScreenWebadminDefault','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FullScreenUserportalBasicDefault','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FullScreenUserportalExtendedDefault','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WANDisableEffects','animation','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WANColorDepth','16','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpmCommandFailOverRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SPMFailOverAttempts','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HsmCommandFailOverRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SpmVCpuConsumption','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SSHInactivityTimeoutSeconds','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SSHInactivityHardTimeoutSeconds','1800','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SSLEnabled','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StorageDomainFailureTimeoutInMinutes','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StorageDomainNameSizeLimit','50','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StoragePoolNameSizeLimit','40','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StoragePoolNonOperationalResetTimeoutInMin','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('StoragePoolRefreshTimeInSeconds','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostStorageConnectionAndPoolRefreshTimeInSeconds','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SucceededJobCleanupTimeInMinutes','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SupportedClusterLevels','3.0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SupportedVDSMVersions','4.9,4.10,4.11,4.12,4.13,4.14','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SysPrepDefaultPassword','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SysPrepDefaultUser','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ThrottlerMaxWaitForVdsUpdateInMillis','10000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('TimeoutToResetVdsInSeconds','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DelayResetForSpmInSeconds','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DelayResetPerVmInSeconds','0.5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EncryptHostCommunication','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsmSSLProtocol','TLSv1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ExternalCommunicationProtocol','TLSv1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsRequestQueueName','jms.topic.vdsm_requests','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsResponseQueueName','jms.topic.vdsm_responses','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IrsRequestQueueName','jms.topic.vdsm_irs_requests','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IrsResponseQueueName','jms.topic.vdsm_irs_responses','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EventQueueName','jms.queue.events','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('EventProcessingPoolSize','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('TimeToReduceFailedRunOnVdsInMinutes','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UnknownTaskPrePollingLapse','60000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UserSessionHardLimit','600','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('UserDefinedVMProperties', '','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UserSessionTimeOutInterval','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UtilizationThresholdInPercent','80','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ValidNumOfMonitors','1,2,4','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VcpuConsumptionPercentage','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdcVersion','3.0.0.0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VDSAttemptsToResetCount','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsCertificateValidityInYears','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('vdsConnectionTimeout','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsMaxConnectionsPerHost','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('IrsMaxConnectionsPerHost','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxTotalConnections','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('VdsFenceOptionMapping','apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port,encrypt_options=encrypt_options;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=secure,slot=port;drac7:;eps:slot=port;hpblade:port=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomVdsFenceOptionMapping','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsFenceOptions','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsFenceOptionTypes','encrypt_options=bool,secure=bool,port=int,slot=int','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('VdsFenceType','apc,apc_snmp,bladecenter,cisco_ucs,drac5,drac7,eps,hpblade,ilo,ilo2,ilo3,ilo4,ipmilan,rsa,rsb,wti','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CustomVdsFenceType','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('vdsHeartbeatInSeconds','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsLoadBalancingIntervalInMinutes','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsLocalDisksCriticallyLowFreeSpace','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsLocalDisksLowFreeSpace','500','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsRecoveryTimeoutInMinutes','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsRefreshRate','2','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('vdsRetries','0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ProtocolFallbackRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ProtocolFallbackTimeoutInMilliSeconds','5000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('vdsTimeout','180','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VM32BitMaxMemorySizeInMB','20480','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('VM64BitMaxMemorySizeInMB','4194304','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('VMPpc64BitMaxMemorySizeInMB','1048576','4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmGracefulShutdownMessage','System Administrator has initiated shutdown of this Virtual Machine. Virtual Machine is shutting down.','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmGracefulShutdownTimeout','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmPoolMaxSubsequentFailures','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmPoolMonitorBatchSize','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmPoolMonitorIntervalInMinutes','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmPoolMonitorMaxAttempts','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VmPriorityMaxValue','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoStartVmsRunnerIntervalInSeconds','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('RetryToRunAutoStartVmIntervalInSeconds','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxNumOfTriesToRunFailedAutoStartVm','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DelayToRunAutoStartVmIntervalInSeconds','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxNumOfSkipsBeforeAutoStartVm','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VncKeyboardLayout','en-us','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VncKeyboardLayoutValidValues','ar,da,de,de-ch,en-gb,en-us,es,et,fi,fo,fr,fr-be,fr-ca,fr-ch,hr,hu,is,it,ja,lt,lv,mk,nl,nl-be,no,pl,pt,pt-br,ru,sl,sv,th,tr','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WaitForVdsInitInSec','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('NetworkConnectivityCheckTimeoutInSeconds','120','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoRecoveryAllowedTypes','{"storage domains":"true","hosts":"true"}','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ClientModeSpiceDefault','Native','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ClientModeVncDefault','Native','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ClientModeRdpDefault','Auto','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UseFqdnForRdpIfAvailable','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WebSocketProxy','Off','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('WebSocketProxyTicketValiditySeconds','120','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMaxPhysicalMemoryUsedThresholdInPercentage', '95', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMaxSwapMemoryUsedThresholdInPercentage', '95', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMaxCpuUsedThresholdInPercentage', '95', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMaxNetworkUsedThresholdInPercentage', '95', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMinFreeSwapThresholdInMB', '256', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('LogMaxSwapUsedThresholdInPercentage', '95', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('CustomDeviceProperties', '{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}, *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}}', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('PreDefinedNetworkCustomProperties', $q$bridge_opts=^[^\s=]+=[^\s=]+(\s+[^\s=]+=[^\s=]+)*$$q$, '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('UserDefinedNetworkCustomProperties', '', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('SshSoftFencingCommand', '/usr/bin/vdsm-tool service-restart vdsmd', '4.1');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SecureConnectionWithOATServers','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('PollUri','AttestationService/resources/PollHosts','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AttestationTruststore','TrustStore.jks','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AttestationPort','8443','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AttestationTruststorePass','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AttestationServer','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AttestationFirstStageSize','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxAverageNetworkQoSValue','1024','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxPeakNetworkQoSValue','2048','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxBurstNetworkQoSValue','10240','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MaxHostNetworkQosShares', '100', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSInboundAverageDefaultValue','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSInboundPeakDefaultValue','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSInboundBurstDefaultValue','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSOutboundAverageDefaultValue','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSOutboundPeakDefaultValue','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('QoSOutboundBurstDefaultValue','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ExternalSchedulerServiceURL','http://localhost:18781/','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ExternalSchedulerConnectionTimeout','100','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ExternalSchedulerEnabled','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ExternalSchedulerResponseTimeout','120000','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DwhHeartBeatInterval', '30', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DisconnectDwh', '0', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlanceImageListSize','20','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('GlanceImageTotalListSize','500','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('OverUtilizationForHaReservation','200','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ScaleDownForHaReservation','1','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('VdsHaReservationIntervalInMinutes','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMaximumMigrationDowntime','0','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultSerialNumberPolicy','HOST_ID','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultCustomSerialNumber','Dummy serial number.','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMTU', '1500', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceKdumpDestinationAddress','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceKdumpDestinationPort','7410','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceKdumpMessageInterval','5','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('FenceKdumpListenerTimeout','90','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('KdumpStartedTimeout','30','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AlertOnNumberOfLVs','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CSRFProtection','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CORSSupport','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('CORSAllowedOrigins','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UsageHistoryLimit','40', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostStorageLeaseAliveCheckingInterval', '90', 'general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('SupportNUMAMigration','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UnsupportedLocalesFilter','','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultAutoConvergence','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('DefaultMigrationCompression','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('MigrationPolicies','[{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827b"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":true,"enableGuestEvents":true,"name":"Safe but not may not converge","description":"A safe policy which in typical situations lets the VM converge. The user of the VM should not notice any significant slowdown of the VM. If the VM is not converging for a longer time, the migration will be aborted.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}},{"stallingLimit":3,"convergenceItem":{"action":"setDowntime","params":["300"]}},{"stallingLimit":4,"convergenceItem":{"action":"setDowntime","params":["400"]}},{"stallingLimit":6,"convergenceItem":{"action":"setDowntime","params":["500"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"abort","params":[]}]}},{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827c"},"maxMigrations":1,"autoConvergence":true,"migrationCompression":true,"enableGuestEvents":true,"name":"Should converge but guest may notice a pause","description":"A safe policy which makes also a highly loaded VM converge in most situations. On the other hand, the user may notice a slowdown. If the VM is still not converging, the migration is aborted.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}},{"stallingLimit":3,"convergenceItem":{"action":"setDowntime","params":["300"]}},{"stallingLimit":4,"convergenceItem":{"action":"setDowntime","params":["400"]}},{"stallingLimit":6,"convergenceItem":{"action":"setDowntime","params":["500"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"setDowntime","params":["5000"]},{"action":"abort","params":[]}]}}]','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('SriovHotPlugSupported','false','3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostedEngineVmName','HostedEngine','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AutoImportHostedEngine','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('AllowEditingHostedEngine','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HostedEngineConfigDiskSizeInBytes','20480','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageProxyAddress','localhost:54323','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageProxySSLEnabled','true','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageDaemonPort','54322','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageTransferClientTicketValidityInSeconds','3600','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageTransferHostTicketValidityInSeconds','300','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageTransferHostTicketRefreshAllowanceInSeconds','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('ImageTransferPausedLogIntervalInSeconds','1800','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadImageUiInactivityTimeoutInSeconds','60','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadImageChunkSizeKB','8192','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadImageXhrTimeoutInSeconds','10','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadImageXhrRetryIntervalInSeconds','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value('UploadImageXhrMaxRetries','3','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('AdPartnerMacSupported','false','3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('OvsSupported','false','3.6');
**************************

 

********* QUERY **********
select fn_db_add_config_value('HystrixMonitoringEnabled','false','general');
**************************

 

********* QUERY **********
select fn_db_add_config_value_for_versions_up_to('GetNamesOfVmsFromExternalProviderSupported', 'false', '4.0');
**************************

 

********* QUERY **********
select fn_db_update_config_value('AutoRecoveryAllowedTypes','{"storage domains":"true","hosts":"true"}','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('BootstrapMinimalVdsmVersion','4.9','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('DBEngine','Postgres','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('DefaultTimeZone','(GMT) GMT Standard Time','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceAgentDefaultParams','drac7:privlvl=OPERATOR,lanplus=1,delay=10;ilo3:power_wait=4;ilo4:power_wait=4;ilo_ssh:secure=1','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceAgentDefaultParamsForPPC','ilo3:cipher=1,privlvl=administrator,power_wait=4,retry_on=2;ilo4:cipher=1,privlvl=administrator,power_wait=4,retry_on=2;ipmilan:lanplus=1,cipher=1,privlvl=administrator,power_wait=4,retry_on=2;ilo_ssh:secure=1','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceStartStatusDelayBetweenRetriesInSec','10','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceStartStatusRetries','18','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceStopStatusDelayBetweenRetriesInSec','10','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FenceStopStatusRetries','18','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('FencePowerWaitParam','apc=power_wait,apc_snmp=power_wait,bladecenter=power_wait,cisco_ucs=power_wait,drac5=power_wait,drac7=power_wait,eps=delay,hpblade=power_wait,ilo=power_wait,ilo2=power_wait,ilo3=power_wait,ilo4=power_wait,ilo_ssh=power_wait,ipmilan=power_wait,rsa=power_wait,rsb=power_wait,wti=power_wait','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('MigrationPolicies','[{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827b"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":true,"enableGuestEvents":true,"name":"Minimal downtime","description":"A policy that lets the VM migrate in typical situations. The VM should not experience any significant downtime. If the VM migration is not converging for a long time, the migration will be aborted. The guest agent hook mechanism is enabled.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}},{"stallingLimit":3,"convergenceItem":{"action":"setDowntime","params":["300"]}},{"stallingLimit":4,"convergenceItem":{"action":"setDowntime","params":["400"]}},{"stallingLimit":6,"convergenceItem":{"action":"setDowntime","params":["500"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"abort","params":[]}]}},{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827c"},"maxMigrations":1,"autoConvergence":true,"migrationCompression":true,"enableGuestEvents":true,"name":"Suspend workload if needed","description":"A policy that lets the VM migrate in most situations, including VMs running heavy workloads. On the other hand, the VM may experience a more significant downtime. The migration may still be aborted for extreme workloads. The guest agent hook mechanism is enabled.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}},{"stallingLimit":3,"convergenceItem":{"action":"setDowntime","params":["300"]}},{"stallingLimit":4,"convergenceItem":{"action":"setDowntime","params":["400"]}},{"stallingLimit":6,"convergenceItem":{"action":"setDowntime","params":["500"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"setDowntime","params":["5000"]},{"action":"abort","params":[]}]}}]','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IPTablesConfig','
# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
# vdsm
-A INPUT -p tcp --dport @VDSM_PORT@ -j ACCEPT
# ovirt-imageio-daemon
-A INPUT -p tcp --dport 54322 -j ACCEPT
# rpc.statd
-A INPUT -p tcp --dport 111 -j ACCEPT
-A INPUT -p udp --dport 111 -j ACCEPT
# SSH
-A INPUT -p tcp --dport @SSH_PORT@ -j ACCEPT
# snmp
-A INPUT -p udp --dport 161 -j ACCEPT
# Cockpit
-A INPUT -p tcp --dport 9090 -j ACCEPT

@CUSTOM_RULES@

# Reject any other input traffic
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -m physdev ! --physdev-is-bridged -j REJECT --reject-with icmp-host-prohibited
COMMIT
','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IPTablesConfigForGluster',
'
# glusterd
-A INPUT -p tcp -m tcp --dport 24007 -j ACCEPT

# gluster swift
-A INPUT -p tcp -m tcp --dport 8080  -j ACCEPT

# portmapper
-A INPUT -p tcp -m tcp --dport 38465 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38466 -j ACCEPT

# nfs
-A INPUT -p tcp -m tcp --dport 38467 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 2049  -j ACCEPT
-A INPUT -p tcp -m tcp --dport 38469 -j ACCEPT

# nrpe
-A INPUT -p tcp --dport 5666 -j ACCEPT

# status
-A INPUT -p tcp -m tcp --dport 39543 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 55863 -j ACCEPT

# nlockmgr
-A INPUT -p tcp -m tcp --dport 38468 -j ACCEPT
-A INPUT -p udp -m udp --dport 963   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 965   -j ACCEPT

# ctdbd
-A INPUT -p tcp -m tcp --dport 4379  -j ACCEPT

# smbd
-A INPUT -p tcp -m tcp --dport 139   -j ACCEPT
-A INPUT -p tcp -m tcp --dport 445   -j ACCEPT

# Ports for gluster volume bricks (default 100 ports)
# Needed for Gluster < 3.4.0 compatibility
-A INPUT -p tcp -m tcp --dport 24009:24108 -j ACCEPT

# Ports required for GlusterFS brick processes have changed in
# glusterfs 3.4.0 from 24009 onwards to 49152 onwards.
-A INPUT -p tcp -m tcp --dport 49152:49251 -j ACCEPT

# Ports for gluster volume bricks in Hyper Converged setup(default 100 ports)
-A INPUT -p tcp -m tcp --dport 49217:49316 -j ACCEPT

','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IPTablesConfigForVirt',
'
# libvirt tls
-A INPUT -p tcp --dport 16514 -j ACCEPT

# serial consoles
-A INPUT -p tcp -m multiport --dports 2223 -j ACCEPT

# guest consoles
-A INPUT -p tcp -m multiport --dports 5900:6923 -j ACCEPT

# migration
-A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT
', 'general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IsMultilevelAdministrationOn','true','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('MinimalETLVersion','4.1.0','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('OvirtInitialSupportedIsoVersion','2.5.5:5.8','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('OvirtIsoPrefix','^ovirt-node-iso-([0-9].*)\.iso$:^rhevh-([0-9].*)\.iso$','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('OvirtNodeOS','^ovirt.*$:^rhev.*$','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('oVirtISOsRepositoryPath','/usr/share/ovirt-node-iso:/usr/share/rhev-hypervisor','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('PackageNamesForCheckUpdate','ioprocess,mom,libvirt-client,libvirt-daemon-config-nwfilter,libvirt-daemon-kvm,libvirt-lock-sanlock,libvirt-python,lvm2,ovirt-imageio-common,ovirt-imageio-daemon,ovirt-vmconsole,ovirt-vmconsole-host,python-ioprocess,qemu-kvm,qemu-img,sanlock,vdsm,vdsm-cli','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('PostgresPagingSyntax','OFFSET (%1$s -1) LIMIT %2$s','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('PostgresSearchTemplate','SELECT * FROM (%2$s) %1$s) as T1 %3$s','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('RhevhLocalFSPath','/data/images/rhev','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('ClusterEmulatedMachines','pc-i440fx-rhel7.2.0,pc-i440fx-2.1,pseries-rhel7.2.0','3.6');
**************************

 

********* QUERY **********
select fn_db_update_config_value('SpiceDriverNameInGuest','{"windows": "RHEV-Spice", "linux" : "xorg-x11-drv-qxl" }','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('SupportedClusterLevels','3.6,4.0,4.1','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('SupportedStorageFormats','0,2,3','3.6,4.0,4.1');
**************************

 

********* QUERY **********
select fn_db_update_config_value('SupportedVDSMVersions','4.17,4.18','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdcVersion','4.1.0.0','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('ProductRPMVersion','4.1.0.0','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceOptionMapping','apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port,encrypt_options=encrypt_options;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=secure,slot=port;drac7:;eps:slot=port;hpblade:port=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;ilo_ssh:port=port;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port','3.6');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceOptionMapping','apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port,encrypt_options=encrypt_options;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=secure,slot=port;drac7:;eps:slot=port;hpblade:port=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;ilo_ssh:port=port;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port','4.0');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceOptionMapping','apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port,encrypt_options=encrypt_options;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=secure,slot=port;drac7:;eps:slot=port;hpblade:port=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;ilo_ssh:port=port;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port','4.1');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceType','apc,apc_snmp,bladecenter,cisco_ucs,drac5,drac7,eps,hpblade,ilo,ilo2,ilo3,ilo4,ilo_ssh,ipmilan,rsa,rsb,wti','3.6');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceType','apc,apc_snmp,bladecenter,cisco_ucs,drac5,drac7,eps,hpblade,ilo,ilo2,ilo3,ilo4,ilo_ssh,ipmilan,rsa,rsb,wti','4.0');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsFenceType','apc,apc_snmp,bladecenter,cisco_ucs,drac5,drac7,eps,hpblade,ilo,ilo2,ilo3,ilo4,ilo_ssh,ipmilan,rsa,rsb,wti','4.1');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VdsRefreshRate','3','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VmGracefulShutdownMessage','System Administrator has initiated shutdown of this Virtual Machine. Virtual Machine is shutting down.','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('DisconnectPoolOnReconstruct','0,2,3','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('AgentAppName','ovirt-guest-agent-common,ovirt-guest-agent','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VM64BitMaxMemorySizeInMB','4194304','3.6');
**************************

 

********* QUERY **********
select fn_db_update_config_value('VM64BitMaxMemorySizeInMB','4194304','4.0');
**************************

 

********* QUERY **********
select fn_db_update_config_value('AutoStartVmsRunnerIntervalInSeconds','1','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('AllowEditingHostedEngine','true','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IsMigrationSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_update_config_value('IsSuspendSupported','{"undefined": "true", "x86_64": "true", "ppc64" : "true" }','general');
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('AsyncTaskZombieTaskLifeInMinutes','300','3000','general',false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('VdsLocalDisksCriticallyLowFreeSpace','100','500','general',false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('VdsLocalDisksLowFreeSpace','1000', '100','general',false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('GuestToolsSetupIsoPrefix','RHEV-toolsSetup_', 'ovirt-guest-tools-','general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('vdsConnectionTimeout', '180', '2', 'general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('vdsRetries', '3', '0', 'general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('VdsmSSLProtocol','SSLv3','TLSv1','general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('ExternalCommunicationProtocol','SSLv3','TLSv1','general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('ServerCPUList', '3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 9:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 3:IBM POWER 8:powernv,model_power8:power8:ppc64; 4:IBM POWER 8E:powernv,model_power8e:power8e:ppc64;', '3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 9:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;', '3.6', FALSE);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('GlusterStorageDeviceListMountPointsToIgnore','/,/home,/boot,/run/gluster/snaps/.*', '/,/home,/boot,/run/gluster/snaps/.*,/var/run/gluster/snaps/.*','general', false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('vdsHeartbeatInSeconds','10','30','general',false);
**************************

 

********* QUERY **********
select fn_db_rename_config_key('MaxVmNameLengthNonWindows', 'MaxVmNameLength', 'general');
**************************

 

********* QUERY **********
select fn_db_rename_config_key('MaxVmNameLengthWindows', 'MaxVmNameLengthSysprep', 'general');
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('ClientModeSpiceDefault','Plugin','Native','general',false);
**************************

 

********* QUERY **********
select fn_db_update_config_value('RemoteViewerSupportedVersions','rhev-win64:2.0-160;rhev-win32:2.0-160;rhel7:2.0-6;rhel6:99.0-1','general');
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('vdsConnectionTimeout','2','20','general',false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('ProtocolFallbackRetries','3','25','general',false);
**************************

 

********* QUERY **********
select fn_db_update_default_config_value('DwhHeartBeatInterval', '30', '15', 'general', false);
**************************

 

********* QUERY **********
select fn_db_add_config_value('UseHostNameIdentifier', 'false', 'general');
**************************

 

********* QUERY **********
select fn_db_split_config_value('GlusterTunedProfile', 'rhs-high-throughput,rhs-virtualization', 'rhgs-sequential-io,rhgs-random-io', '3.6');
**************************

 

********* QUERY **********
create or replace function __temp_set_pg_major_release()
RETURNS void
AS $procedure$
DECLARE
    v_pg_major_release char(1);
BEGIN
    -- the folowing evaluates currently to 8 on PG 8.x and to 9 on PG 9.x
    v_pg_major_release:=substring ((string_to_array(version(),' '))[2],1,1);
    perform fn_db_add_config_value('PgMajorRelease',v_pg_major_release,'general');
    -- ensure that if PG was upgraded we will get the right value
    perform fn_db_update_config_value('PgMajorRelease',v_pg_major_release,'general');
END; $procedure$
LANGUAGE plpgsql;
**************************

CREATE FUNCTION
********* QUERY **********
SELECT  __temp_set_pg_major_release();
**************************

 

********* QUERY **********
DROP FUNCTION __temp_set_pg_major_release();
**************************

DROP FUNCTION
********* QUERY **********
/**********************************************************************************************
   Currently we have a bug that upgarde 03010250 was cherry-picked and installed after 03010130
   This caused all scripts between 03010140 and 03010240 not to run.
   This scripts removes the 03010250 from schema_version and updates 03010130 to be the curent version
   So, after that , all scripts from 03010140 and up will run
   Since 03010250 was a configuration change that is already handled in the new config.sql, no other handling is needed.
**********************************************************************************************/
update schema_version set current = true where version = '03010130'
and exists(select 1 from schema_version where version = '03010250' and current = true);
**************************

UPDATE 0
********* QUERY **********
delete from schema_version
where version = '03010250' and current = true;
**************************

DELETE 0
********* QUERY **********
select fn_db_add_column('vds_dynamic','supported_engines','varchar(40)');
**************************

 

********* QUERY **********
CREATE FUNCTION __temp__0030_add_materialized_views_table()
RETURNS VOID
AS $procedure$
BEGIN
    IF not exists (select 1 from information_schema.tables