Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1471574 Details for
Bug 1609839
Foreign key constraint violation on upgrade to 4.2.5
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
engine-setup failure log
ovirt-engine-setup-20180728160721-rejhkb.log (text/plain), 1.98 MB, created by
Fabien Dupont
on 2018-07-30 15:53:33 UTC
(
hide
)
Description:
engine-setup failure log
Filename:
MIME Type:
Creator:
Fabien Dupont
Created:
2018-07-30 15:53:33 UTC
Size:
1.98 MB
patch
obsolete
>2018-07-28 16:07:21,083-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,083-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:07:21,083-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f0ff1ebfd20>' >2018-07-28 16:07:21,083-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:07:21,083-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x1fd9990>]' >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.core.misc.Plugin._init >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpSequence:793 SEQUENCE DUMP - BEGIN >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpSequence:795 STAGE boot >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._boot (None) >2018-07-28 16:07:21,084-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._preinit (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.misc.Plugin._boot (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._boot (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._preinit (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.filter_secrets.Plugin._boot (osetup.secrets.filtered.from.setup.attrs.modules) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._init (otopi.core.log.init) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._init (None) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.misc.Plugin._init (otopi.dialog.misc.boot) >2018-07-28 16:07:21,085-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.info.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.human.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.misc.Plugin._boot_misc_done (otopi.dialog.boot.done) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot (otopi.packagers.yum.boot) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:795 STAGE init >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._init (otopi.core.config.init) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._init (None) >2018-07-28 16:07:21,086-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.core.Plugin._init (otopi.packagers.detection) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._init (otopi.core.transactions.init) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._init_machine_events_stuff (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._init (None) >2018-07-28 16:07:21,087-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init (None) >2018-07-28 16:07:21,088-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init (None) >2018-07-28 16:07:21,089-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init (None) >2018-07-28 16:07:21,090-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init (None) >2018-07-28 16:07:21,091-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init (None) >2018-07-28 16:07:21,092-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init (None) >2018-07-28 16:07:21,093-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init (None) >2018-07-28 16:07:21,094-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.public_glance_repository.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init (None) >2018-07-28 16:07:21,095-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:795 STAGE setup >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._post_init (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._setup (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup (None) >2018-07-28 16:07:21,096-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.hostname.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.openrc.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.rhel.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.systemd.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._setup (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._setup_common_titles (None) >2018-07-28 16:07:21,097-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup (osetup.db.connection.setup) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup (None) >2018-07-28 16:07:21,098-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup (osetup.dwh.db.connection.setup) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.rhvm-setup-plugins.core.Plugin.setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup (None) >2018-07-28 16:07:21,099-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup (None) >2018-07-28 16:07:21,100-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.additional_packages.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin.setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.redhatsupportplugin.versionlock.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_engine_db_credentials (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers (osetup.keep.only.valid.firewall.managers) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup (None) >2018-07-28 16:07:21,101-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:795 STAGE internal_packages >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:795 STAGE programs >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._programs (otopi.system.command.detection) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup (None) >2018-07-28 16:07:21,102-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.openrc.Plugin._programs (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.rhel.Plugin._programs (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.systemd.Plugin._programs (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:795 STAGE late_setup >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:795 STAGE customization >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._customization (None) >2018-07-28 16:07:21,103-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._customize1 (None) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize (otopi.dialog.cli.customization) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization (None) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization (None) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable (osetup.engine.system.nfs.allow) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization (None) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options (osetup.dialog.titles.productoptions.start) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization (osetup.system.nfs.available) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization (None) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization (osetup.engine.core.enable) >2018-07-28 16:07:21,104-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization (setup.config.imageio-proxy.customization) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization (setup.config.websocket-proxy.customization) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization (osetup.dwh.core.enable) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization (None) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options (osetup.dialog.titles.productoptions.end) >2018-07-28 16:07:21,105-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization (None) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages (osetup.dialog.titles.packaging.start) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization (osetup.distro-rpm.package.update.check) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin._validation (None) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages (osetup.dialog.titles.packages.end) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network (osetup.dialog.titles.network.start) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization (osetup.config.protocols.customization) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested (None) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization (osetup.net.firewallmanager.available) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization (None) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration (None) >2018-07-28 16:07:21,106-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized (osetup.network.owners.config.customized) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network (None) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network (osetup.dialog.titles.network.end) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database (osetup.dialog.titles.database.start) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable (osetup.engine.db.connection.allow) >2018-07-28 16:07:21,107-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable (osetup.engine.provisioning.pgsql.allow) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization (None) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization (None) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization (osetup.dwh.db.connection.customization) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization (osetup.db.connection.customization) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._customization (None) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._customization (osetup.db.cust.upgrade.dbms.engine) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized (osetup.db.owners.connections.customized) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._customization (osetup.db.cust.upgrade.dbms.dwh) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization (None) >2018-07-28 16:07:21,108-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization (None) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._customization (None) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database (osetup.dialog.titles.database.end) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine (osetup.dialog.titles.engine.start) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization (osetup.admin.password.set) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable (osetup.engine.config.appmode.allow) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._customization (None) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization (osetup.config.applicationMode.available) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization_credentials (None) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization (None) >2018-07-28 16:07:21,109-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine (osetup.dialog.titles.engine.end) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage (osetup.dialog.titles.storage.start) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete (None) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage (osetup.dialog.titles.storage.end) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki (osetup.dialog.titles.pki.start) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization (None) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade (None) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization (None) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization (None) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki (osetup.dialog.titles.pki.end) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache (osetup.dialog.titles.apache.start) >2018-07-28 16:07:21,110-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization_already_configured (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache (osetup.dialog.titles.apache.end) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system (osetup.dialog.titles.system.start) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable (osetup.engine.kdump.allow) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system (osetup.dialog.titles.system.end) >2018-07-28 16:07:21,111-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc (osetup.dialog.titles.misc.start) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc (osetup.dialog.titles.misc.end) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._customize2 (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:795 STAGE validation >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._validation (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable (None) >2018-07-28 16:07:21,112-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.hostname.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation (osetup.db.connection.credentials.early) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation (None) >2018-07-28 16:07:21,113-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.checkUuidOsspExtensionForRemoteDbOrDevEnv (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation (None) >2018-07-28 16:07:21,114-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._validation (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation (otopi.network.firewalld.validation) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._validate (otopi.network.iptables.validation) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_checks.ovirt_engine.db.versions.Plugin._validation (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._validate_provider_uniqueness (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory (osetup.memory.check) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory (None) >2018-07-28 16:07:21,115-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:795 STAGE transaction-prepare >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin (None) >2018-07-28 16:07:21,116-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.external_truststore.Plugin.remove_external_truststore (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin (osetup.system.hostile.detection) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:795 STAGE early_misc >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._updateDBMS (osetup.db.upgrade.dbms.engine) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc (None) >2018-07-28 16:07:21,117-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._updateDBMS (osetup.db.upgrade.dbms.dwh) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._updatePGConf (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:795 STAGE packages >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._packages (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages (None) >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:795 STAGE misc >2018-07-28 16:07:21,118-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._misc (otopi.system.command.redetection) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc (osetup.system.sysctl.available) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc (None) >2018-07-28 16:07:21,119-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._vacuum (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_pki (None) >2018-07-28 16:07:21,120-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_ovn_services (osetup.ovn.services.restart) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.versionlock_config.Plugin._misc (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._misc_stop_remote_dwh (None) >2018-07-28 16:07:21,121-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc (osetup.db.connection.credentials.late) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc (osetup.dwh.db.connection.credentials) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc (osetup.pki.ca.available) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.installUuidOsspExtensionForLocalDb (None) >2018-07-28 16:07:21,122-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._misc (osetup.pki.ssh.available) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._misc (osetup.dwh.db.schema) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._check_separate (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_VDC (setup.config.imageio-proxy.remote_vdc) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._misc_pki (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIEngine (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIProxy (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._check_separate (None) >2018-07-28 16:07:21,123-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_VDC (setup.config.websocket-proxy.remote_vdc) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._misc_pki (None) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc (osetup.db.schema) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_provider_service (osetup.ovn.provider.service.restart) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.config.Plugin._misc (None) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._miscDWHConfig (None) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._connection (osetup.dwh.db.connection.available) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._vacuum (None) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.database.Plugin._misc (None) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._connection (osetup.db.connection.available) >2018-07-28 16:07:21,124-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._storage (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._ui_locales (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._virt (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._engine_connection (osetup.dwh.engine.db.connection.available) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._misc (osetup.aaa_jdbc.config.setup.admin.user) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._misc (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.ca.Plugin._misc (osetup.config.encryption.available) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._misc (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._add_iso_domain_to_db (osetup.config.iso_domain.available) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscAlways (None) >2018-07-28 16:07:21,125-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscNewDatabase (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._misc (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.sso.Plugin._misc (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._updateSANWipeAfterDelete (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_db_entries (osetup.ovn.provider.db) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin.miscOptions (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._databaseOptions (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._setupAdminPassword (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._misc (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._misc (None) >2018-07-28 16:07:21,126-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._misc (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._misc (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._misc (osetup.config.aaa.adminuser.setup) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._misc (osetup.setup.selinux) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._misc (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._misc (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:795 STAGE cleanup >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._main_end (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:795 STAGE closeup >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._closeup (None) >2018-07-28 16:07:21,127-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.engine.Plugin._closeup (osetup.core.engine.start) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.service.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._closeup (None) >2018-07-28 16:07:21,128-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_summary (osetup.dialog.titles.summary.start) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._closeup (osetup.apache.core.restart) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._print_manual_commands (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._print_restart_services_commands (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._closeup (None) >2018-07-28 16:07:21,129-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._closeupDWHConfig (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._closeupEngineAccess (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._devenv_closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_summary (osetup.dialog.titles.summary.end) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._closeup (None) >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:795 STAGE cleanup >2018-07-28 16:07:21,130-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._generate_answer_file (otopi.core.answer.file.generated) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._cleanup (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback (None) >2018-07-28 16:07:21,131-0400 DEBUG otopi.context context.dumpSequence:795 STAGE pre-terminate >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate (otopi.dialog.cli.termination) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:795 STAGE terminate >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._terminate (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:795 STAGE reboot >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._reboot (None) >2018-07-28 16:07:21,132-0400 DEBUG otopi.context context.dumpSequence:802 SEQUENCE DUMP - END >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/aborted=bool:'False' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/debug=int:'0' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[]' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/executionDirectory=str:'/root/engine-backup' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup:ovirt-engine-checks' >2018-07-28 16:07:21,133-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/suppressEnvironmentKeys=list:'[]' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_dump=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_dump' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_restore=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_restore' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/postgresql-setup=str:'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/psql=str:'/opt/rh/rh-postgresql95/root/usr/bin/psql' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f0ff1ebfd20>' >2018-07-28 16:07:21,134-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterKeys=list:'['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword']' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x1fd9990>]' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/randomizeEvents=bool:'False' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:07:21,135-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/totalMemoryMB=NoneType:'None' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/constants.pyc'>]' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresService=str:'rh-postgresql95-postgresql' >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,136-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._init >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/dialect=str:'human' >2018-07-28 16:07:21,137-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,138-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.system.info.Plugin._init >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:39 SYSTEM INFORMATION - BEGIN >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:40 executable /bin/python >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:41 python /bin/python >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:42 platform linux2 >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:43 distribution ('Red Hat Enterprise Linux Server', '7.5', 'Maipo') >2018-07-28 16:07:21,138-0400 DEBUG otopi.plugins.otopi.system.info info._init:44 host 'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:21,139-0400 DEBUG otopi.plugins.otopi.system.info info._init:50 uid 0 euid 0 gid 0 egid 0 >2018-07-28 16:07:21,139-0400 DEBUG otopi.plugins.otopi.system.info info._init:52 SYSTEM INFORMATION - END >2018-07-28 16:07:21,139-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.human.Plugin._init >2018-07-28 16:07:21,139-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,139-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/autoAcceptDefault=bool:'False' >2018-07-28 16:07:21,139-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--' >2018-07-28 16:07:21,140-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,140-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.machine.Plugin._init >2018-07-28 16:07:21,140-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:21,140-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._boot_misc_done >2018-07-28 16:07:21,141-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot >2018-07-28 16:07:21,141-0400 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager._boot:173 Cannot initialize minidnf >2018-07-28 16:07:21,141-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,141-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfDisabledPlugins=list:'[]' >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfExpireCache=bool:'True' >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfRollback=bool:'True' >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfpackagerEnabled=bool:'True' >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/keepAliveInterval=int:'30' >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,142-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot >Loaded plugins: product-id, subscription-manager, versionlock >Repository rhevh-75 is listed more than once in the configuration >Repository jboss-eap-7.1 is listed more than once in the configuration >Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:21,822-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,822-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f1b4c5f7ae0>' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2585d00>]' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,823-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.core.misc.Plugin._init >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:793 SEQUENCE DUMP - BEGIN >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:795 STAGE boot >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._boot (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._preinit (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.misc.Plugin._boot (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._boot (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._boot (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._boot (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._preinit (None) >2018-07-28 16:07:21,824-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.filter_secrets.Plugin._boot (osetup.secrets.filtered.from.setup.attrs.modules) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._init (otopi.core.log.init) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._init (None) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.misc.Plugin._init (otopi.dialog.misc.boot) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.info.Plugin._init (None) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.human.Plugin._init (None) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._init (None) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.misc.Plugin._boot_misc_done (otopi.dialog.boot.done) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot (None) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot (otopi.packagers.yum.boot) >2018-07-28 16:07:21,825-0400 DEBUG otopi.context context.dumpSequence:795 STAGE init >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._init (otopi.core.config.init) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.core.Plugin._init (otopi.packagers.detection) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._init (otopi.core.transactions.init) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._init (None) >2018-07-28 16:07:21,826-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._init_machine_events_stuff (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init (None) >2018-07-28 16:07:21,827-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init (None) >2018-07-28 16:07:21,828-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init (None) >2018-07-28 16:07:21,829-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init (None) >2018-07-28 16:07:21,830-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init (None) >2018-07-28 16:07:21,831-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init (None) >2018-07-28 16:07:21,832-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init (None) >2018-07-28 16:07:21,833-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init (None) >2018-07-28 16:07:21,834-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.public_glance_repository.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init (None) >2018-07-28 16:07:21,835-0400 DEBUG otopi.context context.dumpSequence:795 STAGE setup >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._post_init (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.hostname.Plugin._setup (None) >2018-07-28 16:07:21,836-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.openrc.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.rhel.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.systemd.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._setup_common_titles (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup (None) >2018-07-28 16:07:21,837-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup (osetup.db.connection.setup) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,838-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup (osetup.dwh.db.connection.setup) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.rhvm-setup-plugins.core.Plugin.setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup (None) >2018-07-28 16:07:21,839-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup (None) >2018-07-28 16:07:21,840-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.additional_packages.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin.setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.redhatsupportplugin.versionlock.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_engine_db_credentials (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers (osetup.keep.only.valid.firewall.managers) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:795 STAGE internal_packages >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare (None) >2018-07-28 16:07:21,841-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:795 STAGE programs >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._programs (otopi.system.command.detection) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.openrc.Plugin._programs (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.rhel.Plugin._programs (None) >2018-07-28 16:07:21,842-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.services.systemd.Plugin._programs (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:795 STAGE late_setup >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:795 STAGE customization >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._customization (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._customize1 (None) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize (otopi.dialog.cli.customization) >2018-07-28 16:07:21,843-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization (None) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization (None) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable (osetup.engine.system.nfs.allow) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization (None) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options (osetup.dialog.titles.productoptions.start) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization (osetup.system.nfs.available) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization (None) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization (osetup.engine.core.enable) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization (None) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization (setup.config.imageio-proxy.customization) >2018-07-28 16:07:21,844-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization (setup.config.websocket-proxy.customization) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization (osetup.dwh.core.enable) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options (osetup.dialog.titles.productoptions.end) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization (None) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages (osetup.dialog.titles.packaging.start) >2018-07-28 16:07:21,845-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization (osetup.distro-rpm.package.update.check) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin._validation (None) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages (osetup.dialog.titles.packages.end) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network (osetup.dialog.titles.network.start) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization (osetup.config.protocols.customization) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested (None) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization (osetup.net.firewallmanager.available) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization (None) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration (None) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall (None) >2018-07-28 16:07:21,846-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration (None) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized (osetup.network.owners.config.customized) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization (None) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network (None) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork (None) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network (None) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network (osetup.dialog.titles.network.end) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database (osetup.dialog.titles.database.start) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable (osetup.engine.db.connection.allow) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable (osetup.engine.provisioning.pgsql.allow) >2018-07-28 16:07:21,847-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization (osetup.dwh.db.connection.customization) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization (osetup.db.connection.customization) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._customization (osetup.db.cust.upgrade.dbms.engine) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized (osetup.db.owners.connections.customized) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._customization (osetup.db.cust.upgrade.dbms.dwh) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._customization (None) >2018-07-28 16:07:21,848-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database (osetup.dialog.titles.database.end) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine (osetup.dialog.titles.engine.start) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization (osetup.admin.password.set) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable (osetup.engine.config.appmode.allow) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._customization (None) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization (osetup.config.applicationMode.available) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization_credentials (None) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization (None) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine (osetup.dialog.titles.engine.end) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage (osetup.dialog.titles.storage.start) >2018-07-28 16:07:21,849-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage (osetup.dialog.titles.storage.end) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki (osetup.dialog.titles.pki.start) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki (osetup.dialog.titles.pki.end) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache (osetup.dialog.titles.apache.start) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization (None) >2018-07-28 16:07:21,850-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization (None) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization_already_configured (None) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache (osetup.dialog.titles.apache.end) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system (osetup.dialog.titles.system.start) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable (osetup.engine.kdump.allow) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall (None) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system (osetup.dialog.titles.system.end) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc (osetup.dialog.titles.misc.start) >2018-07-28 16:07:21,851-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc (osetup.dialog.titles.misc.end) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.config.Plugin._customize2 (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:795 STAGE validation >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._validation (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable (None) >2018-07-28 16:07:21,852-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.hostname.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation (osetup.db.connection.credentials.early) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation (None) >2018-07-28 16:07:21,853-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.checkUuidOsspExtensionForRemoteDbOrDevEnv (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation (None) >2018-07-28 16:07:21,854-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._validation (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation (otopi.network.firewalld.validation) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._validate (otopi.network.iptables.validation) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_checks.ovirt_engine.db.versions.Plugin._validation (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._validate_provider_uniqueness (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory (osetup.memory.check) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory (None) >2018-07-28 16:07:21,855-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:795 STAGE transaction-prepare >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin (None) >2018-07-28 16:07:21,856-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.external_truststore.Plugin.remove_external_truststore (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin (osetup.system.hostile.detection) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:795 STAGE early_misc >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._updateDBMS (osetup.db.upgrade.dbms.engine) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc (None) >2018-07-28 16:07:21,857-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._updateDBMS (osetup.db.upgrade.dbms.dwh) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._updatePGConf (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:795 STAGE packages >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._packages (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:795 STAGE misc >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss (None) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.command.Plugin._misc (otopi.system.command.redetection) >2018-07-28 16:07:21,858-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc (osetup.system.sysctl.available) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc (None) >2018-07-28 16:07:21,859-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._vacuum (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_pki (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_ovn_services (osetup.ovn.services.restart) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc (None) >2018-07-28 16:07:21,860-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.versionlock_config.Plugin._misc (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._misc_stop_remote_dwh (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config (None) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc (osetup.db.connection.credentials.late) >2018-07-28 16:07:21,861-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc (osetup.dwh.db.connection.credentials) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc (osetup.pki.ca.available) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.installUuidOsspExtensionForLocalDb (None) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki (None) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider (None) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._misc (osetup.pki.ssh.available) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._misc (osetup.dwh.db.schema) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._check_separate (None) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_VDC (setup.config.imageio-proxy.remote_vdc) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._misc_pki (None) >2018-07-28 16:07:21,862-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIEngine (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIProxy (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._check_separate (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_VDC (setup.config.websocket-proxy.remote_vdc) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._misc_pki (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc (osetup.db.schema) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_provider_service (osetup.ovn.provider.service.restart) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.config.Plugin._misc (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._miscDWHConfig (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._connection (osetup.dwh.db.connection.available) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._vacuum (None) >2018-07-28 16:07:21,863-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.database.Plugin._misc (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._connection (osetup.db.connection.available) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._storage (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._ui_locales (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.config.Plugin._virt (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._engine_connection (osetup.dwh.engine.db.connection.available) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._misc (osetup.aaa_jdbc.config.setup.admin.user) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._misc (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.ca.Plugin._misc (osetup.config.encryption.available) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._misc (None) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._add_iso_domain_to_db (osetup.config.iso_domain.available) >2018-07-28 16:07:21,864-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscAlways (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscNewDatabase (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._misc (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.sso.Plugin._misc (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._updateSANWipeAfterDelete (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_db_entries (osetup.ovn.provider.db) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin.miscOptions (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._databaseOptions (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._setupAdminPassword (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._misc (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._misc (None) >2018-07-28 16:07:21,865-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._misc (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._misc (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._misc (osetup.config.aaa.adminuser.setup) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._misc (osetup.setup.selinux) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._misc (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._misc (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:795 STAGE cleanup >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.transaction.Plugin._main_end (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:795 STAGE closeup >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.firewalld.Plugin._closeup (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.network.iptables.Plugin._closeup (None) >2018-07-28 16:07:21,866-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.engine.Plugin._closeup (osetup.core.engine.start) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.service.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._closeup (None) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_summary (osetup.dialog.titles.summary.start) >2018-07-28 16:07:21,867-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._closeup (osetup.apache.core.restart) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._print_manual_commands (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._print_restart_services_commands (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._closeup (None) >2018-07-28 16:07:21,868-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._closeup (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._closeupDWHConfig (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._closeupEngineAccess (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._closeup (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._devenv_closeup (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_summary (osetup.dialog.titles.summary.end) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._closeup (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:795 STAGE cleanup >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._generate_answer_file (otopi.core.answer.file.generated) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup (None) >2018-07-28 16:07:21,869-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._cleanup (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:795 STAGE pre-terminate >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate (None) >2018-07-28 16:07:21,870-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate (otopi.dialog.cli.termination) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:795 STAGE terminate >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate (None) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate (None) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate (None) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.core.log.Plugin._terminate (None) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:795 STAGE reboot >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:800 METHOD otopi.plugins.otopi.system.reboot.Plugin._reboot (None) >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpSequence:802 SEQUENCE DUMP - END >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/aborted=bool:'False' >2018-07-28 16:07:21,871-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/debug=int:'0' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[]' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/executionDirectory=str:'/root/engine-backup' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup:ovirt-engine-checks' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/suppressEnvironmentKeys=list:'[]' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_dump=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_dump' >2018-07-28 16:07:21,872-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_restore=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_restore' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/postgresql-setup=str:'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/psql=str:'/opt/rh/rh-postgresql95/root/usr/bin/psql' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f1b4c5f7ae0>' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterKeys=list:'['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword']' >2018-07-28 16:07:21,873-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2585d00>]' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/randomizeEvents=bool:'False' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/totalMemoryMB=NoneType:'None' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/constants.pyc'>]' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresService=str:'rh-postgresql95-postgresql' >2018-07-28 16:07:21,874-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._init >2018-07-28 16:07:21,875-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,876-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/dialect=str:'human' >2018-07-28 16:07:21,876-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,876-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.system.info.Plugin._init >2018-07-28 16:07:21,876-0400 DEBUG otopi.plugins.otopi.system.info info._init:39 SYSTEM INFORMATION - BEGIN >2018-07-28 16:07:21,876-0400 DEBUG otopi.plugins.otopi.system.info info._init:40 executable /bin/python >2018-07-28 16:07:21,876-0400 DEBUG otopi.plugins.otopi.system.info info._init:41 python /bin/python >2018-07-28 16:07:21,876-0400 DEBUG otopi.plugins.otopi.system.info info._init:42 platform linux2 >2018-07-28 16:07:21,877-0400 DEBUG otopi.plugins.otopi.system.info info._init:43 distribution ('Red Hat Enterprise Linux Server', '7.5', 'Maipo') >2018-07-28 16:07:21,877-0400 DEBUG otopi.plugins.otopi.system.info info._init:44 host 'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:21,877-0400 DEBUG otopi.plugins.otopi.system.info info._init:50 uid 0 euid 0 gid 0 egid 0 >2018-07-28 16:07:21,877-0400 DEBUG otopi.plugins.otopi.system.info info._init:52 SYSTEM INFORMATION - END >2018-07-28 16:07:21,877-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.human.Plugin._init >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/autoAcceptDefault=bool:'False' >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--' >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.machine.Plugin._init >2018-07-28 16:07:21,878-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:21,879-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.dialog.misc.Plugin._boot_misc_done >2018-07-28 16:07:21,879-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._boot >2018-07-28 16:07:21,879-0400 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager._boot:173 Cannot initialize minidnf >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfDisabledPlugins=list:'[]' >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfExpireCache=bool:'True' >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfRollback=bool:'True' >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfpackagerEnabled=bool:'True' >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/keepAliveInterval=int:'30' >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:21,880-0400 DEBUG otopi.context context._executeMethod:128 Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot >Loaded plugins: product-id, subscription-manager, versionlock >Repository rhevh-75 is listed more than once in the configuration >Repository jboss-eap-7.1 is listed more than once in the configuration >Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumDisabledPlugins=list:'[]' >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumEnabledPlugins=list:'[]' >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumExpireCache=bool:'True' >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumRollback=bool:'True' >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumpackagerEnabled=bool:'True' >2018-07-28 16:07:22,234-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,235-0400 INFO otopi.context context.runSequence:741 Stage: Initializing >2018-07-28 16:07:22,235-0400 DEBUG otopi.context context.runSequence:745 STAGE init >2018-07-28 16:07:22,235-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.core.config.Plugin._init >2018-07-28 16:07:22,236-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,236-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileAppend=NoneType:'None' >2018-07-28 16:07:22,236-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configured=bool:'True' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUser=str:'admin@internal' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserId=str:'27bb4f0c-544d-442c-a069-ef8789d83b47' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManager=str:'firewalld' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:22,237-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyConfig=bool:'True' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainExists=bool:'False' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainMountPoint=NoneType:'None' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainName=NoneType:'None' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainSdUuid=NoneType:'None' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainStorageDir=NoneType:'None' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHome=str:'/opt/rh/eap7/root/usr/share/wildfly' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiRenewalDocUrl=str:'https://access.redhat.com/solutions/1572983' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/sanWipeAfterDelete=bool:'False' >2018-07-28 16:07:22,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyConfig=bool:'True' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatedByVersion=str:'4.2.5.1' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/remoteEngineConfigured=bool:'False' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/scale=str:'1' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/enable=bool:'True' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CORE/enable=bool:'True' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvn=bool:'True' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvnId=str:'45fede3f-b0b5-423c-b32a-775e9501078f' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/country=str:'US' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/organization=str:'v2v.bos.redhat.com' >2018-07-28 16:07:22,239-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:'False' >2018-07-28 16:07:22,240-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True' >2018-07-28 16:07:22,240-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,240-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._init >2018-07-28 16:07:22,240-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,241-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._init >2018-07-28 16:07:22,241-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._init:199 Registering yum packager >2018-07-28 16:07:22,241-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.command.Plugin._init >2018-07-28 16:07:22,242-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,242-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/commandPath=str:'/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin' >2018-07-28 16:07:22,242-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,242-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._init >2018-07-28 16:07:22,242-0400 DEBUG otopi.plugins.ovirt_engine_common.base.core.misc misc._init:114 Package: ovirt-engine-4.2.5.2 (4.2.5.2-0.1.el7ev) >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/developerMode=bool:'False' >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatedByVersion=str:'4.2.5.2' >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/originalGeneratedByVersion=str:'4.2.5.1' >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/upgradeSupportedVersions=str:'3.6,4.0,4.1,4.2' >2018-07-28 16:07:22,243-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,244-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.packagers.core.Plugin._init >2018-07-28 16:07:22,244-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.core.transaction.Plugin._init >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/internalPackageTransaction=Transaction:'transaction' >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/mainTransaction=Transaction:'transaction' >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/modifiedFiles=list:'[]' >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,245-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._init >2018-07-28 16:07:22,246-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,246-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/answerFile=NoneType:'None' >2018-07-28 16:07:22,246-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,246-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.dialog.cli.Plugin._init >2018-07-28 16:07:22,247-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,247-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/cliVersion=int:'1' >2018-07-28 16:07:22,247-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/customization=bool:'False' >2018-07-28 16:07:22,247-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,247-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.dialog.machine.Plugin._init_machine_events_stuff >2018-07-28 16:07:22,248-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,248-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.firewalld.Plugin._init >2018-07-28 16:07:22,248-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,249-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldAvailable=bool:'False' >2018-07-28 16:07:22,249-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldDisableServices=list:'[]' >2018-07-28 16:07:22,249-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldEnable=bool:'False' >2018-07-28 16:07:22,249-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,249-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.iptables.Plugin._init >2018-07-28 16:07:22,250-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,250-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesEnable=bool:'False' >2018-07-28 16:07:22,250-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesRules=NoneType:'None' >2018-07-28 16:07:22,250-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,250-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.network.ssh.Plugin._init >2018-07-28 16:07:22,251-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,252-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshEnable=bool:'False' >2018-07-28 16:07:22,252-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshKey=NoneType:'None' >2018-07-28 16:07:22,252-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshUser=str:'' >2018-07-28 16:07:22,253-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,253-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.clock.Plugin._init >2018-07-28 16:07:22,253-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,254-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockMaxGap=int:'5' >2018-07-28 16:07:22,254-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockSet=bool:'False' >2018-07-28 16:07:22,254-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,254-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.otopi.system.reboot.Plugin._init >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/reboot=bool:'False' >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootAllow=bool:'True' >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootDeferTime=int:'10' >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,255-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._init >2018-07-28 16:07:22,256-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,256-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/answerFile=NoneType:'None' >2018-07-28 16:07:22,256-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generateStandardAnswerfile=bool:'True' >2018-07-28 16:07:22,256-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,256-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._init >2018-07-28 16:07:22,257-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,257-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False' >2018-07-28 16:07:22,257-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,257-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.offlinepackager.Plugin._init >2018-07-28 16:07:22,258-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,258-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/offlinePackager=bool:'False' >2018-07-28 16:07:22,258-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,259-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.postinstall.Plugin._init >2018-07-28 16:07:22,259-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,259-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatePostInstall=bool:'True' >2018-07-28 16:07:22,259-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,260-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._init >2018-07-28 16:07:22,260-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,260-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/reconfigureOptionalComponents=NoneType:'None' >2018-07-28 16:07:22,260-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,261-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._init >2018-07-28 16:07:22,261-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,261-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/registerUninstallGroups=RegisterGroups:'<otopi.plugins.ovirt_engine_common.base.core.uninstall.RegisterGroups object at 0x7f1b483bb690>' >2018-07-28 16:07:22,262-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'[]' >2018-07-28 16:07:22,262-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,262-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager.Plugin._init >2018-07-28 16:07:22,262-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,263-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[]' >2018-07-28 16:07:22,263-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,263-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._init >2018-07-28 16:07:22,264-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,264-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[]' >2018-07-28 16:07:22,264-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{}' >2018-07-28 16:07:22,264-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._init >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnIsNeeded=bool:'True' >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnNonLoopback=bool:'False' >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnReverseValidation=bool:'False' >2018-07-28 16:07:22,265-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,266-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._init >2018-07-28 16:07:22,266-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,266-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostClientKey=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostKnownHosts=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostRootPassword=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostSshPort=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyle=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[]' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/remoteEngine=NoneType:'None' >2018-07-28 16:07:22,267-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,268-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._init >2018-07-28 16:07:22,268-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,268-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt-engine-dwhd,ovirt-engine-notifier' >2018-07-28 16:07:22,269-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,269-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._init >2018-07-28 16:07:22,269-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,269-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[]' >2018-07-28 16:07:22,270-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]' >2018-07-28 16:07:22,270-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]' >2018-07-28 16:07:22,270-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,270-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._init >2018-07-28 16:07:22,273-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,273-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineServiceStopNeeded=bool:'True' >2018-07-28 16:07:22,274-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/engineStop=NoneType:'None' >2018-07-28 16:07:22,274-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,274-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._init >2018-07-28 16:07:22,275-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,275-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'False' >2018-07-28 16:07:22,275-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,276-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._init >2018-07-28 16:07:22,276-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,276-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineDbBackupDir=str:'/var/lib/ovirt-engine/backups' >2018-07-28 16:07:22,276-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,277-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._init >2018-07-28 16:07:22,277-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,277-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/connection=NoneType:'None' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/database=NoneType:'None' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dumper=str:'pg_custom' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/filter=NoneType:'None' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/host=NoneType:'None' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/justRestored=bool:'False' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/newDatabase=bool:'True' >2018-07-28 16:07:22,278-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/password=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/port=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/restoreJobs=int:'2' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/secured=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/securedHostValidation=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/statement=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/user=NoneType:'None' >2018-07-28 16:07:22,279-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,280-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._init >2018-07-28 16:07:22,280-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,280-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/pgPassFile=NoneType:'None' >2018-07-28 16:07:22,281-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,281-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._init >2018-07-28 16:07:22,281-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,282-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/continueSetupOnHEVM=NoneType:'None' >2018-07-28 16:07:22,282-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,282-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._init >2018-07-28 16:07:22,283-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,283-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaHome=NoneType:'None' >2018-07-28 16:07:22,283-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaNeeded=bool:'False' >2018-07-28 16:07:22,283-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,284-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._init >2018-07-28 16:07:22,284-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,284-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpPort=int:'80' >2018-07-28 16:07:22,284-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpsPort=int:'443' >2018-07-28 16:07:22,284-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossAjpPort=int:'8702' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDebugAddress=str:'127.0.0.1:8787' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpPort=NoneType:'None' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpsPort=NoneType:'None' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpPort=int:'8080' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpsPort=int:'8443' >2018-07-28 16:07:22,285-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,286-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.provisioning.postgres.Plugin._init >2018-07-28 16:07:22,286-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,286-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/oldPostgresService=str:'postgresql' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumAnalyzeScaleFactor=float:'0.075' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaintenanceWorkMem=int:'65536' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaxWorkers=int:'6' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumVacuumScaleFactor=float:'0.01' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresLCMessages=str:''en_US.UTF-8'' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresListenAddress=str:''*'' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresMaxConn=int:'150' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeCleanold=bool:'False' >2018-07-28 16:07:22,287-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeInplace=bool:'False' >2018-07-28 16:07:22,288-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresWorkMemKb=int:'8192' >2018-07-28 16:07:22,288-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,288-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._init >2018-07-28 16:07:22,289-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,289-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/httpdService=str:'httpd' >2018-07-28 16:07:22,289-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/needRestart=bool:'False' >2018-07-28 16:07:22,289-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,290-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.environment.Plugin._init >2018-07-28 16:07:22,290-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,290-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupKvm=str:'kvm' >2018-07-28 16:07:22,291-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userApache=str:'apache' >2018-07-28 16:07:22,291-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres' >2018-07-28 16:07:22,291-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userRoot=str:'root' >2018-07-28 16:07:22,291-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm' >2018-07-28 16:07:22,291-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,292-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._init >2018-07-28 16:07:22,292-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,292-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/uuid=NoneType:'None' >2018-07-28 16:07:22,293-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,293-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._init >2018-07-28 16:07:22,294-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._init >2018-07-28 16:07:22,295-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,295-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'False' >2018-07-28 16:07:22,295-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,296-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._init >2018-07-28 16:07:22,296-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,296-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhDbBackupDir=str:'/var/lib/ovirt-engine-dwh/backups' >2018-07-28 16:07:22,297-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,297-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._init >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/connection=NoneType:'None' >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/database=NoneType:'None' >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/dumper=str:'pg_custom' >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/filter=NoneType:'None' >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/host=NoneType:'None' >2018-07-28 16:07:22,298-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/newDatabase=bool:'True' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/password=NoneType:'None' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/port=NoneType:'None' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreJobs=int:'2' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/secured=NoneType:'None' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/securedHostValidation=NoneType:'None' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/statement=NoneType:'None' >2018-07-28 16:07:22,299-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/user=NoneType:'None' >2018-07-28 16:07:22,300-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,300-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._init >2018-07-28 16:07:22,301-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._init >2018-07-28 16:07:22,302-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,302-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/pgPassFile=NoneType:'None' >2018-07-28 16:07:22,302-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,303-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._init >2018-07-28 16:07:22,303-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,303-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'False' >2018-07-28 16:07:22,304-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,304-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._init >2018-07-28 16:07:22,305-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,305-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/vmconsoleProxyStopNeeded=bool:'False' >2018-07-28 16:07:22,305-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,306-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._init >2018-07-28 16:07:22,306-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,306-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'False' >2018-07-28 16:07:22,307-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,307-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.core.misc.Plugin._init >2018-07-28 16:07:22,308-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,308-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/action=str:'setup' >2018-07-28 16:07:22,308-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,309-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._init >2018-07-28 16:07:22,310-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,310-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DIALOG/confirmSettings=NoneType:'None' >2018-07-28 16:07:22,310-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,311-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._init >2018-07-28 16:07:22,311-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,311-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallChangesReview=NoneType:'None' >2018-07-28 16:07:22,311-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/updateFirewall=NoneType:'None' >2018-07-28 16:07:22,312-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/validFirewallManagers=str:'' >2018-07-28 16:07:22,312-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,313-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.base.system.environment.Plugin._init >2018-07-28 16:07:22,313-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,313-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupEngine=str:'ovirt' >2018-07-28 16:07:22,314-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt' >2018-07-28 16:07:22,314-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,314-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._init >2018-07-28 16:07:22,315-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,315-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' >2018-07-28 16:07:22,315-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,316-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._init >2018-07-28 16:07:22,316-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,316-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf' >2018-07-28 16:07:22,317-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirection=NoneType:'None' >2018-07-28 16:07:22,317-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,318-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._init >2018-07-28 16:07:22,318-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,318-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminPassword=NoneType:'None' >2018-07-28 16:07:22,319-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,319-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._init >2018-07-28 16:07:22,320-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,320-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/aaaJdbcPackage=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:07:22,320-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,321-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._init >2018-07-28 16:07:22,321-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,321-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/applicationMode=NoneType:'None' >2018-07-28 16:07:22,322-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,323-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._init >2018-07-28 16:07:22,323-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,323-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageIsLocal=bool:'False' >2018-07-28 16:07:22,323-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageType=NoneType:'None' >2018-07-28 16:07:22,324-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,324-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._init >2018-07-28 16:07:22,325-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,325-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainDefaultMountPoint=str:'/var/lib/exports/iso' >2018-07-28 16:07:22,325-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,326-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._init >2018-07-28 16:07:22,326-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,327-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMax=NoneType:'None' >2018-07-28 16:07:22,327-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMin=NoneType:'None' >2018-07-28 16:07:22,327-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,328-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._init >2018-07-28 16:07:22,328-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,328-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/ignoreVdsgroupInNotifier=NoneType:'None' >2018-07-28 16:07:22,329-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,330-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.public_glance_repository.Plugin._init >2018-07-28 16:07:22,330-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,330-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'True' >2018-07-28 16:07:22,331-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,331-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._init >2018-07-28 16:07:22,333-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._init >2018-07-28 16:07:22,334-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._init >2018-07-28 16:07:22,334-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,334-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbConfiguration=NoneType:'None' >2018-07-28 16:07:22,335-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/invalidConfigItems=NoneType:'None' >2018-07-28 16:07:22,335-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'()' >2018-07-28 16:07:22,335-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,336-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._init >2018-07-28 16:07:22,336-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,336-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/engineVacuumFull=NoneType:'None' >2018-07-28 16:07:22,337-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,337-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._init >2018-07-28 16:07:22,338-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,338-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-iso-uploader,ovirt-engine-dashboard' >2018-07-28 16:07:22,338-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/enginePackages=str:'ovirt-engine' >2018-07-28 16:07:22,338-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/engineSetupPackages=str:'ovirt-engine-setup' >2018-07-28 16:07:22,339-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,339-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._init >2018-07-28 16:07:22,340-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,340-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServices=str:'ovn-central-firewall-service,ovirt-provider-ovn' >2018-07-28 16:07:22,340-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServicesDir=str:'/usr/lib/firewalld/services' >2018-07-28 16:07:22,340-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,341-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._init >2018-07-28 16:07:22,342-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,342-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/entities=list:'[{'keepKey': True, 'extract': False, 'name': 'engine', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': False, 'name': 'jboss', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'websocket-proxy', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'apache', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'reports', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'imageio-proxy', 'user': 'OVESETUP_SYSTEM/userRoot'}]' >2018-07-28 16:07:22,342-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/renew=NoneType:'None' >2018-07-28 16:07:22,342-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/storePassword=str:'**FILTERED**' >2018-07-28 16:07:22,342-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,343-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._init >2018-07-28 16:07:22,344-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,344-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:07:22,344-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,345-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._init >2018-07-28 16:07:22,345-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,345-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainACL=NoneType:'None' >2018-07-28 16:07:22,346-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,346-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._init >2018-07-28 16:07:22,347-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,347-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoPathsToUpload=list:'[]' >2018-07-28 16:07:22,347-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,348-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._init >2018-07-28 16:07:22,349-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,349-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'True' >2018-07-28 16:07:22,349-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096' >2018-07-28 16:07:22,349-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:'16384' >2018-07-28 16:07:22,349-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90' >2018-07-28 16:07:22,350-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,350-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._init >2018-07-28 16:07:22,351-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,351-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled=NoneType:'None' >2018-07-28 16:07:22,351-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsServiceName=NoneType:'None' >2018-07-28 16:07:22,351-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,352-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._init >2018-07-28 16:07:22,352-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,353-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasks=bool:'True' >2018-07-28 16:07:22,353-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasksWait=int:'20' >2018-07-28 16:07:22,353-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,354-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._init >2018-07-28 16:07:22,355-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,355-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbViolations=NoneType:'None' >2018-07-28 16:07:22,355-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,356-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.core.Plugin._init >2018-07-28 16:07:22,356-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,356-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/enable=bool:'False' >2018-07-28 16:07:22,357-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,358-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.misc.Plugin._init >2018-07-28 16:07:22,360-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._init >2018-07-28 16:07:22,360-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,360-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf' >2018-07-28 16:07:22,360-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureSsl=NoneType:'None' >2018-07-28 16:07:22,361-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,362-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._init >2018-07-28 16:07:22,362-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,362-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossNeeded=bool:'False' >2018-07-28 16:07:22,363-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/jbossPackages=str:'' >2018-07-28 16:07:22,363-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._init >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/enableUpgrade=NoneType:'None' >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/requireRollback=NoneType:'None' >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'[]' >2018-07-28 16:07:22,364-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'[]' >2018-07-28 16:07:22,365-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'[]' >2018-07-28 16:07:22,365-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[]' >2018-07-28 16:07:22,365-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,366-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._init >2018-07-28 16:07:22,371-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,372-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736' >2018-07-28 16:07:22,372-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,372-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._init >2018-07-28 16:07:22,374-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh_database.Plugin._init >2018-07-28 16:07:22,376-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._init >2018-07-28 16:07:22,376-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,376-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CONFIG/fqdn=NoneType:'None' >2018-07-28 16:07:22,377-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,377-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._init >2018-07-28 16:07:22,378-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,378-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/disconnectExistingDwh=NoneType:'None' >2018-07-28 16:07:22,379-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,379-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._init >2018-07-28 16:07:22,380-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,380-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/performBackup=NoneType:'None' >2018-07-28 16:07:22,380-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreBackupLate=bool:'True' >2018-07-28 16:07:22,381-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,382-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._init >2018-07-28 16:07:22,382-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,382-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dwhVacuumFull=NoneType:'None' >2018-07-28 16:07:22,383-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,383-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._init >2018-07-28 16:07:22,384-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,384-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES=str:'ovirt-engine-dwh' >2018-07-28 16:07:22,384-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-dwh-setup' >2018-07-28 16:07:22,385-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,386-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._init >2018-07-28 16:07:22,386-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,386-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:07:22,387-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,387-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._init >2018-07-28 16:07:22,388-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,388-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyHost=str:'localhost' >2018-07-28 16:07:22,388-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyPort=int:'54323' >2018-07-28 16:07:22,389-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,390-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._init >2018-07-28 16:07:22,390-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,390-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiOIPCSRFilename=NoneType:'None' >2018-07-28 16:07:22,391-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,391-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._init >2018-07-28 16:07:22,393-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.public_glance_repository.Plugin._init >2018-07-28 16:07:22,393-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,394-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'False' >2018-07-28 16:07:22,394-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,395-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._init >2018-07-28 16:07:22,396-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,396-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RHEVM_DIALOG/confirmUpgrade=bool:'True' >2018-07-28 16:07:22,396-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,397-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._init >2018-07-28 16:07:22,398-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,398-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:'2222' >2018-07-28 16:07:22,398-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,399-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._init >2018-07-28 16:07:22,400-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,400-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:07:22,400-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:07:22,400-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,401-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._init >2018-07-28 16:07:22,401-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,402-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyHost=str:'localhost' >2018-07-28 16:07:22,402-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyPort=int:'6100' >2018-07-28 16:07:22,402-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,403-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._init >2018-07-28 16:07:22,404-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,404-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy' >2018-07-28 16:07:22,404-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy' >2018-07-28 16:07:22,404-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,405-0400 DEBUG otopi.context context._executeMethod:128 Stage init METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._init >2018-07-28 16:07:22,406-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,406-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiWSPCSRFilename=NoneType:'None' >2018-07-28 16:07:22,406-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,406-0400 INFO otopi.context context.runSequence:741 Stage: Environment setup >2018-07-28 16:07:22,407-0400 DEBUG otopi.context context.runSequence:745 STAGE setup >2018-07-28 16:07:22,408-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup_existence >2018-07-28 16:07:22,408-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,409-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup_existence >2018-07-28 16:07:22,411-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.config.Plugin._post_init >2018-07-28 16:07:22,411-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-wsp.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] >2018-07-28 16:07:22,413-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.log.Plugin._setup >2018-07-28 16:07:22,413-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log >2018-07-28 16:07:22,415-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.core.misc.Plugin._setup >2018-07-28 16:07:22,415-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Version: otopi-1.7.8 (otopi-1.7.8-1.el7ev) >2018-07-28 16:07:22,417-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._setup >2018-07-28 16:07:22,417-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,419-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._setup >2018-07-28 16:07:22,421-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Cleaning caches: ['expire-cache']. >2018-07-28 16:07:22,425-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh.Plugin._setup >2018-07-28 16:07:22,426-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,426-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x7f1b48372e50>]' >2018-07-28 16:07:22,426-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,427-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.network.firewalld.Plugin._setup >2018-07-28 16:07:22,428-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,428-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/firewall-cmd=NoneType:'None' >2018-07-28 16:07:22,429-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,429-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.network.hostname.Plugin._setup >2018-07-28 16:07:22,430-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,430-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ip=NoneType:'None' >2018-07-28 16:07:22,431-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,431-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.openrc.Plugin._setup >2018-07-28 16:07:22,432-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,432-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc=NoneType:'None' >2018-07-28 16:07:22,432-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc-update=NoneType:'None' >2018-07-28 16:07:22,433-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.rhel.Plugin._setup >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chkconfig=NoneType:'None' >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/initctl=NoneType:'None' >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/service=NoneType:'None' >2018-07-28 16:07:22,434-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/systemctl=NoneType:'None' >2018-07-28 16:07:22,435-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,436-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.services.systemd.Plugin._setup >2018-07-28 16:07:22,437-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.system.clock.Plugin._setup >2018-07-28 16:07:22,438-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,438-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chronyc=NoneType:'None' >2018-07-28 16:07:22,438-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/date=NoneType:'None' >2018-07-28 16:07:22,438-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/hwclock=NoneType:'None' >2018-07-28 16:07:22,438-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ntpq=NoneType:'None' >2018-07-28 16:07:22,439-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,440-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.otopi.system.reboot.Plugin._setup >2018-07-28 16:07:22,440-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,440-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/reboot=NoneType:'None' >2018-07-28 16:07:22,441-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,442-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._setup_common_titles >2018-07-28 16:07:22,442-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,442-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/needCommonTitles=bool:'True' >2018-07-28 16:07:22,443-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,444-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld.Plugin._setup >2018-07-28 16:07:22,444-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,444-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x7f1b48372d10>]' >2018-07-28 16:07:22,445-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,446-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human.Plugin._setup >2018-07-28 16:07:22,446-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,447-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x7f1b48372d10>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x7f1b48372d50>]' >2018-07-28 16:07:22,447-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,448-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables.Plugin._setup >2018-07-28 16:07:22,449-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,449-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x7f1b48372d10>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x7f1b48372d50>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables._IpTablesManager object at 0x7f1b48372a90>]' >2018-07-28 16:07:22,449-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,450-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._setup >2018-07-28 16:07:22,451-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,451-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/dig=NoneType:'None' >2018-07-28 16:07:22,451-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,452-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._setup >2018-07-28 16:07:22,453-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,453-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/remoteEngine=RemoteEngine:'<ovirt_engine_setup.remote_engine.RemoteEngine object at 0x7f1b48372d90>' >2018-07-28 16:07:22,453-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,454-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files.Plugin._setup >2018-07-28 16:07:22,455-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,455-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x7f1b48372e50>, <otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files._ManualFiles object at 0x7f1b48372dd0>]' >2018-07-28 16:07:22,455-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,456-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._setup >2018-07-28 16:07:22,458-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.mem.Plugin._setup >2018-07-28 16:07:22,458-0400 DEBUG otopi.plugins.ovirt_engine_common.base.system.mem mem._setup:47 Checking total memory >2018-07-28 16:07:22,459-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,459-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/totalMemoryMB=int:'15884' >2018-07-28 16:07:22,460-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,461-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._setup >2018-07-28 16:07:22,461-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,461-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/restorecon=NoneType:'None' >2018-07-28 16:07:22,462-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/selinuxenabled=NoneType:'None' >2018-07-28 16:07:22,462-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/semanage=NoneType:'None' >2018-07-28 16:07:22,463-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,464-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection.Plugin._setup >2018-07-28 16:07:22,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select 1 > ', args: {} >2018-07-28 16:07:22,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,470-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'?column?': 1}] >2018-07-28 16:07:22,470-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.tryDatabaseConnect:399 Connection succeeded >2018-07-28 16:07:22,471-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_catalog.pg_tables > where schemaname = 'public'; > ', args: {} >2018-07-28 16:07:22,471-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 156L}] >2018-07-28 16:07:22,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SHOW server_version', args: {} >2018-07-28 16:07:22,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,478-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:22,479-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkServerVersion:467 PostgreSQL server version: 9.5.9 >2018-07-28 16:07:22,479-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), executable='None', cwd='None', env=None >2018-07-28 16:07:22,485-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), rc=0 >2018-07-28 16:07:22,485-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:22,485-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stderr: > > >2018-07-28 16:07:22,486-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkClientVersion:483 PostgreSQL client version: 9.5.9 >2018-07-28 16:07:22,486-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select version, option_value > from vdc_options > where option_name = %(name)s > ', args: {'name': 'DbJustRestored'} >2018-07-28 16:07:22,486-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,490-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'version': 'general', 'option_value': '0'}] >2018-07-28 16:07:22,491-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,491-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/database=str:'engine' >2018-07-28 16:07:22,491-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/host=str:'localhost' >2018-07-28 16:07:22,491-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/newDatabase=bool:'False' >2018-07-28 16:07:22,491-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/password=str:'**FILTERED**' >2018-07-28 16:07:22,492-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/port=str:'5432' >2018-07-28 16:07:22,492-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/secured=bool:'False' >2018-07-28 16:07:22,492-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/securedHostValidation=bool:'False' >2018-07-28 16:07:22,492-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/user=str:'engine' >2018-07-28 16:07:22,492-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,493-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.core.protocols.Plugin._setup >2018-07-28 16:07:22,494-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,494-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpPort=int:'80' >2018-07-28 16:07:22,494-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpsPort=int:'443' >2018-07-28 16:07:22,495-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,496-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.system.apache.Plugin._setup >2018-07-28 16:07:22,498-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.config.dwh_uuid.Plugin._setup >2018-07-28 16:07:22,499-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,499-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/uuid=str:'d6477206-8a52-4229-9d7e-d8dfca32463b' >2018-07-28 16:07:22,500-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,501-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc.Plugin._setup >2018-07-28 16:07:22,501-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.misc misc._setup:66 dwh version: ovirt-engine-dwh-4.2.4.3 (4.2.4.3) > >2018-07-28 16:07:22,502-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,502-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/constants.pyc'>, <module 'ovirt_engine_setup.dwh.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/dwh/constants.pyc'>]' >2018-07-28 16:07:22,502-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[]' >2018-07-28 16:07:22,502-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ovirt_dwh_files=dict:'{}' >2018-07-28 16:07:22,502-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,503-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._commands >2018-07-28 16:07:22,505-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection.Plugin._setup >2018-07-28 16:07:22,506-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select 1 > ', args: {} >2018-07-28 16:07:22,506-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,511-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'?column?': 1}] >2018-07-28 16:07:22,511-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.tryDatabaseConnect:399 Connection succeeded >2018-07-28 16:07:22,511-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_catalog.pg_tables > where schemaname = 'public'; > ', args: {} >2018-07-28 16:07:22,512-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,516-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 40L}] >2018-07-28 16:07:22,516-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SHOW server_version', args: {} >2018-07-28 16:07:22,516-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:22,518-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:22,519-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkServerVersion:467 PostgreSQL server version: 9.5.9 >2018-07-28 16:07:22,519-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), executable='None', cwd='None', env=None >2018-07-28 16:07:22,524-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), rc=0 >2018-07-28 16:07:22,525-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:22,525-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stderr: > > >2018-07-28 16:07:22,525-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkClientVersion:483 PostgreSQL client version: 9.5.9 >2018-07-28 16:07:22,526-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,526-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/database=str:'ovirt_engine_history' >2018-07-28 16:07:22,526-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/host=str:'localhost' >2018-07-28 16:07:22,526-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/newDatabase=bool:'False' >2018-07-28 16:07:22,526-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/password=str:'**FILTERED**' >2018-07-28 16:07:22,527-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/port=str:'5432' >2018-07-28 16:07:22,527-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/secured=bool:'False' >2018-07-28 16:07:22,527-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/securedHostValidation=bool:'False' >2018-07-28 16:07:22,527-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/user=str:'ovirt_engine_history' >2018-07-28 16:07:22,527-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,528-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.engine_connection.Plugin._setup_dbtransaction >2018-07-28 16:07:22,530-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._setup >2018-07-28 16:07:22,531-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,531-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/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'>]' >2018-07-28 16:07:22,531-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,532-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.rhvm-setup-plugins.core.Plugin.setup >2018-07-28 16:07:22,533-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,533-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/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.rhvm_constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/rhvm_constants.pyc'>]' >2018-07-28 16:07:22,533-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,534-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._setup >2018-07-28 16:07:22,535-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,535-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/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.rhvm_constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/rhvm_constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>]' >2018-07-28 16:07:22,535-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,536-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._setup >2018-07-28 16:07:22,538-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._setup >2018-07-28 16:07:22,538-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,538-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaNeeded=bool:'True' >2018-07-28 16:07:22,538-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossNeeded=bool:'True' >2018-07-28 16:07:22,539-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,540-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._setup >2018-07-28 16:07:22,543-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._setup >2018-07-28 16:07:22,544-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,544-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7f1b48376938>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376aa0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376848>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': "It is required to be at least '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'maintenance_work_mem', 'expected': 65536, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True}, {'ok': <function <lambda> at 0x7f1b483768c0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'work_mem', 'expected': 8192, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True})' >2018-07-28 16:07:22,544-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,545-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._setup >2018-07-28 16:07:22,547-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._setup >2018-07-28 16:07:22,547-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,547-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'True' >2018-07-28 16:07:22,548-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,549-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._setup >2018-07-28 16:07:22,549-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,549-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/openssl=NoneType:'None' >2018-07-28 16:07:22,550-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,551-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._setup >2018-07-28 16:07:22,551-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,551-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/exportfs=NoneType:'None' >2018-07-28 16:07:22,551-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports']' >2018-07-28 16:07:22,552-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,553-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._setup >2018-07-28 16:07:22,553-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,553-0400 DEBUG otopi.context context.dumpEnvironment:869 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', '/usr/share/rhv-guest-tools-iso/RHV-toolsSetup_4.2_5.iso']' >2018-07-28 16:07:22,554-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,555-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._setup >2018-07-28 16:07:22,556-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._setup >2018-07-28 16:07:22,558-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl ssl._read_and_process_file:117 _read_and_process_file: changed_lines: [] >2018-07-28 16:07:22,560-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._setup >2018-07-28 16:07:22,560-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages util.getPackageManager:269 Using Yum as package manager >2018-07-28 16:07:22,561-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,561-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rpm=NoneType:'None' >2018-07-28 16:07:22,562-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,562-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._setup >2018-07-28 16:07:22,563-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,563-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/sysctl=NoneType:'None' >2018-07-28 16:07:22,564-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,564-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._setup >2018-07-28 16:07:22,566-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.legacy.config.Plugin._setup >2018-07-28 16:07:22,566-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,568-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.additional_packages.Plugin._setup >2018-07-28 16:07:22,568-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,568-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv']' >2018-07-28 16:07:22,569-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm']' >2018-07-28 16:07:22,569-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-iso-uploader,ovirt-engine-dashboard,rhvm-branding-rhv,rhvm-doc,ovirt-log-collector' >2018-07-28 16:07:22,569-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins']' >2018-07-28 16:07:22,570-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,570-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin.setup >2018-07-28 16:07:22,572-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.redhatsupportplugin.versionlock.Plugin._setup >2018-07-28 16:07:22,572-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:22,573-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev']' >2018-07-28 16:07:22,573-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:22,574-0400 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 >2018-07-28 16:07:22,574-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,576-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._keep_only_valid_firewall_managers >2018-07-28 16:07:22,576-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,578-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._setup >2018-07-28 16:07:22,578-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,579-0400 DEBUG otopi.context context._executeMethod:128 Stage setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._setup >2018-07-28 16:07:22,580-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,581-0400 INFO otopi.context context.runSequence:741 Stage: Environment packages setup >2018-07-28 16:07:22,581-0400 DEBUG otopi.context context.runSequence:745 STAGE internal_packages >2018-07-28 16:07:22,582-0400 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_prepare >2018-07-28 16:07:22,582-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Yum Transaction' >Loaded plugins: product-id, subscription-manager, versionlock >2018-07-28 16:07:22,594-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:22,598-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:22,633-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/" >2018-07-28 16:07:22,685-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:07:22,781-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:07:22,853-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:07:22,854-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:07:22,854-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:22,858-0400 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._internal_packages_end >2018-07-28 16:07:22,858-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:22,860-0400 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._internal_packages_end >2018-07-28 16:07:22,860-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Building transaction >2018-07-28 16:07:22,886-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Empty transaction >2018-07-28 16:07:22,886-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction Summary: >2018-07-28 16:07:22,888-0400 DEBUG otopi.context context._executeMethod:128 Stage internal_packages METHOD otopi.plugins.otopi.core.transaction.Plugin._pre_end >2018-07-28 16:07:22,888-0400 DEBUG otopi.transaction transaction.commit:147 committing 'Yum Transaction' >Loaded plugins: product-id, subscription-manager, versionlock >2018-07-28 16:07:22,898-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:22,902-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:22,938-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/" >2018-07-28 16:07:22,994-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:07:23,073-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:07:23,152-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:07:23,153-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:07:23,153-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:23,156-0400 INFO otopi.context context.runSequence:741 Stage: Programs detection >2018-07-28 16:07:23,156-0400 DEBUG otopi.context context.runSequence:745 STAGE programs >2018-07-28 16:07:23,157-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.system.command.Plugin._programs >2018-07-28 16:07:23,159-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chkconfig=str:'/usr/sbin/chkconfig' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chronyc=str:'/usr/bin/chronyc' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/date=str:'/usr/bin/date' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/dig=str:'/usr/bin/dig' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/exportfs=str:'/usr/sbin/exportfs' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/firewall-cmd=str:'/usr/bin/firewall-cmd' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/hwclock=str:'/usr/sbin/hwclock' >2018-07-28 16:07:23,160-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ip=str:'/usr/sbin/ip' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ntpq=str:'/usr/sbin/ntpq' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/openssl=str:'/usr/bin/openssl' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/reboot=str:'/usr/sbin/reboot' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/restorecon=str:'/usr/sbin/restorecon' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rpm=str:'/usr/bin/rpm' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/selinuxenabled=str:'/usr/sbin/selinuxenabled' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/semanage=str:'/usr/sbin/semanage' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/service=str:'/usr/sbin/service' >2018-07-28 16:07:23,161-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/sysctl=str:'/usr/sbin/sysctl' >2018-07-28 16:07:23,162-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/systemctl=str:'/usr/bin/systemctl' >2018-07-28 16:07:23,162-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:23,163-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._setup >2018-07-28 16:07:23,164-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:23,164-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ssh-keygen=NoneType:'None' >2018-07-28 16:07:23,165-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:23,166-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._programs >2018-07-28 16:07:23,168-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._setup >2018-07-28 16:07:23,169-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.openrc.Plugin._programs >2018-07-28 16:07:23,171-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.rhel.Plugin._programs >2018-07-28 16:07:23,171-0400 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show-environment'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,181-0400 DEBUG otopi.plugins.otopi.services.rhel plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show-environment'), rc=0 >2018-07-28 16:07:23,181-0400 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show-environment') stdout: >LANG=en_US.UTF-8 >PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin > >2018-07-28 16:07:23,182-0400 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show-environment') stderr: > > >2018-07-28 16:07:23,184-0400 DEBUG otopi.context context._executeMethod:128 Stage programs METHOD otopi.plugins.otopi.services.systemd.Plugin._programs >2018-07-28 16:07:23,184-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show-environment'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,189-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show-environment'), rc=0 >2018-07-28 16:07:23,189-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show-environment') stdout: >LANG=en_US.UTF-8 >PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin > >2018-07-28 16:07:23,189-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show-environment') stderr: > > >2018-07-28 16:07:23,190-0400 DEBUG otopi.plugins.otopi.services.systemd systemd._programs:49 registering systemd provider >2018-07-28 16:07:23,191-0400 INFO otopi.context context.runSequence:741 Stage: Environment setup >2018-07-28 16:07:23,191-0400 DEBUG otopi.context context.runSequence:745 STAGE late_setup >2018-07-28 16:07:23,192-0400 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._late_setup >2018-07-28 16:07:23,192-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service nfs-server exists >2018-07-28 16:07:23,193-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,199-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service'), rc=0 >2018-07-28 16:07:23,200-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service') stdout: >LoadState=loaded > >2018-07-28 16:07:23,200-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'nfs-server.service') stderr: > > >2018-07-28 16:07:23,200-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.executeRaw:813 execute: ('/usr/sbin/exportfs',), executable='None', cwd='None', env=None >2018-07-28 16:07:23,203-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.executeRaw:863 execute-result: ('/usr/sbin/exportfs',), rc=0 >2018-07-28 16:07:23,204-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.execute:921 execute-output: ('/usr/sbin/exportfs',) stdout: > > >2018-07-28 16:07:23,204-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs plugin.execute:926 execute-output: ('/usr/sbin/exportfs',) stderr: > > >2018-07-28 16:07:23,205-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:23,205-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False' >2018-07-28 16:07:23,205-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs-server' >2018-07-28 16:07:23,206-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:23,207-0400 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._late_setup_service_state >2018-07-28 16:07:23,207-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-imageio-proxy status >2018-07-28 16:07:23,207-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,215-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'ovirt-imageio-proxy.service'), rc=3 >2018-07-28 16:07:23,215-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/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 sam. 2018-07-28 15:44:55 EDT; 22min ago > Main PID: 761 (code=exited, status=0/SUCCESS) > >juil. 27 20:42:29 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:42:29] "PUT /tickets/ HTTP/1.1" 200 0 >juil. 27 20:42:40 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:42:40] "PUT /tickets/ HTTP/1.1" 200 0 >juil. 27 20:45:17 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:45:17] "DELETE /tickets/08b60240-bd16-4324-9b9c-8c36328294ed HTTP/1.1" 204 0 >juil. 27 20:45:27 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:45:27] "DELETE /tickets/59ea5f4e-04b0-46e0-a9f4-4ce90e89c788 HTTP/1.1" 204 0 >juil. 27 20:51:50 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:51:50] "PUT /tickets/ HTTP/1.1" 200 0 >juil. 27 20:51:52 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:51:52] "PUT /tickets/ HTTP/1.1" 200 0 >juil. 27 20:54:28 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:54:28] "DELETE /tickets/890aee25-b30a-4baf-9d8b-c16bfbddfced HTTP/1.1" 204 0 >juil. 27 20:54:51 rhvm.v2v.bos.redhat.com ovirt-imageio-proxy[761]: 10.19.2.100 - - [27/Jul/2018 20:54:51] "DELETE /tickets/3e6ca5cb-a97a-4c3e-b419-3bbb46995520 HTTP/1.1" 204 0 >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com systemd[1]: Stopping oVirt ImageIO Proxy... >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com systemd[1]: Stopped oVirt ImageIO Proxy. > >2018-07-28 16:07:23,215-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'ovirt-imageio-proxy.service') stderr: > > >2018-07-28 16:07:23,217-0400 DEBUG otopi.context context._executeMethod:128 Stage late_setup METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._late_setup_service_state >2018-07-28 16:07:23,217-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-websocket-proxy status >2018-07-28 16:07:23,218-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,224-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'ovirt-websocket-proxy.service'), rc=3 >2018-07-28 16:07:23,225-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/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 sam. 2018-07-28 15:44:55 EDT; 22min ago > Main PID: 1329 (code=exited, status=0/SUCCESS) > >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com ovirt-websocket[1329]: 2018-07-28 15:44:55,789-0400 ovirt-websocket-proxy: INFO msg:871 In exit >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com systemd[1]: Stopping oVirt Engine websockets proxy... >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com ovirt-websocket-proxy.py[1329]: ovirt-websocket-proxy[1329] INFO msg:871 In exit >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com systemd[1]: Stopped oVirt Engine websockets proxy. > >2018-07-28 16:07:23,225-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'ovirt-websocket-proxy.service') stderr: > > >2018-07-28 16:07:23,226-0400 INFO otopi.context context.runSequence:741 Stage: Environment customization >2018-07-28 16:07:23,227-0400 DEBUG otopi.context context.runSequence:745 STAGE customization >2018-07-28 16:07:23,228-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.network.firewalld.Plugin._customization >2018-07-28 16:07:23,228-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service firewalld exists >2018-07-28 16:07:23,228-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:23,235-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service'), rc=0 >2018-07-28 16:07:23,235-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service') stdout: >LoadState=loaded > >2018-07-28 16:07:23,235-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'firewalld.service') stderr: > > >2018-07-28 16:07:23,238-0400 DEBUG otopi.plugins.otopi.network.firewalld firewalld._get_firewalld_cmd_version:105 firewalld version: 0.4.4.4 >2018-07-28 16:07:23,238-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:23,238-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldAvailable=bool:'True' >2018-07-28 16:07:23,239-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:23,240-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.showupgradekb.Plugin._customization >2018-07-28 16:07:23,240-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:23,240-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Welcome to the RHV 4.2 setup/upgrade. >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Please read the RHV 4.2 install guide >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/installation_guide/index.html >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Please refer to the RHV Upgrade Helper application >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND https://access.redhat.com/labs/rhevupgradehelper/ which will guide you in the upgrading process. >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_DIALOG_CONTINUE_UPGRADE >2018-07-28 16:07:23,241-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Would you like to proceed? (Yes, No) [Yes]: >2018-07-28 16:07:31,568-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,568-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RHEVM_DIALOG/confirmUpgrade=bool:'False' >2018-07-28 16:07:31,569-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DIALOG_CONTINUE_UPGRADE=str:'yes' >2018-07-28 16:07:31,569-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,570-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.core.config.Plugin._customize1 >2018-07-28 16:07:31,572-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.dialog.cli.Plugin._customize >2018-07-28 16:07:31,572-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:31,574-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.core.reconfigure.Plugin._customization >2018-07-28 16:07:31,576-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._version_lock_customization >2018-07-28 16:07:31,576-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,576-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv', 'ovirt-engine-extension-aaa-jdbc']' >2018-07-28 16:07:31,576-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev', 'ovirt-engine-extension-aaa-jdbc']' >2018-07-28 16:07:31,577-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}]' >2018-07-28 16:07:31,577-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,578-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization_enable >2018-07-28 16:07:31,580-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._version_lock_customization >2018-07-28 16:07:31,582-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_s_product_options >2018-07-28 16:07:31,583-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:31,583-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== PRODUCT OPTIONS ==-- >2018-07-28 16:07:31,583-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:31,585-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._customization >2018-07-28 16:07:31,587-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.iso_domain.Plugin._customization >2018-07-28 16:07:31,587-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:31,589-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.misc.Plugin._customization >2018-07-28 16:07:31,589-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,590-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/enable=bool:'True' >2018-07-28 16:07:31,590-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,591-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization >2018-07-28 16:07:31,592-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn ovirtproviderovn._is_provider_installed:759 ovirt-provider-ovn already installed, skipping. >2018-07-28 16:07:31,593-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,593-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}]' >2018-07-28 16:07:31,593-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,594-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization >2018-07-28 16:07:31,595-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,595-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'True' >2018-07-28 16:07:31,596-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,597-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization >2018-07-28 16:07:31,597-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,597-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'True' >2018-07-28 16:07:31,598-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,599-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._customization >2018-07-28 16:07:31,601-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._customization >2018-07-28 16:07:31,603-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,603-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMax=str:'3971M' >2018-07-28 16:07:31,603-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMin=str:'3971M' >2018-07-28 16:07:31,604-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,605-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.distro-rpm.packages.Plugin._customization >2018-07-28 16:07:31,605-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,605-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard']' >2018-07-28 16:07:31,606-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine']' >2018-07-28 16:07:31,606-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins', 'ovirt-engine-setup']' >2018-07-28 16:07:31,606-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-iso-uploader', 'ovirt-engine-dashboard', 'rhvm-branding-rhv', 'rhvm-doc', 'ovirt-log-collector']}]' >2018-07-28 16:07:31,607-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,608-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.misc.Plugin._customization >2018-07-28 16:07:31,608-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,609-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'True' >2018-07-28 16:07:31,609-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,610-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customization >2018-07-28 16:07:31,611-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,611-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/vmconsoleProxyStopNeeded=bool:'True' >2018-07-28 16:07:31,611-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,612-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.packages.Plugin._customization >2018-07-28 16:07:31,613-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,613-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins', 'ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy']' >2018-07-28 16:07:31,614-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-iso-uploader', 'ovirt-engine-dashboard', 'rhvm-branding-rhv', 'rhvm-doc', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}]' >2018-07-28 16:07:31,614-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,615-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.dialog.titles.Plugin._title_e_product_options >2018-07-28 16:07:31,617-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.distro-rpm.packages.Plugin._customization >2018-07-28 16:07:31,617-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:31,617-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard', 'ovirt-engine-dwh']' >2018-07-28 16:07:31,617-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-dwh', 'ovirt-engine-dwh-setup']' >2018-07-28 16:07:31,618-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins', 'ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy', 'ovirt-engine-dwh-setup']' >2018-07-28 16:07:31,618-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-iso-uploader', 'ovirt-engine-dashboard', 'rhvm-branding-rhv', 'rhvm-doc', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]' >2018-07-28 16:07:31,619-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:31,620-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_packages >2018-07-28 16:07:31,620-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:31,620-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== PACKAGES ==-- >2018-07-28 16:07:31,620-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:31,622-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._customization >2018-07-28 16:07:31,622-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._customization:358 Checking for product updates... >2018-07-28 16:07:31,634-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:31,638-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:31,679-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/" >2018-07-28 16:07:31,740-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:07:31,825-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:07:31,907-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:07:31,907-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:07:31,908-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:31,947-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: ansible-nighly-2.5.z/x86_64 (0%) >2018-07-28 16:07:31,948-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: ansible-nighly-2.5.z/x86_64 4.2 k(100%) >2018-07-28 16:07:32,089-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: jboss-eap-7.1/x86_64 (0%) >2018-07-28 16:07:32,090-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: jboss-eap-7.1/x86_64 3.8 k(100%) >2018-07-28 16:07:32,199-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-beta-rpms/x86_64 (0%) >2018-07-28 16:07:32,200-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-beta-rpms/x86_64 2.3 k(100%) >2018-07-28 16:07:32,238-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 (0%) >2018-07-28 16:07:32,239-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:32,274-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:32,275-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 2.1 k(100%) >2018-07-28 16:07:32,313-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:32,314-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-rpms/7Server/x86_64 2.0 k(100%) >2018-07-28 16:07:32,349-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 (0%) >2018-07-28 16:07:32,350-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:32,388-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:32,389-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 1.7 k(100%) >2018-07-28 16:07:32,399-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7.5-supplementary/x86_64 (0%) >2018-07-28 16:07:32,400-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7.5-supplementary/x86_64 4.2 k(100%) >2018-07-28 16:07:32,409-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7.5.z/x86_64 (0%) >2018-07-28 16:07:32,410-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-7.5.z/x86_64 4.3 k(100%) >2018-07-28 16:07:32,419-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-75-optional/x86_64 (0%) >2018-07-28 16:07:32,420-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhel-75-optional/x86_64 3.8 k(100%) >2018-07-28 16:07:32,428-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhevh-75/x86_64 (0%) >2018-07-28 16:07:32,429-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhevh-75/x86_64 2.6 k(100%) >2018-07-28 16:07:32,815-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhv-4.2.4/7Server (0%) >2018-07-28 16:07:32,816-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhv-4.2.4/7Server 3.0 k(100%) >2018-07-28 16:07:33,008-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhv-4.2.5/7Server (0%) >2018-07-28 16:07:33,009-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Downloading: rhv-4.2.5/7Server 3.0 k(100%) >2018-07-28 16:07:33,130-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine-extension-aaa-jdbc for install/update >2018-07-28 16:07:33,318-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine for install/update >2018-07-28 16:07:33,491-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-host-deploy for install/update >2018-07-28 16:07:33,664-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine-cli for install/update >2018-07-28 16:07:33,834-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-iso-uploader for install/update >2018-07-28 16:07:34,000-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine-dashboard for install/update >2018-07-28 16:07:34,175-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package rhvm-branding-rhv for install/update >2018-07-28 16:07:34,343-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package rhvm-doc for install/update >2018-07-28 16:07:34,511-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-log-collector for install/update >2018-07-28 16:07:34,666-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine-websocket-proxy for install/update >2018-07-28 16:07:34,816-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum queue package ovirt-engine-dwh for install/update >2018-07-28 16:07:34,966-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Building transaction >2018-07-28 16:07:34,983-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Empty transaction >2018-07-28 16:07:34,984-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Transaction Summary: >2018-07-28 16:07:34,989-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages._customization:366 No product updates found >2018-07-28 16:07:34,991-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable.Plugin._validation >2018-07-28 16:07:34,992-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable._checkIfPackagesReinstallable:64 Start ['ovirt-engine-setup'] >2018-07-28 16:07:35,002-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:35,007-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:35,042-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Response: status=200, request="GET /rhsm/" >2018-07-28 16:07:35,096-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:07:35,177-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:07:35,255-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:07:35,256-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:07:35,257-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:203 Yum Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:35,297-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-beta-rpms/x86_64 (0%) >2018-07-28 16:07:35,298-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-beta-rpms/x86_64 2.3 k(100%) >2018-07-28 16:07:35,338-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 (0%) >2018-07-28 16:07:35,339-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:35,376-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:35,377-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 2.1 k(100%) >2018-07-28 16:07:35,415-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:35,416-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-rpms/7Server/x86_64 2.0 k(100%) >2018-07-28 16:07:35,455-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 (0%) >2018-07-28 16:07:35,456-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:35,495-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:35,496-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 1.7 k(100%) >2018-07-28 16:07:35,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable._checkIfPackagesReinstallable:82 dupes: operation [available] package ovirt-engine-setup-4.2.4.5-0.1.el7_3.noarch >2018-07-28 16:07:35,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable._checkIfPackagesReinstallable:82 dupes: operation [installed] package ovirt-engine-setup-4.2.5.2-0.1.el7ev.noarch >2018-07-28 16:07:35,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable._checkIfPackagesReinstallable:82 dupes: operation [reinstall_available] package ovirt-engine-setup-4.2.5.2-0.1.el7ev.noarch >2018-07-28 16:07:35,800-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_packages >2018-07-28 16:07:35,802-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_network >2018-07-28 16:07:35,802-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:35,803-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== NETWORK CONFIGURATION ==-- >2018-07-28 16:07:35,803-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:35,805-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_common.base.network.hostname.Plugin._customization >2018-07-28 16:07:35,805-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:35,806-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_CONFIG/fqdn >2018-07-28 16:07:35,807-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname hostname._validateFQDNresolvability:261 rhvm.v2v.bos.redhat.com resolves to: set(['10.19.2.100']) >2018-07-28 16:07:35,807-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.executeRaw:813 execute: ['/usr/bin/dig', 'rhvm.v2v.bos.redhat.com'], executable='None', cwd='None', env=None >2018-07-28 16:07:35,818-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.executeRaw:863 execute-result: ['/usr/bin/dig', 'rhvm.v2v.bos.redhat.com'], rc=0 >2018-07-28 16:07:35,819-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.execute:921 execute-output: ['/usr/bin/dig', 'rhvm.v2v.bos.redhat.com'] stdout: > >; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7 <<>> rhvm.v2v.bos.redhat.com >;; global options: +cmd >;; Got answer: >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17449 >;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 > >;; OPT PSEUDOSECTION: >; EDNS: version: 0, flags:; udp: 4096 >;; QUESTION SECTION: >;rhvm.v2v.bos.redhat.com. IN A > >;; ANSWER SECTION: >rhvm.v2v.bos.redhat.com. 86400 IN A 10.19.2.100 > >;; AUTHORITY SECTION: >v2v.bos.redhat.com. 86400 IN NS satellite.v2v.bos.redhat.com. >v2v.bos.redhat.com. 86400 IN NS idm.v2v.bos.redhat.com. > >;; ADDITIONAL SECTION: >idm.v2v.bos.redhat.com. 86400 IN A 10.19.2.1 >satellite.v2v.bos.redhat.com. 1200 IN A 10.19.2.120 > >;; Query time: 0 msec >;; SERVER: 10.19.2.1#53(10.19.2.1) >;; WHEN: sam. juil. 28 16:07:35 EDT 2018 >;; MSG SIZE rcvd: 142 > > >2018-07-28 16:07:35,819-0400 DEBUG otopi.plugins.ovirt_engine_common.base.network.hostname plugin.execute:926 execute-output: ['/usr/bin/dig', 'rhvm.v2v.bos.redhat.com'] stderr: > > >2018-07-28 16:07:35,821-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization_is_requested >2018-07-28 16:07:35,822-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service iptables exists >2018-07-28 16:07:35,822-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:35,828-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), rc=0 >2018-07-28 16:07:35,829-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stdout: >LoadState=not-found > >2018-07-28 16:07:35,829-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stderr: > > >2018-07-28 16:07:35,829-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Setup can automatically configure the firewall on this system. >2018-07-28 16:07:35,829-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Note: automatic configuration of the firewall may overwrite current settings. >2018-07-28 16:07:35,830-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND NOTICE: iptables is deprecated and will be removed in future releases >2018-07-28 16:07:35,830-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_UPDATE_FIREWALL >2018-07-28 16:07:35,830-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Do you want Setup to configure the firewall? (Yes, No) [Yes]: >2018-07-28 16:07:38,029-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:38,029-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/updateFirewall=bool:'True' >2018-07-28 16:07:38,030-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:'yes' >2018-07-28 16:07:38,030-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:38,031-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._customization >2018-07-28 16:07:38,032-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service firewalld status >2018-07-28 16:07:38,032-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'firewalld.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,041-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'firewalld.service'), rc=0 >2018-07-28 16:07:38,042-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'status', 'firewalld.service') stdout: >â firewalld.service - firewalld - dynamic firewall daemon > Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) > Active: active (running) since ven. 2018-07-13 02:26:06 EDT; 2 weeks 1 days ago > Docs: man:firewalld(1) > Main PID: 788 (firewalld) > CGroup: /system.slice/firewalld.service > ââ788 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid > >2018-07-28 16:07:38,042-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'firewalld.service') stderr: > > >2018-07-28 16:07:38,042-0400 INFO otopi.plugins.ovirt_engine_setup.base.network.firewall_manager firewall_manager._customization:223 firewalld will be configured as firewall manager. >2018-07-28 16:07:38,045-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._customization >2018-07-28 16:07:38,046-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:38,046-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:38,047-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:38,048-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.firewall.Plugin._configuration >2018-07-28 16:07:38,048-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:38,049-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@JBOSS_HTTP_PORT@': None, '@JBOSS_HTTPS_PORT@': None}' >2018-07-28 16:07:38,049-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:38,050-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._firewall >2018-07-28 16:07:38,050-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,052-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.firewall.Plugin._configuration >2018-07-28 16:07:38,053-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:38,053-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}]' >2018-07-28 16:07:38,054-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@HTTPS_PORT@': 443, '@JBOSS_HTTP_PORT@': None, '@HTTP_PORT@': 80, '@JBOSS_HTTPS_PORT@': None}' >2018-07-28 16:07:38,054-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:38,055-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._network_owners_config_customized >2018-07-28 16:07:38,057-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._remote_engine_customization >2018-07-28 16:07:38,057-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,059-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_network >2018-07-28 16:07:38,059-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,060-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn >2018-07-28 16:07:38,061-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config hostname._validateFQDNresolvability:261 rhvm.v2v.bos.redhat.com resolves to: set(['10.19.2.100']) >2018-07-28 16:07:38,063-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._customizationNetwork >2018-07-28 16:07:38,063-0400 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,063-0400 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn >2018-07-28 16:07:38,064-0400 DEBUG otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config hostname._validateFQDNresolvability:261 rhvm.v2v.bos.redhat.com resolves to: set(['10.19.2.100']) >2018-07-28 16:07:38,065-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:38,065-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'directory': 'ovirt-common', 'name': 'ovirt-http'}, {'directory': 'ovirt-common', 'name': 'ovirt-https'}, {'directory': 'vmconsole-proxy', 'name': 'ovirt-vmconsole-proxy'}]' >2018-07-28 16:07:38,065-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldSubst=dict:'{'@HTTPS_PORT@': 443, '@JBOSS_HTTP_PORT@': None, '@HTTP_PORT@': 80, '@VMCONSOLE_PROXY_PORT@': 2222, '@JBOSS_HTTPS_PORT@': None}' >2018-07-28 16:07:38,065-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:38,066-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_network >2018-07-28 16:07:38,067-0400 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,067-0400 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_ENGINE_CONFIG/fqdn >2018-07-28 16:07:38,068-0400 DEBUG otopi.plugins.ovirt_engine_setup.websocket_proxy.config hostname._validateFQDNresolvability:261 rhvm.v2v.bos.redhat.com resolves to: set(['10.19.2.100']) >2018-07-28 16:07:38,070-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_network >2018-07-28 16:07:38,072-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_database >2018-07-28 16:07:38,072-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:38,072-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== DATABASE CONFIGURATION ==-- >2018-07-28 16:07:38,072-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:38,074-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization_enable >2018-07-28 16:07:38,076-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_enable >2018-07-28 16:07:38,076-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,078-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization >2018-07-28 16:07:38,079-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,081-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization >2018-07-28 16:07:38,081-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,083-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection.Plugin._customization >2018-07-28 16:07:38,083-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,084-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/host >2018-07-28 16:07:38,085-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection hostname._validateFQDNresolvability:261 localhost resolves to: set(['127.0.0.1']) >2018-07-28 16:07:38,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/port >2018-07-28 16:07:38,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/database >2018-07-28 16:07:38,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/user >2018-07-28 16:07:38,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_DB/password >2018-07-28 16:07:38,086-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1360 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'} >2018-07-28 16:07:38,086-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_catalog.pg_tables > where schemaname = 'public'; > ', args: {} >2018-07-28 16:07:38,086-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 40L}] >2018-07-28 16:07:38,092-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SHOW server_version', args: {} >2018-07-28 16:07:38,092-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,095-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,095-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkServerVersion:467 PostgreSQL server version: 9.5.9 >2018-07-28 16:07:38,095-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,102-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), rc=0 >2018-07-28 16:07:38,102-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,102-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stderr: > > >2018-07-28 16:07:38,103-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkClientVersion:483 PostgreSQL client version: 9.5.9 >2018-07-28 16:07:38,103-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,109-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), rc=0 >2018-07-28 16:07:38,110-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,110-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stderr: > > >2018-07-28 16:07:38,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_vacuum_scale_factor', args: {} >2018-07-28 16:07:38,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,113-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_vacuum_scale_factor': '0.01'}] >2018-07-28 16:07:38,113-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_analyze_scale_factor', args: {} >2018-07-28 16:07:38,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_analyze_scale_factor': '0.075'}] >2018-07-28 16:07:38,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_max_workers', args: {} >2018-07-28 16:07:38,117-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,119-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_max_workers': '6'}] >2018-07-28 16:07:38,119-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting maintenance_work_mem from pg_settings where name = 'maintenance_work_mem'', args: {} >2018-07-28 16:07:38,119-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,123-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'maintenance_work_mem': '65536'}] >2018-07-28 16:07:38,124-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting work_mem from pg_settings where name = 'work_mem'', args: {} >2018-07-28 16:07:38,124-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,127-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'work_mem': '8192'}] >2018-07-28 16:07:38,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_encoding', args: {} >2018-07-28 16:07:38,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,130-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_encoding': 'UTF8'}] >2018-07-28 16:07:38,130-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show max_connections', args: {} >2018-07-28 16:07:38,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'max_connections': '150'}] >2018-07-28 16:07:38,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show lc_messages', args: {} >2018-07-28 16:07:38,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,136-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'lc_messages': 'en_US.UTF-8'}] >2018-07-28 16:07:38,136-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_version', args: {} >2018-07-28 16:07:38,136-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,141-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection.Plugin._customization >2018-07-28 16:07:38,142-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/host >2018-07-28 16:07:38,142-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection hostname._validateFQDNresolvability:261 localhost resolves to: set(['127.0.0.1']) >2018-07-28 16:07:38,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/port >2018-07-28 16:07:38,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/database >2018-07-28 16:07:38,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/user >2018-07-28 16:07:38,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/password >2018-07-28 16:07:38,144-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1360 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'} >2018-07-28 16:07:38,144-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_catalog.pg_tables > where schemaname = 'public'; > ', args: {} >2018-07-28 16:07:38,144-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,149-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 156L}] >2018-07-28 16:07:38,149-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SHOW server_version', args: {} >2018-07-28 16:07:38,149-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,152-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,152-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkServerVersion:467 PostgreSQL server version: 9.5.9 >2018-07-28 16:07:38,152-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,159-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), rc=0 >2018-07-28 16:07:38,159-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,159-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stderr: > > >2018-07-28 16:07:38,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkClientVersion:483 PostgreSQL client version: 9.5.9 >2018-07-28 16:07:38,160-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,166-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), rc=0 >2018-07-28 16:07:38,166-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,167-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stderr: > > >2018-07-28 16:07:38,167-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_vacuum_scale_factor', args: {} >2018-07-28 16:07:38,167-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,170-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_vacuum_scale_factor': '0.01'}] >2018-07-28 16:07:38,170-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_analyze_scale_factor', args: {} >2018-07-28 16:07:38,170-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_analyze_scale_factor': '0.075'}] >2018-07-28 16:07:38,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_max_workers', args: {} >2018-07-28 16:07:38,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_max_workers': '6'}] >2018-07-28 16:07:38,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting maintenance_work_mem from pg_settings where name = 'maintenance_work_mem'', args: {} >2018-07-28 16:07:38,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'maintenance_work_mem': '65536'}] >2018-07-28 16:07:38,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting work_mem from pg_settings where name = 'work_mem'', args: {} >2018-07-28 16:07:38,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'work_mem': '8192'}] >2018-07-28 16:07:38,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_encoding', args: {} >2018-07-28 16:07:38,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,187-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_encoding': 'UTF8'}] >2018-07-28 16:07:38,187-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show max_connections', args: {} >2018-07-28 16:07:38,188-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'max_connections': '150'}] >2018-07-28 16:07:38,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show lc_messages', args: {} >2018-07-28 16:07:38,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,193-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'lc_messages': 'en_US.UTF-8'}] >2018-07-28 16:07:38,193-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_version', args: {} >2018-07-28 16:07:38,193-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,196-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,198-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._customization >2018-07-28 16:07:38,200-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._customization >2018-07-28 16:07:38,201-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,203-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._db_owners_connections_customized >2018-07-28 16:07:38,205-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._customization >2018-07-28 16:07:38,205-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:38,207-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection.Plugin._engine_customization >2018-07-28 16:07:38,207-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection hostname.__init__:139 Hostname initialized only at stage 6 so the dection of the required commands is up to the caller object >2018-07-28 16:07:38,207-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/host >2018-07-28 16:07:38,208-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection hostname._validateFQDNresolvability:261 localhost resolves to: set(['127.0.0.1']) >2018-07-28 16:07:38,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/port >2018-07-28 16:07:38,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/database >2018-07-28 16:07:38,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/user >2018-07-28 16:07:38,209-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DB/password >2018-07-28 16:07:38,209-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.getCredentials:1360 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'} >2018-07-28 16:07:38,209-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_catalog.pg_tables > where schemaname = 'public'; > ', args: {} >2018-07-28 16:07:38,209-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,214-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 156L}] >2018-07-28 16:07:38,214-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SHOW server_version', args: {} >2018-07-28 16:07:38,214-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,217-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,217-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkServerVersion:467 PostgreSQL server version: 9.5.9 >2018-07-28 16:07:38,217-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,224-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version'), rc=0 >2018-07-28 16:07:38,224-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,224-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '--version') stderr: > > >2018-07-28 16:07:38,224-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.checkClientVersion:483 PostgreSQL client version: 9.5.9 >2018-07-28 16:07:38,225-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), executable='None', cwd='None', env=None >2018-07-28 16:07:38,231-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), rc=0 >2018-07-28 16:07:38,232-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:38,232-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.engine_connection plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stderr: > > >2018-07-28 16:07:38,232-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_vacuum_scale_factor', args: {} >2018-07-28 16:07:38,232-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,235-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_vacuum_scale_factor': '0.01'}] >2018-07-28 16:07:38,235-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_analyze_scale_factor', args: {} >2018-07-28 16:07:38,235-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,238-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_analyze_scale_factor': '0.075'}] >2018-07-28 16:07:38,238-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show autovacuum_max_workers', args: {} >2018-07-28 16:07:38,238-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'autovacuum_max_workers': '6'}] >2018-07-28 16:07:38,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting maintenance_work_mem from pg_settings where name = 'maintenance_work_mem'', args: {} >2018-07-28 16:07:38,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,245-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'maintenance_work_mem': '65536'}] >2018-07-28 16:07:38,245-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'select setting work_mem from pg_settings where name = 'work_mem'', args: {} >2018-07-28 16:07:38,245-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,249-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'work_mem': '8192'}] >2018-07-28 16:07:38,249-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_encoding', args: {} >2018-07-28 16:07:38,249-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,252-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_encoding': 'UTF8'}] >2018-07-28 16:07:38,252-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show max_connections', args: {} >2018-07-28 16:07:38,252-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,255-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'max_connections': '150'}] >2018-07-28 16:07:38,255-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show lc_messages', args: {} >2018-07-28 16:07:38,255-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,258-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'lc_messages': 'en_US.UTF-8'}] >2018-07-28 16:07:38,258-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'show server_version', args: {} >2018-07-28 16:07:38,258-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,261-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'server_version': '9.5.9'}] >2018-07-28 16:07:38,263-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._customization >2018-07-28 16:07:38,263-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SELECT pg_database_size(%(db)s) as size', args: {'db': 'ovirt_engine_history'} >2018-07-28 16:07:38,264-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:38,267-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'size': 196985004L}] >2018-07-28 16:07:38,268-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_DWH_PERFORM_BACKUP >2018-07-28 16:07:38,268-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND The detected DWH database size is 187 MB. >2018-07-28 16:07:38,268-0400 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. >2018-07-28 16:07:38,268-0400 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. >2018-07-28 16:07:38,269-0400 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]: >2018-07-28 16:07:39,290-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:39,290-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/performBackup=bool:'True' >2018-07-28 16:07:39,291-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DWH_PERFORM_BACKUP=str:'yes' >2018-07-28 16:07:39,291-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:39,292-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.vacuum.Plugin._customization >2018-07-28 16:07:39,292-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query DWH_VACUUM_FULL >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Perform full vacuum on the oVirt engine history >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND database ovirt_engine_history@localhost? >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND This operation may take a while depending on this setup health and the >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND configuration of the db vacuum process. >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html >2018-07-28 16:07:39,293-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND (Yes, No) [No]: >2018-07-28 16:07:42,122-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,122-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dwhVacuumFull=bool:'False' >2018-07-28 16:07:42,122-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/DWH_VACUUM_FULL=str:'no' >2018-07-28 16:07:42,123-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,124-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_database >2018-07-28 16:07:42,126-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_engine >2018-07-28 16:07:42,126-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,126-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== OVIRT ENGINE CONFIGURATION ==-- >2018-07-28 16:07:42,126-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,128-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._customization >2018-07-28 16:07:42,128-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,130-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization_enable >2018-07-28 16:07:42,130-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,132-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._customization >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query ENGINE_VACUUM_FULL >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Perform full vacuum on the engine database engine@localhost? >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND This operation may take a while depending on this setup health and the >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND configuration of the db vacuum process. >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html >2018-07-28 16:07:42,133-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND (Yes, No) [No]: >2018-07-28 16:07:42,765-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,765-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/engineVacuumFull=bool:'False' >2018-07-28 16:07:42,765-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/ENGINE_VACUUM_FULL=str:'no' >2018-07-28 16:07:42,766-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,766-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.appmode.Plugin._customization >2018-07-28 16:07:42,766-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,768-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._customization_credentials >2018-07-28 16:07:42,768-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,770-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.domain_type.Plugin._customization >2018-07-28 16:07:42,770-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,772-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_engine >2018-07-28 16:07:42,774-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_storage >2018-07-28 16:07:42,774-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,774-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== STORAGE CONFIGURATION ==-- >2018-07-28 16:07:42,774-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,776-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.storage.Plugin._configureSANWipeAfterDelete >2018-07-28 16:07:42,776-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,778-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_storage >2018-07-28 16:07:42,779-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_pki >2018-07-28 16:07:42,780-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,780-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== PKI CONFIGURATION ==-- >2018-07-28 16:07:42,780-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,782-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization >2018-07-28 16:07:42,782-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,783-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._customization_upgrade >2018-07-28 16:07:42,786-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,794-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,794-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: 22 4E 11 E1 F8 44 67 9A CD C2 4E CC 86 DE 1D BD D1 BA 61 D7 >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBALPnnDJXZxswG6dNkkoxtfhDiBKZdQcJkYb24J6r >m9K/azClyLOKwYqh1FDWUqDsxur0ss0cI6ovYuik3AR/CiRbo5EXPMweQDkZrTqw >H0BEvxsQtITFnYrfrNb/vyAhWOqENyWo5I1dYxiqimoqjmIZe6NOL9ln8u5HDshW >A6M5pELv9vZm4TPCjXIMXo3Y2EcrRZnm1tFJJO5ctEKdZiKRM/A71QVwe7wndhDZ >/kCzyLdLwf2dlJOaU+lEcQ14UNMDScIJEJoWlHQvul8Aie8MYVsh24WocXvbJY+q >TGeSvoW3MaPF2+/Uth5bq/5MdIBooSFa8erLenKynsbilmMCAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBQEyIecGrqje+fGSe5OoNe0BpnO9DCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAJc2ud0r7ij3V8xLEZmZHhxC >fv6sXaXzNUa1nMRaWGtHhyh2GBQbunbK3qgm6Ynj0UO6F12pe8xU5pLOXUTmRikM >Sgw5HaLkRmHSdxyPGP4BTFbsIadH9qdNlRRy8wMDApS8LWiFZf8Nsf+SyPyoSFG9 >AUiszwHpPSjKDQcwpHBREP7sKSfZ0eFGhisRr+gwmVa0R/poyjh6dXD0YOsMAi1x >FdVQ48Y2IsGHoVNI4/lOrwvtGUmXKSHEbvDLxwUmZl+HQha8KkZaEe1qNXRO7PjP >AgvHAVHn5ylxDBtQKfo00Q/WVsrwoT1pMECpV3zaA0+HWKXDfCklBQr4JD0ptSg= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/engine.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,795-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,802-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,803-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: 4A 6F D7 DF 16 3F D8 EF 02 67 96 E9 6E 21 07 40 5C 41 73 35 >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAIwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBAMNNZMz25UVBcayDs2NFSZUAT0l8JFxsnCy2uLm3 >RUsV8Bd3Zt7g7trNCWVNmurMtwC8sythX1Hc1vQ7PEY3VLBGN8tg5WRMMSKZ4kvf >qlcWsU28cv3nN/fMUJibYqRjs66y4MaejrAa0xwhWxr+k7iPQ7nDV+TD9CppO+7X >hK+UuuGP/xb1fkEQKg+AIcDFYXXtkFN6/OrTJWSvBddg4txVKILsRVnWgG6Bn+t9 >HpR0abMd0wsSf5R4X2f6qAcMvcs3WqePlrXin6vh8Kanlq70GJYrnuj8anYuzBnb >G5Xm/De6wxrZ70BhTul+ZuS3D0ML3FkGVjvM2cvasL4lVgUCAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBTqRufKvnGkEdAEpTvlYh+C4PWJjjCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAJiJTlosUi96X7IKaNynGI8T >uzQbGY2hEyCDeESHQSsQDQ3qg3rbMwtUnVO3ljduytSCQ3tgreeqe40TOzFA+2/S >Lz6asc8NM8vS5NoMrKyA6W1Tnk73ivNio3ym5uTkNPgXIxI2Jr0MhTLJoOywcemQ >DkbpUd/o4vW0YUHGTwotgQeVTooFH0jIbaYCMhk0VB3qjNl0kxmro2R008xRBjvk >5pM0nz5x+WUZW3jt3xWAuFz4i9iChvFX8JATdhFXSN9DHJFyYkMhUCfpxa21jZUd >YGaTWtX+2pAH/wHqWmjVfZp48xheM095oQZNAkMDyx9wCoCYCyq2Q6coIFOEO7I= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,803-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/jboss.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,804-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,804-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,811-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,811-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: D4 84 3D E2 00 8D EA 1C 1D E8 9D 95 BB 59 6C C5 A5 8E 94 5E >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAMwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBANjPJdKl6uUC32iQbVGjdTZ4v9QkXNOoLwEJ5XBv >Fb1uSLsAgTqj6o8iXuK/hSfXdr5BZsFAGHtdLhhFEO+f5cRUfeJhm5XekY7MIHQv >TZWu1YKl+oum1LOKG+NF6d/VbW9XfSEF3y+ZC0lsTKA6nVylFZrRqffS3c8q4QcI >wGga6WtW2lLvaSrO6Jy55wlZdT8Zi4e6HtQxKPMUyym8HFtDq/+GCnkgKBeqtzUK >wCZJGwVrF97gqfPpcTWAfhRiejikFHUWBQ0DkPZLVnMaZ91PpdNLE19nl081wDk0 >M1MnLwHPscFmj1SYwwrMek2wr1CfKvce3EtviXxO3a2hTiECAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBTgukTPeNB/nwHBFrcYbf7dVxuR3DCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAJXfnw31e7geMx3Unc/XiQq4 >ePhM7evtmbPVrdXRWBdzrF/5CbqZo0ojMiY233nKQhNegEGlpUxXnFSFiS6xIKIq >mZ3owOPI/cDUyugZ+r/+69Xfdyq740Kx0mNy8GrK3OqzTmsji7auHUux6N0oMVnr >P2k1ROYi2DxJ2hEoUdrT6hNDnygimGp4NTzex4Z9vnksQjsOvXUlx1Fr+K1r7GVB >H4ORM+3cdD30NSuq8th7bAj89TWSj8pBMVidN6ZEwIvv7fRZNF7aBQjEHxxfm7uZ >z0SdzKbcxK1IZFoEmu/GnTo5vfnq+kBEF/wSeMFCK8ePsJkTIFvx4BOEd2etI3M= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,812-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/websocket-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,812-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,812-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,819-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,820-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: 76 3B 45 62 92 7F B1 4C EA 0B 6C 75 3D 43 13 4C 07 AC 62 00 >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAQwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBAM06xDpbOYrG+O51+W8xLBSjcNEebMccNgI7KDVX >MnVgSSTniOKp7VKavP5jMmlm1/0nbC00wyi0oGkqGTOYXKJ8aoR/zBKsHH5IoF7J >cC2YlvOj5IikITeEQRqCxP+fiop6WXhbf7JtC4JnSzbmWM18qOEjA2+6conv2yzY >cHH76bGZPBBDka6QpuNrNWhhZ0rFWxVxPBaSQP0oUx+B87b4dwD/qW+cJ3yZVXhL >I4hIgrOOR2mctssawWP1gKexwRuBQ6P4F2zaHaxgoMGueH7CpO23qdtW4PUhCwTA >OSlXzmCx0RQnML3PdVuCeIa9XJlAKCme9YJ4Ak+Tt+dtHC8CAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBTs4bRDhNoXa8+qYeOTqmgV6oSETTCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBABgOyoDT4yayp2BoLeU2XRTc >FrGwiNJd+jBsjRWF1lohwhFdVcKikKZD9lzezHn/Q+9eyOt3lWm1jVCtKbBa0GpI >ffFFxyK1fwwJp8RCAj6nXsrrTQGYD9ihfXEIpMgUd7OxyGgCcqygEsidzWxZf26C >unTKmBxH4kKvk96vPYCoymKag++Fxdaakq2mh1pyVynDTgJhSxS6+v3xWGfOYuge >4hVUYgigZX+YI3vNkdC0DQvqnra2u17ApcHPfjhWSvI2rqpfxXedZmBwYx7Abnkq >ySEYg1kXnZol8LHyIws84S0Ruiopm5FyAZWrHNk76u8RPLos3pm7Tmo32jZt6H0= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,820-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/apache.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,820-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,821-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,827-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,828-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: 3B 27 11 7F FA 3C BC AC 06 A8 9E D7 34 5E EC D5 E0 DF 37 55 >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAUwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBAL6HfODz0XPHZUa/Gb3z6AiGjhie820epg7ZbnC3 >ad4SJR7wFZ4IqHtAKnStfQTlCR81qbtQ5yQOUXMvyGKloojHR1vaIzaTWmBgWMi3 >KfDyJOhOKy/K9aFit9KL0KH9jIRVZoEyNdomJNzng1icHOmQiQyEbaHaVmbY2Q5O >bOc2IsSmMWILny4suhNG1HmhnFHM1NjdL8Whaop4yrm5F7xWdJpRvYO17zXYNp/p >kMUCbHfbOa2N3afXIhO4Dh71H5bjtyPJgZVO3FH9QkiWeIBSUEirjEtfv+i7ybKA >my8C24mTfVCspnWKw+G/C7I7wYM9iVUT3TNh6LswKMli8a8CAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBQSGCKPpO+qwgQetx87YjegcVN12TCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAKIUUmQ+hMEYd0sQOW+7lRO+ >I/07OOTBJObgVdN9XbXnR01INby3EQsj17bf0/cHjCNnljfY/T24SwazZ93wh35U >QBYuuIZqFLpcVECk/ClZx96Cd82+9TEWxOhGGzZ1pj+dfDWj7VJCPL77H1WV6GPb >MH1kRko3BtPbiqnM1bMx7W6CvuXAz9w2Udn7WbK7SCKDDw1HaF3JUDwk47h0skNP >/0PzcaHM0bPQ8X4hhrqslxDI2vAD5qZOjDIdDMtrgUhagRe1R46s2J3eqBooVL+1 >KV2BzwSPVdrhCpCNxf8n63/+CDTM1uPsqF0q++XEZWek/4Sea3nprpbfLtEQTBg= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,828-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/reports.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,828-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,829-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:813 execute: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,835-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.executeRaw:863 execute-result: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys'), rc=0 >2018-07-28 16:07:42,836-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:921 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stdout: >Bag Attributes > localKeyID: B3 FD E2 3F 6F 43 66 7D F6 F2 91 91 9E 8E 91 BE 38 0A EB 2B >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAYwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMzWhcNMjMwMjExMjI0 >MjMzWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBANr6ZyUzvVeubAZkWnTEg4M4BIqhO5LdTtMVG8KG >Yu7WL637XsFAslO8hlm705lBtb9/st62XJLY+e05kFsc3PPiSQxlMdaCEs6szhJc >eswezqMCCpr+WaFqJzxfaQTU4mBVE5ADtfG7/vO/yCsnJnwnkvIAdSY4/+zREJCJ >sXb+l3bT4cpBDhJpO73rvqkQAg5UPQfVXZpfgq3Toewz5Sqkch+Ad9vCmIIp1ztd >ovVzxjJumw3bunAqMk5d8y836Fyk5gaaCxgLirlN+1An0j5O0Z7W7DDmlKGZ57UV >ibTB00xqnPOSLgUO+QQDwr4NQhFP3J3qrMX+o8b8lCtDw3UCAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBRXUaV8zL0D4xRtgGp10oMWU5HoXjCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAFxpi9QsjPM3DGOhBn9eAFRQ >eVLuwgswaoGWnZuS86eis1u/a/Vx/S0orTryLra757GIxxI3Jz+RUnINfl5JND7I >oVfhRPR9fFJ5004utJgqXYbFOfZwbefJH5+qeEztnFb27HfS0+J+ZkolADu9SbnG >dLAXXvcNZzrZmpJme8vi4+Z7EHaN+/hCCUQXdr6oWsDXFlSiGrTPGTD0tCN8TsVS >OEo2hbPobx1dtpqzV/CmDd4SU9qYp9kgeETSzJ5YPskHb8qJesI2xX9TI4TYHT1m >aHqO0Y0ZH9yrTPOqRuoqVrGGYnAiSedGw6N6IuMkEi4ZafcqaW9qOteKNrh8sTs= >-----END CERTIFICATE----- > >2018-07-28 16:07:42,836-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca plugin.execute:926 execute-output: ('/usr/bin/openssl', 'pkcs12', '-in', '/etc/pki/ovirt-engine/keys/imageio-proxy.p12', '-passin', 'pass:**FILTERED**', '-nokeys') stderr: >MAC verified OK > >2018-07-28 16:07:42,836-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._has_SAN:300 subjectAltName: DNS:rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,839-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._customization >2018-07-28 16:07:42,839-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,841-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._customization >2018-07-28 16:07:42,841-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,842-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_pki >2018-07-28 16:07:42,844-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_apache >2018-07-28 16:07:42,844-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,845-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== APACHE CONFIGURATION ==-- >2018-07-28 16:07:42,845-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,847-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._customization >2018-07-28 16:07:42,847-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,849-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization >2018-07-28 16:07:42,849-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,850-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._customization_already_configured >2018-07-28 16:07:42,851-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,852-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_apache >2018-07-28 16:07:42,854-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_system >2018-07-28 16:07:42,854-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,854-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== SYSTEM CONFIGURATION ==-- >2018-07-28 16:07:42,854-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,856-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_disable >2018-07-28 16:07:42,858-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._customization_firewall >2018-07-28 16:07:42,859-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,859-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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'}]' >2018-07-28 16:07:42,859-0400 DEBUG otopi.context context.dumpEnvironment:869 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}' >2018-07-28 16:07:42,860-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,860-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._customization_firewall >2018-07-28 16:07:42,861-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,861-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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'}]' >2018-07-28 16:07:42,861-0400 DEBUG otopi.context context.dumpEnvironment:869 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}' >2018-07-28 16:07:42,862-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,863-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.fence_kdump_listener.config.Plugin._customization_firewall >2018-07-28 16:07:42,863-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,864-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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'}]' >2018-07-28 16:07:42,864-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,865-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_system >2018-07-28 16:07:42,867-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_s_misc >2018-07-28 16:07:42,867-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,867-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== MISC CONFIGURATION ==-- >2018-07-28 16:07:42,867-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,869-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._customization >2018-07-28 16:07:42,869-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale dialog.queryEnvKey:90 queryEnvKey called for key OVESETUP_DWH_CONFIG/scale >2018-07-28 16:07:42,871-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.dialog.titles.Plugin._title_e_misc >2018-07-28 16:07:42,871-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,871-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== END OF CONFIGURATION ==-- >2018-07-28 16:07:42,872-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:42,873-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.otopi.core.config.Plugin._customize2 >2018-07-28 16:07:42,875-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._customization_firewall >2018-07-28 16:07:42,876-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,876-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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-common', 'name': 'ovirt-postgres'}]' >2018-07-28 16:07:42,876-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,877-0400 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._customization_firewall >2018-07-28 16:07:42,878-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,878-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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-common', 'name': 'ovirt-postgres'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]' >2018-07-28 16:07:42,879-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,879-0400 INFO otopi.context context.runSequence:741 Stage: Setup validation >2018-07-28 16:07:42,879-0400 DEBUG otopi.context context.runSequence:745 STAGE validation >2018-07-28 16:07:42,880-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.core.misc.Plugin._validation >2018-07-28 16:07:42,880-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:42,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/aborted=bool:'False' >2018-07-28 16:07:42,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/debug=int:'0' >2018-07-28 16:07:42,880-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[]' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/executionDirectory=str:'/root/engine-backup' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup:ovirt-engine-checks' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/suppressEnvironmentKeys=list:'[]' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chkconfig=str:'/usr/sbin/chkconfig' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chronyc=str:'/usr/bin/chronyc' >2018-07-28 16:07:42,881-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/date=str:'/usr/bin/date' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/dig=str:'/usr/bin/dig' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/exportfs=str:'/usr/sbin/exportfs' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/firewall-cmd=str:'/usr/bin/firewall-cmd' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/hwclock=str:'/usr/sbin/hwclock' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/initctl=NoneType:'None' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ip=str:'/usr/sbin/ip' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ntpq=str:'/usr/sbin/ntpq' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/openssl=str:'/usr/bin/openssl' >2018-07-28 16:07:42,882-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_dump=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_dump' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_restore=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_restore' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/postgresql-setup=str:'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/psql=str:'/opt/rh/rh-postgresql95/root/usr/bin/psql' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc=NoneType:'None' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc-update=NoneType:'None' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/reboot=str:'/usr/sbin/reboot' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/restorecon=str:'/usr/sbin/restorecon' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rpm=str:'/usr/bin/rpm' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/selinuxenabled=str:'/usr/sbin/selinuxenabled' >2018-07-28 16:07:42,883-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/semanage=str:'/usr/sbin/semanage' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/service=str:'/usr/sbin/service' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ssh-keygen=NoneType:'None' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/sysctl=str:'/usr/sbin/sysctl' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/systemctl=str:'/usr/bin/systemctl' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileAppend=NoneType:'None' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True' >2018-07-28 16:07:42,884-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/internalPackageTransaction=Transaction:'transaction' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f1b4c5f7ae0>' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterKeys=list:'['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword']' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2585d00>]' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:07:42,885-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/mainTransaction=Transaction:'transaction' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/modifiedFiles=list:'[]' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/randomizeEvents=bool:'False' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/answerFile=NoneType:'None' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/autoAcceptDefault=bool:'False' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/cliVersion=int:'1' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/customization=bool:'False' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/dialect=str:'human' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:07:42,886-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldAvailable=bool:'True' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldDisableServices=list:'[]' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldEnable=bool:'False' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesEnable=bool:'False' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesRules=NoneType:'None' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshEnable=bool:'False' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshKey=NoneType:'None' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshUser=str:'' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/enableUpgrade=NoneType:'None' >2018-07-28 16:07:42,887-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/requireRollback=NoneType:'None' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard', 'ovirt-engine-dwh']' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-dwh', 'ovirt-engine-dwh-setup']' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirection=NoneType:'None' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureSsl=NoneType:'None' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configured=bool:'True' >2018-07-28 16:07:42,888-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/enable=bool:'True' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/httpdService=str:'httpd' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/needRestart=bool:'False' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasks=bool:'True' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasksWait=int:'20' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'False' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminPassword=NoneType:'None' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUser=str:'admin@internal' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:07:42,889-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserId=str:'27bb4f0c-544d-442c-a069-ef8789d83b47' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/applicationMode=NoneType:'None' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/continueSetupOnHEVM=NoneType:'None' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineDbBackupDir=str:'/var/lib/ovirt-engine/backups' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMax=str:'3971M' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMin=str:'3971M' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineServiceStopNeeded=bool:'True' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'True' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallChangesReview=NoneType:'None' >2018-07-28 16:07:42,890-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManager=str:'firewalld' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x7f1b48372d10>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x7f1b48372d50>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables._IpTablesManager object at 0x7f1b48372a90>]' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnIsNeeded=bool:'True' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnNonLoopback=bool:'False' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnReverseValidation=bool:'False' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpPort=int:'80' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpsPort=int:'443' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/ignoreVdsgroupInNotifier=NoneType:'None' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyConfig=bool:'True' >2018-07-28 16:07:42,891-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyHost=str:'localhost' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyPort=int:'54323' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'True' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainACL=NoneType:'None' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainDefaultMountPoint=str:'/var/lib/exports/iso' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainExists=bool:'False' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainMountPoint=NoneType:'None' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainName=NoneType:'None' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainSdUuid=NoneType:'None' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainStorageDir=NoneType:'None' >2018-07-28 16:07:42,892-0400 DEBUG otopi.context context.dumpEnvironment:869 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', '/usr/share/rhv-guest-tools-iso/RHV-toolsSetup_4.2_5.iso']' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaHome=NoneType:'None' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaNeeded=bool:'True' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossAjpPort=int:'8702' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDebugAddress=str:'127.0.0.1:8787' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpPort=NoneType:'None' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpsPort=NoneType:'None' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHome=str:'/opt/rh/eap7/root/usr/share/wildfly' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpPort=int:'8080' >2018-07-28 16:07:42,893-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpsPort=int:'8443' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossNeeded=bool:'True' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/needCommonTitles=bool:'True' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiOIPCSRFilename=NoneType:'None' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiRenewalDocUrl=str:'https://access.redhat.com/solutions/1572983' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiWSPCSRFilename=NoneType:'None' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpPort=int:'80' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpsPort=int:'443' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostClientKey=NoneType:'None' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostKnownHosts=NoneType:'None' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostRootPassword=NoneType:'None' >2018-07-28 16:07:42,894-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostSshPort=NoneType:'None' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyle=NoneType:'None' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x7f1b48372e50>, <otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files._ManualFiles object at 0x7f1b48372dd0>]' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/sanWipeAfterDelete=bool:'False' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageIsLocal=bool:'False' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageType=NoneType:'None' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/totalMemoryMB=int:'15884' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/updateFirewall=bool:'True' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/validFirewallManagers=str:'' >2018-07-28 16:07:42,895-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/vmconsoleProxyStopNeeded=bool:'True' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyConfig=bool:'True' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyHost=str:'localhost' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyPort=int:'6100' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'True' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/action=str:'setup' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/answerFile=NoneType:'None' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/developerMode=bool:'False' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/engineStop=NoneType:'None' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False' >2018-07-28 16:07:42,896-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatePostInstall=bool:'True' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generateStandardAnswerfile=bool:'True' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatedByVersion=str:'4.2.5.2' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/offlinePackager=bool:'False' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/originalGeneratedByVersion=str:'4.2.5.1' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/reconfigureOptionalComponents=NoneType:'None' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/registerUninstallGroups=RegisterGroups:'<otopi.plugins.ovirt_engine_common.base.core.uninstall.RegisterGroups object at 0x7f1b483bb690>' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/remoteEngine=RemoteEngine:'<ovirt_engine_setup.remote_engine.RemoteEngine object at 0x7f1b48372d90>' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/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.rhvm_constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/rhvm_constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>]' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports']' >2018-07-28 16:07:42,897-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/upgradeSupportedVersions=str:'3.6,4.0,4.1,4.2' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[]' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ovirt_dwh_files=dict:'{}' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/connection=NoneType:'None' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/database=str:'engine' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dumper=str:'pg_custom' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dwhVacuumFull=bool:'False' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/engineVacuumFull=bool:'False' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/filter=NoneType:'None' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbConfiguration=NoneType:'None' >2018-07-28 16:07:42,898-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbViolations=NoneType:'None' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/host=str:'localhost' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/invalidConfigItems=NoneType:'None' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/justRestored=bool:'False' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/newDatabase=bool:'False' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/password=str:'**FILTERED**' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/pgPassFile=NoneType:'None' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/port=str:'5432' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/restoreJobs=int:'2' >2018-07-28 16:07:42,899-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/secured=bool:'False' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/securedHostValidation=bool:'False' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/statement=NoneType:'None' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/user=str:'engine' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DIALOG/confirmSettings=NoneType:'None' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhDbBackupDir=str:'/var/lib/ovirt-engine-dwh/backups' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'True' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/remoteEngineConfigured=bool:'False' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/scale=str:'1' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/enable=bool:'True' >2018-07-28 16:07:42,900-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/uuid=str:'d6477206-8a52-4229-9d7e-d8dfca32463b' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/connection=NoneType:'None' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/database=str:'ovirt_engine_history' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/disconnectExistingDwh=NoneType:'None' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/dumper=str:'pg_custom' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/filter=NoneType:'None' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/host=str:'localhost' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/newDatabase=bool:'False' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/password=str:'**FILTERED**' >2018-07-28 16:07:42,901-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/performBackup=bool:'True' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/pgPassFile=NoneType:'None' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/port=str:'5432' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreBackupLate=bool:'True' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreJobs=int:'2' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/secured=bool:'False' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/securedHostValidation=bool:'False' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/statement=NoneType:'None' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/user=str:'ovirt_engine_history' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:07:42,902-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES=str:'ovirt-engine-dwh' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-dwh-setup' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CORE/enable=bool:'True' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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-common', 'name': 'ovirt-postgres'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 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}' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServices=str:'ovn-central-firewall-service,ovirt-provider-ovn' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServicesDir=str:'/usr/lib/firewalld/services' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvn=bool:'True' >2018-07-28 16:07:42,903-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvnId=str:'45fede3f-b0b5-423c-b32a-775e9501078f' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/country=str:'US' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/entities=list:'[{'keepKey': True, 'extract': False, 'name': 'engine', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': False, 'name': 'jboss', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'websocket-proxy', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'apache', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'reports', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'imageio-proxy', 'user': 'OVESETUP_SYSTEM/userRoot'}]' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/organization=str:'v2v.bos.redhat.com' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/renew=NoneType:'None' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/storePassword=str:'**FILTERED**' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/oldPostgresService=str:'postgresql' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumAnalyzeScaleFactor=float:'0.075' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaintenanceWorkMem=int:'65536' >2018-07-28 16:07:42,904-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaxWorkers=int:'6' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumVacuumScaleFactor=float:'0.01' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7f1b48376938>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376aa0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376848>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': "It is required to be at least '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'maintenance_work_mem', 'expected': 65536, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True}, {'ok': <function <lambda> at 0x7f1b483768c0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'work_mem', 'expected': 8192, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True})' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresLCMessages=str:''en_US.UTF-8'' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresListenAddress=str:''*'' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresMaxConn=int:'150' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION' >2018-07-28 16:07:42,905-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresService=str:'rh-postgresql95-postgresql' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeCleanold=bool:'False' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeInplace=bool:'False' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresWorkMemKb=int:'8192' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RHEVM_DIALOG/confirmUpgrade=bool:'False' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/aaaJdbcPackage=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-iso-uploader,ovirt-engine-dashboard,rhvm-branding-rhv,rhvm-doc,ovirt-log-collector' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/enginePackages=str:'ovirt-engine' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/engineSetupPackages=str:'ovirt-engine-setup' >2018-07-28 16:07:42,906-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/jbossPackages=str:'' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins', 'ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy', 'ovirt-engine-dwh-setup']' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-iso-uploader', 'ovirt-engine-dashboard', 'rhvm-branding-rhv', 'rhvm-doc', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupEngine=str:'ovirt' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupKvm=str:'kvm' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt-engine-dwhd,ovirt-engine-notifier' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'True' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:'16384' >2018-07-28 16:07:42,907-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:'False' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs-server' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[]' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userApache=str:'apache' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt' >2018-07-28 16:07:42,908-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userRoot=str:'root' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:'2222' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfDisabledPlugins=list:'[]' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfExpireCache=bool:'True' >2018-07-28 16:07:42,909-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfRollback=bool:'True' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfpackagerEnabled=bool:'True' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/keepAliveInterval=int:'30' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumDisabledPlugins=list:'[]' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumEnabledPlugins=list:'[]' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumExpireCache=bool:'True' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumRollback=bool:'True' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumpackagerEnabled=bool:'True' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/DWH_VACUUM_FULL=str:'no' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/ENGINE_VACUUM_FULL=str:'no' >2018-07-28 16:07:42,910-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DIALOG_CONTINUE_UPGRADE=str:'yes' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DWH_PERFORM_BACKUP=str:'yes' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:'yes' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockMaxGap=int:'5' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockSet=bool:'False' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/commandPath=str:'/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/reboot=bool:'False' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootAllow=bool:'True' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootDeferTime=int:'10' >2018-07-28 16:07:42,911-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:42,913-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation_enable >2018-07-28 16:07:42,913-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,915-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateEnv >2018-07-28 16:07:42,917-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_enable >2018-07-28 16:07:42,917-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,918-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.core.log.Plugin._validation >2018-07-28 16:07:42,919-0400 DEBUG otopi.plugins.otopi.core.log log._validation:384 _filtered_keys_at_setup: ['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword'] >2018-07-28 16:07:42,919-0400 DEBUG otopi.plugins.otopi.core.log log._validation:388 LOG_FILTER_KEYS: ['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword'] >2018-07-28 16:07:42,920-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.hostname.Plugin._validation >2018-07-28 16:07:42,921-0400 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:55 my name: rhvm.v2v.bos.redhat.com >2018-07-28 16:07:42,921-0400 DEBUG otopi.plugins.otopi.network.hostname plugin.executeRaw:813 execute: ('/usr/sbin/ip', 'addr', 'show'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,925-0400 DEBUG otopi.plugins.otopi.network.hostname plugin.executeRaw:863 execute-result: ('/usr/sbin/ip', 'addr', 'show'), rc=0 >2018-07-28 16:07:42,925-0400 DEBUG otopi.plugins.otopi.network.hostname plugin.execute:921 execute-output: ('/usr/sbin/ip', 'addr', 'show') stdout: >1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 > 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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 > link/ether 00:16:3e:18:b6:f7 brd ff:ff:ff:ff:ff:ff > inet 10.19.2.100/25 brd 10.19.2.127 scope global noprefixroute eth0 > valid_lft forever preferred_lft forever > inet6 2620:52:0:1301:216:3eff:fe18:b6f7/64 scope global mngtmpaddr dynamic > valid_lft 2591939sec preferred_lft 604739sec > inet6 fe80::216:3eff:fe18:b6f7/64 scope link > valid_lft forever preferred_lft forever >3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP group default qlen 1000 > link/ether 00:1a:4a:16:01:00 brd ff:ff:ff:ff:ff:ff > inet 172.31.2.100/16 brd 172.31.255.255 scope global noprefixroute eth1 > valid_lft forever preferred_lft forever > inet6 fe80::21a:4aff:fe16:100/64 scope link > valid_lft forever preferred_lft forever > >2018-07-28 16:07:42,925-0400 DEBUG otopi.plugins.otopi.network.hostname plugin.execute:926 execute-output: ('/usr/sbin/ip', 'addr', 'show') stderr: > > >2018-07-28 16:07:42,926-0400 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:100 my addresses: ['10.19.2.100', '10.19.2.100', '10.19.2.100'] >2018-07-28 16:07:42,926-0400 DEBUG otopi.plugins.otopi.network.hostname hostname._validation:101 local addresses: [u'10.19.2.100', u'2620:52:0:1301:216:3eff:fe18:b6f7', u'fe80::216:3eff:fe18:b6f7', u'172.31.2.100', u'fe80::21a:4aff:fe16:100'] >2018-07-28 16:07:42,928-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.ssh.Plugin._validation >2018-07-28 16:07:42,928-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:42,930-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.base.system.selinux.Plugin._validation >2018-07-28 16:07:42,930-0400 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.executeRaw:813 execute: ('/usr/sbin/selinuxenabled',), executable='None', cwd='None', env=None >2018-07-28 16:07:42,933-0400 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.executeRaw:863 execute-result: ('/usr/sbin/selinuxenabled',), rc=0 >2018-07-28 16:07:42,934-0400 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.execute:921 execute-output: ('/usr/sbin/selinuxenabled',) stdout: > > >2018-07-28 16:07:42,934-0400 DEBUG otopi.plugins.ovirt_engine_common.base.system.selinux plugin.execute:926 execute-output: ('/usr/sbin/selinuxenabled',) stderr: > > >2018-07-28 16:07:42,936-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._validation >2018-07-28 16:07:42,936-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine exists >2018-07-28 16:07:42,936-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,943-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), rc=0 >2018-07-28 16:07:42,943-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stdout: >LoadState=loaded > >2018-07-28 16:07:42,943-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stderr: > > >2018-07-28 16:07:42,943-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine status >2018-07-28 16:07:42,943-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'ovirt-engine.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:42,952-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'ovirt-engine.service'), rc=0 >2018-07-28 16:07:42,952-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/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: active (running) since sam. 2018-07-28 16:05:10 EDT; 2min 32s ago > Main PID: 9299 (ovirt-engine.py) > CGroup: /system.slice/ovirt-engine.service > ââ9299 /usr/bin/python /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify start > ââ9340 ovirt-engine -server -XX:+TieredCompilation -Xms3971M -Xmx3971M -Xss1M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djsse.enableSNIExtension=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ovirt-engine/dump -Djava.util.logging.manager=org.jboss.logmanager -Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_runtime/config/ovirt-engine-logging.properties -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=ovirt-engine -Djboss.home.dir=/opt/rh/eap7/root/usr/share/wildfly -Djboss.server.base.dir=/usr/share/ovirt-engine -Djboss.server.data.dir=/var/lib/ovirt-engine -Djboss.server.log.dir=/var/log/ovirt-engine -Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config -Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp -Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp -jar /opt/rh/eap7/root/usr/share/wildfly/jboss-modules.jar -mp /usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-extension-aaa-ldap/modules:/opt/rh/eap7/root/usr/share/wildfly/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -c ovirt-engine.xml > >juil. 28 16:05:09 rhvm.v2v.bos.redhat.com systemd[1]: Starting oVirt Engine... >juil. 28 16:05:09 rhvm.v2v.bos.redhat.com ovirt-engine.py[9299]: 2018-07-28 16:05:09,427-0400 ovirt-engine: INFO _detectJBossVersion:195 Detecting JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version', '-server', '-XX:+TieredCompilation', '-Xms3971M', '-Xmx3971M', '-Xss1M', '-Djava.awt.headless=true', '-Dsun.rmi.dgc.client.gcInterval=3600000', '-Dsun.rmi.dgc.server.gcInterval=3600000', '-Djsse.enableSNIExtension=false', '-XX:+HeapDumpOnOutOfMemoryError', '-XX:HeapDumpPath=/var/log/ovirt-engine/dump', '-Djava.util.logging.manager=org.jboss.logmanager', '-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_runtime/config/ovirt-engine-logging.properties', '-Dorg.jboss.resolver.warning=true', '-Djboss.modules.system.pkgs=org.jboss.byteman', '-Djboss.server.default.config=ovirt-engine', '-Djboss.home.dir=/opt/rh/eap7/root/usr/share/wildfly', '-Djboss.server.base.dir=/usr/share/ovirt-engine', '-Djboss.server.data.dir=/var/lib/ovirt-engine', '-Djboss.server.log.dir=/var/log/ovirt-engine', '-Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config', '-Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', '-Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', '-jar', '/opt/rh/eap7/root/usr/share/wildfly/jboss-modules.jar', '-mp', '/usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-extension-aaa-ldap/modules:/opt/rh/eap7/root/usr/share/wildfly/modules', '-jaxpmodule', 'javax.xml.jaxp-provider', 'org.jboss.as.standalone', '-v'] >juil. 28 16:05:09 rhvm.v2v.bos.redhat.com ovirt-engine.py[9299]: 2018-07-28 16:05:09,997-0400 ovirt-engine: INFO _detectJBossVersion:215 Return code: 0, | stdout: '[u'JBoss EAP 7.1.3.GA (WildFly Core 3.0.16.Final-redhat-1)'], | stderr: '[]' >juil. 28 16:05:10 rhvm.v2v.bos.redhat.com systemd[1]: Started oVirt Engine. > >2018-07-28 16:07:42,952-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'ovirt-engine.service') stderr: > > >2018-07-28 16:07:42,953-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_CORE_ENGINE_STOP >2018-07-28 16:07:42,953-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND During execution engine service will be stopped (OK, Cancel) [OK]: >2018-07-28 16:07:43,962-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:43,962-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/engineStop=bool:'True' >2018-07-28 16:07:43,963-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_CORE_ENGINE_STOP=str:'ok' >2018-07-28 16:07:43,963-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:43,964-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.config.Plugin._validation >2018-07-28 16:07:43,966-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._validation >2018-07-28 16:07:43,966-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.executeRaw:813 execute: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), executable='None', cwd='None', env=None >2018-07-28 16:07:43,973-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.executeRaw:863 execute-result: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V'), rc=0 >2018-07-28 16:07:43,973-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.execute:921 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stdout: >psql (PostgreSQL) 9.5.9 > >2018-07-28 16:07:43,973-0400 DEBUG otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/psql', '-V') stderr: > > >2018-07-28 16:07:43,974-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:43,975-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmpCL1p3G' >2018-07-28 16:07:43,975-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:43,976-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.system.he.Plugin._validate >2018-07-28 16:07:43,976-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select version, option_value > from vdc_options > where option_name = %(name)s > ', args: {'name': 'HostedEngineVmName'} >2018-07-28 16:07:43,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:43,981-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'version': 'general', 'option_value': 'HostedEngine'}] >2018-07-28 16:07:43,981-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT vm_guid, run_on_vds > FROM vms > WHERE vm_name = %(HostedEngineVmName)s; > ', args: {'HostedEngineVmName': 'HostedEngine'} >2018-07-28 16:07:43,981-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:43,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'vm_guid': 'be55c259-2415-448d-841e-f4b9d743242e', 'run_on_vds': '1b71b05f-ad57-4568-a3b0-83672d125ad8'}] >2018-07-28 16:07:43,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT vds_id, ha_global_maintenance > FROM vds_statistics > WHERE vds_id = %(VdsId)s; > ', args: {'VdsId': '1b71b05f-ad57-4568-a3b0-83672d125ad8'} >2018-07-28 16:07:43,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:43,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'ha_global_maintenance': True, 'vds_id': '1b71b05f-ad57-4568-a3b0-83672d125ad8'}] >2018-07-28 16:07:43,998-0400 INFO otopi.plugins.ovirt_engine_common.ovirt_engine.system.he he._validate:113 Hosted Engine HA is in Global Maintenance mode. >2018-07-28 16:07:44,000-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_common.config.java.Plugin._validation >2018-07-28 16:07:44,062-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:44,062-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaHome=unicode:'/usr/lib/jvm/jre' >2018-07-28 16:07:44,063-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:44,064-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.config.Plugin._validation >2018-07-28 16:07:44,066-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._validation >2018-07-28 16:07:44,067-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldEnable=bool:'True' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK_FIREWALLD_SERVICE/ovirt-provider-ovn=str:'<?xml version="1.0" encoding="utf-8"?> ><service> > <short>ovirt-provider-ovn</short> > <description>oVirt provider ovn</description> > <port protocol="tcp" port="9696"/> > <port protocol="tcp" port="35357"/> ></service> >' >2018-07-28 16:07:44,068-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,069-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:07:44,069-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK_FIREWALLD_SERVICE/ovn-central-firewall-service=str:'<?xml version="1.0" encoding="utf-8"?> ><service> > <short>ovn-central-firewall-service</short> > <description>Firewall service for ovn central</description> > <port protocol="tcp" port="6641"/> > <port protocol="tcp" port="6642"/> ></service> >' >2018-07-28 16:07:44,069-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:44,070-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier.Plugin._validation >2018-07-28 16:07:44,071-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.notifier notifier._validation:69 filterStr: None >2018-07-28 16:07:44,073-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.checkUuidOsspExtensionForRemoteDbOrDevEnv >2018-07-28 16:07:44,073-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,075-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._validation >2018-07-28 16:07:44,075-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,077-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs.Plugin._validation >2018-07-28 16:07:44,077-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.system.exportfs exportfs._validation:168 move=False, generate=False >2018-07-28 16:07:44,079-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.image_upload.Plugin._validation >2018-07-28 16:07:44,079-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,081-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._validate_ssl >2018-07-28 16:07:44,081-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,083-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._validation >2018-07-28 16:07:44,083-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:813 execute: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax'), executable='None', cwd='None', env=None >2018-07-28 16:07:44,089-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:863 execute-result: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax'), rc=0 >2018-07-28 16:07:44,089-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:921 execute-output: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax') stdout: >18446744073692774399 > >2018-07-28 16:07:44,089-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:926 execute-output: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax') stderr: > > >2018-07-28 16:07:44,091-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.check_etl.Plugin._validation >2018-07-28 16:07:44,092-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,093-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._validation >2018-07-28 16:07:44,094-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'dwhHostname'} >2018-07-28 16:07:44,094-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,099-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': 'rhvm.v2v.bos.redhat.com', 'var_datetime': None, 'var_name': 'dwhHostname'}] >2018-07-28 16:07:44,099-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'dwhUuid'} >2018-07-28 16:07:44,099-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,104-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': 'd6477206-8a52-4229-9d7e-d8dfca32463b', 'var_datetime': None, 'var_name': 'dwhUuid'}] >2018-07-28 16:07:44,106-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._validation >2018-07-28 16:07:44,106-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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'} >2018-07-28 16:07:44,106-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,111-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:44,113-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._validation >2018-07-28 16:07:44,114-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,115-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.image_upload.Plugin._validation >2018-07-28 16:07:44,116-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,118-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.firewalld.Plugin._validation >2018-07-28 16:07:44,119-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.otopi.network.iptables.Plugin._validate >2018-07-28 16:07:44,120-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,122-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_checks.ovirt_engine.db.versions.Plugin._validation >2018-07-28 16:07:44,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT name, compatibility_version FROM storage_pool; > ', args: {} >2018-07-28 16:07:44,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,125-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'compatibility_version': '4.2', 'name': 'Default'}] >2018-07-28 16:07:44,125-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_name FROM information_schema.tables > WHERE table_name IN ('vds_groups', 'cluster'); > ', args: {} >2018-07-28 16:07:44,125-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'table_name': 'cluster'}] >2018-07-28 16:07:44,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SELECT name, compatibility_version FROM cluster;', args: {} >2018-07-28 16:07:44,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,134-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'compatibility_version': '4.2', 'name': 'V2V'}, {'compatibility_version': '4.2', 'name': 'Infrastructure'}] >2018-07-28 16:07:44,137-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._validation >2018-07-28 16:07:44,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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'} >2018-07-28 16:07:44,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:44,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT name, compatibility_version FROM storage_pool; > ', args: {} >2018-07-28 16:07:44,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,145-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'compatibility_version': '4.2', 'name': 'Default'}] >2018-07-28 16:07:44,145-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_name FROM information_schema.tables > WHERE table_name IN ('vds_groups', 'cluster'); > ', args: {} >2018-07-28 16:07:44,145-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,151-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'table_name': 'cluster'}] >2018-07-28 16:07:44,151-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: 'SELECT name, compatibility_version FROM cluster;', args: {} >2018-07-28 16:07:44,151-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,154-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'compatibility_version': '4.2', 'name': 'V2V'}, {'compatibility_version': '4.2', 'name': 'Infrastructure'}] >2018-07-28 16:07:44,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select > option_value > from > vdc_options > where > option_name = 'SupportedClusterLevels' > ', args: {} >2018-07-28 16:07:44,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'option_value': '3.6,4.0,4.1,4.2'}] >2018-07-28 16:07:44,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select > vm_name, > custom_compatibility_version > from > vms > where > custom_compatibility_version is not null > and > custom_compatibility_version <> ''; > ', args: {} >2018-07-28 16:07:44,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,171-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:44,172-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > disk_alias, > image_guid, > vm_name > FROM > images > INNER JOIN vm_device ON > images.image_group_id = vm_device.device_id > INNER JOIN vm_static ON vm_device.vm_id = vm_static.vm_guid > INNER JOIN base_disks ON > images.image_group_id = base_disks.disk_id > AND vm_static.entity_type = 'VM' > AND vm_device.type = 'disk' > AND vm_device.device = 'disk' > AND images.vm_snapshot_id = > '00000000-0000-0000-0000-000000000000'; > ', args: {} >2018-07-28 16:07:44,172-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:44,177-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:44,179-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._validate_provider_uniqueness >2018-07-28 16:07:44,179-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:44,181-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateMemory >2018-07-28 16:07:44,183-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateZombies >2018-07-28 16:07:44,183-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateZombies:461 Cleaning stale zombie tasks and commands >2018-07-28 16:07:44,184-0400 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-20180728160721-rejhkb.log', '-q', '-r', '-Z'), executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmpCL1p3G', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* 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 >2018-07-28 16:07:44,382-0400 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-20180728160721-rejhkb.log', '-q', '-r', '-Z'), rc=0 >2018-07-28 16:07:44,383-0400 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-20180728160721-rejhkb.log', '-q', '-r', '-Z') stdout: > t > 0 > > >2018-07-28 16:07:44,383-0400 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-20180728160721-rejhkb.log', '-q', '-r', '-Z') stderr: > > >2018-07-28 16:07:44,383-0400 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-20180728160721-rejhkb.log', '-q', '-R', '-z', '-A'), executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmpCL1p3G', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* 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 >2018-07-28 16:07:44,582-0400 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-20180728160721-rejhkb.log', '-q', '-R', '-z', '-A'), rc=0 >2018-07-28 16:07:44,582-0400 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-20180728160721-rejhkb.log', '-q', '-R', '-z', '-A') stdout: > t > > > >2018-07-28 16:07:44,582-0400 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-20180728160721-rejhkb.log', '-q', '-R', '-z', '-A') stderr: > > >2018-07-28 16:07:44,585-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._review_config >2018-07-28 16:07:44,587-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.memcheck.Plugin._validateContinueLowMemory >2018-07-28 16:07:44,589-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.base.dialog.preview.Plugin._customization >2018-07-28 16:07:44,589-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:44,589-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND --== CONFIGURATION PREVIEW ==-- >2018-07-28 16:07:44,589-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:44,590-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Default SAN wipe after delete : False >2018-07-28 16:07:44,590-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Firewall manager : firewalld >2018-07-28 16:07:44,590-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Update Firewall : True >2018-07-28 16:07:44,590-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Host FQDN : rhvm.v2v.bos.redhat.com >2018-07-28 16:07:44,591-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database secured connection : False >2018-07-28 16:07:44,591-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database user name : engine >2018-07-28 16:07:44,591-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database name : engine >2018-07-28 16:07:44,592-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database host : localhost >2018-07-28 16:07:44,592-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database port : 5432 >2018-07-28 16:07:44,592-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine database host name validation : False >2018-07-28 16:07:44,592-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Engine installation : True >2018-07-28 16:07:44,593-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND PKI organization : v2v.bos.redhat.com >2018-07-28 16:07:44,593-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Set up ovirt-provider-ovn : True >2018-07-28 16:07:44,593-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Configure WebSocket Proxy : True >2018-07-28 16:07:44,593-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH installation : True >2018-07-28 16:07:44,594-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database secured connection : False >2018-07-28 16:07:44,594-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database host : localhost >2018-07-28 16:07:44,594-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database user name : ovirt_engine_history >2018-07-28 16:07:44,594-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database name : ovirt_engine_history >2018-07-28 16:07:44,595-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Backup DWH database : True >2018-07-28 16:07:44,595-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database port : 5432 >2018-07-28 16:07:44,595-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND DWH database host name validation : False >2018-07-28 16:07:44,595-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Configure Image I/O Proxy : True >2018-07-28 16:07:44,596-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Configure VMConsole Proxy : True >2018-07-28 16:07:44,596-0400 DEBUG otopi.plugins.otopi.dialog.human human.queryString:159 query OVESETUP_DIALOG_CONFIRM_SETTINGS >2018-07-28 16:07:44,596-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND >2018-07-28 16:07:44,596-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Please confirm installation settings (OK, Cancel) [OK]: >2018-07-28 16:07:45,876-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:45,876-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DIALOG/confirmSettings=bool:'True' >2018-07-28 16:07:45,877-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DIALOG_CONFIRM_SETTINGS=str:'ok' >2018-07-28 16:07:45,877-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:45,878-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaa.Plugin._validation_late >2018-07-28 16:07:45,878-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select version, option_value > from vdc_options > where option_name = %(name)s > ', args: {'name': 'AdminPassword'} >2018-07-28 16:07:45,878-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,882-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,884-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaakerbldap.Plugin._validation_late >2018-07-28 16:07:45,885-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select version, option_value > from vdc_options > where option_name = %(name)s > ', args: {'name': 'DomainName'} >2018-07-28 16:07:45,885-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,888-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,890-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks.Plugin._validateAsyncTasks >2018-07-28 16:07:45,891-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateAsyncTasks:472 Cleaning async tasks and compensations >2018-07-28 16:07:45,891-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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: {} >2018-07-28 16:07:45,891-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,894-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,895-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select relname > from pg_class > where relname = 'command_entities' > ', args: {} >2018-07-28 16:07:45,895-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,898-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'relname': 'command_entities'}] >2018-07-28 16:07:45,898-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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: {} >2018-07-28 16:07:45,898-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,901-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,902-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select command_type, entity_type > from business_entity_snapshot > ', args: {} >2018-07-28 16:07:45,902-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,905-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._setEngineMode:67 Setting engine into MAINTENANCE mode >2018-07-28 16:07:45,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from vdc_options > where > option_name=%(name)s and > version=%(version)s > ', args: {'version': 'general', 'name': 'EngineMode'} >2018-07-28 16:07:45,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 1L}] >2018-07-28 16:07:45,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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'} >2018-07-28 16:07:45,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:45,914-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:45,914-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._validateAsyncTasks:510 Unlocking existing entities >2018-07-28 16:07:45,915-0400 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-20180728160721-rejhkb.log', '-i', '-f'), executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmpCL1p3G', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* 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; > ILLEGAL integer; >BEGIN > DOWN:=0; > OK:=1; > LOCKED:=2; > TEMPLATE_OK:=0; > TEMPLATE_LOCKED:=1; > IMAGE_LOCKED:=15; > SNAPSHOT_OK:='OK'; > SNAPSHOT_LOCKED:='LOCKED'; > ILLEGAL:=4; > 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; > UPDATE images SET imagestatus = OK WHERE imagestatus = ILLEGAL; >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 >2018-07-28 16:07:46,036-0400 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-20180728160721-rejhkb.log', '-i', '-f'), rc=0 >2018-07-28 16:07:46,037-0400 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-20180728160721-rejhkb.log', '-i', '-f') stdout: > >########################################## >CAUTION, this operation may lead to data corruption and should be used with care. Please contact support prior to running this command >########################################## > >Are you sure you want to proceed? [y/n] >select fn_db_unlock_all(); > > >unlock all completed successfully. > >2018-07-28 16:07:46,037-0400 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-20180728160721-rejhkb.log', '-i', '-f') stderr: > > >2018-07-28 16:07:46,037-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.asynctasks asynctasks._setEngineMode:67 Setting engine into ACTIVE mode >2018-07-28 16:07:46,038-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from vdc_options > where > option_name=%(name)s and > version=%(version)s > ', args: {'version': 'general', 'name': 'EngineMode'} >2018-07-28 16:07:46,038-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:46,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 1L}] >2018-07-28 16:07:46,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 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'} >2018-07-28 16:07:46,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:46,047-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:07:46,050-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._validation >2018-07-28 16:07:46,050-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations dbvalidations._validation:147 Checking the Engine database consistency >2018-07-28 16:07:46,051-0400 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-20180728160721-rejhkb.log'], executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmpCL1p3G', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* 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 %' AND > r.conname not in ('fk_vm_interface_vm_static','fk_vm_interface_vm_static_template') > 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 >2018-07-28 16:07:46,151-0400 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-20180728160721-rejhkb.log'], rc=0 >2018-07-28 16:07:46,151-0400 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-20180728160721-rejhkb.log'] stdout: > > >2018-07-28 16:07:46,151-0400 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-20180728160721-rejhkb.log'] stderr: > > >2018-07-28 16:07:46,154-0400 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._validation >2018-07-28 16:07:46,154-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:46,155-0400 INFO otopi.context context.runSequence:741 Stage: Transaction setup >2018-07-28 16:07:46,156-0400 DEBUG otopi.context context.runSequence:745 STAGE transaction-prepare >2018-07-28 16:07:46,157-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.otopi.core.transaction.Plugin._main_prepare >2018-07-28 16:07:46,157-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Yum Transaction' >Loaded plugins: product-id, subscription-manager, versionlock >2018-07-28 16:07:46,169-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:46,174-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:07:46,210-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Response: status=200, request="GET /rhsm/" >2018-07-28 16:07:46,268-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:07:46,347-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:07:46,426-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:07:46,426-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:07:46,427-0400 DEBUG otopi.plugins.ovirt_engine_setup.rhvm_setup_plugins.distro-rhel.setup_reinstallable setup_reinstallable.verbose:52 Yum: Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:07:46,429-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'DWH Engine database Transaction' >2018-07-28 16:07:46,429-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Database Transaction' >2018-07-28 16:07:46,429-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Version Lock Transaction' >2018-07-28 16:07:46,430-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'DWH database Transaction' >2018-07-28 16:07:46,432-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine.Plugin._transactionBegin >2018-07-28 16:07:46,432-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine exists >2018-07-28 16:07:46,432-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:46,439-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service'), rc=0 >2018-07-28 16:07:46,439-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stdout: >LoadState=loaded > >2018-07-28 16:07:46,439-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine.service') stderr: > > >2018-07-28 16:07:46,440-0400 INFO otopi.plugins.ovirt_engine_common.ovirt_engine.core.engine engine._transactionBegin:124 Stopping engine service >2018-07-28 16:07:46,440-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-engine >2018-07-28 16:07:46,440-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-engine.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,483-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-engine.service'), rc=0 >2018-07-28 16:07:56,484-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-engine.service') stdout: > > >2018-07-28 16:07:56,484-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-engine.service') stderr: > > >2018-07-28 16:07:56,486-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener.Plugin._transactionBegin >2018-07-28 16:07:56,486-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-fence-kdump-listener exists >2018-07-28 16:07:56,487-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,494-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service'), rc=0 >2018-07-28 16:07:56,494-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,494-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-fence-kdump-listener.service') stderr: > > >2018-07-28 16:07:56,494-0400 INFO otopi.plugins.ovirt_engine_common.ovirt_engine.core.fence_kdump_listener fence_kdump_listener._transactionBegin:64 Stopping ovirt-fence-kdump-listener service >2018-07-28 16:07:56,495-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-fence-kdump-listener >2018-07-28 16:07:56,495-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,501-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service'), rc=0 >2018-07-28 16:07:56,501-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service') stdout: > > >2018-07-28 16:07:56,501-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-fence-kdump-listener.service') stderr: > > >2018-07-28 16:07:56,504-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service.Plugin._transactionBegin >2018-07-28 16:07:56,504-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-dwhd exists >2018-07-28 16:07:56,504-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,511-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), rc=0 >2018-07-28 16:07:56,511-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,512-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stderr: > > >2018-07-28 16:07:56,512-0400 INFO otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.core.service service._transactionBegin:62 Stopping dwh service >2018-07-28 16:07:56,512-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-engine-dwhd >2018-07-28 16:07:56,512-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,518-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service'), rc=0 >2018-07-28 16:07:56,519-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service') stdout: > > >2018-07-28 16:07:56,519-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-engine-dwhd.service') stderr: > > >2018-07-28 16:07:56,521-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core.Plugin._transactionBegin >2018-07-28 16:07:56,522-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-imageio-proxy exists >2018-07-28 16:07:56,522-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,528-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service'), rc=0 >2018-07-28 16:07:56,529-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,529-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-imageio-proxy.service') stderr: > > >2018-07-28 16:07:56,529-0400 INFO otopi.plugins.ovirt_engine_common.ovirt_imageio_proxy.core core._transactionBegin:71 Stopping Image I/O Proxy service >2018-07-28 16:07:56,529-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-imageio-proxy >2018-07-28 16:07:56,530-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,535-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service'), rc=0 >2018-07-28 16:07:56,536-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service') stdout: > > >2018-07-28 16:07:56,536-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-imageio-proxy.service') stderr: > > >2018-07-28 16:07:56,538-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core.Plugin._transactionBegin >2018-07-28 16:07:56,538-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-vmconsole-proxy-sshd exists >2018-07-28 16:07:56,539-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-vmconsole-proxy-sshd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,545-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-vmconsole-proxy-sshd.service'), rc=0 >2018-07-28 16:07:56,546-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-vmconsole-proxy-sshd.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,546-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-vmconsole-proxy-sshd.service') stderr: > > >2018-07-28 16:07:56,546-0400 INFO otopi.plugins.ovirt_engine_common.vmconsole_proxy_helper.core core._transactionBegin:71 Stopping vmconsole-proxy service >2018-07-28 16:07:56,546-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-vmconsole-proxy-sshd >2018-07-28 16:07:56,546-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-vmconsole-proxy-sshd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,552-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-vmconsole-proxy-sshd.service'), rc=0 >2018-07-28 16:07:56,553-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-vmconsole-proxy-sshd.service') stdout: > > >2018-07-28 16:07:56,553-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-vmconsole-proxy-sshd.service') stderr: > > >2018-07-28 16:07:56,555-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.websocket_proxy.core.Plugin._transactionBegin >2018-07-28 16:07:56,555-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-websocket-proxy exists >2018-07-28 16:07:56,556-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,562-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service'), rc=0 >2018-07-28 16:07:56,562-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,562-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-websocket-proxy.service') stderr: > > >2018-07-28 16:07:56,562-0400 INFO otopi.plugins.ovirt_engine_common.websocket_proxy.core core._transactionBegin:74 Stopping websocket-proxy service >2018-07-28 16:07:56,563-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 stopping service ovirt-websocket-proxy >2018-07-28 16:07:56,563-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,569-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service'), rc=0 >2018-07-28 16:07:56,569-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service') stdout: > > >2018-07-28 16:07:56,569-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'stop', 'ovirt-websocket-proxy.service') stderr: > > >2018-07-28 16:07:56,572-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.external_truststore.Plugin.remove_external_truststore >2018-07-28 16:07:56,572-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:56,574-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_common.base.system.hostile_services.Plugin._transaction_begin >2018-07-28 16:07:56,574-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-dwhd exists >2018-07-28 16:07:56,574-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,580-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service'), rc=0 >2018-07-28 16:07:56,581-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,581-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-dwhd.service') stderr: > > >2018-07-28 16:07:56,581-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine-dwhd status >2018-07-28 16:07:56,581-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'ovirt-engine-dwhd.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,588-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'ovirt-engine-dwhd.service'), rc=3 >2018-07-28 16:07:56,588-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/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 sam. 2018-07-28 15:44:55 EDT; 23min ago > Main PID: 1326 (code=exited, status=0/SUCCESS) > >juil. 28 15:44:52 rhvm.v2v.bos.redhat.com systemd[1]: Stopping oVirt Engine Data Warehouse... >juil. 28 15:44:55 rhvm.v2v.bos.redhat.com systemd[1]: Stopped oVirt Engine Data Warehouse. > >2018-07-28 16:07:56,589-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'ovirt-engine-dwhd.service') stderr: > > >2018-07-28 16:07:56,589-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service ovirt-engine-notifier exists >2018-07-28 16:07:56,589-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,596-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service'), rc=0 >2018-07-28 16:07:56,596-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service') stdout: >LoadState=loaded > >2018-07-28 16:07:56,596-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'ovirt-engine-notifier.service') stderr: > > >2018-07-28 16:07:56,596-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.status:90 check service ovirt-engine-notifier status >2018-07-28 16:07:56,597-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'status', 'ovirt-engine-notifier.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,603-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'status', 'ovirt-engine-notifier.service'), rc=3 >2018-07-28 16:07:56,604-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/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) > >2018-07-28 16:07:56,604-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'status', 'ovirt-engine-notifier.service') stderr: > > >2018-07-28 16:07:56,606-0400 DEBUG otopi.context context._executeMethod:128 Stage transaction-prepare METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.single_etl.Plugin._transactionBegin >2018-07-28 16:07:56,606-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'DwhCurrentlyRunning'} >2018-07-28 16:07:56,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:56,612-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': '0', 'var_datetime': None, 'var_name': 'DwhCurrentlyRunning'}] >2018-07-28 16:07:56,613-0400 INFO otopi.context context.runSequence:741 Stage: Misc configuration >2018-07-28 16:07:56,614-0400 DEBUG otopi.context context.runSequence:745 STAGE early_misc >2018-07-28 16:07:56,615-0400 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc >2018-07-28 16:07:56,615-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Firewalld Transaction' >2018-07-28 16:07:56,615-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.exists:73 check if service iptables exists >2018-07-28 16:07:56,615-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,622-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service'), rc=0 >2018-07-28 16:07:56,622-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stdout: >LoadState=not-found > >2018-07-28 16:07:56,622-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'LoadState', 'iptables.service') stderr: > > >2018-07-28 16:07:56,622-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.state:130 starting service firewalld >2018-07-28 16:07:56,623-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'start', 'firewalld.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,629-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'start', 'firewalld.service'), rc=0 >2018-07-28 16:07:56,629-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'start', 'firewalld.service') stdout: > > >2018-07-28 16:07:56,629-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'start', 'firewalld.service') stderr: > > >2018-07-28 16:07:56,629-0400 DEBUG otopi.plugins.otopi.services.systemd systemd.startup:99 set service firewalld startup to True >2018-07-28 16:07:56,629-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'show', '-p', 'Id', 'firewalld.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,635-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'show', '-p', 'Id', 'firewalld.service'), rc=0 >2018-07-28 16:07:56,636-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'Id', 'firewalld.service') stdout: >Id=firewalld.service > >2018-07-28 16:07:56,636-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'show', '-p', 'Id', 'firewalld.service') stderr: > > >2018-07-28 16:07:56,636-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:813 execute: ('/usr/bin/systemctl', 'enable', u'firewalld.service'), executable='None', cwd='None', env=None >2018-07-28 16:07:56,702-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.executeRaw:863 execute-result: ('/usr/bin/systemctl', 'enable', u'firewalld.service'), rc=0 >2018-07-28 16:07:56,702-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:921 execute-output: ('/usr/bin/systemctl', 'enable', u'firewalld.service') stdout: > > >2018-07-28 16:07:56,702-0400 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/usr/bin/systemctl', 'enable', u'firewalld.service') stderr: > > >2018-07-28 16:07:56,703-0400 DEBUG otopi.plugins.otopi.network.firewalld plugin.executeRaw:813 execute: ('/usr/bin/firewall-cmd', '--list-all-zones'), executable='None', cwd='None', env=None >2018-07-28 16:07:57,018-0400 DEBUG otopi.plugins.otopi.network.firewalld plugin.executeRaw:863 execute-result: ('/usr/bin/firewall-cmd', '--list-all-zones'), rc=0 >2018-07-28 16:07:57,018-0400 DEBUG otopi.plugins.otopi.network.firewalld plugin.execute:921 execute-output: ('/usr/bin/firewall-cmd', '--list-all-zones') stdout: >block > target: %%REJECT%% > icmp-block-inversion: no > interfaces: > sources: > services: > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >dmz > target: default > icmp-block-inversion: no > interfaces: > sources: > services: ssh > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >drop > target: DROP > icmp-block-inversion: no > interfaces: > sources: > services: > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >external > target: default > icmp-block-inversion: no > interfaces: > sources: > services: ssh > ports: > protocols: > masquerade: yes > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >home > target: default > icmp-block-inversion: no > interfaces: > sources: > services: ssh mdns samba-client dhcpv6-client > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >internal > target: default > icmp-block-inversion: no > interfaces: > sources: > services: ssh mdns samba-client dhcpv6-client > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >public (active) > target: default > icmp-block-inversion: no > interfaces: eth0 > sources: > services: ssh dhcpv6-client ovirt-postgres ovirt-https ovn-central-firewall-service ovirt-fence-kdump-listener ovirt-imageio-proxy ovirt-websocket-proxy ovirt-http ovirt-vmconsole-proxy ovirt-provider-ovn > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > rule family="ipv4" source address="10.19.2.0/25" accept > >trusted (active) > target: ACCEPT > icmp-block-inversion: no > interfaces: eth1 > sources: > services: ovirt-postgres ovirt-https ovn-central-firewall-service ovirt-fence-kdump-listener ovirt-imageio-proxy ovirt-websocket-proxy ovirt-http ovirt-vmconsole-proxy ovirt-provider-ovn > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > >work > target: default > icmp-block-inversion: no > interfaces: > sources: > services: ssh dhcpv6-client > ports: > protocols: > masquerade: no > forward-ports: > source-ports: > icmp-blocks: > rich rules: > > > >2018-07-28 16:07:57,019-0400 DEBUG otopi.plugins.otopi.network.firewalld plugin.execute:926 execute-output: ('/usr/bin/firewall-cmd', '--list-all-zones') stderr: > > >2018-07-28 16:07:57,019-0400 DEBUG otopi.plugins.otopi.network.firewalld firewalld._early_misc:264 zones_services = {u'work': [u'ssh', u'dhcpv6-client'], u'internal': [u'ssh', u'mdns', u'samba-client', u'dhcpv6-client'], u'external': [u'ssh'], u'home': [u'ssh', u'mdns', u'samba-client', u'dhcpv6-client'], u'dmz': [u'ssh'], u'public': [u'ssh', u'dhcpv6-client', u'ovirt-postgres', u'ovirt-https', u'ovn-central-firewall-service', u'ovirt-fence-kdump-listener', u'ovirt-imageio-proxy', u'ovirt-websocket-proxy', u'ovirt-http', u'ovirt-vmconsole-proxy', u'ovirt-provider-ovn'], u'trusted': [u'ovirt-postgres', u'ovirt-https', u'ovn-central-firewall-service', u'ovirt-fence-kdump-listener', u'ovirt-imageio-proxy', u'ovirt-websocket-proxy', u'ovirt-http', u'ovirt-vmconsole-proxy', u'ovirt-provider-ovn']} >2018-07-28 16:07:57,022-0400 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade.Plugin._updateDBMS >2018-07-28 16:07:57,022-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,024-0400 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.dbvalidations.Plugin._misc >2018-07-28 16:07:57,024-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,026-0400 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.dbmsupgrade.Plugin._updateDBMS >2018-07-28 16:07:57,026-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,028-0400 DEBUG otopi.context context._executeMethod:128 Stage early_misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin._updatePGConf >2018-07-28 16:07:57,028-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,029-0400 INFO otopi.context context.runSequence:741 Stage: Package installation >2018-07-28 16:07:57,030-0400 DEBUG otopi.context context.runSequence:745 STAGE packages >2018-07-28 16:07:57,031-0400 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.network.iptables.Plugin._packages >2018-07-28 16:07:57,031-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,033-0400 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin.packages >2018-07-28 16:07:57,033-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:57,035-0400 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.system.Plugin._packages >2018-07-28 16:07:57,035-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package ovirt-vmconsole-proxy for install/update >2018-07-28 16:07:57,099-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-beta-rpms/x86_64 (0%) >2018-07-28 16:07:57,100-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-beta-rpms/x86_64 2.3 k(100%) >2018-07-28 16:07:57,138-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 (0%) >2018-07-28 16:07:57,139-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rh-common-beta-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:57,173-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:57,174-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rh-common-rpms/7Server/x86_64 2.1 k(100%) >2018-07-28 16:07:57,213-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:57,214-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-rpms/7Server/x86_64 2.0 k(100%) >2018-07-28 16:07:57,249-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 (0%) >2018-07-28 16:07:57,250-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-satellite-tools-6.3-rpms/x86_64 2.1 k(100%) >2018-07-28 16:07:57,285-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 (0%) >2018-07-28 16:07:57,286-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Downloading: rhel-7-server-v2vwin-1-rpms/7Server/x86_64 1.7 k(100%) >2018-07-28 16:07:58,059-0400 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.packagers.dnfpackager.Plugin._packages >2018-07-28 16:07:58,059-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,061-0400 DEBUG otopi.context context._executeMethod:128 Stage packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages >2018-07-28 16:07:58,061-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Building transaction >2018-07-28 16:07:58,085-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Empty transaction >2018-07-28 16:07:58,085-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Transaction Summary: >2018-07-28 16:07:58,086-0400 INFO otopi.context context.runSequence:741 Stage: Misc configuration >2018-07-28 16:07:58,087-0400 DEBUG otopi.context context.runSequence:745 STAGE misc >2018-07-28 16:07:58,088-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.jboss.Plugin._jboss >2018-07-28 16:07:58,089-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.system.command.Plugin._misc >2018-07-28 16:07:58,091-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,091-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ssh-keygen=str:'/usr/bin/ssh-keygen' >2018-07-28 16:07:58,092-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,093-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl.Plugin._misc >2018-07-28 16:07:58,093-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:813 execute: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax'), executable='None', cwd='None', env=None >2018-07-28 16:07:58,100-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.executeRaw:863 execute-result: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax'), rc=0 >2018-07-28 16:07:58,100-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:921 execute-output: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax') stdout: >18446744073692774399 > >2018-07-28 16:07:58,100-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.system.sysctl plugin.execute:926 execute-output: ('/usr/sbin/sysctl', '-n', 'kernel.shmmax') stderr: > > >2018-07-28 16:07:58,102-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc >2018-07-28 16:07:58,103-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-postgres.xml'' >2018-07-28 16:07:58,103-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-postgres.xml' exists >2018-07-28 16:07:58,103-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-postgres.xml' already has content >2018-07-28 16:07:58,104-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-https.xml'' >2018-07-28 16:07:58,104-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-https.xml' exists >2018-07-28 16:07:58,104-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-https.xml' already has content >2018-07-28 16:07:58,104-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovn-central-firewall-service.xml'' >2018-07-28 16:07:58,104-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovn-central-firewall-service.xml' exists >2018-07-28 16:07:58,105-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovn-central-firewall-service.xml' already has content >2018-07-28 16:07:58,105-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-fence-kdump-listener.xml'' >2018-07-28 16:07:58,105-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-fence-kdump-listener.xml' exists >2018-07-28 16:07:58,105-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-fence-kdump-listener.xml' already has content >2018-07-28 16:07:58,105-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-imageio-proxy.xml'' >2018-07-28 16:07:58,106-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-imageio-proxy.xml' exists >2018-07-28 16:07:58,106-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-imageio-proxy.xml' already has content >2018-07-28 16:07:58,106-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-websocket-proxy.xml'' >2018-07-28 16:07:58,106-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-websocket-proxy.xml' exists >2018-07-28 16:07:58,106-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-websocket-proxy.xml' already has content >2018-07-28 16:07:58,106-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-http.xml'' >2018-07-28 16:07:58,107-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-http.xml' exists >2018-07-28 16:07:58,107-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-http.xml' already has content >2018-07-28 16:07:58,107-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-vmconsole-proxy.xml'' >2018-07-28 16:07:58,107-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-vmconsole-proxy.xml' exists >2018-07-28 16:07:58,107-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-vmconsole-proxy.xml' already has content >2018-07-28 16:07:58,108-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/firewalld/services/ovirt-provider-ovn.xml'' >2018-07-28 16:07:58,108-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/firewalld/services/ovirt-provider-ovn.xml' exists >2018-07-28 16:07:58,108-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/firewalld/services/ovirt-provider-ovn.xml' already has content >2018-07-28 16:07:58,110-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables >2018-07-28 16:07:58,110-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,112-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key >2018-07-28 16:07:58,112-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,114-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock >2018-07-28 16:07:58,114-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,116-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.base.network.firewall_manager.Plugin._prepare_examples >2018-07-28 16:07:58,116-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovn-central-firewall-service.xml'' >2018-07-28 16:07:58,117-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovn-central-firewall-service.xml' exists >2018-07-28 16:07:58,117-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovn-central-firewall-service.xml' already has content >2018-07-28 16:07:58,117-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-provider-ovn.xml'' >2018-07-28 16:07:58,117-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-provider-ovn.xml' exists >2018-07-28 16:07:58,117-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-provider-ovn.xml' already has content >2018-07-28 16:07:58,117-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-http.xml'' >2018-07-28 16:07:58,118-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-http.xml' exists >2018-07-28 16:07:58,118-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-http.xml' already has content >2018-07-28 16:07:58,118-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-https.xml'' >2018-07-28 16:07:58,118-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-https.xml' exists >2018-07-28 16:07:58,118-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-https.xml' already has content >2018-07-28 16:07:58,118-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml'' >2018-07-28 16:07:58,119-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml' exists >2018-07-28 16:07:58,119-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml' already has content >2018-07-28 16:07:58,119-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml'' >2018-07-28 16:07:58,119-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml' exists >2018-07-28 16:07:58,119-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml' already has content >2018-07-28 16:07:58,120-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml'' >2018-07-28 16:07:58,120-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml' exists >2018-07-28 16:07:58,120-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml' already has content >2018-07-28 16:07:58,120-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml'' >2018-07-28 16:07:58,120-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml' exists >2018-07-28 16:07:58,120-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml' already has content >2018-07-28 16:07:58,121-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml'' >2018-07-28 16:07:58,121-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' exists >2018-07-28 16:07:58,121-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' already has content >2018-07-28 16:07:58,121-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml'' >2018-07-28 16:07:58,121-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' exists >2018-07-28 16:07:58,121-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/firewalld/ovirt-postgres.xml' already has content >2018-07-28 16:07:58,122-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/iptables.example'' >2018-07-28 16:07:58,123-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/iptables.example' exists >2018-07-28 16:07:58,123-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/iptables.example' already has content >2018-07-28 16:07:58,125-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.engine.Plugin._misc >2018-07-28 16:07:58,125-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf'' >2018-07-28 16:07:58,125-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' exists >2018-07-28 16:07:58,125-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' already has content >2018-07-28 16:07:58,126-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,126-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/needRestart=bool:'True' >2018-07-28 16:07:58,127-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,128-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.apache.root.Plugin._misc >2018-07-28 16:07:58,128-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,130-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaainternal.Plugin._misc >2018-07-28 16:07:58,130-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,132-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.java.Plugin._misc >2018-07-28 16:07:58,132-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,134-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.jboss.Plugin._misc >2018-07-28 16:07:58,134-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf'' >2018-07-28 16:07:58,134-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf' exists >2018-07-28 16:07:58,134-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf' already has content >2018-07-28 16:07:58,134-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf'' >2018-07-28 16:07:58,135-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf' exists >2018-07-28 16:07:58,135-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf' already has content >2018-07-28 16:07:58,137-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.protocols.Plugin._misc >2018-07-28 16:07:58,137-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf'' >2018-07-28 16:07:58,137-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf' exists >2018-07-28 16:07:58,137-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf' already has content >2018-07-28 16:07:58,139-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.tools.Plugin._misc >2018-07-28 16:07:58,139-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf'' >2018-07-28 16:07:58,140-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf' exists >2018-07-28 16:07:58,140-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf' already has content >2018-07-28 16:07:58,140-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf'' >2018-07-28 16:07:58,140-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf' exists >2018-07-28 16:07:58,140-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf' already has content >2018-07-28 16:07:58,142-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh.Plugin._get_dwh_host >2018-07-28 16:07:58,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'dwhHostname'} >2018-07-28 16:07:58,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:58,148-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': 'rhvm.v2v.bos.redhat.com', 'var_datetime': None, 'var_name': 'dwhHostname'}] >2018-07-28 16:07:58,149-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.core.advertise_dwh advertise_dwh._get_dwh_host:71 DWH host is rhvm.v2v.bos.redhat.com. >2018-07-28 16:07:58,151-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.vacuum.Plugin._vacuum >2018-07-28 16:07:58,151-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,153-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_pki >2018-07-28 16:07:58,153-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,155-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._restart_ovn_services >2018-07-28 16:07:58,155-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,157-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._miscUpgrade >2018-07-28 16:07:58,157-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._miscUpgrade:563 Upgrading CA >2018-07-28 16:07:58,158-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cacert.template'' >2018-07-28 16:07:58,158-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cacert.template' exists >2018-07-28 16:07:58,158-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cacert.template' already has content >2018-07-28 16:07:58,158-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cacert.conf'' >2018-07-28 16:07:58,159-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cacert.conf' exists >2018-07-28 16:07:58,159-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cacert.conf' already has content >2018-07-28 16:07:58,159-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cert.template'' >2018-07-28 16:07:58,159-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cert.template' exists >2018-07-28 16:07:58,159-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cert.template' already has content >2018-07-28 16:07:58,160-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/cert.conf'' >2018-07-28 16:07:58,160-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/cert.conf' exists >2018-07-28 16:07:58,160-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/cert.conf' already has content >2018-07-28 16:07:58,160-0400 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cert.conf'' >2018-07-28 16:07:58,160-0400 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cert.template'' >2018-07-28 16:07:58,160-0400 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cacert.conf'' >2018-07-28 16:07:58,161-0400 DEBUG otopi.transaction transaction.commit:147 committing 'File transaction for '/etc/pki/ovirt-engine/cacert.template'' >2018-07-28 16:07:58,161-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'engine'[renew=False] >2018-07-28 16:07:58,161-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'jboss'[renew=False] >2018-07-28 16:07:58,161-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'websocket-proxy'[renew=False] >2018-07-28 16:07:58,161-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'apache'[renew=False] >2018-07-28 16:07:58,161-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'reports'[renew=False] >2018-07-28 16:07:58,162-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca ca._enrollCertificates:349 processing: 'imageio-proxy'[renew=False] >2018-07-28 16:07:58,162-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,162-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ca_pki=list:'[[]]' >2018-07-28 16:07:58,163-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ca_pki=dict:'{}' >2018-07-28 16:07:58,163-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,164-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres.Plugin._misc >2018-07-28 16:07:58,164-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,166-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.system.nfs.Plugin._misc >2018-07-28 16:07:58,166-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,168-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.upgrade.answerfile_fixup.Plugin._misc >2018-07-28 16:07:58,171-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.selinux.Plugin._misc >2018-07-28 16:07:58,172-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,172-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[{'state': 'on', 'boolean': 'httpd_can_network_connect'}]' >2018-07-28 16:07:58,172-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,173-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.apache.ssl.Plugin._misc >2018-07-28 16:07:58,173-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,175-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.versionlock_config.Plugin._misc >2018-07-28 16:07:58,176-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/yum/pluginconf.d/versionlock.conf'' >2018-07-28 16:07:58,176-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/yum/pluginconf.d/versionlock.conf' exists >2018-07-28 16:07:58,177-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/yum/pluginconf.d/versionlock.conf' already has content >2018-07-28 16:07:58,177-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,177-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports', '/etc/yum/pluginconf.d/versionlock.conf']' >2018-07-28 16:07:58,178-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/versionlock_conf=list:'[]' >2018-07-28 16:07:58,178-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/versionlock_conf=dict:'{'/etc/yum/pluginconf.d/versionlock.conf': []}' >2018-07-28 16:07:58,178-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,179-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.dwh.Plugin._misc_stop_remote_dwh >2018-07-28 16:07:58,179-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'dwhHostname'} >2018-07-28 16:07:58,179-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:58,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': 'rhvm.v2v.bos.redhat.com', 'var_datetime': None, 'var_name': 'dwhHostname'}] >2018-07-28 16:07:58,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select * from GetDwhHistoryTimekeepingByVarName( > %(name)s > ) > ', args: {'name': 'DwhCurrentlyRunning'} >2018-07-28 16:07:58,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:58,189-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'var_value': '0', 'var_datetime': None, 'var_name': 'DwhCurrentlyRunning'}] >2018-07-28 16:07:58,191-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.scale.Plugin._misc >2018-07-28 16:07:58,191-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf'' >2018-07-28 16:07:58,191-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf' exists >2018-07-28 16:07:58,192-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf' already has content >2018-07-28 16:07:58,192-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,193-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[[]]' >2018-07-28 16:07:58,193-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,194-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.provisioning.postgres.Plugin._misc >2018-07-28 16:07:58,194-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,196-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_config >2018-07-28 16:07:58,197-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf'' >2018-07-28 16:07:58,197-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf' exists >2018-07-28 16:07:58,197-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf' already has content >2018-07-28 16:07:58,199-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleHelper >2018-07-28 16:07:58,199-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf'' >2018-07-28 16:07:58,199-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf' exists >2018-07-28 16:07:58,200-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf' already has content >2018-07-28 16:07:58,202-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.config.Plugin._miscConfigVMConsoleProxy >2018-07-28 16:07:58,202-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf'' >2018-07-28 16:07:58,202-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf' exists >2018-07-28 16:07:58,202-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf' already has content >2018-07-28 16:07:58,204-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_config >2018-07-28 16:07:58,204-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf'' >2018-07-28 16:07:58,205-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf' exists >2018-07-28 16:07:58,205-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf' already has content >2018-07-28 16:07:58,207-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc >2018-07-28 16:07:58,208-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,208-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmp1wBMQJ' >2018-07-28 16:07:58,208-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,209-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_common.ovirt_engine_dwh.db.pgpass.Plugin._misc >2018-07-28 16:07:58,211-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,211-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/pgPassFile=str:'/tmp/tmp3JAps0' >2018-07-28 16:07:58,211-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,212-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ca.Plugin._misc >2018-07-28 16:07:58,212-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,214-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.configuration.Plugin.installUuidOsspExtensionForLocalDb >2018-07-28 16:07:58,214-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > select count(*) as count > from pg_available_extensions > where name = 'uuid-ossp' > and installed_version IS NOT NULL > ', args: None >2018-07-28 16:07:58,215-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:07:58,219-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'count': 1L}] >2018-07-28 16:07:58,221-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki >2018-07-28 16:07:58,221-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,223-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider >2018-07-28 16:07:58,223-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:07:58,225-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh.Plugin._misc >2018-07-28 16:07:58,225-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:813 execute: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--key=-'), executable='None', cwd='None', env=None >2018-07-28 16:07:58,240-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:863 execute-result: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--key=-'), rc=0 >2018-07-28 16:07:58,240-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'File transaction for '/etc/pki/ovirt-engine/keys/engine_id_rsa'' >2018-07-28 16:07:58,241-0400 DEBUG otopi.filetransaction filetransaction.prepare:185 file '/etc/pki/ovirt-engine/keys/engine_id_rsa' exists >2018-07-28 16:07:58,241-0400 DEBUG otopi.filetransaction filetransaction.prepare:189 file '/etc/pki/ovirt-engine/keys/engine_id_rsa' already has content >2018-07-28 16:07:58,241-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:813 execute: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--cert=-'), executable='None', cwd='None', env=None >2018-07-28 16:07:58,253-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:863 execute-result: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--cert=-'), rc=0 >2018-07-28 16:07:58,254-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.execute:921 execute-output: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--cert=-') stdout: >Bag Attributes > localKeyID: 22 4E 11 E1 F8 44 67 9A CD C2 4E CC 86 DE 1D BD D1 BA 61 D7 >subject=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com >issuer=/C=US/O=v2v.bos.redhat.com/CN=rhvm.v2v.bos.redhat.com.65433 >-----BEGIN CERTIFICATE----- >MIIEqzCCA5OgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwUjELMAkGA1UEBhMCVVMx >GzAZBgNVBAoMEnYydi5ib3MucmVkaGF0LmNvbTEmMCQGA1UEAwwdcmh2bS52MnYu >Ym9zLnJlZGhhdC5jb20uNjU0MzMwHhcNMTgwMzA4MjI0MjMyWhcNMjMwMjExMjI0 >MjMyWjBMMQswCQYDVQQGEwJVUzEbMBkGA1UECgwSdjJ2LmJvcy5yZWRoYXQuY29t >MSAwHgYDVQQDDBdyaHZtLnYydi5ib3MucmVkaGF0LmNvbTCCASIwDQYJKoZIhvcN >AQEBBQADggEPADCCAQoCggEBALPnnDJXZxswG6dNkkoxtfhDiBKZdQcJkYb24J6r >m9K/azClyLOKwYqh1FDWUqDsxur0ss0cI6ovYuik3AR/CiRbo5EXPMweQDkZrTqw >H0BEvxsQtITFnYrfrNb/vyAhWOqENyWo5I1dYxiqimoqjmIZe6NOL9ln8u5HDshW >A6M5pELv9vZm4TPCjXIMXo3Y2EcrRZnm1tFJJO5ctEKdZiKRM/A71QVwe7wndhDZ >/kCzyLdLwf2dlJOaU+lEcQ14UNMDScIJEJoWlHQvul8Aie8MYVsh24WocXvbJY+q >TGeSvoW3MaPF2+/Uth5bq/5MdIBooSFa8erLenKynsbilmMCAwEAAaOCAY8wggGL >MB0GA1UdDgQWBBQEyIecGrqje+fGSe5OoNe0BpnO9DCBiwYIKwYBBQUHAQEEfzB9 >MHsGCCsGAQUFBzAChm9odHRwOi8vcmh2bS52MnYuYm9zLnJlZGhhdC5jb206ODAv >b3ZpcnQtZW5naW5lL3NlcnZpY2VzL3BraS1yZXNvdXJjZT9yZXNvdXJjZT1jYS1j >ZXJ0aWZpY2F0ZSZmb3JtYXQ9WDUwOS1QRU0tQ0EwewYDVR0jBHQwcoAUBQFbY5fo >bT/J5QEFIOfAyfkQhH6hVqRUMFIxCzAJBgNVBAYTAlVTMRswGQYDVQQKDBJ2MnYu >Ym9zLnJlZGhhdC5jb20xJjAkBgNVBAMMHXJodm0udjJ2LmJvcy5yZWRoYXQuY29t >LjY1NDMzggIQADAJBgNVHRMEAjAAMA4GA1UdDwEB/wQEAwIFoDAgBgNVHSUBAf8E >FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIgYDVR0RBBswGYIXcmh2bS52MnYuYm9z >LnJlZGhhdC5jb20wDQYJKoZIhvcNAQELBQADggEBAJc2ud0r7ij3V8xLEZmZHhxC >fv6sXaXzNUa1nMRaWGtHhyh2GBQbunbK3qgm6Ynj0UO6F12pe8xU5pLOXUTmRikM >Sgw5HaLkRmHSdxyPGP4BTFbsIadH9qdNlRRy8wMDApS8LWiFZf8Nsf+SyPyoSFG9 >AUiszwHpPSjKDQcwpHBREP7sKSfZ0eFGhisRr+gwmVa0R/poyjh6dXD0YOsMAi1x >FdVQ48Y2IsGHoVNI4/lOrwvtGUmXKSHEbvDLxwUmZl+HQha8KkZaEe1qNXRO7PjP >AgvHAVHn5ylxDBtQKfo00Q/WVsrwoT1pMECpV3zaA0+HWKXDfCklBQr4JD0ptSg= >-----END CERTIFICATE----- > >2018-07-28 16:07:58,254-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.execute:926 execute-output: ('/usr/share/ovirt-engine/bin/pki-pkcs12-extract.sh', '--name=engine', '--passin=**FILTERED**', '--cert=-') stderr: >MAC verified OK > >2018-07-28 16:07:58,255-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.execute:903 execute-input: ('/usr/bin/ssh-keygen', '-i', '-m', 'PKCS8', '-f', '/proc/self/fd/0') stdin: >-----BEGIN PUBLIC KEY----- >MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs+ecMldnGzAbp02SSjG1 >+EOIEpl1BwmRhvbgnqub0r9rMKXIs4rBiqHUUNZSoOzG6vSyzRwjqi9i6KTcBH8K >JFujkRc8zB5AORmtOrAfQES/GxC0hMWdit+s1v+/ICFY6oQ3JajkjV1jGKqKaiqO >Yhl7o04v2Wfy7kcOyFYDozmkQu/29mbhM8KNcgxejdjYRytFmebW0Ukk7ly0Qp1m >IpEz8DvVBXB7vCd2ENn+QLPIt0vB/Z2Uk5pT6URxDXhQ0wNJwgkQmhaUdC+6XwCJ >7wxhWyHbhahxe9slj6pMZ5K+hbcxo8Xb79S2Hlur/kx0gGihIVrx6st6crKexuKW >YwIDAQAB >-----END PUBLIC KEY----- > > >2018-07-28 16:07:58,255-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:813 execute: ('/usr/bin/ssh-keygen', '-i', '-m', 'PKCS8', '-f', '/proc/self/fd/0'), executable='None', cwd='None', env=None >2018-07-28 16:07:58,261-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.executeRaw:863 execute-result: ('/usr/bin/ssh-keygen', '-i', '-m', 'PKCS8', '-f', '/proc/self/fd/0'), rc=0 >2018-07-28 16:07:58,262-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.execute:921 execute-output: ('/usr/bin/ssh-keygen', '-i', '-m', 'PKCS8', '-f', '/proc/self/fd/0') stdout: >ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCz55wyV2cbMBunTZJKMbX4Q4gSmXUHCZGG9uCeq5vSv2swpcizisGKodRQ1lKg7Mbq9LLNHCOqL2LopNwEfwokW6ORFzzMHkA5Ga06sB9ARL8bELSExZ2K36zW/78gIVjqhDclqOSNXWMYqopqKo5iGXujTi/ZZ/LuRw7IVgOjOaRC7/b2ZuEzwo1yDF6N2NhHK0WZ5tbRSSTuXLRCnWYikTPwO9UFcHu8J3YQ2f5As8i3S8H9nZSTmlPpRHENeFDTA0nCCRCaFpR0L7pfAInvDGFbIduFqHF72yWPqkxnkr6FtzGjxdvv1LYeW6v+THSAaKEhWvHqy3pysp7G4pZj > >2018-07-28 16:07:58,262-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.pki.ssh plugin.execute:926 execute-output: ('/usr/bin/ssh-keygen', '-i', '-m', 'PKCS8', '-f', '/proc/self/fd/0') stderr: > > >2018-07-28 16:07:58,263-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:07:58,263-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/sshPublicKey=unicode:'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCz55wyV2cbMBunTZJKMbX4Q4gSmXUHCZGG9uCeq5vSv2swpcizisGKodRQ1lKg7Mbq9LLNHCOqL2LopNwEfwokW6ORFzzMHkA5Ga06sB9ARL8bELSExZ2K36zW/78gIVjqhDclqOSNXWMYqopqKo5iGXujTi/ZZ/LuRw7IVgOjOaRC7/b2ZuEzwo1yDF6N2NhHK0WZ5tbRSSTuXLRCnWYikTPwO9UFcHu8J3YQ2f5As8i3S8H9nZSTmlPpRHENeFDTA0nCCRCaFpR0L7pfAInvDGFbIduFqHF72yWPqkxnkr6FtzGjxdvv1LYeW6v+THSAaKEhWvHqy3pysp7G4pZj' >2018-07-28 16:07:58,264-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:07:58,265-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._misc >2018-07-28 16:07:58,265-0400 INFO otopi.ovirt_engine_setup.engine_common.database database.backup:750 Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump'. >2018-07-28 16:07:58,266-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:481 executePipeRaw: [0] popen kw={'stdin': None, 'stdout': -1, 'preexec_fn': <function _enableSignals at 0x7f1b480435f0>, 'env': {'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'PGPASSWORD': '', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'PGPASSFILE': '/tmp/tmp3JAps0', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'}, 'close_fds': True, 'args': ['/opt/rh/rh-postgresql95/root/usr/bin/pg_dump', '-E', 'UTF8', '--disable-dollar-quoting', '--disable-triggers', '-U', 'ovirt_engine_history', '-h', 'localhost', '-p', '5432', '--format=custom', '--file=/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump', 'ovirt_engine_history'], 'stderr': -1} >2018-07-28 16:07:58,270-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=10202 >2018-07-28 16:08:00,813-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:603 executePipe-result: [0] ['/opt/rh/rh-postgresql95/root/usr/bin/pg_dump', '-E', 'UTF8', '--disable-dollar-quoting', '--disable-triggers', '-U', 'ovirt_engine_history', '-h', 'localhost', '-p', '5432', '--format=custom', '--file=/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump', 'ovirt_engine_history'], rc=0 >2018-07-28 16:08:00,813-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.backup:798 db backup res {'result': [{'stderr': '', 'rc': 0}], 'stdout': ''} >2018-07-28 16:08:00,813-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'DWH schema Transaction' >2018-07-28 16:08:00,814-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema schema._misc:339 Creating/refreshing DWH database schema >2018-07-28 16:08:00,814-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executeRaw:813 execute: ['/usr/share/ovirt-engine-dwh/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'], executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmp3JAps0', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* 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 3020000; >************************** > > 3020000 > >********* 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_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_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; > 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_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; > 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_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; > 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 attach_user_to_su_role(v_permission_id uuid) > RETURNS void AS >$procedure$ > DECLARE > v_user_entry VARCHAR(255); > v_user_id UUID; > v_name VARCHAR(255); > v_domain VARCHAR(255); > v_user_name VARCHAR(255); > > v_document VARCHAR(64); > v_index INTEGER; >BEGIN > > select option_value INTO v_user_entry from vdc_options where option_name = 'AdUserId'; > select option_value INTO v_name from vdc_options where option_name = 'AdUserName'; > select option_value INTO v_domain from vdc_options where option_name = 'DomainName'; > > v_index := POSITION(':' IN v_user_entry); > if ( v_index <> 0 ) then > v_user_entry := substring( v_user_entry from v_index + 1 ); > v_user_id := CAST( v_user_entry AS uuid ); > end if; > > v_index := POSITION(':' IN v_name); > if ( v_index <> 0 ) then > v_name := substring( v_name from v_index + 1 ); > end if; > >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select v_user_id, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = v_user_id and name = v_name and domain = v_domain and username = v_user_name and groups = '' and status = 1); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', v_user_id, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = v_user_id and object_id= getGlobalIds('system') and object_type_id = 1); >END; $procedure$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION CheckDBConnection() RETURNS SETOF integer 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' and proname not ilike 'uuid%' 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 integer STABLE > AS $procedure$ > declare > retvalue integer; >BEGIN > retvalue := character_maximum_length from information_schema.columns > where > 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_su_role(v_permission_id uuid, v_user_id VARCHAR(255), v_name VARCHAR(255), v_domain VARCHAR(255)) > RETURNS void AS >$BODY$ > DECLARE > v_user_name VARCHAR(255); > v_document VARCHAR(64); > v_index INTEGER; > input_uuid uuid; >BEGIN > input_uuid = CAST( v_user_id AS uuid ); >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select input_uuid, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = input_uuid); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', input_uuid, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = input_uuid 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 INTEGER) >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 character varying, v_old_option_value character varying, v_new_option_value character varying, v_update_from_version character varying) > 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 integer; >v_count integer; >v_total_count integer; >v_version_count integer; >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 integer, 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 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 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_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_unlock_disk(v_id UUID) >returns void >AS $procedure$ >declare > OK integer; > LOCKED integer; >begin > OK:=1; > LOCKED:=2; > update images set imagestatus = OK where imagestatus = LOCKED and > image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); >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 integer; > OK integer; > LOCKED integer; > TEMPLATE_OK integer; > TEMPLATE_LOCKED integer; > IMAGE_LOCKED integer; > 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 ********** >/* 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 CHARACTER VARYING, spm_host_id UUID, spm_host_name CHARACTER VARYING, task_count integer); >************************** > >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 ********** >select * from generate_drop_all_views_syntax(); >************************** > > DROP VIEW if exists v3_6_configuration_history_clusters CASCADE; > DROP VIEW if exists v3_6_configuration_history_datacenters CASCADE; > DROP VIEW if exists v3_6_configuration_history_hosts CASCADE; > DROP VIEW if exists v3_6_configuration_history_hosts_interfaces CASCADE; > DROP VIEW if exists v3_6_configuration_history_storage_domains CASCADE; > DROP VIEW if exists v3_6_configuration_history_vms CASCADE; > DROP VIEW if exists v3_6_configuration_history_vms_devices CASCADE; > DROP VIEW if exists v3_6_configuration_history_vms_disks CASCADE; > DROP VIEW if exists v3_6_configuration_history_vms_interfaces CASCADE; > DROP VIEW if exists v3_6_enum_translator CASCADE; > DROP VIEW if exists v3_6_latest_configuration_clusters CASCADE; > DROP VIEW if exists v3_6_latest_configuration_datacenters CASCADE; > DROP VIEW if exists v3_6_latest_configuration_hosts CASCADE; > DROP VIEW if exists v3_6_latest_configuration_hosts_interfaces CASCADE; > DROP VIEW if exists v3_6_latest_configuration_storage_domains CASCADE; > DROP VIEW if exists v3_6_latest_configuration_vms CASCADE; > DROP VIEW if exists v3_6_latest_configuration_vms_devices CASCADE; > DROP VIEW if exists v3_6_latest_configuration_vms_disks CASCADE; > DROP VIEW if exists v3_6_latest_configuration_vms_interfaces CASCADE; > DROP VIEW if exists v3_6_latest_map_datacenters_storage_domains CASCADE; > DROP VIEW if exists v3_6_latest_tags_details CASCADE; > DROP VIEW if exists v3_6_latest_tags_relations CASCADE; > DROP VIEW if exists v3_6_latest_users_details CASCADE; > DROP VIEW if exists v3_6_map_history_datacenters_storage_domains CASCADE; > DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v3_6_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v3_6_statistics_vms_users_usage_daily CASCADE; > DROP VIEW if exists v3_6_statistics_vms_users_usage_hourly CASCADE; > DROP VIEW if exists v3_6_tags_details_history CASCADE; > DROP VIEW if exists v3_6_tags_relations_history CASCADE; > DROP VIEW if exists v3_6_users_details_history CASCADE; > DROP VIEW if exists v4_0_configuration_history_clusters CASCADE; > DROP VIEW if exists v4_0_configuration_history_datacenters CASCADE; > DROP VIEW if exists v4_0_configuration_history_hosts CASCADE; > DROP VIEW if exists v4_0_configuration_history_hosts_interfaces CASCADE; > DROP VIEW if exists v4_0_configuration_history_storage_domains CASCADE; > DROP VIEW if exists v4_0_configuration_history_vms CASCADE; > DROP VIEW if exists v4_0_configuration_history_vms_devices CASCADE; > DROP VIEW if exists v4_0_configuration_history_vms_disks CASCADE; > DROP VIEW if exists v4_0_configuration_history_vms_interfaces CASCADE; > DROP VIEW if exists v4_0_enum_translator CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_latest_configuration_clusters CASCADE; > DROP VIEW if exists v4_0_latest_configuration_datacenters CASCADE; > DROP VIEW if exists v4_0_latest_configuration_hosts CASCADE; > DROP VIEW if exists v4_0_latest_configuration_hosts_interfaces CASCADE; > DROP VIEW if exists v4_0_latest_configuration_storage_domains CASCADE; > DROP VIEW if exists v4_0_latest_configuration_vms CASCADE; > DROP VIEW if exists v4_0_latest_configuration_vms_devices CASCADE; > DROP VIEW if exists v4_0_latest_configuration_vms_disks CASCADE; > DROP VIEW if exists v4_0_latest_configuration_vms_interfaces CASCADE; > DROP VIEW if exists v4_0_latest_map_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_0_latest_tags_details CASCADE; > DROP VIEW if exists v4_0_latest_tags_relations CASCADE; > DROP VIEW if exists v4_0_latest_users_details CASCADE; > DROP VIEW if exists v4_0_map_history_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_0_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_0_statistics_vms_users_usage_daily CASCADE; > DROP VIEW if exists v4_0_statistics_vms_users_usage_hourly CASCADE; > DROP VIEW if exists v4_0_tags_details_history CASCADE; > DROP VIEW if exists v4_0_tags_relations_history CASCADE; > DROP VIEW if exists v4_0_users_details_history CASCADE; > DROP VIEW if exists v4_1_configuration_history_clusters CASCADE; > DROP VIEW if exists v4_1_configuration_history_datacenters CASCADE; > DROP VIEW if exists v4_1_configuration_history_hosts CASCADE; > DROP VIEW if exists v4_1_configuration_history_hosts_interfaces CASCADE; > DROP VIEW if exists v4_1_configuration_history_storage_domains CASCADE; > DROP VIEW if exists v4_1_configuration_history_vms CASCADE; > DROP VIEW if exists v4_1_configuration_history_vms_devices CASCADE; > DROP VIEW if exists v4_1_configuration_history_vms_disks CASCADE; > DROP VIEW if exists v4_1_configuration_history_vms_interfaces CASCADE; > DROP VIEW if exists v4_1_enum_translator CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_latest_configuration_clusters CASCADE; > DROP VIEW if exists v4_1_latest_configuration_datacenters CASCADE; > DROP VIEW if exists v4_1_latest_configuration_hosts CASCADE; > DROP VIEW if exists v4_1_latest_configuration_hosts_interfaces CASCADE; > DROP VIEW if exists v4_1_latest_configuration_storage_domains CASCADE; > DROP VIEW if exists v4_1_latest_configuration_vms CASCADE; > DROP VIEW if exists v4_1_latest_configuration_vms_devices CASCADE; > DROP VIEW if exists v4_1_latest_configuration_vms_disks CASCADE; > DROP VIEW if exists v4_1_latest_configuration_vms_interfaces CASCADE; > DROP VIEW if exists v4_1_latest_map_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_1_latest_tags_details CASCADE; > DROP VIEW if exists v4_1_latest_tags_relations CASCADE; > DROP VIEW if exists v4_1_latest_users_details CASCADE; > DROP VIEW if exists v4_1_map_history_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_1_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_1_statistics_vms_users_usage_daily CASCADE; > DROP VIEW if exists v4_1_statistics_vms_users_usage_hourly CASCADE; > DROP VIEW if exists v4_1_tags_details_history CASCADE; > DROP VIEW if exists v4_1_tags_relations_history CASCADE; > DROP VIEW if exists v4_1_users_details_history CASCADE; > DROP VIEW if exists v4_2_configuration_history_clusters CASCADE; > DROP VIEW if exists v4_2_configuration_history_datacenters CASCADE; > DROP VIEW if exists v4_2_configuration_history_hosts CASCADE; > DROP VIEW if exists v4_2_configuration_history_hosts_interfaces CASCADE; > DROP VIEW if exists v4_2_configuration_history_storage_domains CASCADE; > DROP VIEW if exists v4_2_configuration_history_vms CASCADE; > DROP VIEW if exists v4_2_configuration_history_vms_devices CASCADE; > DROP VIEW if exists v4_2_configuration_history_vms_disks CASCADE; > DROP VIEW if exists v4_2_configuration_history_vms_interfaces CASCADE; > DROP VIEW if exists v4_2_enum_translator CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_clusters CASCADE; >************************** > >_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_fully_joined_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_latest_configuration_clusters CASCADE; > DROP VIEW if exists v4_2_latest_configuration_datacenters CASCADE; > DROP VIEW if exists v4_2_latest_configuration_hosts CASCADE; > DROP VIEW if exists v4_2_latest_configuration_hosts_interfaces CASCADE; > DROP VIEW if exists v4_2_latest_configuration_storage_domains CASCADE; > DROP VIEW if exists v4_2_latest_configuration_vms CASCADE; > DROP VIEW if exists v4_2_latest_configuration_vms_devices CASCADE; > DROP VIEW if exists v4_2_latest_configuration_vms_disks CASCADE; > DROP VIEW if exists v4_2_latest_configuration_vms_interfaces CASCADE; > DROP VIEW if exists v4_2_latest_map_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_2_latest_tags_details CASCADE; > DROP VIEW if exists v4_2_latest_tags_relations CASCADE; > DROP VIEW if exists v4_2_latest_users_details CASCADE; > DROP VIEW if exists v4_2_map_history_datacenters_storage_domains CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_hosts_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_vms_resources_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_vms_resources_usage_hourly CASCADE; > DROP VIEW if exists v4_2_statistics_vms_resources_usage_samples CASCADE; > DROP VIEW if exists v4_2_statistics_vms_users_usage_daily CASCADE; > DROP VIEW if exists v4_2_statistics_vms_users_usage_hourly CASCADE; > DROP VIEW if exists v4_2_tags_details_history CASCADE; > DROP VIEW if exists v4_2_tags_relations_history CASCADE; > DROP VIEW if exists v4_2_users_details_history CASCADE; > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_configuration_history_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_enum_translator CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_configuration_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_map_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_tags_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_tags_relations CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_latest_users_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_map_history_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_datacenters_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_storage_domains_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_disks_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_users_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_statistics_vms_users_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_tags_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_tags_relations_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v3_6_users_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_configuration_history_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_enum_translator CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_fully_joined_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_configuration_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_map_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_tags_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_tags_relations CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_latest_users_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_map_history_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_storage_domains_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_disks_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_users_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_statistics_vms_users_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_tags_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_tags_relations_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_0_users_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_configuration_history_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_enum_translator CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_fully_joined_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_configuration_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_map_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_tags_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_tags_relations CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_latest_users_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_map_history_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_storage_domains_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_disks_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_users_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_statistics_vms_users_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_tags_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_tags_relations_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_1_users_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_configuration_history_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_enum_translator CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_fully_joined_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_clusters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_datacenters CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_hosts CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_hosts_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_vms CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_vms_devices CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_vms_disks CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_configuration_vms_interfaces CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_map_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_tags_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_tags_relations CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_latest_users_details CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_map_history_datacenters_storage_domains CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_hosts_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_storage_domains_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_disks_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_interfaces_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_resources_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_resources_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_resources_usage_samples CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_users_usage_daily CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_statistics_vms_users_usage_hourly CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_tags_details_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_tags_relations_history CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists v4_2_users_details_history 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_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_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; > 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_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; > 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_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; > 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 attach_user_to_su_role(v_permission_id uuid) > RETURNS void AS >$procedure$ > DECLARE > v_user_entry VARCHAR(255); > v_user_id UUID; > v_name VARCHAR(255); > v_domain VARCHAR(255); > v_user_name VARCHAR(255); > > v_document VARCHAR(64); > v_index INTEGER; >BEGIN > > select option_value INTO v_user_entry from vdc_options where option_name = 'AdUserId'; > select option_value INTO v_name from vdc_options where option_name = 'AdUserName'; > select option_value INTO v_domain from vdc_options where option_name = 'DomainName'; > > v_index := POSITION(':' IN v_user_entry); > if ( v_index <> 0 ) then > v_user_entry := substring( v_user_entry from v_index + 1 ); > v_user_id := CAST( v_user_entry AS uuid ); > end if; > > v_index := POSITION(':' IN v_name); > if ( v_index <> 0 ) then > v_name := substring( v_name from v_index + 1 ); > end if; > >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select v_user_id, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = v_user_id and name = v_name and domain = v_domain and username = v_user_name and groups = '' and status = 1); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', v_user_id, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = v_user_id and object_id= getGlobalIds('system') and object_type_id = 1); >END; $procedure$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION CheckDBConnection() RETURNS SETOF integer 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' and proname not ilike 'uuid%' 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 integer STABLE > AS $procedure$ > declare > retvalue integer; >BEGIN > retvalue := character_maximum_length from information_schema.columns > where > 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_su_role(v_permission_id uuid, v_user_id VARCHAR(255), v_name VARCHAR(255), v_domain VARCHAR(255)) > RETURNS void AS >$BODY$ > DECLARE > v_user_name VARCHAR(255); > v_document VARCHAR(64); > v_index INTEGER; > input_uuid uuid; >BEGIN > input_uuid = CAST( v_user_id AS uuid ); >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select input_uuid, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = input_uuid); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', input_uuid, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = input_uuid 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 INTEGER) >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 character varying, v_old_option_value character varying, v_new_option_value character varying, v_update_from_version character varying) > 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 integer; >v_count integer; >v_total_count integer; >v_version_count integer; >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 integer, 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 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 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_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_unlock_disk(v_id UUID) >returns void >AS $procedure$ >declare > OK integer; > LOCKED integer; >begin > OK:=1; > LOCKED:=2; > update images set imagestatus = OK where imagestatus = LOCKED and > image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); >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 integer; > OK integer; > LOCKED integer; > TEMPLATE_OK integer; > TEMPLATE_LOCKED integer; > IMAGE_LOCKED integer; > 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 ********** >/* 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 CHARACTER VARYING, spm_host_id UUID, spm_host_name CHARACTER VARYING, task_count integer); >************************** > >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 ********** >select * from generate_drop_all_functions_syntax(); >************************** > > drop function if exists public.attach_user_to_su_role(uuid) cascade; > drop function if exists public.attach_user_to_su_role(uuid, character varying, character varying, character varying) cascade; > drop function if exists public.checkdbconnection() 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_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_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_mask_object(regclass) 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_split_config_value(character varying, character varying, character varying, character varying) 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_column_size(character varying, character varying) 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.getpathids(uuid, integer) cascade; > drop function if exists public.getpathinnames(integer) cascade; > drop function if exists public.update_enum_translator(character varying, smallint, character varying, text) cascade; > drop function if exists public.update_tags_path_child(timestamp with time zone) cascade; > >********* QUERY ********** > drop function if exists public.attach_user_to_su_role(uuid) cascade; > drop function if exists public.attach_user_to_su_role(uuid, character varying, character varying, character varying) cascade; > drop function if exists public.checkdbconnection() 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_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_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_mask_object(regclass) 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_split_config_value(character varying, character varying, character varying, character varying) 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_column_size(character varying, character varying) 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.getpathids(uuid, integer) cascade; > drop function if exists public.getpathinnames(integer) cascade; > drop function if exists public.update_enum_translator(character varying, smallint, character varying, text) cascade; > drop function if exists public.update_tags_path_child(timestamp with time zone) cascade; >************************** > >DROP FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION GetPathInNames(tagHistoryID int) >RETURNS VARCHAR(4000) > AS $function$ > DECLARE > v_id UUID; > v_path_names VARCHAR(4000); > SWV_path VARCHAR(4000); >BEGIN > SELECT tag_path into SWV_path FROM tag_details WHERE history_id = tagHistoryID; > v_path_names := '/root'; > IF (SWV_path IS NULL or SWV_path = '') THEN > RETURN SWV_path; > ELSEIF (SWV_path = '/00000000-0000-0000-0000-000000000000') THEN > RETURN v_path_names; > ELSE > SWV_path := SUBSTR(SWV_path,38); > WHILE (LENGTH(SWV_path) > 0) LOOP > v_id := cast(SUBSTR(SWV_path,2,36) as UUID); > SWV_path := SUBSTR(SWV_path,38); > SELECT v_path_names || '/' || tag_name INTO v_path_names FROM tag_details where tag_id = v_id; > END LOOP; > end if; > RETURN v_path_names; >END; $function$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION GetPathIDs(currentTagID UUID, runNumber int default 0) >RETURNS VARCHAR(4000) > AS $function$ > DECLARE > ParentID UUID; >BEGIN > IF currentTagID IS NULL then > RETURN NULL; > end if; > select parent_id INTO ParentID FROM tag_relations_history WHERE entity_id = currentTagID and history_id in (SELECT max(a.history_id) > FROM tag_relations_history a > WHERE a.entity_id = currentTagID); > IF runNumber = 0 then > RETURN coalesce(GetPathIDs(ParentID, runNumber + 1),'/'); > ELSE > RETURN coalesce(GetPathIDs(ParentID, runNumber + 1) || '/' ,'/') || currentTagID; > end if; >END; $function$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION update_tags_path_child(thisUpdate TIMESTAMP WITH TIME ZONE) >RETURNS VOID AS $procedure$ >BEGIN > /*This inserts all children of the changed nodes with their new path*/ > Insert into tag_details(tag_id, > tag_name, > tag_description, > tag_path, > tag_level, > create_date, > update_date) > select distinct a.tag_id, > a.tag_name, > a.tag_description, > c.new_child_path || SUBSTR(a.tag_path,LENGTH(b.old_child_path) + 1), > LENGTH(c.new_child_path || SUBSTR(a.tag_path,LENGTH(b.old_child_path) + 1)) - LENGTH(REPLACE((c.new_child_path || SUBSTR(a.tag_path,LENGTH(b.old_child_path) + 1)),'/','')), > a.create_date, > thisUpdate > FROM tag_details a, > (select e.tag_path || '/' || CAST(e.tag_id AS VARCHAR(36)) as old_child_path, e.tag_id as parent /*36 is the uuid length*/ > from tag_details e > where e.history_id in (SELECT max(f.history_id) > FROM tag_details f > WHERE (f.update_date < thisUpdate or f.update_date IS NULL) > GROUP BY f.tag_id) > AND e.delete_date IS NULL) b, > (select tag_path || '/' || CAST(tag_id AS VARCHAR(36)) as new_child_path, tag_id as parent /*36 is the uuid length*/ > from tag_details > where update_date = thisUpdate > and delete_date IS NULL) c > Where a.tag_path like b.old_child_path || '%' and > b.parent = c.parent and > not exists (SELECT z.tag_id, z.tag_path FROM tag_details as z WHERE tag_id = a.tag_id and z.tag_path = c.new_child_path || SUBSTR(a.tag_path,LENGTH(b.old_child_path) + 1)); > RETURN; >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_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_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; > 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_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; > 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_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; > 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 attach_user_to_su_role(v_permission_id uuid) > RETURNS void AS >$procedure$ > DECLARE > v_user_entry VARCHAR(255); > v_user_id UUID; > v_name VARCHAR(255); > v_domain VARCHAR(255); > v_user_name VARCHAR(255); > > v_document VARCHAR(64); > v_index INTEGER; >BEGIN > > select option_value INTO v_user_entry from vdc_options where option_name = 'AdUserId'; > select option_value INTO v_name from vdc_options where option_name = 'AdUserName'; > select option_value INTO v_domain from vdc_options where option_name = 'DomainName'; > > v_index := POSITION(':' IN v_user_entry); > if ( v_index <> 0 ) then > v_user_entry := substring( v_user_entry from v_index + 1 ); > v_user_id := CAST( v_user_entry AS uuid ); > end if; > > v_index := POSITION(':' IN v_name); > if ( v_index <> 0 ) then > v_name := substring( v_name from v_index + 1 ); > end if; > >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select v_user_id, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = v_user_id and name = v_name and domain = v_domain and username = v_user_name and groups = '' and status = 1); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', v_user_id, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = v_user_id and object_id= getGlobalIds('system') and object_type_id = 1); >END; $procedure$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION CheckDBConnection() RETURNS SETOF integer 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' and proname not ilike 'uuid%' 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 integer STABLE > AS $procedure$ > declare > retvalue integer; >BEGIN > retvalue := character_maximum_length from information_schema.columns > where > 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_su_role(v_permission_id uuid, v_user_id VARCHAR(255), v_name VARCHAR(255), v_domain VARCHAR(255)) > RETURNS void AS >$BODY$ > DECLARE > v_user_name VARCHAR(255); > v_document VARCHAR(64); > v_index INTEGER; > input_uuid uuid; >BEGIN > input_uuid = CAST( v_user_id AS uuid ); >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select input_uuid, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = input_uuid); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', input_uuid, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = input_uuid 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 INTEGER) >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 character varying, v_old_option_value character varying, v_new_option_value character varying, v_update_from_version character varying) > 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 integer; >v_count integer; >v_total_count integer; >v_version_count integer; >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 integer, 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 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 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_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_unlock_disk(v_id UUID) >returns void >AS $procedure$ >declare > OK integer; > LOCKED integer; >begin > OK:=1; > LOCKED:=2; > update images set imagestatus = OK where imagestatus = LOCKED and > image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); >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 integer; > OK integer; > LOCKED integer; > TEMPLATE_OK integer; > TEMPLATE_LOCKED integer; > IMAGE_LOCKED integer; > 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 ********** >/* 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 CHARACTER VARYING, spm_host_id UUID, spm_host_name CHARACTER VARYING, task_count integer); >************************** > >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 ********** >select fn_db_add_column('schema_version', 'comment', 'text NULL default '''' '); >************************** > > > >********* QUERY ********** >CREATE OR REPLACE FUNCTION update_enum_translator(enum_type varchar(40), enum_key smallint, language_code varchar(40), value text) RETURNS void AS $$ >BEGIN > DELETE FROM enum_translator > WHERE enum_translator.enum_type = update_enum_translator.enum_type > AND enum_translator.enum_key = update_enum_translator.enum_key > AND enum_translator.language_code = update_enum_translator.language_code > AND EXISTS (SELECT 1 > FROM enum_translator as a > WHERE a.enum_type = update_enum_translator.enum_type > AND a.enum_key = update_enum_translator.enum_key > AND a.language_code = update_enum_translator.language_code); > INSERT INTO enum_translator VALUES (update_enum_translator.enum_type, update_enum_translator.enum_key, update_enum_translator.language_code, update_enum_translator.value); >END; >$$ LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >ALTER TABLE schema_version ALTER COLUMN installed_by TYPE varchar(63); >************************** > >ALTER TABLE >********* QUERY ********** >INSERT INTO history_configuration(var_name,var_value) SELECT 'default_language','en_US' WHERE not exists (SELECT var_name FROM history_configuration WHERE var_name = 'default_language'); >************************** > >INSERT 0 0 >********* QUERY ********** >UPDATE history_configuration SET var_value = 'en_US' WHERE var_name = 'default_language' and var_value = 'us-en'; >************************** > >UPDATE 0 >********* QUERY ********** >INSERT INTO history_configuration(var_name,var_value) SELECT 'MinimalETLVersion','4.2.0' WHERE not exists (SELECT var_name FROM history_configuration WHERE var_name = 'MinimalETLVersion'); >************************** > >INSERT 0 0 >********* QUERY ********** >UPDATE history_configuration SET var_value = '4.2.0' WHERE var_name = 'MinimalETLVersion'; >************************** > >UPDATE 1 >********* QUERY ********** >copy ( > select version > from schema_version > where current = true > order by id > LIMIT 1 > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy ( > select max(id) > from schema_version > where state in ('INSTALLED','SKIPPED') > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** > > update schema_version > set current=(id=46); > >************************** > >UPDATE 46 >********* QUERY ********** >/************************************** > VERSIONED VIEWS (3.6) >**************************************/ >CREATE OR REPLACE VIEW v3_6_enum_translator > AS >SELECT > enum_translator.enum_type as enum_type, > enum_translator.enum_key as enum_key, > enum_translator.value as value >FROM enum_translator INNER JOIN > history_configuration ON > (enum_translator.language_code = history_configuration.var_value > and history_configuration.var_name = 'default_language'); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM datacenter_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date >FROM datacenter_configuration >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_configuration as a GROUP BY a.datacenter_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_datacenters_resources_usage_samples > AS >SELECT > cast(NULL as bigint) as history_id, > cast(NULL as timestamp with time zone) as history_datetime, > cast(NULL as uuid) as datacenter_id, > cast(NULL as smallint ) as datacenter_status, > cast(NULL as numeric(7,2)) as minutes_in_status, > cast(NULL as integer) as datacenter_configuration_version; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_datacenters_resources_usage_hourly > AS >SELECT > cast(NULL as bigint) as history_id, > cast(NULL as timestamp with time zone) as history_datetime, > cast(NULL as uuid) as datacenter_id, > cast(NULL as smallint ) as datacenter_status, > cast(NULL as numeric(7,2)) as minutes_in_status, > cast(NULL as integer) as datacenter_configuration_version; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_datacenters_resources_usage_daily > AS >SELECT > cast(NULL as bigint) as history_id, > cast(NULL as date) as history_datetime, > cast(NULL as uuid) as datacenter_id, > cast(NULL as smallint ) as datacenter_status, > cast(NULL as numeric(7,2)) as minutes_in_status, > cast(NULL as integer) as datacenter_configuration_version; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_map_history_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date, > detach_date as detach_date >FROM datacenter_storage_domain_map; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_map_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date >FROM datacenter_storage_domain_map >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_storage_domain_map as a GROUP BY a.storage_domain_id, a.datacenter_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM storage_domain_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date >FROM storage_domain_configuration >WHERE history_id in (SELECT max(a.history_id) FROM storage_domain_configuration as a GROUP BY a.storage_domain_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_storage_domains_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_storage_domains_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_storage_domains_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM cluster_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date >FROM cluster_configuration >WHERE history_id in (SELECT max(a.history_id) FROM cluster_configuration as a GROUP BY a.cluster_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_configuration as a GROUP BY a.host_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > memory_usage_percent as memory_usage_percent, > ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > ksm_cpu_percent as ksm_cpu_percent, > active_vms as active_vms, > total_vms as total_vms, > total_vms_vcpus as total_vms_vcpus, > cpu_load as cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_interface_configuration as a GROUP BY a.host_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_hosts_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_configuration as a GROUP BY a.vm_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_resources_usage_samples > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.memory_usage_percent as memory_usage_percent, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.vm_client_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > a.user_logged_in_to_guest, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb >FROM vm_samples_history as a > LEFT OUTER JOIN vm_disks_usage_samples_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_resources_usage_hourly > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_hourly_history as a > LEFT OUTER JOIN vm_disks_usage_hourly_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_resources_usage_daily > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_daily_history as a > LEFT OUTER JOIN vm_disks_usage_daily_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_users_usage_hourly > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_hourly; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_users_usage_daily > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_daily; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_interface_configuration as a GROUP BY a.vm_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > cast(NULL as smallint) as vm_disk_interface, > is_shared as is_shared, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_disk_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > cast(NULL as smallint) as vm_disk_interface, > is_shared as is_shared, > create_date as create_date, > update_date as update_date >FROM vm_disk_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_disk_configuration as a GROUP BY a.vm_disk_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_disks_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_disks_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_statistics_vms_disks_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_configuration_history_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date, > delete_date >FROM vm_device_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_configuration_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date >FROM vm_device_history >WHERE history_id in (SELECT max(a.history_id) FROM vm_device_history as a GROUP BY a.vm_id, a.device_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_users_details_history > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_users_details > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history >WHERE delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_tags_relations_history > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_tags_relations > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15) > and history_id in (SELECT max(a.history_id) FROM tag_relations_history as a GROUP BY a.entity_id, a.parent_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_tags_details_history > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v3_6_latest_tags_details > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details >WHERE history_id in (SELECT max(a.history_id) FROM tag_details as a GROUP BY a.tag_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >/************************************** > VERSIONED VIEWS (4.0) >**************************************/ >CREATE OR REPLACE VIEW v4_0_enum_translator > AS >SELECT > enum_translator.enum_type as enum_type, > enum_translator.enum_key as enum_key, > enum_translator.value as value >FROM enum_translator INNER JOIN > history_configuration ON > (enum_translator.language_code = history_configuration.var_value > and history_configuration.var_name = 'default_language'); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM datacenter_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date >FROM datacenter_configuration >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_configuration as a GROUP BY a.datacenter_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_map_history_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date, > detach_date as detach_date >FROM datacenter_storage_domain_map; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_map_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date >FROM datacenter_storage_domain_map >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_storage_domain_map as a GROUP BY a.storage_domain_id, a.datacenter_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM storage_domain_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date >FROM storage_domain_configuration >WHERE history_id in (SELECT max(a.history_id) FROM storage_domain_configuration as a GROUP BY a.storage_domain_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_storage_domains_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_storage_domains_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_storage_domains_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM cluster_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date >FROM cluster_configuration >WHERE history_id in (SELECT max(a.history_id) FROM cluster_configuration as a GROUP BY a.cluster_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_configuration as a GROUP BY a.host_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > memory_usage_percent as memory_usage_percent, > ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > ksm_cpu_percent as ksm_cpu_percent, > active_vms as active_vms, > total_vms as total_vms, > total_vms_vcpus as total_vms_vcpus, > cpu_load as cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_interface_configuration as a GROUP BY a.host_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_hosts_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_hosts_resources_usage_samples > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > stats.seconds_in_status as host_seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.active_vms as active_vms, > stats.total_vms as total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_0_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_0_statistics_hosts_resources_usage_samples AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_0_statistics_hosts_interfaces_resources_usage_samples nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_hosts_resources_usage_hourly > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_0_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_0_statistics_hosts_resources_usage_hourly AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_0_statistics_hosts_interfaces_resources_usage_hourly nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_hosts_resources_usage_daily > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_0_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_0_statistics_hosts_resources_usage_daily AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_0_statistics_hosts_interfaces_resources_usage_daily nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_configuration as a GROUP BY a.vm_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_resources_usage_samples > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > a.seconds_in_status as seconds_in_status, > cast(a.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.memory_usage_percent as memory_usage_percent, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.vm_client_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > a.user_logged_in_to_guest, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb >FROM vm_samples_history as a > LEFT OUTER JOIN vm_disks_usage_samples_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_resources_usage_hourly > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_hourly_history as a > LEFT OUTER JOIN vm_disks_usage_hourly_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_resources_usage_daily > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_daily_history as a > LEFT OUTER JOIN vm_disks_usage_daily_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_users_usage_hourly > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_hourly; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_users_usage_daily > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_daily; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_interface_configuration as a GROUP BY a.vm_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_disk_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date >FROM vm_disk_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_disk_configuration as a GROUP BY a.vm_disk_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_disks_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_disks_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_statistics_vms_disks_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_configuration_history_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date, > delete_date >FROM vm_device_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_configuration_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date >FROM vm_device_history >WHERE history_id in (SELECT max(a.history_id) FROM vm_device_history as a GROUP BY a.vm_id, a.device_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_vms_resources_usage_samples > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > stats.seconds_in_status as seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.memory_usage_percent as memory_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.vm_client_ip as vm_client_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.user_logged_in_to_guest, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > disk_stats.seconds_in_status as vm_disk_seconds_in_status, > cast(disk_stats.seconds_in_status as numeric(7,2)) / 60 as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds >FROM v4_0_configuration_history_vms AS conf > LEFT OUTER JOIN v4_0_statistics_vms_resources_usage_samples AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_0_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_statistics_vms_interfaces_resources_usage_samples AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_0_statistics_vms_disks_resources_usage_samples disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_vms_resources_usage_hourly > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_0_configuration_history_vms AS conf > LEFT OUTER JOIN v4_0_statistics_vms_resources_usage_hourly AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_0_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_statistics_vms_interfaces_resources_usage_hourly AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_0_statistics_vms_disks_resources_usage_hourly disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_fully_joined_statistics_vms_resources_usage_daily > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_0_configuration_history_vms AS conf > LEFT OUTER JOIN v4_0_statistics_vms_resources_usage_daily AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_0_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_0_statistics_vms_interfaces_resources_usage_daily AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_0_statistics_vms_disks_resources_usage_daily disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_users_details_history > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_users_details > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history >WHERE delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_tags_relations_history > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_tags_relations > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15) > and history_id in (SELECT max(a.history_id) FROM tag_relations_history as a GROUP BY a.entity_id, a.parent_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_tags_details_history > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_0_latest_tags_details > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details >WHERE history_id in (SELECT max(a.history_id) FROM tag_details as a GROUP BY a.tag_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >/************************************** > VERSIONED VIEWS (4.1) >**************************************/ >CREATE OR REPLACE VIEW v4_1_enum_translator > AS >SELECT > enum_translator.enum_type as enum_type, > enum_translator.enum_key as enum_key, > enum_translator.value as value >FROM enum_translator INNER JOIN > history_configuration ON > (enum_translator.language_code = history_configuration.var_value > and history_configuration.var_name = 'default_language'); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM datacenter_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date >FROM datacenter_configuration >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_configuration as a GROUP BY a.datacenter_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_map_history_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date, > detach_date as detach_date >FROM datacenter_storage_domain_map; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_map_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date >FROM datacenter_storage_domain_map >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_storage_domain_map as a GROUP BY a.storage_domain_id, a.datacenter_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM storage_domain_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date >FROM storage_domain_configuration >WHERE history_id in (SELECT max(a.history_id) FROM storage_domain_configuration as a GROUP BY a.storage_domain_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_storage_domains_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_storage_domains_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_storage_domains_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM cluster_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date >FROM cluster_configuration >WHERE history_id in (SELECT max(a.history_id) FROM cluster_configuration as a GROUP BY a.cluster_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_configuration as a GROUP BY a.host_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > memory_usage_percent as memory_usage_percent, > ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > ksm_cpu_percent as ksm_cpu_percent, > active_vms as active_vms, > total_vms as total_vms, > total_vms_vcpus as total_vms_vcpus, > cpu_load as cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_interface_configuration as a GROUP BY a.host_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_hosts_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_hosts_resources_usage_samples > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > stats.seconds_in_status as host_seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.active_vms as active_vms, > stats.total_vms as total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_1_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_1_statistics_hosts_resources_usage_samples AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_1_statistics_hosts_interfaces_resources_usage_samples nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_hosts_resources_usage_hourly > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_1_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_1_statistics_hosts_resources_usage_hourly AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_1_statistics_hosts_interfaces_resources_usage_hourly nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_hosts_resources_usage_daily > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_1_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_1_statistics_hosts_resources_usage_daily AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_1_statistics_hosts_interfaces_resources_usage_daily nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_configuration as a GROUP BY a.vm_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_resources_usage_samples > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > a.seconds_in_status as seconds_in_status, > cast(a.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.memory_usage_percent as memory_usage_percent, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.vm_client_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > a.user_logged_in_to_guest, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb >FROM vm_samples_history as a > LEFT OUTER JOIN vm_disks_usage_samples_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_resources_usage_hourly > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_hourly_history as a > LEFT OUTER JOIN vm_disks_usage_hourly_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_resources_usage_daily > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_daily_history as a > LEFT OUTER JOIN vm_disks_usage_daily_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_users_usage_hourly > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_hourly; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_users_usage_daily > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_daily; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_interface_configuration as a GROUP BY a.vm_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_disk_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date >FROM vm_disk_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_disk_configuration as a GROUP BY a.vm_disk_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_disks_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_disks_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_statistics_vms_disks_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_configuration_history_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date, > delete_date >FROM vm_device_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_configuration_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date >FROM vm_device_history >WHERE history_id in (SELECT max(a.history_id) FROM vm_device_history as a GROUP BY a.vm_id, a.device_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_vms_resources_usage_samples > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > stats.seconds_in_status as seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.memory_usage_percent as memory_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.vm_client_ip as vm_client_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.user_logged_in_to_guest, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > disk_stats.seconds_in_status as vm_disk_seconds_in_status, > cast(disk_stats.seconds_in_status as numeric(7,2)) / 60 as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds >FROM v4_1_configuration_history_vms AS conf > LEFT OUTER JOIN v4_1_statistics_vms_resources_usage_samples AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_1_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_statistics_vms_interfaces_resources_usage_samples AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_1_statistics_vms_disks_resources_usage_samples disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_vms_resources_usage_hourly > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_1_configuration_history_vms AS conf > LEFT OUTER JOIN v4_1_statistics_vms_resources_usage_hourly AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_1_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_statistics_vms_interfaces_resources_usage_hourly AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_1_statistics_vms_disks_resources_usage_hourly disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_fully_joined_statistics_vms_resources_usage_daily > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > cast(NULL as uuid) as image_id, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_1_configuration_history_vms AS conf > LEFT OUTER JOIN v4_1_statistics_vms_resources_usage_daily AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_1_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_1_statistics_vms_interfaces_resources_usage_daily AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_1_statistics_vms_disks_resources_usage_daily disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_users_details_history > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_users_details > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history >WHERE delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_tags_relations_history > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_tags_relations > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15) > and history_id in (SELECT max(a.history_id) FROM tag_relations_history as a GROUP BY a.entity_id, a.parent_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_tags_details_history > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_1_latest_tags_details > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details >WHERE history_id in (SELECT max(a.history_id) FROM tag_details as a GROUP BY a.tag_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >/************************************** > VERSIONED VIEWS (4.2) >**************************************/ >CREATE OR REPLACE VIEW v4_2_enum_translator > AS >SELECT > enum_translator.enum_type as enum_type, > enum_translator.enum_key as enum_key, > enum_translator.value as value >FROM enum_translator INNER JOIN > history_configuration ON > (enum_translator.language_code = history_configuration.var_value > and history_configuration.var_name = 'default_language'); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM datacenter_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_datacenters > AS >SELECT > history_id as history_id, > datacenter_id as datacenter_id, > datacenter_name as datacenter_name, > datacenter_description as datacenter_description, > is_local_storage as is_local_storage, > create_date as create_date, > update_date as update_date >FROM datacenter_configuration >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_configuration as a GROUP BY a.datacenter_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_map_history_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date, > detach_date as detach_date >FROM datacenter_storage_domain_map; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_map_datacenters_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > datacenter_id as datacenter_id, > attach_date as attach_date >FROM datacenter_storage_domain_map >WHERE history_id in (SELECT max(a.history_id) FROM datacenter_storage_domain_map as a GROUP BY a.storage_domain_id, a.datacenter_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM storage_domain_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_storage_domains > AS >SELECT > history_id as history_id, > storage_domain_id as storage_domain_id, > storage_domain_name as storage_domain_name, > storage_domain_type as storage_domain_type, > storage_type as storage_type, > create_date as create_date, > update_date as update_date >FROM storage_domain_configuration >WHERE history_id in (SELECT max(a.history_id) FROM storage_domain_configuration as a GROUP BY a.storage_domain_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_storage_domains_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_storage_domains_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_storage_domains_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > storage_domain_id as storage_domain_id, > storage_domain_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status, > available_disk_size_gb as available_disk_size_gb, > used_disk_size_gb as used_disk_size_gb, > storage_configuration_version as storage_configuration_version >FROM storage_domain_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM cluster_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_clusters > AS >SELECT > history_id as history_id, > cluster_id as cluster_id, > cluster_name as cluster_name, > cluster_description as cluster_description, > datacenter_id as datacenter_id, > cpu_name as cpu_name, > compatibility_version as compatibility_version, > datacenter_configuration_version as datacenter_configuration_version, > create_date as create_date, > update_date as update_date >FROM cluster_configuration >WHERE history_id in (SELECT max(a.history_id) FROM cluster_configuration as a GROUP BY a.cluster_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_hosts > AS >SELECT > history_id as history_id, > host_id as host_id, > host_unique_id as host_unique_id, > host_name as host_name, > cluster_id as cluster_id, > host_type as host_type, > fqdn_or_ip as fqdn_or_ip, > memory_size_mb as memory_size_mb, > swap_size_mb as swap_size_mb, > cpu_model as cpu_model, > number_of_cores as number_of_cores, > number_of_sockets, > cpu_speed_mh, > host_os as host_os, > kernel_version as kernel_version, > kvm_version as kvm_version, > CASE SUBSTR(vdsm_version,1,3) > WHEN '4.4' THEN '2.1' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.5' THEN '2.2' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > WHEN '4.9' THEN '2.3' || SUBSTR(vdsm_version,4,LENGTH(vdsm_version)) > ELSE vdsm_version > END as vdsm_version, > vdsm_port as vdsm_port, > threads_per_core as threads_per_core, > hardware_manufacturer as hardware_manufacturer, > hardware_product_name as hardware_product_name, > hardware_version as hardware_version, > hardware_serial_number as hardware_serial_number, > cluster_configuration_version as cluster_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_configuration as a GROUP BY a.host_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > memory_usage_percent as memory_usage_percent, > ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > ksm_cpu_percent as ksm_cpu_percent, > active_vms as active_vms, > total_vms as total_vms, > total_vms_vcpus as total_vms_vcpus, > cpu_load as cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_id as host_id, > host_status as host_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > memory_usage_percent as memory_usage_percent, > max_memory_usage as max_memory_usage, > ksm_shared_memory_mb, > max_ksm_shared_memory_mb, > cpu_usage_percent as cpu_usage_percent, > max_cpu_usage as max_cpu_usage, > ksm_cpu_percent as ksm_cpu_percent, > max_ksm_cpu_percent as max_ksm_cpu_percent, > active_vms as active_vms, > max_active_vms as max_active_vms, > total_vms as total_vms, > max_total_vms as max_total_vms, > total_vms_vcpus as total_vms_vcpus, > max_total_vms_vcpus as max_total_vms_vcpus, > cpu_load as cpu_load, > max_cpu_load as max_cpu_load, > system_cpu_usage_percent as system_cpu_usage_percent, > max_system_cpu_usage_percent as max_system_cpu_usage_percent, > user_cpu_usage_percent as user_cpu_usage_percent, > max_user_cpu_usage_percent as max_user_cpu_usage_percent, > swap_used_mb as swap_used_mb, > max_swap_used_mb as max_swap_used_mb, > host_configuration_version as host_configuration_version >FROM host_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM host_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_hosts_interfaces > AS >SELECT > history_id as history_id, > host_interface_id as host_interface_id, > host_interface_name as host_interface_name, > host_id as host_id, > host_interface_type as host_interface_type, > host_interface_speed_bps as host_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > ip_address as ip_address, > gateway as gateway, > bond as bond, > bond_name as bond_name, > vlan_id as vlan_id, > host_configuration_version as host_configuration_version, > create_date as create_date, > update_date as update_date >FROM host_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM host_interface_configuration as a GROUP BY a.host_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_hosts_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > host_interface_id as host_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > host_interface_configuration_version as host_interface_configuration_version >FROM host_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_hosts_resources_usage_samples > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > stats.seconds_in_status as host_seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.active_vms as active_vms, > stats.total_vms as total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_2_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_2_statistics_hosts_resources_usage_samples AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_2_statistics_hosts_interfaces_resources_usage_samples nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_hosts_resources_usage_hourly > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_2_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_2_statistics_hosts_resources_usage_hourly AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_2_statistics_hosts_interfaces_resources_usage_hourly nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_hosts_resources_usage_daily > AS >SELECT > conf.host_id as host_id, > conf.host_unique_id as host_unique_id, > conf.host_name as host_name, > conf.cluster_id as cluster_id, > conf.host_type as host_type, > conf.fqdn_or_ip as fqdn_or_ip, > conf.memory_size_mb as memory_size_mb, > conf.swap_size_mb as swap_size_mb, > conf.cpu_model as cpu_model, > conf.number_of_cores as number_of_cores, > conf.number_of_sockets as number_of_sockets, > conf.cpu_speed_mh as cpu_speed_mh, > conf.host_os as host_os, > conf.kernel_version as kernel_version, > conf.kvm_version as kvm_version, > conf.vdsm_version as vdsm_version, > conf.vdsm_port as vdsm_port, > conf.threads_per_core as threads_per_core, > conf.hardware_manufacturer as hardware_manufacturer, > conf.hardware_product_name as hardware_product_name, > conf.hardware_version as hardware_version, > conf.hardware_serial_number as hardware_serial_number, > conf.cluster_configuration_version as cluster_configuration_version, > conf.create_date as host_create_date, > conf.update_date as host_update_date, > conf.delete_date as host_delete_date, > stats.history_datetime as history_datetime, > stats.host_status as host_status, > cast(stats.minutes_in_status * 60 as integer) as host_seconds_in_status, > stats.minutes_in_status as host_minutes_in_status, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.ksm_shared_memory_mb ksm_shared_memory_mb, > stats.max_ksm_shared_memory_mb as max_ksm_shared_memory_mb, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.ksm_cpu_percent as ksm_cpu_percent, > stats.max_ksm_cpu_percent as max_ksm_cpu_percent, > stats.active_vms as active_vms, > stats.max_active_vms as max_active_vms, > stats.total_vms as total_vms, > stats.max_total_vms as max_total_vms, > stats.total_vms_vcpus as total_vms_vcpus, > stats.max_total_vms_vcpus as max_total_vms_vcpus, > stats.cpu_load as cpu_load, > stats.max_cpu_load as max_cpu_load, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.swap_used_mb as swap_used_mb, > stats.max_swap_used_mb as max_swap_used_mb, > nic_conf.host_interface_id as host_interface_id, > nic_conf.host_interface_name as host_interface_name, > nic_conf.host_interface_type as host_interface_type, > nic_conf.host_interface_speed_bps as host_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name, > nic_conf.ip_address as ip_address, > nic_conf.gateway as gateway, > nic_conf.bond as bond, > nic_conf.bond_name as bond_name, > nic_conf.vlan_id as vlan_id, > nic_conf.create_date as host_interface_create_date, > nic_conf.update_date as host_interface_update_date, > nic_conf.delete_date as host_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte >FROM v4_2_configuration_history_hosts AS conf > LEFT OUTER JOIN v4_2_statistics_hosts_resources_usage_daily AS stats > ON (conf.history_id = stats.host_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_hosts_interfaces nic_conf > ON (conf.history_id = nic_conf.host_configuration_version) > LEFT OUTER JOIN v4_2_statistics_hosts_interfaces_resources_usage_daily nic_stats > ON (nic_conf.history_id = nic_stats.host_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_vms > AS >SELECT > history_id as history_id, > vm_id as vm_id, > vm_name as vm_name, > vm_description as vm_description, > vm_type as vm_type, > cluster_id as cluster_id, > template_id as template_id, > template_name as template_name, > cpu_per_socket as cpu_per_socket, > number_of_sockets as number_of_sockets, > memory_size_mb as memory_size_mb, > operating_system as operating_system, > default_host as default_host, > high_availability as high_availability, > initialized as initialized, > stateless as stateless, > fail_back as fail_back, > usb_policy as usb_policy, > time_zone as time_zone, > vm_pool_id, > vm_pool_name, > created_by_user_id, > cluster_configuration_version as cluster_configuration_version, > default_host_configuration_version as default_host_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_configuration as a GROUP BY a.vm_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_resources_usage_samples > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > a.seconds_in_status as seconds_in_status, > cast(a.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.memory_usage_percent as memory_usage_percent, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.vm_client_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > a.user_logged_in_to_guest, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb >FROM vm_samples_history as a > LEFT OUTER JOIN vm_disks_usage_samples_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_resources_usage_hourly > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_hourly_history as a > LEFT OUTER JOIN vm_disks_usage_hourly_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_resources_usage_daily > AS >SELECT > a.history_id as history_id, > a.history_datetime as history_datetime, > a.vm_id as vm_id, > a.vm_status as vm_status, > cast(a.minutes_in_status * 60 as integer) as seconds_in_status, > a.minutes_in_status as minutes_in_status, > a.cpu_usage_percent as cpu_usage_percent, > a.max_cpu_usage as max_cpu_usage, > a.memory_usage_percent as memory_usage_percent, > a.max_memory_usage as max_memory_usage, > a.user_cpu_usage_percent as user_cpu_usage_percent, > a.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > a.system_cpu_usage_percent as system_cpu_usage_percent, > a.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > a.vm_ip as vm_ip, > a.currently_running_on_host as currently_running_on_host, > a.current_user_id as current_user_id, > b.disks_usage as disks_usage, > a.vm_configuration_version as vm_configuration_version, > a.current_host_configuration_version as current_host_configuration_version, > a.memory_buffered_kb as memory_buffered_kb, > a.memory_cached_kb as memory_cached_kb, > a.max_memory_buffered_kb as max_memory_buffered_kb, > a.max_memory_cached_kb as max_memory_cached_kb >FROM vm_daily_history as a > LEFT OUTER JOIN vm_disks_usage_daily_history as b > ON (a.history_datetime = b.history_datetime AND a.vm_id = b.vm_id); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_users_usage_hourly > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_hourly; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_users_usage_daily > AS >SELECT history_id, > history_datetime, > user_id, > vm_id, > session_time_in_minutes, > cpu_usage_percent, > max_cpu_usage, > memory_usage_percent, > max_memory_usage, > user_cpu_usage_percent, > max_user_cpu_usage_percent, > system_cpu_usage_percent, > max_system_cpu_usage_percent, > vm_ip, > vm_client_ip, > user_logged_in_to_guest, > currently_running_on_host, > vm_configuration_version, > current_host_configuration_version >FROM statistics_vms_users_usage_daily; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_interface_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_vms_interfaces > AS >SELECT > history_id as history_id, > vm_interface_id as vm_interface_id, > vm_interface_name as vm_interface_name, > vm_interface_type as vm_interface_type, > vm_interface_speed_bps as vm_interface_speed_bps, > mac_address as mac_address, > logical_network_name, > vm_configuration_version as vm_configuration_version, > create_date as create_date, > update_date as update_date >FROM vm_interface_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_interface_configuration as a GROUP BY a.vm_interface_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_interfaces_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_interfaces_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_interfaces_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_interface_id as vm_interface_id, > receive_rate_percent as receive_rate_percent, > max_receive_rate_percent as max_receive_rate_percent, > transmit_rate_percent as transmit_rate_percent, > max_transmit_rate_percent as max_transmit_rate_percent, > received_total_byte as received_total_byte, > transmitted_total_byte as transmitted_total_byte, > vm_interface_configuration_version as vm_interface_configuration_version >FROM vm_interface_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM vm_disk_configuration; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_vms_disks > AS >SELECT > history_id as history_id, > vm_disk_id as vm_disk_id, > CASE > WHEN vm_disk_name IS NOT NULL THEN vm_disk_name > ELSE 'disk ' || cast(vm_internal_drive_mapping as varchar) > END as vm_disk_name, > vm_disk_description as vm_disk_description, > storage_domain_id as storage_domain_id, > vm_disk_size_mb as vm_disk_size_mb, > vm_disk_type as vm_disk_type, > vm_disk_format as vm_disk_format, > is_shared as is_shared, > create_date as create_date, > update_date as update_date >FROM vm_disk_configuration >WHERE history_id in (SELECT max(a.history_id) FROM vm_disk_configuration as a GROUP BY a.vm_disk_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_disks_resources_usage_samples > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > seconds_in_status as seconds_in_status, > cast(seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_samples_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_disks_resources_usage_hourly > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_hourly_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_statistics_vms_disks_resources_usage_daily > AS >SELECT > history_id as history_id, > history_datetime as history_datetime, > vm_disk_id as vm_disk_id, > vm_disk_status as vm_disk_status, > cast(minutes_in_status * 60 as integer) as seconds_in_status, > minutes_in_status as minutes_in_status, > vm_disk_actual_size_mb as vm_disk_actual_size_mb, > read_rate_bytes_per_second as read_rate_bytes_per_second, > max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > read_latency_seconds as read_latency_seconds, > max_read_latency_seconds as max_read_latency_seconds, > write_rate_bytes_per_second as write_rate_bytes_per_second, > max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > write_latency_seconds as write_latency_seconds, > max_write_latency_seconds as max_write_latency_seconds, > flush_latency_seconds as flush_latency_seconds, > max_flush_latency_seconds as max_flush_latency_seconds, > vm_disk_configuration_version as vm_disk_configuration_version >FROM vm_disk_daily_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_configuration_history_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date, > delete_date >FROM vm_device_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_configuration_vms_devices > AS >SELECT > history_id as history_id, > vm_id, > device_id, > type, > address, > is_managed, > is_plugged, > is_readonly, > vm_configuration_version, > device_configuration_version, > create_date, > update_date >FROM vm_device_history >WHERE history_id in (SELECT max(a.history_id) FROM vm_device_history as a GROUP BY a.vm_id, a.device_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_vms_resources_usage_samples > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > stats.seconds_in_status as seconds_in_status, > cast(stats.seconds_in_status as numeric(7,2)) / 60 as minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.memory_usage_percent as memory_usage_percent, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.vm_client_ip as vm_client_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.user_logged_in_to_guest, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > disk_stats.seconds_in_status as vm_disk_seconds_in_status, > cast(disk_stats.seconds_in_status as numeric(7,2)) / 60 as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds >FROM v4_2_configuration_history_vms AS conf > LEFT OUTER JOIN v4_2_statistics_vms_resources_usage_samples AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_2_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_statistics_vms_interfaces_resources_usage_samples AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_2_statistics_vms_disks_resources_usage_samples disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_vms_resources_usage_hourly > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_2_configuration_history_vms AS conf > LEFT OUTER JOIN v4_2_statistics_vms_resources_usage_hourly AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_2_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_statistics_vms_interfaces_resources_usage_hourly AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_2_statistics_vms_disks_resources_usage_hourly disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_fully_joined_statistics_vms_resources_usage_daily > AS > SELECT > conf.vm_id as vm_id, > conf.vm_name as vm_name, > conf.vm_description as vm_description, > conf.vm_type as vm_type, > conf.cluster_id as cluster_id, > conf.template_id as template_id, > conf.template_name as template_name, > conf.cpu_per_socket as cpu_per_socket, > conf.number_of_sockets as number_of_sockets, > conf.memory_size_mb as memory_size_mb, > conf.operating_system as operating_system, > conf.default_host as default_host, > conf.high_availability as high_availability, > conf.initialized as initialized, > conf.stateless as stateless, > conf.fail_back as fail_back, > conf.usb_policy as usb_policy, > conf.time_zone as time_zone, > conf.vm_pool_id as vm_pool_id, > conf.vm_pool_name as vm_pool_name, > conf.created_by_user_id as created_by_user_id, > conf.cluster_configuration_version as cluster_configuration_version, > conf.default_host_configuration_version as default_host_configuration_version, > conf.create_date as vm_create_date, > conf.update_date as vm_update_date, > conf.delete_date as vm_delete_date, > stats.history_datetime as history_datetime, > stats.vm_status as vm_status, > cast(stats.minutes_in_status * 60 as integer) as vm_seconds_in_status, > stats.minutes_in_status as vm_minutes_in_status, > stats.cpu_usage_percent as cpu_usage_percent, > stats.max_cpu_usage as max_cpu_usage, > stats.memory_usage_percent as memory_usage_percent, > stats.max_memory_usage as max_memory_usage, > stats.user_cpu_usage_percent as user_cpu_usage_percent, > stats.max_user_cpu_usage_percent as max_user_cpu_usage_percent, > stats.system_cpu_usage_percent as system_cpu_usage_percent, > stats.max_system_cpu_usage_percent as max_system_cpu_usage_percent, > stats.vm_ip as vm_ip, > stats.currently_running_on_host as currently_running_on_host, > stats.current_user_id as current_user_id, > stats.disks_usage as disks_usage, > stats.current_host_configuration_version as current_host_configuration_version, > stats.memory_buffered_kb as memory_buffered_kb, > stats.memory_cached_kb as memory_cached_kb, > stats.max_memory_buffered_kb as max_memory_buffered_kb, > stats.max_memory_cached_kb as max_memory_cached_kb, > device_conf.device_id as device_id, > device_conf.type as device_type, > device_conf.address as address, > device_conf.is_managed as is_managed, > device_conf.is_plugged as is_plugged, > device_conf.is_readonly as is_readonly, > device_conf.create_date as device_create_date, > device_conf.update_date as device_update_date, > device_conf.delete_date as device_delete_date, > nic_conf.vm_interface_id as vm_interface_id, > nic_conf.vm_interface_name as vm_interface_name, > nic_conf.vm_interface_type as vm_interface_type, > nic_conf.vm_interface_speed_bps as vm_interface_speed_bps, > nic_conf.mac_address as mac_address, > nic_conf.logical_network_name as logical_network_name, > nic_conf.create_date as vm_interface_create_date, > nic_conf.update_date as vm_interface_update_date, > nic_conf.delete_date as vm_interface_delete_date, > nic_stats.receive_rate_percent as receive_rate_percent, > nic_stats.max_receive_rate_percent as max_receive_rate_percent, > nic_stats.transmit_rate_percent as transmit_rate_percent, > nic_stats.max_transmit_rate_percent as max_transmit_rate_percent, > nic_stats.received_total_byte as received_total_byte, > nic_stats.transmitted_total_byte as transmitted_total_byte, > disk_conf.vm_disk_id as vm_disk_id, > disk_conf.vm_disk_name as vm_disk_name, > disk_conf.vm_disk_description as vm_disk_description, > disk_conf.storage_domain_id as storage_domain_id, > disk_conf.vm_disk_size_mb as vm_disk_size_mb, > disk_conf.vm_disk_type as vm_disk_type, > disk_conf.vm_disk_format as vm_disk_format, > disk_conf.is_shared as is_shared, > disk_conf.create_date as vm_disk_create_date, > disk_conf.update_date as vm_disk_update_date, > disk_conf.delete_date as vm_disk_delete_date, > disk_stats.vm_disk_status as vm_disk_status, > cast(disk_stats.minutes_in_status * 60 as integer) as vm_disk_seconds_in_status, > disk_stats.minutes_in_status as vm_disk_minutes_in_status, > disk_stats.vm_disk_actual_size_mb as vm_disk_actual_size_mb, > disk_stats.read_rate_bytes_per_second as read_rate_bytes_per_second, > disk_stats.max_read_rate_bytes_per_second as max_read_rate_bytes_per_second, > disk_stats.read_latency_seconds as read_latency_seconds, > disk_stats.max_read_latency_seconds as max_read_latency_seconds, > disk_stats.write_rate_bytes_per_second as write_rate_bytes_per_second, > disk_stats.max_write_rate_bytes_per_second as max_write_rate_bytes_per_second, > disk_stats.write_latency_seconds as write_latency_seconds, > disk_stats.max_write_latency_seconds as max_write_latency_seconds, > disk_stats.flush_latency_seconds as flush_latency_seconds, > disk_stats.max_flush_latency_seconds as max_flush_latency_seconds >FROM v4_2_configuration_history_vms AS conf > LEFT OUTER JOIN v4_2_statistics_vms_resources_usage_daily AS stats > ON (conf.history_id = stats.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_devices device_conf > ON (conf.history_id = device_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_configuration_history_vms_disks disk_conf > ON (device_conf.device_configuration_version = disk_conf.history_id) > LEFT OUTER JOIN v4_2_configuration_history_vms_interfaces AS nic_conf > ON (device_conf.device_configuration_version = nic_conf.history_id AND > conf.history_id = nic_conf.vm_configuration_version) > LEFT OUTER JOIN v4_2_statistics_vms_interfaces_resources_usage_daily AS nic_stats > ON (nic_conf.history_id = nic_stats.vm_interface_configuration_version AND > stats.history_datetime = nic_stats.history_datetime) > LEFT OUTER JOIN v4_2_statistics_vms_disks_resources_usage_daily disk_stats > ON (disk_conf.history_id = disk_stats.vm_disk_configuration_version AND > stats.history_datetime = disk_stats.history_datetime); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_users_details_history > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_users_details > AS >SELECT > user_id, > first_name, > last_name, > domain, > username, > department, > user_role_title, > email, > external_id, > active, > create_date, > update_date, > delete_date >FROM users_details_history >WHERE delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_tags_relations_history > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15); >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_tags_relations > AS >SELECT history_id as history_id, > entity_id as entity_id, > entity_type as entity_type, > parent_id as parent_id, > attach_date as attach_date, > detach_date as detach_date >FROM tag_relations_history >WHERE entity_type in(3,2,5,18,15) > and history_id in (SELECT max(a.history_id) FROM tag_relations_history as a GROUP BY a.entity_id, a.parent_id) > and detach_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_tags_details_history > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details; >************************** > >CREATE VIEW >********* QUERY ********** >CREATE OR REPLACE VIEW v4_2_latest_tags_details > AS >SELECT history_id as history_id, > tag_id as tag_id, > tag_name as tag_name, > tag_description as tag_description, > tag_path as tag_path, > tag_level as tag_level, > create_date as create_date, > update_date as update_date, > delete_date as delete_date >FROM tag_details >WHERE history_id in (SELECT max(a.history_id) FROM tag_details as a GROUP BY a.tag_id) > and delete_date IS NULL; >************************** > >CREATE VIEW >********* QUERY ********** >/************************************** > INTERNAL VIEWS FOR REPORTS >**************************************/ >************************** > >********* 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_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_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; > 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_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; > 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_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; > 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 attach_user_to_su_role(v_permission_id uuid) > RETURNS void AS >$procedure$ > DECLARE > v_user_entry VARCHAR(255); > v_user_id UUID; > v_name VARCHAR(255); > v_domain VARCHAR(255); > v_user_name VARCHAR(255); > > v_document VARCHAR(64); > v_index INTEGER; >BEGIN > > select option_value INTO v_user_entry from vdc_options where option_name = 'AdUserId'; > select option_value INTO v_name from vdc_options where option_name = 'AdUserName'; > select option_value INTO v_domain from vdc_options where option_name = 'DomainName'; > > v_index := POSITION(':' IN v_user_entry); > if ( v_index <> 0 ) then > v_user_entry := substring( v_user_entry from v_index + 1 ); > v_user_id := CAST( v_user_entry AS uuid ); > end if; > > v_index := POSITION(':' IN v_name); > if ( v_index <> 0 ) then > v_name := substring( v_name from v_index + 1 ); > end if; > >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select v_user_id, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = v_user_id and name = v_name and domain = v_domain and username = v_user_name and groups = '' and status = 1); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', v_user_id, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = v_user_id and object_id= getGlobalIds('system') and object_type_id = 1); >END; $procedure$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION CheckDBConnection() RETURNS SETOF integer 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' and proname not ilike 'uuid%' 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 integer STABLE > AS $procedure$ > declare > retvalue integer; >BEGIN > retvalue := character_maximum_length from information_schema.columns > where > 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_su_role(v_permission_id uuid, v_user_id VARCHAR(255), v_name VARCHAR(255), v_domain VARCHAR(255)) > RETURNS void AS >$BODY$ > DECLARE > v_user_name VARCHAR(255); > v_document VARCHAR(64); > v_index INTEGER; > input_uuid uuid; >BEGIN > input_uuid = CAST( v_user_id AS uuid ); >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select input_uuid, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = input_uuid); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', input_uuid, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = input_uuid 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 INTEGER) >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 character varying, v_old_option_value character varying, v_new_option_value character varying, v_update_from_version character varying) > 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 integer; >v_count integer; >v_total_count integer; >v_version_count integer; >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 integer, 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 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 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_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_unlock_disk(v_id UUID) >returns void >AS $procedure$ >declare > OK integer; > LOCKED integer; >begin > OK:=1; > LOCKED:=2; > update images set imagestatus = OK where imagestatus = LOCKED and > image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); >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 integer; > OK integer; > LOCKED integer; > TEMPLATE_OK integer; > TEMPLATE_LOCKED integer; > IMAGE_LOCKED integer; > 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 ********** >/* 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 CHARACTER VARYING, spm_host_id UUID, spm_host_name CHARACTER VARYING, task_count integer); >************************** > >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_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_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_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; > 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_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; > 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_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; > 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 attach_user_to_su_role(v_permission_id uuid) > RETURNS void AS >$procedure$ > DECLARE > v_user_entry VARCHAR(255); > v_user_id UUID; > v_name VARCHAR(255); > v_domain VARCHAR(255); > v_user_name VARCHAR(255); > > v_document VARCHAR(64); > v_index INTEGER; >BEGIN > > select option_value INTO v_user_entry from vdc_options where option_name = 'AdUserId'; > select option_value INTO v_name from vdc_options where option_name = 'AdUserName'; > select option_value INTO v_domain from vdc_options where option_name = 'DomainName'; > > v_index := POSITION(':' IN v_user_entry); > if ( v_index <> 0 ) then > v_user_entry := substring( v_user_entry from v_index + 1 ); > v_user_id := CAST( v_user_entry AS uuid ); > end if; > > v_index := POSITION(':' IN v_name); > if ( v_index <> 0 ) then > v_name := substring( v_name from v_index + 1 ); > end if; > >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select v_user_id, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = v_user_id and name = v_name and domain = v_domain and username = v_user_name and groups = '' and status = 1); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', v_user_id, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = v_user_id and object_id= getGlobalIds('system') and object_type_id = 1); >END; $procedure$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >Create or replace FUNCTION CheckDBConnection() RETURNS SETOF integer 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' and proname not ilike 'uuid%' 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 integer STABLE > AS $procedure$ > declare > retvalue integer; >BEGIN > retvalue := character_maximum_length from information_schema.columns > where > 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_su_role(v_permission_id uuid, v_user_id VARCHAR(255), v_name VARCHAR(255), v_domain VARCHAR(255)) > RETURNS void AS >$BODY$ > DECLARE > v_user_name VARCHAR(255); > v_document VARCHAR(64); > v_index INTEGER; > input_uuid uuid; >BEGIN > input_uuid = CAST( v_user_id AS uuid ); >-- find if name already includes domain (@) > v_index := POSITION('@' IN v_name); > > if (v_index = 0) then > v_user_name := coalesce(v_name,'') || '@' || coalesce(v_domain,''); > else > v_user_name := v_name; > end if; > > >insert into users(user_id,name,domain,username,groups,status) select input_uuid, v_name, v_domain, v_user_name,'',1 where not exists (select user_id,name,domain,username,groups,status from users where user_id = input_uuid); > >insert into permissions(id,role_id,ad_element_id,object_id,object_type_id) select v_permission_id, '00000000-0000-0000-0000-000000000001', input_uuid, getGlobalIds('system'), 1 where not exists(select role_id,ad_element_id,object_id,object_type_id from permissions where role_id = '00000000-0000-0000-0000-000000000001' and ad_element_id = input_uuid 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 INTEGER) >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 character varying, v_old_option_value character varying, v_new_option_value character varying, v_update_from_version character varying) > 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 integer; >v_count integer; >v_total_count integer; >v_version_count integer; >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 integer, 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 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 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_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_unlock_disk(v_id UUID) >returns void >AS $procedure$ >declare > OK integer; > LOCKED integer; >begin > OK:=1; > LOCKED:=2; > update images set imagestatus = OK where imagestatus = LOCKED and > image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); >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 integer; > OK integer; > LOCKED integer; > TEMPLATE_OK integer; > TEMPLATE_LOCKED integer; > IMAGE_LOCKED integer; > 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 ********** >/* 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 CHARACTER VARYING, spm_host_id UUID, spm_host_name CHARACTER VARYING, task_count integer); >************************** > >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 ********** >DELETE FROM enum_translator >WHERE language_code = 'us-en'; >************************** > >DELETE 0 >********* QUERY ********** >DELETE FROM enum_translator >WHERE language_code = 'zh-CN'; >************************** > >DELETE 0 >********* QUERY ********** >DELETE FROM enum_translator >WHERE language_code = 'pt-BR'; >************************** > >DELETE 0 >********* QUERY ********** > >************************** > >2018-07-28 16:08:03,706-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executeRaw:863 execute-result: ['/usr/share/ovirt-engine-dwh/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'], rc=0 >2018-07-28 16:08:03,707-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.execute:921 execute-output: ['/usr/share/ovirt-engine-dwh/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'] stdout: >Creating schema ovirt_engine_history@localhost:5432/ovirt_engine_history >Saving custom users permissions on database objects... >upgrade script detected a change in Config, View or Stored Procedure... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/pre_upgrade/add_comment_col_to_schema_version.sql'... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/pre_upgrade/add_function_to_update_enum_table.sql'... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/pre_upgrade/changed_len_of_installed_by.sql'... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/pre_upgrade/set_default_lang_code.sql'... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/pre_upgrade/set_etl_minimal_version.sql'... >Creating views API 3.6... >Creating views API 4.0... >Creating views API 4.1... >Creating views API 4.2... >Creating ovirt engine reports views... >Creating stored procedures... >Creating stored procedures from /usr/share/ovirt-engine-dwh/dbscripts/common_sp.sql... >Creating stored procedures from /usr/share/ovirt-engine-dwh/dbscripts/create_sp.sql... >Running upgrade sql script '/usr/share/ovirt-engine-dwh/dbscripts/upgrade/post_upgrade/0010_change_enum_lang_code.sql'... >Applying custom users permissions on database objects... > >2018-07-28 16:08:03,707-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.execute:926 execute-output: ['/usr/share/ovirt-engine-dwh/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'] stderr: > > >2018-07-28 16:08:03,709-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._check_separate >2018-07-28 16:08:03,709-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config config._check_separate:193 Configuring Image I/O Proxy >2018-07-28 16:08:03,711-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.config.Plugin._misc_VDC >2018-07-28 16:08:03,712-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,713-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._misc_pki >2018-07-28 16:08:03,714-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,715-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIEngine >2018-07-28 16:08:03,716-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,718-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.vmconsole_proxy_helper.pki.Plugin._miscPKIProxy >2018-07-28 16:08:03,718-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,719-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._check_separate >2018-07-28 16:08:03,720-0400 INFO otopi.plugins.ovirt_engine_setup.websocket_proxy.config config._check_separate:191 Configuring WebSocket Proxy >2018-07-28 16:08:03,722-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.config.Plugin._misc_VDC >2018-07-28 16:08:03,722-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,724-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._misc_pki >2018-07-28 16:08:03,724-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:03,726-0400 DEBUG otopi.context context._executeMethod:128 Stage misc METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema.Plugin._misc >2018-07-28 16:08:03,726-0400 INFO otopi.ovirt_engine_setup.engine_common.database database.backup:750 Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20180728160803.7dA1wd.dump'. >2018-07-28 16:08:03,727-0400 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 0x7f1b48043488>, 'env': {'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'PGPASSWORD': '', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'PGPASSFILE': '/tmp/tmp1wBMQJ', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'}, 'close_fds': True, 'args': ['/opt/rh/rh-postgresql95/root/usr/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-20180728160803.7dA1wd.dump', 'engine'], 'stderr': -1} >2018-07-28 16:08:03,731-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=10855 >2018-07-28 16:08:05,327-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:603 executePipe-result: [0] ['/opt/rh/rh-postgresql95/root/usr/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-20180728160803.7dA1wd.dump', 'engine'], rc=0 >2018-07-28 16:08:05,328-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.backup:798 db backup res {'result': [{'stderr': '', 'rc': 0}], 'stdout': ''} >2018-07-28 16:08:05,328-0400 DEBUG otopi.transaction transaction._prepare:61 preparing 'Engine schema Transaction' >2018-07-28 16:08:05,328-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:384 Creating/refreshing Engine database schema >2018-07-28 16:08:05,329-0400 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-20180728160721-rejhkb.log', '-c', 'apply'], executable='None', cwd='None', env={'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'DBFUNC_DB_PGPASSFILE': '/tmp/tmp1wBMQJ', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'} >********* QUERY ********** >copy ( > select count(*) > from pg_available_extensions > where > name = 'uuid-ossp' and > installed_version IS NOT NULL > ) to stdout with delimiter as '|'; >************************** > >********* 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 ********** >copy ( > select count(*) > from pg_available_extensions > where > name = 'uuid-ossp' and > installed_version IS NOT NULL > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >select 4000000; >************************** > > 4000000 > >********* 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; > > 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' > AND ( > probin IS NULL > OR > -- prevent dropping installed extension functions > probin NOT IN (SELECT '$libdir/' || extname from pg_extension) > ) > 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' > AND table_name NOT ILIKE 'pg_%' > 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; > > PERFORM InsertPermission(selected_user_id, uuid_generate_v1(), input_role_id, getGlobalIds('system'), 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, > v_unique boolean > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > unique_modifier varchar(6); > > BEGIN > unique_modifier = CASE WHEN v_unique THEN 'UNIQUE' > ELSE '' > END; > > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE ' || unique_modifier || ' 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_drop_index ( > v_index_name VARCHAR(128) > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > > BEGIN > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || ';' ; > 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', '4.2']; > >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 ********** >CREATE OR REPLACE FUNCTION fn_db_varchar_to_jsonb(v_text VARCHAR, v_default_value JSONB) >RETURNS JSONB IMMUTABLE AS $PROCEDURE$ >BEGIN > RETURN v_text::jsonb; > EXCEPTION > WHEN SQLSTATE '22P02' THEN -- '22P02' stands for 'invalid_text_representation', 'invalid input syntax for type json' in this case > RETURN v_default_value; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_update_column_to_jsonb_compatible_values( > v_table VARCHAR, > v_column VARCHAR, > v_default_value JSONB > ) >RETURNS VOID AS $PROCEDURE$ >DECLARE > default_value_string VARCHAR; >BEGIN > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name = v_table > AND column_name = v_column > AND data_type = 'character varying' > ) > ) THEN > BEGIN > default_value_string := CASE > WHEN v_default_value IS NULL THEN 'NULL' > ELSE '''' || v_default_value::VARCHAR || '''' > END; > EXECUTE 'UPDATE ' || v_table || ' SET ' || v_column || ' = (SELECT fn_db_varchar_to_jsonb(' || v_column || ', ' || default_value_string || '))'; > END; > END IF; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_change_table_string_columns_to_empty_string ( > v_table VARCHAR(128), > v_column VARCHAR[] > ) >RETURNS void AS $PROCEDURE$ >DECLARE > v_sql TEXT; > v_num integer := array_length(v_column, 1); > v_index integer := 1; > >BEGIN > WHILE v_index <= v_num > LOOP > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name ilike v_table > AND column_name ilike v_column[v_index] > ) > ) THEN > BEGIN > v_sql := 'UPDATE ' || v_table || ' SET ' || v_column[v_index] || ' = '''' WHERE ' || v_column[v_index] || ' IS NULL' ; > EXECUTE v_sql; > v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column[v_index] || ' SET DEFAULT '''''; > EXECUTE v_sql; > END; > ELSE > RAISE EXCEPTION 'No column named % exists in table %', v_column[v_index] , v_table; > END IF; > v_index = v_index + 1; > 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_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 entity_step_progress 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 hosted_engine_storage_domains_ids_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 iso_disks_as_repo_images CASCADE; > DROP VIEW if exists labels_map_view CASCADE; > DROP VIEW if exists luns_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 step_progress 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 CASCADE; > 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_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_interface_view CASCADE; > DROP VIEW if exists vds_with_tags CASCADE; > DROP VIEW if exists vg_discard_support_view 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_monitoring_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; > >********* QUERY ********** >DROP VIEW if exists active_migration_network_interfaces 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_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 entity_step_progress 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 hosted_engine_storage_domains_ids_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 iso_disks_as_repo_images 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 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 step_progress 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_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_interface_view CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists vds_with_tags CASCADE; >************************** > >DROP VIEW >********* QUERY ********** >DROP VIEW if exists vg_discard_support_view 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_monitoring_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; > > 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' > AND ( > probin IS NULL > OR > -- prevent dropping installed extension functions > probin NOT IN (SELECT '$libdir/' || extname from pg_extension) > ) > 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' > AND table_name NOT ILIKE 'pg_%' > 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; > > PERFORM InsertPermission(selected_user_id, uuid_generate_v1(), input_role_id, getGlobalIds('system'), 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, > v_unique boolean > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > unique_modifier varchar(6); > > BEGIN > unique_modifier = CASE WHEN v_unique THEN 'UNIQUE' > ELSE '' > END; > > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE ' || unique_modifier || ' 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_drop_index ( > v_index_name VARCHAR(128) > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > > BEGIN > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || ';' ; > 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', '4.2']; > >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 ********** >CREATE OR REPLACE FUNCTION fn_db_varchar_to_jsonb(v_text VARCHAR, v_default_value JSONB) >RETURNS JSONB IMMUTABLE AS $PROCEDURE$ >BEGIN > RETURN v_text::jsonb; > EXCEPTION > WHEN SQLSTATE '22P02' THEN -- '22P02' stands for 'invalid_text_representation', 'invalid input syntax for type json' in this case > RETURN v_default_value; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_update_column_to_jsonb_compatible_values( > v_table VARCHAR, > v_column VARCHAR, > v_default_value JSONB > ) >RETURNS VOID AS $PROCEDURE$ >DECLARE > default_value_string VARCHAR; >BEGIN > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name = v_table > AND column_name = v_column > AND data_type = 'character varying' > ) > ) THEN > BEGIN > default_value_string := CASE > WHEN v_default_value IS NULL THEN 'NULL' > ELSE '''' || v_default_value::VARCHAR || '''' > END; > EXECUTE 'UPDATE ' || v_table || ' SET ' || v_column || ' = (SELECT fn_db_varchar_to_jsonb(' || v_column || ', ' || default_value_string || '))'; > END; > END IF; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_change_table_string_columns_to_empty_string ( > v_table VARCHAR(128), > v_column VARCHAR[] > ) >RETURNS void AS $PROCEDURE$ >DECLARE > v_sql TEXT; > v_num integer := array_length(v_column, 1); > v_index integer := 1; > >BEGIN > WHILE v_index <= v_num > LOOP > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name ilike v_table > AND column_name ilike v_column[v_index] > ) > ) THEN > BEGIN > v_sql := 'UPDATE ' || v_table || ' SET ' || v_column[v_index] || ' = '''' WHERE ' || v_column[v_index] || ' IS NULL' ; > EXECUTE v_sql; > v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column[v_index] || ' SET DEFAULT '''''; > EXECUTE v_sql; > END; > ELSE > RAISE EXCEPTION 'No column named % exists in table %', v_column[v_index] , v_table; > END IF; > v_index = v_index + 1; > END LOOP; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >select * from generate_drop_all_functions_syntax(); >************************** > > 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.addhosttolabels(uuid, uuid[]) cascade; > drop function if exists public.addnetworktoiscsibond(uuid, uuid) cascade; > drop function if exists public.addvmtolabels(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.checkifexistshostthatmissesnetworkincluster(uuid, character varying, integer) cascade; > drop function if exists public.checkifexistshostwithstatusincluster(uuid, integer) 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.createlabel(uuid, character varying, boolean, uuid[], uuid[]) 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(bigint) 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.deletednsresolverconfiguration(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbynetworkattachmentid(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbynetworkid(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbyvdsdynamicid(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.deletenameserversbydnsresolverconfigurationid(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.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.deletepermissionsbyentityids(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.deletestepsubjectentity(uuid, 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.deletestoragedomaindr(uuid, 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.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.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.deletevmguestagentinterfacesbyvmids(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.deletevminterfacefilterparameter(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.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_change_table_string_columns_to_empty_string(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, boolean) 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_drop_index(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_column_to_jsonb_compatible_values(character varying, character varying, jsonb) 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_db_varchar_to_jsonb(character varying, jsonb) 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.getactivevmnameswithisoattached(uuid) cascade; > drop function if exists public.getactivevmnameswithisoonstoragedomain(uuid) cascade; > drop function if exists public.getactivevmswithleaseonstoragedomain(uuid) cascade; > drop function if exists public.getallbystatus(integer) 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.getallfromdnsresolverconfigurations() 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.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.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.getallfromvminterfacefilterparameters() 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.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.getallnetworksbyproviderphysicalnetworkid(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.getallsnapshotsbymemorydisk(uuid) 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(bigint) 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.getdisklunmapbydiskid(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.getdisklunmapsforvmsinpool(uuid) 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.getdnsresolverconfigurationbydnsresolverconfigurationid(uuid) 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.getentitiesnamemap() 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.gethostedenginestoragedomainids() cascade; > drop function if exists public.gethostnetworksbycluster(uuid) cascade; > drop function if exists public.gethostnicvfsconfigbyid(uuid) cascade; > drop function if exists public.gethostproviderbinding(uuid, character varying) 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.getimagetransfersbyvdsid(uuid) cascade; > drop function if exists public.getimageuploadsbycommandid(uuid, uuid, boolean) 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.getisodisksbystoragepool(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.getmacpoolbyclusterid(uuid) cascade; > drop function if exists public.getmacpoolbymacpoolid(uuid) cascade; > drop function if exists public.getmacsbyclusterid(uuid) cascade; > drop function if exists public.getmacsbydatacenterid(uuid) cascade; > drop function if exists public.getmanagementnetworkbycluster(uuid) cascade; > drop function if exists public.getnameserversbydnsresolverconfigurationid(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.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.getnumberofimagesinstoragedomain(uuid) cascade; > drop function if exists public.getnumberofvmsincluster(uuid) cascade; > drop function if exists public.getnumofsnapshotsbymemoryvolume(uuid[]) 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.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.getstepsforentitybystatus(character varying, uuid, character varying) cascade; > drop function if exists public.getstepsubjectentitiesbystepid(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.getstoragedomaindr(uuid, uuid) cascade; > drop function if exists public.getstoragedomaindrlist(uuid) cascade; > drop function if exists public.getstoragedomaindrwithgeorep(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.getusersbytemplateguid(uuid) 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.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.getvdsstaticbyvdsids(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.getvmidswithspecificisoattached(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.getvminterfacefilterparameterbyvminterfacefilterparameterid(uuid) cascade; > drop function if exists public.getvminterfacefilterparametersbyvminterfaceid(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.getvmnameswithspecificisoattached(uuid) 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.getvmsmigratingtovds(uuid) cascade; > drop function if exists public.getvmsstaticrunningonvds(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.getvmstaticbyvmguids(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.getvmswithleaseonstoragedomain(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.incrementdbgenerationforvms(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, boolean, boolean, boolean, boolean, uuid[], uuid[]) 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(bigint, 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, character varying, integer, integer, 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, smallint) 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, uuid, character varying, boolean, boolean, integer, uuid) 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, text, 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, boolean, character varying, boolean) cascade; > drop function if exists public.insertdnsresolverconfiguration(uuid) 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.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, boolean) 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, boolean) cascade; > drop function if exists public.insertglustervolumebrickdetails(uuid, bigint, bigint, bigint, bigint, bigint) cascade; > drop function if exists public.insertglustervolumedetails(uuid, bigint, 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, character varying, text) 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, integer, boolean, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, character varying, bigint, bigint, integer) 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, bigint) 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.insertnameserver(uuid, character varying, smallint) cascade; > drop function if exists public.insertnetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, uuid, text, uuid) cascade; > drop function if exists public.insertnetwork_cluster(uuid, uuid, integer, boolean, 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, uuid) 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, smallint) 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, text, 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, integer) 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, boolean, boolean) cascade; > drop function if exists public.insertquota(uuid, uuid, character varying, character varying, integer, integer, integer, integer, boolean) 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, uuid, uuid) cascade; > drop function if exists public.insertstep(uuid, uuid, uuid, character varying, text, integer, character varying, smallint, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying, boolean) cascade; > drop function if exists public.insertstepsubjectentity(uuid, uuid, character varying, smallint) 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, boolean, character varying, character varying, integer, integer, integer, boolean) cascade; > drop function if exists public.insertstorage_pool(character varying, text, uuid, character varying, integer, boolean, integer, uuid, character varying, integer) 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, uuid) 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.insertstoragedomaindr(uuid, uuid, character varying, character varying) 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) 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, boolean, 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, integer, 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.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, 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, boolean, boolean, jsonb) cascade; > drop function if exists public.insertvdsstatic(text, uuid, character varying, character varying, integer, 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, text) 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, boolean) cascade; > drop function if exists public.insertvmdevice(uuid, uuid, character varying, character varying, character varying, text, boolean, boolean, boolean, character varying, text, uuid, character varying, 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, bigint, timestamp with time zone, boolean, integer, integer, integer, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, boolean, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, 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.insertvminterfacefilterparameter(uuid, character varying, character varying, uuid) 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, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.insertvmstatistics(numeric, numeric, numeric, integer, integer, integer, text, uuid, bigint, bigint) cascade; > drop function if exists public.insertvmtemplate(integer, timestamp with time zone, character varying, text, integer, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.insertvnicprofile(uuid, character varying, uuid, uuid, boolean, 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.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.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.removevdsfromaffinitygroups(uuid) cascade; > drop function if exists public.removevmfromaffinitygroups(uuid) cascade; > drop function if exists public.set_network_exclusively_as_default_role_network(uuid, 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.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, boolean, boolean, boolean, boolean, uuid[], uuid[]) 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, smallint) 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, uuid, character varying, boolean, boolean, integer, uuid) 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, text, 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, boolean, character varying, boolean) cascade; > drop function if exists public.updatednsresolverconfiguration(uuid) 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.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, boolean) cascade; > drop function if exists public.updateglustervolumeasynctask(uuid, uuid) cascade; > drop function if exists public.updateglustervolumebrick(uuid, uuid, uuid, character varying, character varying, uuid, boolean) cascade; > drop function if exists public.updateglustervolumebrickasynctask(uuid, uuid) cascade; > drop function if exists public.updateglustervolumebrickdetails(uuid, bigint, bigint, 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, 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, character varying, text) 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.updatehostproviderbinding(uuid, character varying[], character varying[]) 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, integer) 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, integer, boolean, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, character varying, bigint, bigint, integer) 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.updatelabelsforhost(uuid, uuid[]) cascade; > drop function if exists public.updatelabelsforvm(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, bigint) cascade; > drop function if exists public.updatemacpool(uuid, character varying, boolean, character varying) cascade; > drop function if exists public.updatememory(uuid, uuid, uuid, character varying) cascade; > drop function if exists public.updatenetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, uuid, text, uuid) cascade; > drop function if exists public.updatenetwork_cluster(uuid, uuid, integer, boolean, 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, uuid) 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, boolean, 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, boolean) 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, uuid, uuid, boolean) 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, smallint, 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.updatestepprogress(uuid, smallint) 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, boolean, character varying, character varying, integer, integer, integer, boolean) cascade; > drop function if exists public.updatestorage_pool(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, character varying, integer) 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) 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, uuid) 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.updatestoragedomainconfirmedsize(integer, uuid) cascade; > drop function if exists public.updatestoragedomaindr(uuid, uuid, character varying, character varying) 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) 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, boolean, 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, 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.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, 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, boolean, boolean, jsonb) 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.updatevdsreinstallrequired(uuid, boolean) cascade; > drop function if exists public.updatevdsstatic(character varying, text, character varying, integer, uuid, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, bigint, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text, boolean) 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, text) 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, boolean) cascade; > drop function if exists public.updatevmcpuprofileidforclusterid(uuid, uuid) cascade; > drop function if exists public.updatevmdevice(uuid, uuid, character varying, character varying, character varying, text, boolean, boolean, boolean, character varying, text, uuid, character varying, character varying) 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, bigint, timestamp with time zone, boolean, integer, integer, integer, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, boolean, character varying, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, 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.updatevminterfacefilterparameter(uuid, character varying, character varying) cascade; > drop function if exists public.updatevmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade; > drop function if exists public.updatevmleaseinfo(uuid, character varying) cascade; > drop function if exists public.updatevmleasestoragedomainid(uuid, uuid) cascade; > drop function if exists public.updatevmstatic(character varying, text, integer, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.updatevmstatistics(numeric, numeric, numeric, integer, integer, integer, text, uuid, bigint, bigint) 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, 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, character varying, uuid, uuid, boolean) 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, 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; > >********* QUERY ********** > 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.addhosttolabels(uuid, uuid[]) cascade; > drop function if exists public.addnetworktoiscsibond(uuid, uuid) cascade; > drop function if exists public.addvmtolabels(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.checkifexistshostthatmissesnetworkincluster(uuid, character varying, integer) cascade; > drop function if exists public.checkifexistshostwithstatusincluster(uuid, integer) 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.createlabel(uuid, character varying, boolean, uuid[], uuid[]) 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(bigint) 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.deletednsresolverconfiguration(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbynetworkattachmentid(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbynetworkid(uuid) cascade; > drop function if exists public.deletednsresolverconfigurationbyvdsdynamicid(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.deletenameserversbydnsresolverconfigurationid(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.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.deletepermissionsbyentityids(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.deletestepsubjectentity(uuid, 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.deletestoragedomaindr(uuid, 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.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.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.deletevmguestagentinterfacesbyvmids(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.deletevminterfacefilterparameter(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.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_change_table_string_columns_to_empty_string(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, boolean) 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_drop_index(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_column_to_jsonb_compatible_values(character varying, character varying, jsonb) 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_db_varchar_to_jsonb(character varying, jsonb) 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.getactivevmnameswithisoattached(uuid) cascade; > drop function if exists public.getactivevmnameswithisoonstoragedomain(uuid) cascade; > drop function if exists public.getactivevmswithleaseonstoragedomain(uuid) cascade; > drop function if exists public.getallbystatus(integer) 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.getallfromdnsresolverconfigurations() 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.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.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.getallfromvminterfacefilterparameters() 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.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.getallnetworksbyproviderphysicalnetworkid(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.getallsnapshotsbymemorydisk(uuid) 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(bigint) 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.getdisklunmapbydiskid(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.getdisklunmapsforvmsinpool(uuid) 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.getdnsresolverconfigurationbydnsresolverconfigurationid(uuid) 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.getentitiesnamemap() 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.gethostedenginestoragedomainids() cascade; > drop function if exists public.gethostnetworksbycluster(uuid) cascade; > drop function if exists public.gethostnicvfsconfigbyid(uuid) cascade; > drop function if exists public.gethostproviderbinding(uuid, character varying) 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.getimagetransfersbyvdsid(uuid) cascade; > drop function if exists public.getimageuploadsbycommandid(uuid, uuid, boolean) 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.getisodisksbystoragepool(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.getmacpoolbyclusterid(uuid) cascade; > drop function if exists public.getmacpoolbymacpoolid(uuid) cascade; > drop function if exists public.getmacsbyclusterid(uuid) cascade; > drop function if exists public.getmacsbydatacenterid(uuid) cascade; > drop function if exists public.getmanagementnetworkbycluster(uuid) cascade; > drop function if exists public.getnameserversbydnsresolverconfigurationid(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.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.getnumberofimagesinstoragedomain(uuid) cascade; > drop function if exists public.getnumberofvmsincluster(uuid) cascade; > drop function if exists public.getnumofsnapshotsbymemoryvolume(uuid[]) 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.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.getstepsforentitybystatus(character varying, uuid, character varying) cascade; > drop function if exists public.getstepsubjectentitiesbystepid(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.getstoragedomaindr(uuid, uuid) cascade; > drop function if exists public.getstoragedomaindrlist(uuid) cascade; > drop function if exists public.getstoragedomaindrwithgeorep(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.getusersbytemplateguid(uuid) 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.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.getvdsstaticbyvdsids(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.getvmidswithspecificisoattached(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.getvminterfacefilterparameterbyvminterfacefilterparameterid(uuid) cascade; > drop function if exists public.getvminterfacefilterparametersbyvminterfaceid(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.getvmnameswithspecificisoattached(uuid) 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.getvmsmigratingtovds(uuid) cascade; > drop function if exists public.getvmsstaticrunningonvds(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.getvmstaticbyvmguids(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.getvmswithleaseonstoragedomain(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.incrementdbgenerationforvms(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, boolean, boolean, boolean, boolean, uuid[], uuid[]) 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(bigint, 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, character varying, integer, integer, 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, smallint) 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, uuid, character varying, boolean, boolean, integer, uuid) 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, text, 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, boolean, character varying, boolean) cascade; > drop function if exists public.insertdnsresolverconfiguration(uuid) 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.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, boolean) 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, boolean) cascade; > drop function if exists public.insertglustervolumebrickdetails(uuid, bigint, bigint, bigint, bigint, bigint) cascade; > drop function if exists public.insertglustervolumedetails(uuid, bigint, 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, character varying, text) 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, integer, boolean, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, character varying, bigint, bigint, integer) 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, bigint) 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.insertnameserver(uuid, character varying, smallint) cascade; > drop function if exists public.insertnetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, uuid, text, uuid) cascade; > drop function if exists public.insertnetwork_cluster(uuid, uuid, integer, boolean, 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, uuid) 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, smallint) 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, text, 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, integer) 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, boolean, boolean) cascade; > drop function if exists public.insertquota(uuid, uuid, character varying, character varying, integer, integer, integer, integer, boolean) 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, uuid, uuid) cascade; > drop function if exists public.insertstep(uuid, uuid, uuid, character varying, text, integer, character varying, smallint, timestamp with time zone, timestamp with time zone, character varying, uuid, character varying, boolean) cascade; > drop function if exists public.insertstepsubjectentity(uuid, uuid, character varying, smallint) 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, boolean, character varying, character varying, integer, integer, integer, boolean) cascade; > drop function if exists public.insertstorage_pool(character varying, text, uuid, character varying, integer, boolean, integer, uuid, character varying, integer) 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, uuid) 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.insertstoragedomaindr(uuid, uuid, character varying, character varying) 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) 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, boolean, 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, integer, 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.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, 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, boolean, boolean, jsonb) cascade; > drop function if exists public.insertvdsstatic(text, uuid, character varying, character varying, integer, 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, text) 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, boolean) cascade; > drop function if exists public.insertvmdevice(uuid, uuid, character varying, character varying, character varying, text, boolean, boolean, boolean, character varying, text, uuid, character varying, 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, bigint, timestamp with time zone, boolean, integer, integer, integer, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, boolean, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, 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.insertvminterfacefilterparameter(uuid, character varying, character varying, uuid) 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, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.insertvmstatistics(numeric, numeric, numeric, integer, integer, integer, text, uuid, bigint, bigint) cascade; > drop function if exists public.insertvmtemplate(integer, timestamp with time zone, character varying, text, integer, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.insertvnicprofile(uuid, character varying, uuid, uuid, boolean, 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.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.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.removevdsfromaffinitygroups(uuid) cascade; > drop function if exists public.removevmfromaffinitygroups(uuid) cascade; > drop function if exists public.set_network_exclusively_as_default_role_network(uuid, 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.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, boolean, boolean, boolean, boolean, uuid[], uuid[]) 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, smallint) 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, uuid, character varying, boolean, boolean, integer, uuid) 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, text, 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, boolean, character varying, boolean) cascade; > drop function if exists public.updatednsresolverconfiguration(uuid) 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.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, boolean) cascade; > drop function if exists public.updateglustervolumeasynctask(uuid, uuid) cascade; > drop function if exists public.updateglustervolumebrick(uuid, uuid, uuid, character varying, character varying, uuid, boolean) cascade; > drop function if exists public.updateglustervolumebrickasynctask(uuid, uuid) cascade; > drop function if exists public.updateglustervolumebrickdetails(uuid, bigint, bigint, 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, 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, character varying, text) 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.updatehostproviderbinding(uuid, character varying[], character varying[]) 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, integer) 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, integer, boolean, timestamp without time zone, character varying, uuid, uuid, uuid, character varying, character varying, character varying, bigint, bigint, integer) 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.updatelabelsforhost(uuid, uuid[]) cascade; > drop function if exists public.updatelabelsforvm(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, bigint) cascade; > drop function if exists public.updatemacpool(uuid, character varying, boolean, character varying) cascade; > drop function if exists public.updatememory(uuid, uuid, uuid, character varying) cascade; > drop function if exists public.updatenetwork(character varying, character varying, text, uuid, character varying, character varying, character varying, character varying, integer, integer, boolean, uuid, integer, boolean, uuid, text, uuid, uuid, text, uuid) cascade; > drop function if exists public.updatenetwork_cluster(uuid, uuid, integer, boolean, 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, uuid) 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, boolean, 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, boolean) 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, uuid, uuid, boolean) 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, smallint, 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.updatestepprogress(uuid, smallint) 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, boolean, character varying, character varying, integer, integer, integer, boolean) cascade; > drop function if exists public.updatestorage_pool(character varying, text, uuid, character varying, integer, boolean, character varying, integer, uuid, character varying, integer) 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) 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, uuid) 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.updatestoragedomainconfirmedsize(integer, uuid) cascade; > drop function if exists public.updatestoragedomaindr(uuid, uuid, character varying, character varying) 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) 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, boolean, 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, 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.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, 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, boolean, boolean, jsonb) 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.updatevdsreinstallrequired(uuid, boolean) cascade; > drop function if exists public.updatevdsstatic(character varying, text, character varying, integer, uuid, uuid, character varying, boolean, integer, integer, boolean, character varying, boolean, bigint, integer, character varying, character varying, integer, character varying, boolean, uuid, uuid, text, boolean) 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, text) 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, boolean) cascade; > drop function if exists public.updatevmcpuprofileidforclusterid(uuid, uuid) cascade; > drop function if exists public.updatevmdevice(uuid, uuid, character varying, character varying, character varying, text, boolean, boolean, boolean, character varying, text, uuid, character varying, character varying) 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, bigint, timestamp with time zone, boolean, integer, integer, integer, character varying, integer, integer, integer, character varying, integer, numeric, character varying, boolean, boolean, character varying, character varying, character varying, character varying, integer, integer, integer, integer, character varying, integer, character varying, integer, 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.updatevminterfacefilterparameter(uuid, character varying, character varying) cascade; > drop function if exists public.updatevmjobs(uuid, uuid, integer, integer, integer, integer, bigint, bigint, uuid) cascade; > drop function if exists public.updatevmleaseinfo(uuid, character varying) cascade; > drop function if exists public.updatevmleasestoragedomainid(uuid, uuid) cascade; > drop function if exists public.updatevmstatic(character varying, text, integer, 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, character varying, uuid, uuid, boolean) cascade; > drop function if exists public.updatevmstatistics(numeric, numeric, numeric, integer, integer, integer, text, uuid, bigint, bigint) 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, 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, character varying, uuid, uuid, boolean) 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, 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 >********* 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, '') || ')'), > 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 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; > > 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' > AND ( > probin IS NULL > OR > -- prevent dropping installed extension functions > probin NOT IN (SELECT '$libdir/' || extname from pg_extension) > ) > 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' > AND table_name NOT ILIKE 'pg_%' > 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; > > PERFORM InsertPermission(selected_user_id, uuid_generate_v1(), input_role_id, getGlobalIds('system'), 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, > v_unique boolean > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > unique_modifier varchar(6); > > BEGIN > unique_modifier = CASE WHEN v_unique THEN 'UNIQUE' > ELSE '' > END; > > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || '; CREATE ' || unique_modifier || ' 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_drop_index ( > v_index_name VARCHAR(128) > ) > RETURNS void AS $PROCEDURE$ > > DECLARE v_sql TEXT; > > BEGIN > v_sql := 'DROP INDEX ' || ' IF EXISTS ' || v_index_name || ';' ; > 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', '4.2']; > >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 ********** >CREATE OR REPLACE FUNCTION fn_db_varchar_to_jsonb(v_text VARCHAR, v_default_value JSONB) >RETURNS JSONB IMMUTABLE AS $PROCEDURE$ >BEGIN > RETURN v_text::jsonb; > EXCEPTION > WHEN SQLSTATE '22P02' THEN -- '22P02' stands for 'invalid_text_representation', 'invalid input syntax for type json' in this case > RETURN v_default_value; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_update_column_to_jsonb_compatible_values( > v_table VARCHAR, > v_column VARCHAR, > v_default_value JSONB > ) >RETURNS VOID AS $PROCEDURE$ >DECLARE > default_value_string VARCHAR; >BEGIN > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name = v_table > AND column_name = v_column > AND data_type = 'character varying' > ) > ) THEN > BEGIN > default_value_string := CASE > WHEN v_default_value IS NULL THEN 'NULL' > ELSE '''' || v_default_value::VARCHAR || '''' > END; > EXECUTE 'UPDATE ' || v_table || ' SET ' || v_column || ' = (SELECT fn_db_varchar_to_jsonb(' || v_column || ', ' || default_value_string || '))'; > END; > END IF; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >CREATE OR REPLACE FUNCTION fn_db_change_table_string_columns_to_empty_string ( > v_table VARCHAR(128), > v_column VARCHAR[] > ) >RETURNS void AS $PROCEDURE$ >DECLARE > v_sql TEXT; > v_num integer := array_length(v_column, 1); > v_index integer := 1; > >BEGIN > WHILE v_index <= v_num > LOOP > IF ( > EXISTS ( > SELECT 1 > FROM information_schema.columns > WHERE table_schema = 'public' > AND table_name ilike v_table > AND column_name ilike v_column[v_index] > ) > ) THEN > BEGIN > v_sql := 'UPDATE ' || v_table || ' SET ' || v_column[v_index] || ' = '''' WHERE ' || v_column[v_index] || ' IS NULL' ; > EXECUTE v_sql; > v_sql := 'ALTER TABLE ' || v_table || ' ALTER COLUMN ' || v_column[v_index] || ' SET DEFAULT '''''; > EXECUTE v_sql; > END; > ELSE > RAISE EXCEPTION 'No column named % exists in table %', v_column[v_index] , v_table; > END IF; > v_index = v_index + 1; > END LOOP; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >SELECT setval('vdc_options_seq', max(option_id)) FROM vdc_options; >************************** > > 703 > >********* 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; >************************** > > 82815 > >********* QUERY ********** >SELECT setval('schema_version_seq', max(id)) FROM schema_version; >************************** > > 260 > >********* 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_rename_config_key('ImageProxyURL', 'ImageProxyAddress', '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('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('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('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_for_versions_up_to('BackupSupported','true','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('RepeatEndMethodsOnFailMaxRetries','5','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('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.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ClusterEmulatedMachines','pc-i440fx-rhel7.3.0,pc-i440fx-2.6,pseries-rhel7.3.0','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ClusterEmulatedMachines','pc-i440fx-rhel7.3.0,pc-i440fx-2.6,pseries-rhel7.3.0','4.2'); >************************** > > > >********* 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('DefaultWindowsTimeZone','GMT Standard Time','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DefaultGeneralTimeZone','Etc/GMT','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','true','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('GlusterSelfHealMonitoringSupported', 'false', '3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('GlusterSelfHealMonitoringSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('LibgfApiSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('LibgfApiSupported', 'false', '4.2'); >************************** > > > >********* 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_for_versions_up_to('GlusterSupportArbiterVolume', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('GlusterSupportArbiterVolume', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('GlusterEventingSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('GlusterEventingSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ResetBrickSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ResetBrickSupported', 'true', '4.2'); >************************** > > > >********* 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('HotPlugCpuSupported', '{"x86":"false","ppc":"false"}', '3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotPlugCpuSupported', '{"x86":"true","ppc":"false"}', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotPlugCpuSupported', '{"x86":"true","ppc":"true"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotPlugCpuSupported', '{"x86":"true","ppc":"true"}', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('HotUnplugCpuSupported', '{"x86":"false","ppc":"false"}', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotUnplugCpuSupported', '{"x86":"true","ppc":"true"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotUnplugCpuSupported', '{"x86":"true","ppc":"true"}', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotPlugMemorySupported', '{"x86":"true","ppc":"false"}', '3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('HotPlugMemorySupported', '{"x86":"true","ppc":"true"}', '4.2'); >************************** > > > >********* 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_for_versions_up_to('QemuimgCommitSupported', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('QemuimgCommitSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('AgentChannelNamingSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('AgentChannelNamingSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('HotUnplugMemorySupported', '{"x86":"false","ppc":"false"}', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotUnplugMemorySupported', '{"x86":"false","ppc":"false"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotUnplugMemorySupported', '{"x86":"true","ppc":"true"}', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ReduceVolumeSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ReduceVolumeSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ContentType', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ContentType', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('IsoOnDataDomain', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('IsoOnDataDomain', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ResumeBehaviorSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ResumeBehaviorSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('MemoryDisksOnDifferentDomainsSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MemoryDisksOnDifferentDomainsSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('IsMigrationSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('IsMemorySnapshotSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('IsSuspendSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.2'); >************************** > > > >********* 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('Ipv6MigrationProperlyHandled', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('Ipv6MigrationProperlyHandled', 'false', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DataOperationsByHSM', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DataOperationsByHSM', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ClusterRequiredRngSourcesDefault', '', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HostDevicePassthroughCapabilities', 'pci,scsi,usb_device', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HostPackagesUpdateTimeInHours','24','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('MigrationPoliciesSupported', 'false', '3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('MigrationPoliciesSupported', 'true', '4.2'); >************************** > > > >********* 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('Ipv6Supported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VirtIOScsiIOThread', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VirtIOScsiIOThread', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('PassDiscardSupported', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('PassDiscardSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DiscardAfterDeleteSupported', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DiscardAfterDeleteSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('QcowCompatSupported', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('QcowCompatSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ReduceDeviceFromStorageDomain', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ReduceDeviceFromStorageDomain', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VmLeasesSupported', 'false', '4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VmLeasesSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DomainXML', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DomainXML', 'true', '4.2'); >************************** > > > >********* 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('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('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('MaxNumberOfHostsInStoragePool','250','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('MaxNumOfCpuPerSocket', '16', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('MaxNumOfThreadsPerCpu', '8', '4.2'); >************************** > > > >********* 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('MaxNumOfVmCpus', '288', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('MaxNumOfVmSockets', '16', '4.2'); >************************** > > > >********* 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('NumberVdsRefreshesBeforeTryToStartUnknownVms','10','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('NumberVdsRefreshesBeforeRetryToStartUnknownVms','100','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('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('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('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('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.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_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; 11:Intel Skylake Family:vmx,nx,model_Skylake-Client:Skylake-Client: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('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; 11:Intel Skylake Family:vmx,nx,model_Skylake-Client:Skylake-Client: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.2'); >************************** > > > >********* 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('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','TLS','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ExternalCommunicationProtocol','TLSv1.2','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_for_versions_up_to('UserDefinedVMProperties', '','4.2'); >************************** > > > >********* 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('MaxTotalConnections','20','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CustomVdsFenceOptionMapping','','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('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('vdsTimeout','180','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VM32BitMaxMemorySizeInMB','20480','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VM64BitMaxMemorySizeInMB','4194304','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('VMPpc64BitMaxMemorySizeInMB', '1048576', '4.2'); >************************** > > > >********* 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_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.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('PreDefinedNetworkCustomProperties', $q$bridge_opts=^[^\s=]+=[^\s=]+(\s+[^\s=]+=[^\s=]+)*$$q$, '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('UserDefinedNetworkCustomProperties', '', '4.2'); >************************** > > > >********* 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('TunnelledDefaultMTU', '1442', '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('CORSAllowDefaultOrigins','false','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CORSDefaultOriginSuffixes',':9090','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CockpitPort','9090','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CockpitSSOPort','9986','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_for_versions_up_to('MigrationPolicies','[{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827b"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":false,"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":[]}]}}]','4.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MigrationPolicies','[{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827b"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":false,"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":[]}]}},{"id":{"uuid":"a7aeedb2-8d66-4e51-bb22-32595027ce71"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":false,"enableGuestEvents":true,"name":"Post-copy migration","description":"The VM should not experience any significant downtime. If the VM migration is not converging for a long time, the migration will be switched to post-copy. The guest agent hook mechanism is enabled.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"postcopy","params":[]},{"action":"abort","params":[]}]}}]','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MigrationPolicies','[{"id":{"uuid":"80554327-0569-496b-bdeb-fcbbf52b827b"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":false,"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":[]}]}},{"id":{"uuid":"a7aeedb2-8d66-4e51-bb22-32595027ce71"},"maxMigrations":2,"autoConvergence":true,"migrationCompression":false,"enableGuestEvents":true,"name":"Post-copy migration","description":"The VM should not experience any significant downtime. If the VM migration is not converging for a long time, the migration will be switched to post-copy. The guest agent hook mechanism is enabled.","config":{"convergenceItems":[{"stallingLimit":1,"convergenceItem":{"action":"setDowntime","params":["150"]}},{"stallingLimit":2,"convergenceItem":{"action":"setDowntime","params":["200"]}}],"initialItems":[{"action":"setDowntime","params":["100"]}],"lastItems":[{"action":"postcopy","params":[]},{"action":"abort","params":[]}]}}]','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('SriovHotPlugSupported','false','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('SriovHotPlugSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('LegacyGraphicsDisplay','true','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('LegacyGraphicsDisplay', 'false', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DestroyOnRebootSupported','false','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DestroyOnRebootSupported', 'true', '4.2'); >************************** > > > >********* 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('HostedEngineConfigurationImageGuid','','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('TransferImageClientInactivityTimeoutInSeconds','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('GetImageTicketSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('GetImageTicketSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('AdPartnerMacSupported','false','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('AdPartnerMacSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('OvsSupported','false','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('OvsSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('DefaultRouteReportedByVdsm', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DefaultRouteReportedByVdsm', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('LldpInformationSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('LldpInformationSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('Ping2SupportedByVdsm', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('Ping2SupportedByVdsm', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('ConfirmConnectivitySupportedByVdsm', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ConfirmConnectivitySupportedByVdsm', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ForceRefreshDomainFilesListByDefault','true','general'); >************************** > > > >********* 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_add_config_value_for_versions_up_to('GetNamesOfVmsFromExternalProviderSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DbJustRestored','0','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.0'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('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)$;mdev_type=^.*$', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('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)$;mdev_type=^.*$;hugepages=^[0-9]+$', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('UseHostNameIdentifier', 'false', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('AffinityRulesEnforcementManagerInitialDelay', '1', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('AttestationSecondStageSize', '20', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('BootstrapCacheRefreshInterval', '10000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('BootstrapCommand', > 'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && @ENVIRONMENT@ "${MYTMP}"/@ENTRY@ DIALOG/dialect=str:machine DIALOG/customization=bool:True', > 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('BootstrapPackageDirectory', '/usr/share/ovirt-host-deploy/interface-3', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('BootstrapPackageName', 'ovirt-host-deploy.tar', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CertExpirationAlertPeriodInDays', '7', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('CertExpirationWarnPeriodInDays', '30', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DBI18NPrefix', '', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DBLikeSyntax', 'ILIKE', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DBPagingSyntax', ' WHERE RowNum BETWEEN %1$s AND %2$s', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DBPagingType', 'Range', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DBSearchTemplate', > 'SELECT * FROM (SELECT *, ROW_NUMBER() OVER(%1$s) as RowNum FROM (%2$s)) as T1 ) as T2 %3$s', > 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('DnsResolverConfigurationSupported', 'true', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('EnableAutomaticHostPowerManagement', 'false', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ExternalNetworkProviderConnectionTimeout', '20', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ExternalNetworkProviderTimeout', '30', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('ExternalNetworkProviderSynchronizationRate', '300', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('GetVdsmIdByVdsmToolCommand', '/usr/bin/vdsm-tool vdsm-id', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('GlusterPeerStatusCommand', 'gluster peer status --xml', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HighUtilizationForScheduling', '90', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HighVmCountForEvenGuestDistribute', '10', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HostsInReserve', '0', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('HotPlugMemoryBlockSizeMb', '256', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxCpuLimitQosValue', '100', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxIopsUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxReadIopsUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxReadThroughputUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxThroughputUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxVmNameLength', '64', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxVmNameLengthSysprep', '15', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxWriteIopsUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MaxWriteThroughputUpperBoundQosValue', '1000000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MigrationThresholdForEvenGuestDistribute', '5', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MinimumPercentageToUpdateQuotaCache', '60', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('MultiFirewallSupportSince', '4.0', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('PgMajorRelease', '9', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('QuotaCacheIntervalInMinutes', '10', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('RepoDomainInvalidateCacheTimeInMinutes', '1', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('SSHDefaultKeyDigest', 'SHA-256', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('SSHKeyAlias', 'ovirt-engine', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('SpmVmGraceForEvenGuestDistribute', '5', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('UnsupportedLocalesFilterOverrides', '', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('VMConsoleTicketTolerance', '10000', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('GlusterServicesEnabled', 'false', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('SpiceSecureChannels', > 'smain,sinputs,scursor,splayback,srecord,sdisplay,ssmartcard,susbredir', > '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('SshHostRebootCommand', > 'systemctl reboot', > '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('SshSoftFencingCommand', '/usr/bin/vdsm-tool service-restart vdsmd', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('SshVdsPowerdownCommand', '/sbin/poweroff', '4.2'); >************************** > > > >********* 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:;ilo_ssh:port=port;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port', > '4.2'); >************************** > > > >********* 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,ilo_ssh,ipmilan,rsa,rsb,wti', > '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value_for_versions_up_to('IsHighPerformanceTypeSupported', 'false', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('IsHighPerformanceTypeSupported', 'true', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('AlwaysFilterResultsForWebUi', 'false', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('EnableKASLRDump','false','general'); >************************** > > > >********* QUERY ********** >select fn_db_add_config_value('GuestNicNamesBlacklist','lo[0-9]*,Loopback.*','general'); >************************** > > > >********* 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('QemuimgCommitSupported','true','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('AgentChannelNamingSupported','true','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('GuestNicNamesBlacklist','lo[0-9]*,Loopback.*','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 > ># OVN host tunnels >-A INPUT -p udp --dport 6081 -j ACCEPT >-A OUTPUT -p udp --dport 6081 -j ACCEPT >', 'general'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMultilevelAdministrationOn','true','general'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('MinimalETLVersion','4.2.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('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.3.0,pc-i440fx-2.6,pseries-rhel7.3.0','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('ClusterEmulatedMachines','pc-i440fx-rhel7.3.0,pc-i440fx-2.6,pseries-rhel7.5.0,s390-ccw-virtio-2.6','4.2'); >************************** > > > >********* 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,4.2','general'); >************************** > > > >********* 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('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('HotPlugCpuSupported', '{"x86":"true","ppc":"false"}', '3.6'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotPlugCpuSupported', '{"x86":"true","ppc":"true"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotUnplugCpuSupported', '{"x86":"true","ppc":"true"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('DataOperationsByHSM','true','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMigrationSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMigrationSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.0'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMigrationSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMigrationSupported','{"undefined": "true", "x86": "true", "ppc" : "true", "s390x" : "true"}','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.0'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsMemorySnapshotSupported','{"undefined": "true", "x86": "true", "ppc" : "true", "s390x" : "true"}','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsSuspendSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','3.6'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsSuspendSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.0'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsSuspendSupported','{"undefined": "true", "x86": "true", "ppc" : "true" }','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('IsSuspendSupported','{"undefined": "true", "x86": "true", "ppc" : "true", "s390x" : "true"}','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotPlugCpuSupported', '{"x86":"true","ppc":"true","s390x":"true"}', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotUnplugCpuSupported', '{"x86":"true","ppc":"true","s390x":"false"}', '4.2'); >************************** > > > >********* 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-vmconsole,ovirt-vmconsole-host,python-ioprocess,qemu-kvm,qemu-img,sanlock,vdsm,vdsm-cli','3.6'); >************************** > > > >********* 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,collectd,collectd-disk,collectd-netlink,collectd-write_http,fluentd,rubygem-fluent-plugin-rewrite-tag-filter,rubygem-fluent-plugin-secure-forward,rubygem-fluent-plugin-collectd-nest,rubygem-fluent-plugin-viaq_data_model','4.1'); >************************** > > > >********* 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-client,collectd,collectd-disk,collectd-netlink,collectd-write_http,fluentd,rubygem-fluent-plugin-rewrite-tag-filter,rubygem-fluent-plugin-secure-forward,rubygem-fluent-plugin-collectd-nest,rubygem-fluent-plugin-viaq_data_model','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('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)$;mdev_type=^.*$', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('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)$;mdev_type=^.*$;hugepages=^[0-9]+$', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotPlugMemorySupported','{"x86":"true","ppc":"true"}','4.0'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotPlugMemorySupported','{"x86":"true","ppc":"true"}','4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotPlugMemorySupported','{"x86":"true","ppc":"true","s390x":"false"}', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotUnplugMemorySupported', '{"x86":"false","ppc":"false"}', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('HotUnplugMemorySupported','{"x86":"true","ppc":"true","s390x":"false"}','4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('MaxNumOfVmCpus', '384', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('MaxNumOfCpuPerSocket', '254', '4.1'); >************************** > > > >********* QUERY ********** >select fn_db_update_config_value('MaxNumOfCpuPerSocket', '254', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_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 Nehalem IBRS Family:vmx,nx,spec_ctrl,model_Nehalem:Nehalem,+spec-ctrl:x86_64; 7:Intel Nehalem IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Nehalem:Nehalem,+spec-ctrl,+ssbd:x86_64; 8:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 9:Intel Westmere IBRS Family:aes,vmx,nx,spec_ctrl,model_Westmere:Westmere,+spec-ctrl:x86_64; 10:Intel Westmere IBRS SSBD Family:aes,vmx,nx,spec_ctrl,ssbd,model_Westmere:Westmere,+pcid,+spec-ctrl,+ssbd:x86_64; 11:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 12:Intel SandyBridge IBRS Family:vmx,nx,spec_ctrl,model_SandyBridge:SandyBridge,+spec-ctrl:x86_64; 13:Intel SandyBridge IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_SandyBridge:SandyBridge,+pcid,+spec-ctrl,+ssbd:x86_64; 14:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 15:Intel Haswell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl:x86_64; 16:Intel Haswell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl,+ssbd:x86_64; 17:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 18:Intel Haswell IBRS Family:vmx,nx,spec_ctrl,model_Haswell:Haswell,+spec-ctrl:x86_64; 19:Intel Haswell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell:Haswell,+spec-ctrl,+ssbd:x86_64; 20:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 21:Intel Broadwell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl:x86_64; 22:Intel Broadwell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl,+ssbd:x86_64; 23:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 24:Intel Broadwell IBRS Family:vmx,nx,spec_ctrl,model_Broadwell:Broadwell,+spec-ctrl:x86_64; 25:Intel Broadwell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell:Broadwell,+spec-ctrl,+ssbd:x86_64; 26:Intel Skylake Client Family:vmx,nx,model_Skylake-Client:Skylake-Client:x86_64; 27:Intel Skylake Client IBRS Family:vmx,nx,spec_ctrl,model_Skylake-Client:Skylake-Client,+spec-ctrl:x86_64; 28:Intel Skylake Client IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Skylake-Client:Skylake-Client,+spec-ctrl,+ssbd: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:IBM POWER9:powernv,model_POWER9:POWER9:ppc64; 2:IBM z114, z196:sie,model_z196-base:z196-base:s390x; 3:IBM zBC12, zEC12:sie,model_zEC12-base:zEC12-base:s390x; 4:IBM z13s, z13:sie,model_z13-base:z13-base:s390x; 5:IBM z14:sie,model_z14-base:z14-base:s390x;', '4.2'); >************************** > > > >********* QUERY ********** >select fn_db_update_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 Nehalem IBRS Family:vmx,nx,spec_ctrl,model_Nehalem:Nehalem,+spec-ctrl:x86_64; 7:Intel Nehalem IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Nehalem:Nehalem,+spec-ctrl,+ssbd:x86_64; 8:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 9:Intel Westmere IBRS Family:aes,vmx,nx,spec_ctrl,model_Westmere:Westmere,+spec-ctrl:x86_64; 10:Intel Westmere IBRS SSBD Family:aes,vmx,nx,spec_ctrl,ssbd,model_Westmere:Westmere,+pcid,+spec-ctrl,+ssbd:x86_64; 11:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 12:Intel SandyBridge IBRS Family:vmx,nx,spec_ctrl,model_SandyBridge:SandyBridge,+spec-ctrl:x86_64; 13:Intel SandyBridge IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_SandyBridge:SandyBridge,+pcid,+spec-ctrl,+ssbd:x86_64; 14:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 15:Intel Haswell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl:x86_64; 16:Intel Haswell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl,+ssbd:x86_64; 17:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 18:Intel Haswell IBRS Family:vmx,nx,spec_ctrl,model_Haswell:Haswell,+spec-ctrl:x86_64; 19:Intel Haswell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell:Haswell,+spec-ctrl,+ssbd:x86_64; 20:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 21:Intel Broadwell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl:x86_64; 22:Intel Broadwell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl,+ssbd:x86_64; 23:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 24:Intel Broadwell IBRS Family:vmx,nx,spec_ctrl,model_Broadwell:Broadwell,+spec-ctrl:x86_64; 25:Intel Broadwell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell:Broadwell,+spec-ctrl,+ssbd:x86_64; 26:Intel Skylake Client Family:vmx,nx,model_Skylake-Client:Skylake-Client:x86_64; 27:Intel Skylake Client IBRS Family:vmx,nx,spec_ctrl,model_Skylake-Client:Skylake-Client,+spec-ctrl:x86_64; 28:Intel Skylake Client IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Skylake-Client:Skylake-Client,+spec-ctrl,+ssbd: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_update_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 Nehalem IBRS Family:vmx,nx,spec_ctrl,model_Nehalem:Nehalem,+spec-ctrl:x86_64; 7:Intel Nehalem IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Nehalem:Nehalem,+spec-ctrl,+ssbd:x86_64; 8:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 9:Intel Westmere IBRS Family:aes,vmx,nx,spec_ctrl,model_Westmere:Westmere,+spec-ctrl:x86_64; 10:Intel Westmere IBRS SSBD Family:aes,vmx,nx,spec_ctrl,ssbd,model_Westmere:Westmere,+pcid,+spec-ctrl,+ssbd:x86_64; 11:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 12:Intel SandyBridge IBRS Family:vmx,nx,spec_ctrl,model_SandyBridge:SandyBridge,+spec-ctrl:x86_64; 13:Intel SandyBridge IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_SandyBridge:SandyBridge,+pcid,+spec-ctrl,+ssbd:x86_64; 14:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 15:Intel Haswell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl:x86_64; 16:Intel Haswell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl,+ssbd:x86_64; 17:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 18:Intel Haswell IBRS Family:vmx,nx,spec_ctrl,model_Haswell:Haswell,+spec-ctrl:x86_64; 19:Intel Haswell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell:Haswell,+spec-ctrl,+ssbd:x86_64; 20:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 21:Intel Broadwell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl:x86_64; 22:Intel Broadwell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl,+ssbd:x86_64; 23:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 24:Intel Broadwell IBRS Family:vmx,nx,spec_ctrl,model_Broadwell:Broadwell,+spec-ctrl:x86_64; 25:Intel Broadwell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell:Broadwell,+spec-ctrl,+ssbd: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.0'); >************************** > > > >********* QUERY ********** >select fn_db_update_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 Nehalem IBRS Family:vmx,nx,spec_ctrl,model_Nehalem:Nehalem,+spec-ctrl:x86_64; 7:Intel Nehalem IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Nehalem:Nehalem,+spec-ctrl,+ssbd:x86_64; 8:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 9:Intel Westmere IBRS Family:aes,vmx,nx,spec_ctrl,model_Westmere:Westmere,+spec-ctrl:x86_64; 10:Intel Westmere IBRS SSBD Family:aes,vmx,nx,spec_ctrl,ssbd,model_Westmere:Westmere,+pcid,+spec-ctrl,+ssbd:x86_64; 11:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 12:Intel SandyBridge IBRS Family:vmx,nx,spec_ctrl,model_SandyBridge:SandyBridge,+spec-ctrl:x86_64; 13:Intel SandyBridge IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_SandyBridge:SandyBridge,+pcid,+spec-ctrl,+ssbd:x86_64; 14:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 15:Intel Haswell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl:x86_64; 16:Intel Haswell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell-noTSX:Haswell-noTSX,+spec-ctrl,+ssbd:x86_64; 17:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 18:Intel Haswell IBRS Family:vmx,nx,spec_ctrl,model_Haswell:Haswell,+spec-ctrl:x86_64; 19:Intel Haswell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Haswell:Haswell,+spec-ctrl,+ssbd:x86_64; 20:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 21:Intel Broadwell-noTSX IBRS Family:vmx,nx,spec_ctrl,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl:x86_64; 22:Intel Broadwell-noTSX IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell-noTSX:Broadwell-noTSX,+spec-ctrl,+ssbd:x86_64; 23:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 24:Intel Broadwell IBRS Family:vmx,nx,spec_ctrl,model_Broadwell:Broadwell,+spec-ctrl:x86_64; 25:Intel Broadwell IBRS SSBD Family:vmx,nx,spec_ctrl,ssbd,model_Broadwell:Broadwell,+spec-ctrl,+ssbd: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_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('VdsmSSLProtocol','TLSv1','TLS','general',false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('VdsmSSLProtocol','TLS','TLSv1.2','general',false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('ExternalCommunicationProtocol','SSLv3','TLSv1.2','general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('ExternalCommunicationProtocol','TLSv1','TLSv1.2','general', 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_update_default_config_value('UploadImageXhrTimeoutInSeconds', '10', '120', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('UploadImageXhrTimeoutInSeconds','120', '300', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('UploadImageChunkSizeKB','8192', '102400', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('ImageTransferClientTicketValidityInSeconds','3600', '36000', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('AlertOnNumberOfLVs', '300', '1300', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('AlertOnNumberOfLVs', '1000', '1300', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('MaxAverageNetworkQoSValue', '1024', '17179', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_update_default_config_value('MaxPeakNetworkQoSValue', '2048', '34359', 'general', false); >************************** > > > >********* QUERY ********** >select fn_db_split_config_value('GlusterTunedProfile', 'rhs-high-throughput,rhs-virtualization', 'virtual-host,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 ********** >ALTER TABLE schema_version ALTER COLUMN installed_by TYPE varchar(63); >************************** > >ALTER TABLE >********* QUERY ********** >CREATE OR REPLACE FUNCTION __temp_check_uuid_ossp_extension_installation() >RETURNS void >AS $PROCEDURE$ >BEGIN > > IF EXISTS (SELECT 1 from pg_available_extensions WHERE name = 'uuid-ossp' AND installed_version IS NULL) THEN > RAISE EXCEPTION 'UUID generation function does not exist or is not valid, > Please run the following commands as a database administrator from pgsql prompt and retry running engine-setup again' > USING DETAIL='DROP FUNCTION IF EXISTS uuid_generate_v1(); > CREATE EXTENSION "uuid-ossp";'; > > END IF; >END;$PROCEDURE$ >LANGUAGE plpgsql; >************************** > >CREATE FUNCTION >********* QUERY ********** >SELECT __temp_check_uuid_ossp_extension_installation(); >************************** > > > >********* QUERY ********** >DROP FUNCTION __temp_check_uuid_ossp_extension_installation(); >************************** > >DROP FUNCTION >********* QUERY ********** >copy ( > select version > from schema_version > where current = true > order by id > LIMIT 1 > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy ( > select version > from schema_version > where > checksum = 'd2f7d784888b24469f8cacf0e0454eb8' and > state = 'INSTALLED' > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >SELECT fn_db_create_index('idx_network_vdsm_name', 'network', 'vdsm_name', '', false); >************************** > > > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** > > insert into schema_version( > version, > script, > checksum, > installed_by, > started_at, > ended_at, > state, > current, > comment > ) > values ( > trim('04021190'), > 'upgrade/04_02_1190_add_index_on_vdsm_name.sql', > 'd2f7d784888b24469f8cacf0e0454eb8', > 'engine', > cast(trim('2018-07-28 16:08:11.441783-04') as timestamp), > cast(trim('2018-07-28 16:08:11.480466-04') as timestamp), > 'INSTALLED', > false, > '' > ); > >************************** > >INSERT 0 1 >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy ( > select version > from schema_version > where > checksum = '8a7a41917314d2b4cbbf65821fc2a53a' and > state = 'INSTALLED' > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >SELECT fn_db_add_column('vm_dynamic', 'runtime_name', 'character varying(255)'); >************************** > > > >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** > > insert into schema_version( > version, > script, > checksum, > installed_by, > started_at, > ended_at, > state, > current, > comment > ) > values ( > trim('04021200'), > 'upgrade/04_02_1200_add_vm_runtime_name.sql', > '8a7a41917314d2b4cbbf65821fc2a53a', > 'engine', > cast(trim('2018-07-28 16:08:11.497539-04') as timestamp), > cast(trim('2018-07-28 16:08:11.538675-04') as timestamp), > 'INSTALLED', > false, > '' > ); > >************************** > >INSERT 0 1 >********* QUERY ********** >copy (select now()) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >copy ( > select version > from schema_version > where > checksum = 'a1419cea36a4181f93af388e62fe3826' and > state = 'INSTALLED' > ) to stdout with delimiter as '|'; >************************** > >********* QUERY ********** >ALTER TABLE ONLY image_transfers ADD CONSTRAINT fk_image_transfers_command_entities FOREIGN KEY (command_id) REFERENCES command_entities(command_id) ON DELETE CASCADE; >************************** > >2018-07-28 16:08:11,586-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:863 execute-result: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'], rc=1 >2018-07-28 16:08:11,587-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:921 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'] stdout: >Creating schema engine@localhost:5432/engine >Saving custom users permissions on database objects... >upgrade script detected a change in Config, View or Stored Procedure... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql'... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql'... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0040_extend_installed_by_column.sql'... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0050_check_uuid_ossp_extension_installation.sql'... >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0000_set_version.sql, its version 04000000 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0001_index_base_disks.sql, its version 04000001 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0010_set_mgmt_network_in_network_cluster.sql, its version 04000010 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0020_add_sso_client_registration_and_scope_dependency.sql, its version 04000020 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0030_add_source_ip_column_to_engine_sessions.sql, its version 04000030 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0040_convert_hibernation_volumes_to_disks.sql, its version 04000040 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0050_remove_deprecated_config_value.sql, its version 04000050 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0060_rename_cpu_type_ibm_power_8.sql, its version 04000060 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0070_enable_ballon_for_blank_template.sql, its version 04000070 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0080_rename_architecture_family.sql, its version 04000080 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0090_add_vm_static_threads_per_cpu.sql, its version 04000090 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0100_add_compatibility_version_to_vm.sql, its version 04000100 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0110_add_index_on_vm_static.sql, its version 04000110 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0120_fix_invalid_macs.sql, its version 04000120 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0130_add_host_device_column_to_vm_device.sql, its version 04000130 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0140_convert_memory_snapshots_to_disks.sql, its version 04000140 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0150_remove_internal_policy_units.sql, its version 04000150 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0160_fix_migratedowntime_option.sql, its version 04000160 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0170_chance_min_allocated_mem_of_blank.sql, its version 04000170 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0180_attach_cpu_profile_permissions.sql, its version 04000180 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0190_create_index_cpu_profiles.sql, its version 04000190 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0200_vds_group_to_cluster.sql, its version 04000200 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0210_add_vds_group_view.sql, its version 04000210 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0220_add_data_column_to_command_entities.sql, its version 04000220 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0230_add_profile_perms_to_import_export.sql, its version 04000230 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0240_add_authz_name_column_to_engine_sessions.sql, its version 04000240 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0250-add-index-on-origin-in-vm-static.sql, its version 04000250 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0260_add_cluster_migration_bandwidth.sql, its version 04000260 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0270_rename_command_entity_failed_restarted.sql, its version 04000270 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0280_add_authz_search_scope_to_sso_client_registration_and_scope_dependency.sql, its version 04000280 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0290_create_image_transfers_table.sql, its version 04000290 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0300_delete_old_version_values.sql, its version 04000300 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0310_delete_init_storage_sparse_size_in_gb.sql, its version 04000310 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0320_delete_user_message_of_the_day.sql, its version 04000320 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0330_delete_unused_vdc_options.sql, its version 04000330 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0340_add_unregistered_disks.sql, its version 04000340 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0350_set_timezone_priority_for_he.sql, its version 04000350 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0360_mark_audit_log_rows_of_deleted_audit_log_types_as_deleted.sql, its version 04000360 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0370_add_imageid_column_to_unregistered_disks.sql, its version 04000370 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0380_add_attach_disk_profile_permissions_to_power_user_role.sql, its version 04000380 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0390_delete_move_vm_auditlog.sql, its version 04000390 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0400_delete_copy_template_auditlog.sql, its version 04000400 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0410_drop_action_group_map.sql, its version 04000410 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0420_add_index_event_notification_hist.sql, its version 04000420 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0430_updating_cpu_profile_roles.sql, its version 04000430 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0440_add_read_only_in_providers.sql, its version 04000440 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0450_fix_admin_at_internal_username.sql, its version 04000450 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0460_unregistered_disks_use_date_with_timezone.sql, its version 04000460 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0470_network_attachments_add_ipv6.sql, its version 04000470 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0480_nic_add_ipv6.sql, its version 04000480 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0490_revmove_35_version.sql, its version 04000490 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0500_hostdevice_add_column_driver.sql, its version 04000500 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0510_remove_live_merge_support_check.sql, its version 04000510 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0520_remove_live_snapshot_support_check.sql, its version 04000520 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0530_add_engine_session_seq_id_to_command_entities.sql, its version 04000530 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0540_add_engine_session_seq_id_to_jobs.sql, its version 04000540 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0550_add_host_device_is_assignable.sql, its version 04000550 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0560_add_netwrok_filter_table.sql, its version 04000560 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0570_updating_cpu_profile_creator_role.sql, its version 04000570 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0580_add_migration_policy_to_cluster.sql, its version 04000580 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0590_remove_deprecated_config_value.sql, its version 04000590 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0600_add_network_filter_id_to_vnic_profile.sql, its version 04000600 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0610_add_migration_policy_to_vm.sql, its version 04000610 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0620_add_add_partner_mac_to_vds_interface.sql, its version 04000620 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0630_add_openstack_network_provider_host_id_vdsstatic.sql, its version 04000630 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0640_add_index_on_vm_device.sql, its version 04000640 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0650_add_stateful_to_vm_pools.sql, its version 04000650 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0660_add_gluster_self_heal_monitoring_related_columns_to_volume_and_bricks.sql, its version 04000660 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0670_add_guest_container_list_to_vm_dynamic.sql, its version 04000670 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0680_vds_add_kernel_args_columns.sql, its version 04000680 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0690_add_disk_vm_element_table_and_copy_disk_values.sql, its version 04000690 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0700_create_label_tables.sql, its version 04000700 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0710_add_kernel_args_to_vds_dynamic.sql, its version 04000710 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0720_fix_duplicate_audit_log_type_ids.sql, its version 04000720 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0730_remove_filter_from_passthrough_vnics.sql, its version 04000730 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0740_remove_allow_dhcp_server_filter.sql, its version 04000740 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_00_0750_change_cluster_default_policy.sql, its version 04000750 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0010_add_mac_pool_id_to_vds_group.sql, its version 04010010 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0020_empty_current_cd_to_null.sql, its version 04010020 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0030_remove_mac_pool_id_from_storage_pool.sql, its version 04010030 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0040_move_guest_mem_fields_to_statistics.sql, its version 04010040 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0050_remove_el7_upgrade_policy_units.sql, its version 04010050 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0060_add_switch_type_to_vds_interface_and_cluster.sql, its version 04010060 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0070_set_pool_vms_stateless.sql, its version 04010070 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0080_add_gluster_server_peer_status.sql, its version 04010080 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0090_drop_unique_constraint.sql, its version 04010090 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0100_remove_hosted_engine_storage_domain_name_config_value.sql, its version 04010100 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0110_change_disk_status_to_ok.sql, its version 04010110 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0120_add_vds_dynamic_pretty_name.sql, its version 04010120 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0130_change_vm_device_null_plugged_values_to_false.sql, its version 04010130 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0140_external_mac_events.sql, its version 04010140 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0150_delete_datacenterwithoutspm_conf_value.sql, its version 04010150 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0160_update_macs_to_lower_case.sql, its version 04010160 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0170_remove_deprecated_config_EnableDeprecatedClientModeSpicePlugin.sql, its version 04010170 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0180_add_fencing_policy_for_gluster_bricks.sql, its version 04010180 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0190_add_default_quota.sql, its version 04010190 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0200_update_instancetype_defaultdisplaytype.sql, its version 04010200 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0210_add_ad_aggregator_id_to_interface.sql, its version 04010210 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0220_memory_and_disk_images_storage_domain_view_join_indexes.sql, its version 04010220 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0230_automatic_storage_select.sql, its version 04010230 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0240_add_step_subject_entites.sql, its version 04010240 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0250_add_progress_column_to_step_table.sql, its version 04010250 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0260_fix_null_cpu_profile_id.sql, its version 04010260 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0270_add_vm_auto_login_column_to_user_profiles_table.sql, its version 04010270 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0280_display_migration_cluster_network.sql, its version 04010280 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0290_delete_audit_log_records_of_reverted_audit_log_type.sql, its version 04010290 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0300_do_not_allow_null_boot_protocol.sql, its version 04010300 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0310_disallow_boot_protocol_to_be_null.sql, its version 04010310 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0320_set_display_migration_cluster_network.sql, its version 04010320 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0330_set_host_protocol_to_jsonrpc.sql, its version 04010330 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0340_random_rng_source_required.sql, its version 04010340 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0350_update_ClusterRequiredRngSourcesDefault_random_removed.sql, its version 04010350 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0360_add_bond_active_slave_to_vds_interface.sql, its version 04010360 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0370_drop_table_vds_cpu_statistics.sql, its version 04010370 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0380_move_scsi_reservation_to_disk_vm_element.sql, its version 04010380 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0390_remove_vm_related_usage_histories.sql, its version 04010390 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0400_drop_kvm_enable_from_vm_dynamic.sql, its version 04010400 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0410_drop_vm_pid_from_vm_dynamic.sql, its version 04010410 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0420_drop_last_vds_run_on.sql, its version 04010420 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0430_add_first_metadata_device_col_to_storage_domain_static.sql, its version 04010430 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0440_add_vg_metadata_device_col_to_storage_domain_static.sql, its version 04010440 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0450_remove_legacy_usb_policy.sql, its version 04010450 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0460_add_sparsify_disk_action_group_to_roles.sql, its version 04010460 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0470_remove_uneeded_fields_in_vm_statistics.sql, its version 04010470 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0480_add_discard_max_size_and_discard_zeroes_data_to_luns_table.sql, its version 04010480 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0490_drop_numa_map_id.sql, its version 04010490 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0500_update_noncluster_entities_to_urandom_rng_source.sql, its version 04010500 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0510_qcow2v3_compat.sql, its version 04010510 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0520_add_pass_discard_column_to_vm_element_table.sql, its version 04010520 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0530_add_is_arbiter_column_to_gluster_volumes_and_brick.sql, its version 04010530 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0540_remove_vds_protocol.sql, its version 04010540 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0550_add_virtio_scsi_controller_to_non_cluster_entities.sql, its version 04010550 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0560_vm_has_rng_device_by_default.sql, its version 04010560 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0570_add_vm_affinity_to_host_structure.sql, its version 04010570 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0580_add_migratable_to_vnic_profiles.sql, its version 04010580 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0590_remove_MigrationPolicies_general_config_value.sql, its version 04010590 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0600_update_sso_clients_notification_callback_protocol.sql, its version 04010600 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0610_add_he_deployed_to_vds_dynamic.sql, its version 04010610 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0620_add_discard_after_delete_column_to_storage_domain_static_table.sql, its version 04010620 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0630_remove_sd_static_luns_fk.sql, its version 04010630 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_01_0640_add_max_memory_size_column.sql, its version 04010640 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0010_add_vm_leases.sql, its version 04020010 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0020_add_glustervolume_id_to_storage_server_connection.sql, its version 04020020 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0030_remove_PackageNamesForCheckUpdate_general_config_value.sql, its version 04020030 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0040_add_vm_configuration_broken_to_snapshots.sql, its version 04020040 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0050_set_blank_template_version_name.sql, its version 04020050 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0060_add_network_usage_to_vm_statistics.sql, its version 04020060 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0070_create_storage_dr.sql, its version 04020070 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0080_add_command_conext_to_command_entities.sql, its version 04020080 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0090_create_vm_interface_filter_parameters.sql, its version 04020090 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0100_remove_el7_upgrade_policy.sql, its version 04020100 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0110_add_elapset_time_to_vm_statistics.sql, its version 04020110 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0120_fix_default_qcow_version.sql, its version 04020120 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0130_remove_boot_order.sql, its version 04020130 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0135_fix_max_memory_size_limit.sql, its version 04020135 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql, its version 04020140 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0150_remove_VM64BitMaxMemorySizeInMB_vdc_option.sql, its version 04020150 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0160_add_vm_snapshot_id_to_glance_disks.sql, its version 04020160 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0170_add_default_route_network_role_to_network_cluster.sql, its version 04020170 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0180_disable_cluster_over_commitment_if_no_ksm_or_balloning_enabled.sql, its version 04020180 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0190_add_configure_mac_pool_role_to_data_center_admin.sql, its version 04020190 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0200_add_disk_content_type.sql, its version 04020200 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0210_add_openid_scope_to_sso_clients.sql, its version 04020210 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0220_add_password_access_to_restapi_scope_dependency.sql, its version 04020220 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0230_HotPlugMemoryMultiplicationSizeMb_config_value_renamed.sql, its version 04020230 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0240_add_name_servers_column_to_vds_interface.sql, its version 04020240 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0250_update_rng_to_use_urandom_in_hostedengine_vm.sql, its version 04020250 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0260_set_host_type_for_ngn_hosts.sql, its version 04020260 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0270_drop_memory_snapshot_constraints.sql, its version 04020270 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0280_add_default_route_column_to_vds_interface.sql, its version 04020280 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0290_remove_disconnect_pool_on_reconstruct_config_val.sql, its version 04020290 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0300_malformed_memory_devices_removed.sql, its version 04020300 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0310_add_vds_statistics_hugepages.sql, its version 04020310 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0320_drop_materialized_views_table.sql, its version 04020320 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0330_add_boot_time_to_vm_dynamic.sql, its version 04020330 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0340_add_addresses_of_host_devices.sql, its version 04020340 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0350_change_cluster_default_policy.sql, its version 04020350 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0360_add_downtime_to_vm_dynamic.sql, its version 04020360 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0370_delete_command_coordinator_threadpool_size_config.sql, its version 04020370 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0380_delete_default_min_and_max_threadpool_size_config.sql, its version 04020380 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0390_delete_userportal_config.sql, its version 04020390 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0400_remove_vm_auto_login_column_from_user_profiles_table.sql, its version 04020400 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0410_remove_auto_repo_refresh_config_value.sql, its version 04020410 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0420_add_backup_flag.sql, its version 04020420 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0430_add_libgfapi_additional_feature.sql, its version 04020430 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0440_add_vm_lease_info.sql, its version 04020440 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0450_add_vdsm_name_to_network.sql, its version 04020450 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0460_increase_vnic_profile_name_size.sql, its version 04020460 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0470_increase_vds_interface_network_name_size.sql, its version 04020470 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0480_add_vm_dynamic_in_fence_flow.sql, its version 04020480 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0490_disallow_file_type_to_be_null.sql, its version 04020490 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0500_add_firewall_type_to_cluster.sql, its version 04020500 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0510_drop_redundant_indexes.sql, its version 04020510 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0520_remove_pm_rs_unused_type.sql, its version 04020520 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0530_update_memory_disks_description.sql, its version 04020530 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0540_add_audit_log_custom_id.sql, its version 04020540 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0550_increase_rate_precision_interface_statistics.sql, its version 04020550 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0560_delete_irs_max_connections_per_host.sql, its version 04020560 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0570-remove-UserSessionHardLimit.sql, its version 04020570 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0580-remove-DefaultMaxThreadWaitQueueSize.sql, its version 04020580 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0590_remove_general_version_of_nongeneral_vdc_options.sql, its version 04020590 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0600_remove_not_used_vdc_options.sql, its version 04020600 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0610_remove_general_version_for_nongeneral_vdc_options.sql, its version 04020610 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0620_add_default_network_provider_column_to_cluster.sql, its version 04020620 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0630_updating_vnic_profile_user_role.sql, its version 04020630 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0640_restore_image_templates_images.sql, its version 04020640 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0650_restore_snapshots_dump_disk_id_constraints.sql, its version 04020650 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0660_update_memory_disks_to_active.sql, its version 04020660 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0670_vds_static_install_required_column.sql, its version 04020670 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0680_add_mdev_type_to_host_device.sql, its version 04020680 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0690_remove_old_config_values.sql, its version 04020690 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0700_remove_max_images_in_chain.sql, its version 04020700 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0710_add_entity_status_column_for_unregistered_VM_on_ovf_update.sql, its version 04020710 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0720_add_resume_behavior_to_vm_static.sql, its version 04020720 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0730_add_volatile_run_to_vm_dynamic.sql, its version 04020730 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0740_vm_icons_update.sql, its version 04020740 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0750_add_type_column_to_image_transfers.sql, its version 04020750 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0760_add_active_column_to_image_transfers.sql, its version 04020760 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0770_add_daemon_uri_column_to_image_transfers.sql, its version 04020770 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0780_remove_unique_from_idx_unregistered_disks_storage_to_vms.sql, its version 04020780 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0790_missing_indexes.sql, its version 04020790 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0800_set_vm_desc_and_comment_default_to_empty_string.sql, its version 04020800 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0810_providers_unique_name.sql, its version 04020810 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0820_remove_libgfapi_additional_feature.sql, its version 04020820 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0830_deprecate_discard_zeroes_data.sql, its version 04020830 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0840_add_provider_physical_network_column_network.sql, its version 04020840 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0850_drop_discard_zeroes_data_column_from_luns_table.sql, its version 04020850 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0860_add_unmanaged_boolean_to_provider.sql, its version 04020860 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0870_fix_max_memory_size_limit.sql, its version 04020870 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0880_add_auto_sync_providers.sql, its version 04020880 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0890_network_unique_external_network.sql, its version 04020890 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0900_vds_dynamic_kernel_features.sql, its version 04020900 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0910_move_vm_lease_info.sql, its version 04020910 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0920_ensure_images_lastmodified_is_not_null.sql, its version 04020920 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0930_fix_skylake_cpu_name.sql, its version 04020930 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0940_kernel_features_column_migration.sql, its version 04020940 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0950_delete_UploadImageUiInactivityTimeoutInSeconds_from_vdc_options.sql, its version 04020950 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0960_default_all_search_engine_fields_to_empty_string.sql, its version 04020960 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0970_set_cluster_cpu_and_machine_to_null.sql, its version 04020970 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0980_remove_snapshot_memory_volume.sql, its version 04020980 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_0990_set_network_label_to_null.sql, its version 04020990 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1000_add_confirmed_free_size_col.sql, its version 04021000 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1010_add_confirmed_free_size_volume_col.sql, its version 04021010 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1020_add_confirmed_free_size_sd_col.sql, its version 04021020 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1030_add_vds_affinity_enabled_column.sql, its version 04021030 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1040_add_missing_indexes.sql, its version 04021040 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1050_set_addressless_devices_as_plugged.sql, its version 04021050 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1060_enforce_null_in_network_attachment_ip_config.sql, its version 04021060 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1070_add_client_inactivity_timeout_column_to_image_transfers.sql, its version 04021070 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1080_remove_dns_resolver_configuration_id_from_vds_dynamic.sql, its version 04021080 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1090_enlarge_custom_cpu_type.sql, its version 04021090 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1100_add_host_provider_binding_ids.sql, its version 04021100 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1110_remove_test_imageio_connection_config_value.sql, its version 04021110 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1120_add_confirmed_size_warning.sql, its version 04021120 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1130_add_confirmed_size_total_col.sql, its version 04021130 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1140_enable_large_network_qos.sql, its version 04021140 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1150_vds_openvswitch_version.sql, its version 04021150 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1160_add_multi_queues_enabled_to_vm_static.sql, its version 04021160 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1170_add_reduce_disk_action_group_to_roles.sql, its version 04021170 is <= current version 04021180 >Skipping upgrade script /usr/share/ovirt-engine/dbscripts/upgrade/04_02_1180_iothreads_enabled_by_default.sql, its version 04021180 is <= current version 04021180 >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1190_add_index_on_vdsm_name.sql'... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1200_add_vm_runtime_name.sql'... >Running upgrade sql script '/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql'... > >2018-07-28 16:08:11,588-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:926 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', '-c', 'apply'] stderr: >psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1: ERROR: insert or update on table "image_transfers" violates foreign key constraint "fk_image_transfers_command_entities" >DETAIL: Key (command_id)=(fa55991b-f2be-4148-901e-ff2ccbcbfa63) is not present in table "command_entities". >FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql > >2018-07-28 16:08:11,588-0400 ERROR otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434 schema.sh: FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql >2018-07-28 16:08:11,589-0400 DEBUG otopi.context context._executeMethod:143 method exception >Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod > method['method']() > File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 436, in _misc > raise RuntimeError(_('Engine schema refresh failed')) >RuntimeError: Engine schema refresh failed >2018-07-28 16:08:11,589-0400 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': Engine schema refresh failed >2018-07-28 16:08:11,590-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction' >2018-07-28 16:08:11,590-0400 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback >Loaded plugins: product-id, subscription-manager, versionlock >2018-07-28 16:08:11,620-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:08:11,624-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Connection built: host=satellite.v2v.bos.redhat.com port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False >2018-07-28 16:08:11,661-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/" >2018-07-28 16:08:11,720-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/content_overrides" >2018-07-28 16:08:11,811-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Response: status=200, request="GET /rhsm/consumers/1903372a-bcbb-4448-829c-f20a48ed2897/release" >2018-07-28 16:08:11,892-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository rhevh-75 is listed more than once in the configuration >2018-07-28 16:08:11,893-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository jboss-eap-7.1 is listed more than once in the configuration >2018-07-28 16:08:11,893-0400 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum Repository ansible-nighly-2.5.z is listed more than once in the configuration >2018-07-28 16:08:11,895-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'DWH Engine database Transaction' >2018-07-28 16:08:11,895-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Database Transaction' >2018-07-28 16:08:11,895-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Version Lock Transaction' >2018-07-28 16:08:11,896-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'DWH database Transaction' >2018-07-28 16:08:11,896-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Firewalld Transaction' >2018-07-28 16:08:11,896-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-postgres.xml'' >2018-07-28 16:08:11,896-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-https.xml'' >2018-07-28 16:08:11,896-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovn-central-firewall-service.xml'' >2018-07-28 16:08:11,897-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-fence-kdump-listener.xml'' >2018-07-28 16:08:11,897-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-imageio-proxy.xml'' >2018-07-28 16:08:11,897-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-websocket-proxy.xml'' >2018-07-28 16:08:11,897-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-http.xml'' >2018-07-28 16:08:11,897-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-vmconsole-proxy.xml'' >2018-07-28 16:08:11,898-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/firewalld/services/ovirt-provider-ovn.xml'' >2018-07-28 16:08:11,898-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovn-central-firewall-service.xml'' >2018-07-28 16:08:11,898-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-provider-ovn.xml'' >2018-07-28 16:08:11,898-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-http.xml'' >2018-07-28 16:08:11,898-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-https.xml'' >2018-07-28 16:08:11,899-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-vmconsole-proxy.xml'' >2018-07-28 16:08:11,899-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-imageio-proxy.xml'' >2018-07-28 16:08:11,899-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-websocket-proxy.xml'' >2018-07-28 16:08:11,899-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-fence-kdump-listener.xml'' >2018-07-28 16:08:11,899-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml'' >2018-07-28 16:08:11,900-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/firewalld/ovirt-postgres.xml'' >2018-07-28 16:08:11,900-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/iptables.example'' >2018-07-28 16:08:11,900-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/httpd/conf.d/z-ovirt-engine-proxy.conf'' >2018-07-28 16:08:11,900-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf'' >2018-07-28 16:08:11,900-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/notifier/notifier.conf.d/10-setup-jboss.conf'' >2018-07-28 16:08:11,901-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf'' >2018-07-28 16:08:11,901-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf'' >2018-07-28 16:08:11,901-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf'' >2018-07-28 16:08:11,901-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/yum/pluginconf.d/versionlock.conf'' >2018-07-28 16:08:11,901-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/pki/ovirt-engine/keys/engine_id_rsa'' >2018-07-28 16:08:11,902-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'DWH schema Transaction' >2018-07-28 16:08:11,903-0400 WARNING otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema schema.abort:69 Rollback of DWH database postponed to Stage "Clean up" >2018-07-28 16:08:11,903-0400 DEBUG otopi.transaction transaction.abort:119 aborting 'Engine schema Transaction' >2018-07-28 16:08:11,903-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema.abort:58 Rolling back database schema >2018-07-28 16:08:11,904-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema.abort:67 Clearing Engine database engine >2018-07-28 16:08:11,904-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_schema || '.' || table_name AS objectname > FROM information_schema.views > WHERE table_schema = 'public' > ', args: {'username': 'engine'} >2018-07-28 16:08:11,904-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,910-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,911-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_schema || '.' || table_name AS objectname > FROM information_schema.tables > WHERE table_schema = 'public' > ', args: {'username': 'engine'} >2018-07-28 16:08:11,911-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.sso_clients'}, {'objectname': 'public.vm_static'}, {'objectname': 'public.storage_pool'}, {'objectname': 'public.roles_groups'}, {'objectname': 'public.permissions'}, {'objectname': 'public.quota'}, {'objectname': 'public.vm_dynamic'}, {'objectname': 'public.vm_statistics'}, {'objectname': 'public.vds_static'}, {'objectname': 'public.snapshots'}, {'objectname': 'public.disk_vm_element'}, {'objectname': 'public.affinity_group_members'}, {'objectname': 'public.vds_dynamic'}, {'objectname': 'public.roles'}, {'objectname': 'public.gluster_volume_access_protocols'}, {'objectname': 'public.network'}, {'objectname': 'public.vm_pools'}, {'objectname': 'public.vds_interface'}, {'objectname': 'public.vm_pool_map'}, {'objectname': 'public.image_transfers'}, {'objectname': 'public.luns'}, {'objectname': 'public.storage_pool_iso_map'}, {'objectname': 'public.storage_domain_static'}, {'objectname': 'public.job'}, {'objectname': 'public.vm_device'}, {'objectname': 'public.base_disks'}, {'objectname': 'public.step'}, {'objectname': 'public.vm_vds_numa_node_map'}, {'objectname': 'public.image_storage_domain_map'}, {'objectname': 'public.step_subject_entity'}, {'objectname': 'public.numa_node'}, {'objectname': 'public.audit_log'}, {'objectname': 'public.libvirt_secrets'}, {'objectname': 'public.policy_units'}, {'objectname': 'public.iscsi_bonds'}, {'objectname': 'public.gluster_services'}, {'objectname': 'public.mac_pools'}, {'objectname': 'public.lun_storage_server_connection_map'}, {'objectname': 'public.numa_node_cpu_map'}, {'objectname': 'public.host_nic_vfs_config'}, {'objectname': 'public.host_device'}, {'objectname': 'public.vdc_options'}, {'objectname': 'public.storage_server_connection_extension'}, {'objectname': 'public.providers'}, {'objectname': 'public.tags_vm_pool_map'}, {'objectname': 'public.gluster_server'}, {'objectname': 'public.storage_domain_dynamic'}, {'objectname': 'public.users'}, {'objectname': 'public.unregistered_ovf_of_entities'}, {'objectname': 'public.unregistered_disks'}, {'objectname': 'public.tags_vds_map'}, {'objectname': 'public.vds_spm_id_map'}, {'objectname': 'public.tags_vm_map'}, {'objectname': 'public.vds_statistics'}, {'objectname': 'public.tags'}, {'objectname': 'public.tags_user_map'}, {'objectname': 'public.network_filter'}, {'objectname': 'public.ad_groups'}, {'objectname': 'public.mac_pool_ranges'}, {'objectname': 'public.vm_icons'}, {'objectname': 'public.gluster_georep_session'}, {'objectname': 'public.gluster_volumes'}, {'objectname': 'public.qos'}, {'objectname': 'public.labels'}, {'objectname': 'public.vnic_profiles'}, {'objectname': 'public.vm_interface'}, {'objectname': 'public.vm_interface_filter_parameters'}, {'objectname': 'public.gluster_volume_bricks'}, {'objectname': 'public.async_tasks_entities'}, {'objectname': 'public.gluster_volume_brick_details'}, {'objectname': 'public.cluster_features'}, {'objectname': 'public.vm_jobs'}, {'objectname': 'public.vm_host_pinning_map'}, {'objectname': 'public.quota_limitation'}, {'objectname': 'public.unregistered_disks_to_vms'}, {'objectname': 'public.vds_kdump_status'}, {'objectname': 'public.name_server'}, {'objectname': 'public.engine_backup_log'}, {'objectname': 'public.gluster_volume_details'}, {'objectname': 'public.gluster_volume_snapshot_config'}, {'objectname': 'public.repo_file_meta_data'}, {'objectname': 'public.gluster_volume_snapshots'}, {'objectname': 'public.gluster_service_types'}, {'objectname': 'public.job_subject_entity'}, {'objectname': 'public.gluster_volume_snapshot_schedules'}, {'objectname': 'public.gluster_volume_options'}, {'objectname': 'public.gluster_volume_transport_types'}, {'objectname': 'public.supported_cluster_features'}, {'objectname': 'public.storage_device'}, {'objectname': 'public.vm_init'}, {'objectname': 'public.supported_host_features'}, {'objectname': 'public.vm_guest_agent_interfaces'}, {'objectname': 'public.vm_ovf_generations'}, {'objectname': 'public.storage_domains_ovf_info'}, {'objectname': 'public.iscsi_bonds_networks_map'}, {'objectname': 'public.qrtz_fired_triggers'}, {'objectname': 'public.qrtz_locks'}, {'objectname': 'public.qrtz_paused_trigger_grps'}, {'objectname': 'public.qrtz_scheduler_state'}, {'objectname': 'public.object_column_white_list'}, {'objectname': 'public.qrtz_calendars'}, {'objectname': 'public.qrtz_triggers'}, {'objectname': 'public.iscsi_bonds_storage_connections_map'}, {'objectname': 'public.qrtz_cron_triggers'}, {'objectname': 'public.qrtz_blob_triggers'}, {'objectname': 'public.provider_binding_host_id'}, {'objectname': 'public.qrtz_simple_triggers'}, {'objectname': 'public.qrtz_simprop_triggers'}, {'objectname': 'public.schema_version'}, {'objectname': 'public.sso_scope_dependency'}, {'objectname': 'public.vdc_db_log'}, {'objectname': 'public.bookmarks'}, {'objectname': 'public.business_entity_snapshot'}, {'objectname': 'public.custom_actions'}, {'objectname': 'public.disk_image_dynamic'}, {'objectname': 'public.cluster_policies'}, {'objectname': 'public.cluster_policy_units'}, {'objectname': 'public.disk_profiles'}, {'objectname': 'public.object_column_white_list_sql'}, {'objectname': 'public.user_profiles'}, {'objectname': 'public.vm_interface_statistics'}, {'objectname': 'public.dwh_history_timekeeping'}, {'objectname': 'public.dwh_osinfo'}, {'objectname': 'public.engine_sessions'}, {'objectname': 'public.event_map'}, {'objectname': 'public.external_variable'}, {'objectname': 'public.gluster_config_master'}, {'objectname': 'public.qrtz_job_details'}, {'objectname': 'public.gluster_georep_config'}, {'objectname': 'public.event_subscriber'}, {'objectname': 'public.gluster_server_services'}, {'objectname': 'public.event_notification_hist'}, {'objectname': 'public.gluster_georep_session_details'}, {'objectname': 'public.fence_agents'}, {'objectname': 'public.gluster_server_hooks'}, {'objectname': 'public.async_tasks'}, {'objectname': 'public.affinity_groups'}, {'objectname': 'public.command_entities'}, {'objectname': 'public.command_assoc_entities'}, {'objectname': 'public.dns_resolver_configuration'}, {'objectname': 'public.disk_lun_map'}, {'objectname': 'public.storage_server_connections'}, {'objectname': 'public.tags_user_group_map'}, {'objectname': 'public.network_attachments'}, {'objectname': 'public.vds_interface_statistics'}, {'objectname': 'public.labels_map'}, {'objectname': 'public.gluster_hooks'}, {'objectname': 'public.gluster_cluster_services'}, {'objectname': 'public.vfs_config_labels'}, {'objectname': 'public.images'}, {'objectname': 'public.network_cluster'}, {'objectname': 'public.cpu_profiles'}, {'objectname': 'public.vfs_config_networks'}, {'objectname': 'public.cluster'}, {'objectname': 'public.storage_domain_dr'}, {'objectname': 'public.vm_icon_defaults'}] >2018-07-28 16:08:11,918-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.sso_clients CASCADE > ', args: {} >2018-07-28 16:08:11,918-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_static CASCADE > ', args: {} >2018-07-28 16:08:11,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,945-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,945-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_pool CASCADE > ', args: {} >2018-07-28 16:08:11,945-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,953-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,953-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.roles_groups CASCADE > ', args: {} >2018-07-28 16:08:11,953-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,959-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,959-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.permissions CASCADE > ', args: {} >2018-07-28 16:08:11,959-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.quota CASCADE > ', args: {} >2018-07-28 16:08:11,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,972-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,972-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_dynamic CASCADE > ', args: {} >2018-07-28 16:08:11,972-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_statistics CASCADE > ', args: {} >2018-07-28 16:08:11,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,984-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,985-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_static CASCADE > ', args: {} >2018-07-28 16:08:11,985-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:11,997-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:11,997-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.snapshots CASCADE > ', args: {} >2018-07-28 16:08:11,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,004-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,004-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.disk_vm_element CASCADE > ', args: {} >2018-07-28 16:08:12,004-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,011-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,011-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.affinity_group_members CASCADE > ', args: {} >2018-07-28 16:08:12,011-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,017-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,017-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_dynamic CASCADE > ', args: {} >2018-07-28 16:08:12,017-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.roles CASCADE > ', args: {} >2018-07-28 16:08:12,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,029-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,030-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_access_protocols CASCADE > ', args: {} >2018-07-28 16:08:12,030-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,035-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,036-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.network CASCADE > ', args: {} >2018-07-28 16:08:12,036-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,045-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_pools CASCADE > ', args: {} >2018-07-28 16:08:12,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_interface CASCADE > ', args: {} >2018-07-28 16:08:12,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_pool_map CASCADE > ', args: {} >2018-07-28 16:08:12,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,064-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,064-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.image_transfers CASCADE > ', args: {} >2018-07-28 16:08:12,064-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,070-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,070-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.luns CASCADE > ', args: {} >2018-07-28 16:08:12,070-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,077-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_pool_iso_map CASCADE > ', args: {} >2018-07-28 16:08:12,077-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,083-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,083-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_static CASCADE > ', args: {} >2018-07-28 16:08:12,083-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,090-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.job CASCADE > ', args: {} >2018-07-28 16:08:12,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_device CASCADE > ', args: {} >2018-07-28 16:08:12,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,103-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,103-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.base_disks CASCADE > ', args: {} >2018-07-28 16:08:12,103-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.step CASCADE > ', args: {} >2018-07-28 16:08:12,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_vds_numa_node_map CASCADE > ', args: {} >2018-07-28 16:08:12,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,121-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.image_storage_domain_map CASCADE > ', args: {} >2018-07-28 16:08:12,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.step_subject_entity CASCADE > ', args: {} >2018-07-28 16:08:12,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.numa_node CASCADE > ', args: {} >2018-07-28 16:08:12,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.audit_log CASCADE > ', args: {} >2018-07-28 16:08:12,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.libvirt_secrets CASCADE > ', args: {} >2018-07-28 16:08:12,151-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.policy_units CASCADE > ', args: {} >2018-07-28 16:08:12,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,162-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,162-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.iscsi_bonds CASCADE > ', args: {} >2018-07-28 16:08:12,162-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,168-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,168-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_services CASCADE > ', args: {} >2018-07-28 16:08:12,168-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.mac_pools CASCADE > ', args: {} >2018-07-28 16:08:12,173-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,179-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,179-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.lun_storage_server_connection_map CASCADE > ', args: {} >2018-07-28 16:08:12,179-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.numa_node_cpu_map CASCADE > ', args: {} >2018-07-28 16:08:12,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,189-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_nic_vfs_config CASCADE > ', args: {} >2018-07-28 16:08:12,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,196-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,196-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_device CASCADE > ', args: {} >2018-07-28 16:08:12,196-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,202-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,202-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vdc_options CASCADE > ', args: {} >2018-07-28 16:08:12,202-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,207-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_server_connection_extension CASCADE > ', args: {} >2018-07-28 16:08:12,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.providers CASCADE > ', args: {} >2018-07-28 16:08:12,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,219-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,219-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags_vm_pool_map CASCADE > ', args: {} >2018-07-28 16:08:12,219-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,224-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,225-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_server CASCADE > ', args: {} >2018-07-28 16:08:12,225-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,230-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,230-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_dynamic CASCADE > ', args: {} >2018-07-28 16:08:12,230-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,234-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,234-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.users CASCADE > ', args: {} >2018-07-28 16:08:12,235-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.unregistered_ovf_of_entities CASCADE > ', args: {} >2018-07-28 16:08:12,241-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,246-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,246-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.unregistered_disks CASCADE > ', args: {} >2018-07-28 16:08:12,246-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,251-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,252-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags_vds_map CASCADE > ', args: {} >2018-07-28 16:08:12,252-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_spm_id_map CASCADE > ', args: {} >2018-07-28 16:08:12,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags_vm_map CASCADE > ', args: {} >2018-07-28 16:08:12,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,267-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,268-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_statistics CASCADE > ', args: {} >2018-07-28 16:08:12,268-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,273-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,274-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags CASCADE > ', args: {} >2018-07-28 16:08:12,274-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,279-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,279-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags_user_map CASCADE > ', args: {} >2018-07-28 16:08:12,280-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,284-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,285-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.network_filter CASCADE > ', args: {} >2018-07-28 16:08:12,285-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,290-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,290-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.ad_groups CASCADE > ', args: {} >2018-07-28 16:08:12,290-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,296-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,296-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.mac_pool_ranges CASCADE > ', args: {} >2018-07-28 16:08:12,296-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,300-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,300-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_icons CASCADE > ', args: {} >2018-07-28 16:08:12,300-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,306-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,306-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_georep_session CASCADE > ', args: {} >2018-07-28 16:08:12,306-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,313-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,313-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volumes CASCADE > ', args: {} >2018-07-28 16:08:12,313-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,321-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,321-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qos CASCADE > ', args: {} >2018-07-28 16:08:12,321-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,327-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,327-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.labels CASCADE > ', args: {} >2018-07-28 16:08:12,327-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,332-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,333-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vnic_profiles CASCADE > ', args: {} >2018-07-28 16:08:12,333-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,339-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,339-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface CASCADE > ', args: {} >2018-07-28 16:08:12,339-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,345-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,345-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_filter_parameters CASCADE > ', args: {} >2018-07-28 16:08:12,345-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,350-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,350-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_bricks CASCADE > ', args: {} >2018-07-28 16:08:12,350-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,356-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,356-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.async_tasks_entities CASCADE > ', args: {} >2018-07-28 16:08:12,356-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,361-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,361-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_brick_details CASCADE > ', args: {} >2018-07-28 16:08:12,361-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,366-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,366-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cluster_features CASCADE > ', args: {} >2018-07-28 16:08:12,366-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,371-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,371-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_jobs CASCADE > ', args: {} >2018-07-28 16:08:12,371-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,376-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,377-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_host_pinning_map CASCADE > ', args: {} >2018-07-28 16:08:12,377-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,381-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,382-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.quota_limitation CASCADE > ', args: {} >2018-07-28 16:08:12,382-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,387-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,387-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.unregistered_disks_to_vms CASCADE > ', args: {} >2018-07-28 16:08:12,387-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,392-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,392-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_kdump_status CASCADE > ', args: {} >2018-07-28 16:08:12,392-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,397-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,397-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.name_server CASCADE > ', args: {} >2018-07-28 16:08:12,397-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,402-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,403-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.engine_backup_log CASCADE > ', args: {} >2018-07-28 16:08:12,403-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,409-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,409-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_details CASCADE > ', args: {} >2018-07-28 16:08:12,409-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,414-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,414-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_snapshot_config CASCADE > ', args: {} >2018-07-28 16:08:12,414-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,420-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,420-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.repo_file_meta_data CASCADE > ', args: {} >2018-07-28 16:08:12,420-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,425-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,425-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_snapshots CASCADE > ', args: {} >2018-07-28 16:08:12,425-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,431-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,431-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_service_types CASCADE > ', args: {} >2018-07-28 16:08:12,431-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,436-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,436-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.job_subject_entity CASCADE > ', args: {} >2018-07-28 16:08:12,436-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,441-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,441-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_snapshot_schedules CASCADE > ', args: {} >2018-07-28 16:08:12,441-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,446-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,446-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_options CASCADE > ', args: {} >2018-07-28 16:08:12,446-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_volume_transport_types CASCADE > ', args: {} >2018-07-28 16:08:12,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,456-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,456-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.supported_cluster_features CASCADE > ', args: {} >2018-07-28 16:08:12,456-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,461-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,461-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_device CASCADE > ', args: {} >2018-07-28 16:08:12,462-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_init CASCADE > ', args: {} >2018-07-28 16:08:12,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,472-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,473-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.supported_host_features CASCADE > ', args: {} >2018-07-28 16:08:12,473-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,477-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,477-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_guest_agent_interfaces CASCADE > ', args: {} >2018-07-28 16:08:12,478-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,482-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,482-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_ovf_generations CASCADE > ', args: {} >2018-07-28 16:08:12,482-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,487-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,488-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domains_ovf_info CASCADE > ', args: {} >2018-07-28 16:08:12,488-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,493-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,493-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.iscsi_bonds_networks_map CASCADE > ', args: {} >2018-07-28 16:08:12,493-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,497-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,498-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_fired_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,498-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,503-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,504-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_locks CASCADE > ', args: {} >2018-07-28 16:08:12,504-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,508-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,508-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_paused_trigger_grps CASCADE > ', args: {} >2018-07-28 16:08:12,509-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,514-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,514-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_scheduler_state CASCADE > ', args: {} >2018-07-28 16:08:12,514-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,518-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,518-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.object_column_white_list CASCADE > ', args: {} >2018-07-28 16:08:12,519-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,524-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,524-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_calendars CASCADE > ', args: {} >2018-07-28 16:08:12,524-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,529-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,529-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,529-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,537-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,537-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.iscsi_bonds_storage_connections_map CASCADE > ', args: {} >2018-07-28 16:08:12,538-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,543-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,543-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_cron_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,543-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,548-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,548-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_blob_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,548-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,553-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,553-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.provider_binding_host_id CASCADE > ', args: {} >2018-07-28 16:08:12,554-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,558-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,558-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_simple_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,559-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,563-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,564-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_simprop_triggers CASCADE > ', args: {} >2018-07-28 16:08:12,564-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,568-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,569-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.schema_version CASCADE > ', args: {} >2018-07-28 16:08:12,569-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,574-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,574-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.sso_scope_dependency CASCADE > ', args: {} >2018-07-28 16:08:12,574-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,579-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,579-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vdc_db_log CASCADE > ', args: {} >2018-07-28 16:08:12,580-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,584-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,584-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.bookmarks CASCADE > ', args: {} >2018-07-28 16:08:12,584-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,588-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,589-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.business_entity_snapshot CASCADE > ', args: {} >2018-07-28 16:08:12,589-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,594-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,594-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.custom_actions CASCADE > ', args: {} >2018-07-28 16:08:12,594-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,602-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,602-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.disk_image_dynamic CASCADE > ', args: {} >2018-07-28 16:08:12,602-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cluster_policies CASCADE > ', args: {} >2018-07-28 16:08:12,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,612-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,613-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cluster_policy_units CASCADE > ', args: {} >2018-07-28 16:08:12,613-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,618-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,618-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.disk_profiles CASCADE > ', args: {} >2018-07-28 16:08:12,618-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,623-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,623-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.object_column_white_list_sql CASCADE > ', args: {} >2018-07-28 16:08:12,623-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,628-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,628-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.user_profiles CASCADE > ', args: {} >2018-07-28 16:08:12,628-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,633-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,633-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_statistics CASCADE > ', args: {} >2018-07-28 16:08:12,633-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,638-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,638-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.dwh_history_timekeeping CASCADE > ', args: {} >2018-07-28 16:08:12,638-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,642-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,643-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.dwh_osinfo CASCADE > ', args: {} >2018-07-28 16:08:12,643-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,647-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,647-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.engine_sessions CASCADE > ', args: {} >2018-07-28 16:08:12,647-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,652-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,652-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.event_map CASCADE > ', args: {} >2018-07-28 16:08:12,653-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,657-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,657-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.external_variable CASCADE > ', args: {} >2018-07-28 16:08:12,657-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,662-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,662-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_config_master CASCADE > ', args: {} >2018-07-28 16:08:12,662-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.qrtz_job_details CASCADE > ', args: {} >2018-07-28 16:08:12,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_georep_config CASCADE > ', args: {} >2018-07-28 16:08:12,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,677-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,677-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.event_subscriber CASCADE > ', args: {} >2018-07-28 16:08:12,677-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,682-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,682-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_server_services CASCADE > ', args: {} >2018-07-28 16:08:12,682-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,688-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,688-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.event_notification_hist CASCADE > ', args: {} >2018-07-28 16:08:12,688-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,692-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,692-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_georep_session_details CASCADE > ', args: {} >2018-07-28 16:08:12,693-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,698-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,698-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.fence_agents CASCADE > ', args: {} >2018-07-28 16:08:12,698-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,703-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,703-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_server_hooks CASCADE > ', args: {} >2018-07-28 16:08:12,703-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.async_tasks CASCADE > ', args: {} >2018-07-28 16:08:12,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.affinity_groups CASCADE > ', args: {} >2018-07-28 16:08:12,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,719-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,719-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.command_entities CASCADE > ', args: {} >2018-07-28 16:08:12,719-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,724-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,725-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.command_assoc_entities CASCADE > ', args: {} >2018-07-28 16:08:12,725-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,729-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,730-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.dns_resolver_configuration CASCADE > ', args: {} >2018-07-28 16:08:12,730-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,734-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,735-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.disk_lun_map CASCADE > ', args: {} >2018-07-28 16:08:12,735-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_server_connections CASCADE > ', args: {} >2018-07-28 16:08:12,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tags_user_group_map CASCADE > ', args: {} >2018-07-28 16:08:12,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,751-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,751-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.network_attachments CASCADE > ', args: {} >2018-07-28 16:08:12,751-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,757-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,757-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vds_interface_statistics CASCADE > ', args: {} >2018-07-28 16:08:12,757-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,762-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,762-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.labels_map CASCADE > ', args: {} >2018-07-28 16:08:12,762-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,766-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,767-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_hooks CASCADE > ', args: {} >2018-07-28 16:08:12,767-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,773-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,773-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.gluster_cluster_services CASCADE > ', args: {} >2018-07-28 16:08:12,773-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,778-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,778-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vfs_config_labels CASCADE > ', args: {} >2018-07-28 16:08:12,778-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,784-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,784-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.images CASCADE > ', args: {} >2018-07-28 16:08:12,784-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,789-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,790-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.network_cluster CASCADE > ', args: {} >2018-07-28 16:08:12,790-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cpu_profiles CASCADE > ', args: {} >2018-07-28 16:08:12,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,801-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,801-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vfs_config_networks CASCADE > ', args: {} >2018-07-28 16:08:12,801-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,806-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,806-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cluster CASCADE > ', args: {} >2018-07-28 16:08:12,806-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_dr CASCADE > ', args: {} >2018-07-28 16:08:12,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,820-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,820-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_icon_defaults CASCADE > ', args: {} >2018-07-28 16:08:12,820-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,824-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,825-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > sequence_schema || '.' || sequence_name AS objectname > FROM information_schema.sequences > WHERE sequence_schema = 'public' > ', args: {'username': 'engine'} >2018-07-28 16:08:12,825-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,830-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.sso_clients_seq'}, {'objectname': 'public.audit_log_seq'}, {'objectname': 'public.custom_actions_seq'}, {'objectname': 'public.vdc_options_seq'}, {'objectname': 'public.engine_session_seq'}, {'objectname': 'public.schema_version_seq'}, {'objectname': 'public.sso_scope_dependency_seq'}, {'objectname': 'public.vdc_db_log_seq'}, {'objectname': 'public.uuid_sequence'}] >2018-07-28 16:08:12,830-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.sso_clients_seq CASCADE > ', args: {} >2018-07-28 16:08:12,830-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,834-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,835-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.audit_log_seq CASCADE > ', args: {} >2018-07-28 16:08:12,835-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,839-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,839-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.custom_actions_seq CASCADE > ', args: {} >2018-07-28 16:08:12,839-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,843-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,843-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vdc_options_seq CASCADE > ', args: {} >2018-07-28 16:08:12,844-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,848-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,848-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.engine_session_seq CASCADE > ', args: {} >2018-07-28 16:08:12,848-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,853-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,853-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.schema_version_seq CASCADE > ', args: {} >2018-07-28 16:08:12,853-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,857-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,858-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.sso_scope_dependency_seq CASCADE > ', args: {} >2018-07-28 16:08:12,858-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,862-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,862-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vdc_db_log_seq CASCADE > ', args: {} >2018-07-28 16:08:12,862-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,866-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,866-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.uuid_sequence CASCADE > ', args: {} >2018-07-28 16:08:12,867-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,871-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,871-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > ns.nspname || > '.' || > proname || > '(' || oidvectortypes(proargtypes) || ')' > AS objectname > FROM > pg_proc INNER JOIN pg_namespace ns ON ( > pg_proc.pronamespace=ns.oid > ) > WHERE ns.nspname = 'public' > AND proname NOT LIKE 'uuid_%%' > ', args: {'username': 'engine'} >2018-07-28 16:08:12,871-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.attach_user_to_role(character varying, character varying, character varying, text, character varying)'}, {'objectname': 'public.calculateallclusterusage()'}, {'objectname': 'public.calculateallstorageusage()'}, {'objectname': 'public.calculateclusterusage(uuid, uuid)'}, {'objectname': 'public.calculatestorageusage(uuid, uuid)'}, {'objectname': 'public.checkdbconnection()'}, {'objectname': 'public.fn_authz_entry_info(uuid)'}, {'objectname': 'public.fn_db_add_action_group_to_role(uuid, integer)'}, {'objectname': 'public.fn_db_add_column(character varying, character varying, text)'}, {'objectname': 'public.fn_db_add_column_to_object_white_list(character varying, character varying)'}, {'objectname': 'public.fn_db_add_config_value(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_add_config_value_for_versions_up_to(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_change_column_type(character varying, character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_change_table_string_columns_to_empty_string(character varying, character varying[])'}, {'objectname': 'public.fn_db_create_constraint(character varying, character varying, text)'}, {'objectname': 'public.fn_db_create_index(character varying, character varying, text, text, boolean)'}, {'objectname': 'public.fn_db_delete_config_for_version(text)'}, {'objectname': 'public.fn_db_delete_config_value(character varying, text)'}, {'objectname': 'public.fn_db_delete_config_value_all_versions(character varying)'}, {'objectname': 'public.fn_db_drop_column(character varying, character varying)'}, {'objectname': 'public.fn_db_drop_constraint(character varying, character varying)'}, {'objectname': 'public.fn_db_drop_index(character varying)'}, {'objectname': 'public.fn_db_get_async_tasks()'}, {'objectname': 'public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[])'}, {'objectname': 'public.fn_db_is_table_exists(character varying)'}, {'objectname': 'public.fn_db_mask_object(regclass)'}, {'objectname': 'public.fn_db_remove_csv_config_value(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_remove_uuid_from_csv(text, uuid)'}, {'objectname': 'public.fn_db_rename_column(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_rename_config_key(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_rename_table(character varying, character varying)'}, {'objectname': 'public.fn_db_split_config_value(character varying, character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_unlock_all()'}, {'objectname': 'public.fn_db_unlock_disk(uuid)'}, {'objectname': 'public.fn_db_unlock_entity(character varying, character varying, boolean)'}, {'objectname': 'public.fn_db_unlock_snapshot(uuid)'}, {'objectname': 'public.fn_db_update_column_to_jsonb_compatible_values(character varying, character varying, jsonb)'}, {'objectname': 'public.fn_db_update_config_value(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean)'}, {'objectname': 'public.fn_db_varchar_to_jsonb(character varying, jsonb)'}, {'objectname': 'public.fn_get_ad_element_name(uuid)'}, {'objectname': 'public.fn_get_column_size(character varying, character varying)'}, {'objectname': 'public.fn_get_comparable_ip_list(text)'}, {'objectname': 'public.fn_get_dedicated_hosts_ids_by_vm_id(uuid)'}, {'objectname': 'public.fn_get_entity_name(uuid, integer)'}, {'objectname': 'public.fn_get_entity_parents(uuid, integer)'}, {'objectname': 'public.fn_user_permissions(uuid)'}, {'objectname': 'public.fnsplitter(text)'}, {'objectname': 'public.fnsplitterinteger(text)'}, {'objectname': 'public.fnsplitteruuid(text)'}, {'objectname': 'public.fnsplitterwithseperator(text, character varying)'}, {'objectname': 'public.generate_drop_all_functions_syntax()'}, {'objectname': 'public.generate_drop_all_seq_syntax()'}, {'objectname': 'public.generate_drop_all_tables_syntax()'}, {'objectname': 'public.generate_drop_all_user_types_syntax()'}, {'objectname': 'public.generate_drop_all_views_syntax()'}, {'objectname': 'public.getelementidsbyidandgroups(uuid, text)'}, {'objectname': 'public.getglobalids(character varying)'}, {'objectname': 'public.getnoncountablequtoavmstatuses()'}, {'objectname': 'public.getuserandgroupsbyid(uuid)'}] >2018-07-28 16:08:12,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.attach_user_to_role(character varying, character varying, character varying, text, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,880-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,880-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.calculateallclusterusage() CASCADE > ', args: {} >2018-07-28 16:08:12,880-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,884-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,884-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.calculateallstorageusage() CASCADE > ', args: {} >2018-07-28 16:08:12,884-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,888-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,888-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.calculateclusterusage(uuid, uuid) CASCADE > ', args: {} >2018-07-28 16:08:12,888-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,892-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,892-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.calculatestorageusage(uuid, uuid) CASCADE > ', args: {} >2018-07-28 16:08:12,893-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,896-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,897-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.checkdbconnection() CASCADE > ', args: {} >2018-07-28 16:08:12,897-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,901-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,901-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_authz_entry_info(uuid) CASCADE > ', args: {} >2018-07-28 16:08:12,901-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_action_group_to_role(uuid, integer) CASCADE > ', args: {} >2018-07-28 16:08:12,905-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_column(character varying, character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:12,909-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,913-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,913-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_column_to_object_white_list(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,913-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_config_value(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_config_value_for_versions_up_to(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_change_column_type(character varying, character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_change_table_string_columns_to_empty_string(character varying, character varying[]) CASCADE > ', args: {} >2018-07-28 16:08:12,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,934-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,934-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_create_constraint(character varying, character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:12,934-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_create_index(character varying, character varying, text, text, boolean) CASCADE > ', args: {} >2018-07-28 16:08:12,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,942-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,942-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_for_version(text) CASCADE > ', args: {} >2018-07-28 16:08:12,942-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,948-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,948-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_value(character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:12,949-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,952-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,952-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_value_all_versions(character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,953-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,956-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,956-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_drop_column(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,957-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,960-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,961-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_drop_constraint(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,961-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_drop_index(character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,965-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,969-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,969-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_get_async_tasks() CASCADE > ', args: {} >2018-07-28 16:08:12,969-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,973-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,973-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[]) CASCADE > ', args: {} >2018-07-28 16:08:12,973-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_is_table_exists(character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,978-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_mask_object(regclass) CASCADE > ', args: {} >2018-07-28 16:08:12,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,986-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,986-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_remove_csv_config_value(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,986-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,990-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,990-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_remove_uuid_from_csv(text, uuid) CASCADE > ', args: {} >2018-07-28 16:08:12,990-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_rename_column(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:12,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:12,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_rename_config_key(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:12,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_rename_table(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,006-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,006-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_split_config_value(character varying, character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,006-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,010-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,010-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_all() CASCADE > ', args: {} >2018-07-28 16:08:13,010-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,014-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,014-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_disk(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,014-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,018-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,018-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_entity(character varying, character varying, boolean) CASCADE > ', args: {} >2018-07-28 16:08:13,018-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,022-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,022-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_snapshot(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,022-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,026-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,026-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_update_column_to_jsonb_compatible_values(character varying, character varying, jsonb) CASCADE > ', args: {} >2018-07-28 16:08:13,027-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,031-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,031-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_update_config_value(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,031-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,035-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,035-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean) CASCADE > ', args: {} >2018-07-28 16:08:13,035-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,039-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,039-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_varchar_to_jsonb(character varying, jsonb) CASCADE > ', args: {} >2018-07-28 16:08:13,039-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,044-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,044-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_ad_element_name(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,044-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,048-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,048-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_column_size(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,048-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_comparable_ip_list(text) CASCADE > ', args: {} >2018-07-28 16:08:13,052-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,056-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,056-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_dedicated_hosts_ids_by_vm_id(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,057-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,061-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,061-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_entity_name(uuid, integer) CASCADE > ', args: {} >2018-07-28 16:08:13,061-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_entity_parents(uuid, integer) CASCADE > ', args: {} >2018-07-28 16:08:13,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,069-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,069-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_user_permissions(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,070-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,074-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,074-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fnsplitter(text) CASCADE > ', args: {} >2018-07-28 16:08:13,074-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,078-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,078-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fnsplitterinteger(text) CASCADE > ', args: {} >2018-07-28 16:08:13,078-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,082-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,082-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fnsplitteruuid(text) CASCADE > ', args: {} >2018-07-28 16:08:13,083-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,087-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,087-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fnsplitterwithseperator(text, character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,087-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_functions_syntax() CASCADE > ', args: {} >2018-07-28 16:08:13,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,095-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,095-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_seq_syntax() CASCADE > ', args: {} >2018-07-28 16:08:13,095-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,099-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,100-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_tables_syntax() CASCADE > ', args: {} >2018-07-28 16:08:13,100-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,104-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,104-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_user_types_syntax() CASCADE > ', args: {} >2018-07-28 16:08:13,104-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,108-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,108-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_views_syntax() CASCADE > ', args: {} >2018-07-28 16:08:13,108-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,112-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,112-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getelementidsbyidandgroups(uuid, text) CASCADE > ', args: {} >2018-07-28 16:08:13,112-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getglobalids(character varying) CASCADE > ', args: {} >2018-07-28 16:08:13,116-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,120-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,120-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getnoncountablequtoavmstatuses() CASCADE > ', args: {} >2018-07-28 16:08:13,120-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,124-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,124-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getuserandgroupsbyid(uuid) CASCADE > ', args: {} >2018-07-28 16:08:13,124-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,129-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > c.relname::information_schema.sql_identifier > AS objectname > 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' > ', args: {'username': 'engine'} >2018-07-28 16:08:13,129-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'idtexttype'}, {'objectname': 'iduuidtype'}, {'objectname': 'booleanresulttype'}, {'objectname': 'authzentryinfotype'}, {'objectname': 'user_permissions'}, {'objectname': 'cluster_usage_rs'}, {'objectname': 'all_cluster_usage_rs'}, {'objectname': 'all_storage_usage_rs'}, {'objectname': 'async_tasks_info_rs'}, {'objectname': 'disks_basic_rs'}, {'objectname': 'entity_name_map_rs'}, {'objectname': 'get_all_commands_rs'}, {'objectname': 'getallfromsnapshotsbyvmid_rs'}, {'objectname': 'getallfromvm_pools_rs'}, {'objectname': 'getallhashesfromvmdynamic_rs'}, {'objectname': 'getnamesofvmstaticdedicatedtovds_rs'}, {'objectname': 'getorderedvmguidsforrunmultipleactions_rs'}, {'objectname': 'getstoragedomainidsbystoragepoolidandstatus_rs'}, {'objectname': 'getsystem_statistics_rs'}, {'objectname': 'host_networks_by_cluster_rs'}, {'objectname': 'host_vm_cluster_rs'}, {'objectname': 'networkviewclustertype'}] >2018-07-28 16:08:13,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS idtexttype CASCADE > ', args: {} >2018-07-28 16:08:13,133-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS iduuidtype CASCADE > ', args: {} >2018-07-28 16:08:13,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS booleanresulttype CASCADE > ', args: {} >2018-07-28 16:08:13,142-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS authzentryinfotype CASCADE > ', args: {} >2018-07-28 16:08:13,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS user_permissions CASCADE > ', args: {} >2018-07-28 16:08:13,151-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,154-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS cluster_usage_rs CASCADE > ', args: {} >2018-07-28 16:08:13,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS all_cluster_usage_rs CASCADE > ', args: {} >2018-07-28 16:08:13,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,163-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,163-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS all_storage_usage_rs CASCADE > ', args: {} >2018-07-28 16:08:13,163-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,167-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,167-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS async_tasks_info_rs CASCADE > ', args: {} >2018-07-28 16:08:13,167-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,172-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,172-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS disks_basic_rs CASCADE > ', args: {} >2018-07-28 16:08:13,172-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS entity_name_map_rs CASCADE > ', args: {} >2018-07-28 16:08:13,176-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,181-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,181-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS get_all_commands_rs CASCADE > ', args: {} >2018-07-28 16:08:13,181-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getallfromsnapshotsbyvmid_rs CASCADE > ', args: {} >2018-07-28 16:08:13,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,189-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,189-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getallfromvm_pools_rs CASCADE > ', args: {} >2018-07-28 16:08:13,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getallhashesfromvmdynamic_rs CASCADE > ', args: {} >2018-07-28 16:08:13,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,198-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,198-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getnamesofvmstaticdedicatedtovds_rs CASCADE > ', args: {} >2018-07-28 16:08:13,198-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,202-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,203-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getorderedvmguidsforrunmultipleactions_rs CASCADE > ', args: {} >2018-07-28 16:08:13,203-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,207-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,207-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getstoragedomainidsbystoragepoolidandstatus_rs CASCADE > ', args: {} >2018-07-28 16:08:13,207-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,211-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,211-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS getsystem_statistics_rs CASCADE > ', args: {} >2018-07-28 16:08:13,211-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,215-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,215-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS host_networks_by_cluster_rs CASCADE > ', args: {} >2018-07-28 16:08:13,216-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,220-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,220-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS host_vm_cluster_rs CASCADE > ', args: {} >2018-07-28 16:08:13,220-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,224-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,224-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS networkviewclustertype CASCADE > ', args: {} >2018-07-28 16:08:13,224-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,228-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,229-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT schema_name AS objectname > FROM information_schema.schemata > WHERE schema_owner = %(username)s > ', args: {'username': 'engine'} >2018-07-28 16:08:13,229-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,232-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'aaa_jdbc'}] >2018-07-28 16:08:13,233-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SCHEMA IF EXISTS aaa_jdbc CASCADE > ', args: {} >2018-07-28 16:08:13,233-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:13,247-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:13,247-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema.abort:76 Restoring Engine database engine >2018-07-28 16:08:13,247-0400 INFO otopi.ovirt_engine_setup.engine_common.database database.restore:869 Restoring file '/var/lib/ovirt-engine/backups/engine-20180728160803.7dA1wd.dump' to database localhost:engine. >2018-07-28 16:08:13,248-0400 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 0x7f1b483e9848>, 'env': {'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'PGPASSWORD': '', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'PGPASSFILE': '/tmp/tmp1wBMQJ', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'}, 'close_fds': True, 'args': ['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h', 'localhost', '-p', '5432', '-U', 'engine', '-d', 'engine', '--jobs=2', '/var/lib/ovirt-engine/backups/engine-20180728160803.7dA1wd.dump'], 'stderr': -1} >2018-07-28 16:08:13,252-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=14429 >2018-07-28 16:08:18,605-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executePipeRaw:603 executePipe-result: [0] ['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h', 'localhost', '-p', '5432', '-U', 'engine', '-d', 'engine', '--jobs=2', '/var/lib/ovirt-engine/backups/engine-20180728160803.7dA1wd.dump'], rc=0 >2018-07-28 16:08:18,605-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.restore:922 db restore rc 0 stderr ['pg_restore: WARNING: column "user_role_title" has type "unknown"', 'DETAIL: Proceeding with relation creation anyway.'] >2018-07-28 16:08:18,606-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:08:18,606-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'True' >2018-07-28 16:08:18,606-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Engine schema refresh failed',), <traceback object at 0x7f1b43056128>)]' >2018-07-28 16:08:18,607-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:08:18,607-0400 INFO otopi.context context.runSequence:741 Stage: Clean up >2018-07-28 16:08:18,608-0400 DEBUG otopi.context context.runSequence:745 STAGE cleanup >2018-07-28 16:08:18,609-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._generate_answer_file >2018-07-28 16:08:18,609-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:08:18,610-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/answerFileContent=str:'# OTOPI answer file, generated by human dialog >[environment:default] >QUESTION/1/ENGINE_VACUUM_FULL=str:no >QUESTION/1/OVESETUP_CORE_ENGINE_STOP=str:ok >QUESTION/1/OVESETUP_DWH_PERFORM_BACKUP=str:yes >QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:yes >QUESTION/1/OVESETUP_DIALOG_CONFIRM_SETTINGS=str:ok >QUESTION/1/OVESETUP_DIALOG_CONTINUE_UPGRADE=str:yes >QUESTION/1/DWH_VACUUM_FULL=str:no >' >2018-07-28 16:08:18,610-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:08:18,611-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup >2018-07-28 16:08:18,612-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log >2018-07-28 16:08:18,614-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup >2018-07-28 16:08:18,616-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess >2018-07-28 16:08:18,616-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:18,618-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_imageio_proxy.pki.Plugin._cleanup >2018-07-28 16:08:18,618-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:18,620-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup >2018-07-28 16:08:18,620-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:18,622-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup >2018-07-28 16:08:18,625-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup >2018-07-28 16:08:18,625-0400 INFO otopi.plugins.ovirt_engine_common.base.core.answerfile answerfile._cleanup:81 Generating answer file '/var/lib/ovirt-engine/setup/answers/20180728160818-setup.conf' >2018-07-28 16:08:18,628-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._cleanup >2018-07-28 16:08:18,633-0400 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback >2018-07-28 16:08:18,633-0400 WARNING otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema schema._rollback:386 Rollback of DWH database started >2018-07-28 16:08:18,634-0400 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND This might be a long process, but it should be safe to start the engine service before it finishes, if needed. >2018-07-28 16:08:18,634-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema schema._rollbackDatabase:136 Clearing DWH database ovirt_engine_history >2018-07-28 16:08:18,634-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_schema || '.' || table_name AS objectname > FROM information_schema.views > WHERE table_schema = 'public' > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:18,634-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,640-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.v3_6_enum_translator'}, {'objectname': 'public.v3_6_configuration_history_datacenters'}, {'objectname': 'public.v3_6_latest_configuration_datacenters'}, {'objectname': 'public.v3_6_statistics_datacenters_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_datacenters_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_datacenters_resources_usage_daily'}, {'objectname': 'public.v3_6_map_history_datacenters_storage_domains'}, {'objectname': 'public.v3_6_latest_map_datacenters_storage_domains'}, {'objectname': 'public.v3_6_configuration_history_storage_domains'}, {'objectname': 'public.v3_6_latest_configuration_storage_domains'}, {'objectname': 'public.v3_6_statistics_storage_domains_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_storage_domains_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_storage_domains_resources_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_clusters'}, {'objectname': 'public.v3_6_latest_configuration_clusters'}, {'objectname': 'public.v3_6_configuration_history_hosts'}, {'objectname': 'public.v3_6_latest_configuration_hosts'}, {'objectname': 'public.v3_6_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_hosts_interfaces'}, {'objectname': 'public.v3_6_latest_configuration_hosts_interfaces'}, {'objectname': 'public.v3_6_statistics_hosts_interfaces_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_hosts_interfaces_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_hosts_interfaces_resources_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_vms'}, {'objectname': 'public.v3_6_latest_configuration_vms'}, {'objectname': 'public.v3_6_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v3_6_statistics_vms_users_usage_hourly'}, {'objectname': 'public.v3_6_statistics_vms_users_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_vms_interfaces'}, {'objectname': 'public.v3_6_latest_configuration_vms_interfaces'}, {'objectname': 'public.v3_6_statistics_vms_interfaces_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_vms_interfaces_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_vms_interfaces_resources_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_vms_disks'}, {'objectname': 'public.v3_6_latest_configuration_vms_disks'}, {'objectname': 'public.v3_6_statistics_vms_disks_resources_usage_samples'}, {'objectname': 'public.v3_6_statistics_vms_disks_resources_usage_hourly'}, {'objectname': 'public.v3_6_statistics_vms_disks_resources_usage_daily'}, {'objectname': 'public.v3_6_configuration_history_vms_devices'}, {'objectname': 'public.v3_6_latest_configuration_vms_devices'}, {'objectname': 'public.v3_6_users_details_history'}, {'objectname': 'public.v3_6_latest_users_details'}, {'objectname': 'public.v3_6_tags_relations_history'}, {'objectname': 'public.v3_6_latest_tags_relations'}, {'objectname': 'public.v3_6_tags_details_history'}, {'objectname': 'public.v3_6_latest_tags_details'}, {'objectname': 'public.v4_0_enum_translator'}, {'objectname': 'public.v4_0_configuration_history_datacenters'}, {'objectname': 'public.v4_0_latest_configuration_datacenters'}, {'objectname': 'public.v4_0_map_history_datacenters_storage_domains'}, {'objectname': 'public.v4_0_latest_map_datacenters_storage_domains'}, {'objectname': 'public.v4_0_configuration_history_storage_domains'}, {'objectname': 'public.v4_0_latest_configuration_storage_domains'}, {'objectname': 'public.v4_0_statistics_storage_domains_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_storage_domains_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_storage_domains_resources_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_clusters'}, {'objectname': 'public.v4_0_latest_configuration_clusters'}, {'objectname': 'public.v4_0_configuration_history_hosts'}, {'objectname': 'public.v4_0_latest_configuration_hosts'}, {'objectname': 'public.v4_0_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_hosts_interfaces'}, {'objectname': 'public.v4_0_latest_configuration_hosts_interfaces'}, {'objectname': 'public.v4_0_statistics_hosts_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_hosts_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_hosts_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_0_fully_joined_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_0_fully_joined_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_0_fully_joined_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_vms'}, {'objectname': 'public.v4_0_latest_configuration_vms'}, {'objectname': 'public.v4_0_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_0_statistics_vms_users_usage_hourly'}, {'objectname': 'public.v4_0_statistics_vms_users_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_vms_interfaces'}, {'objectname': 'public.v4_0_latest_configuration_vms_interfaces'}, {'objectname': 'public.v4_0_statistics_vms_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_vms_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_vms_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_vms_disks'}, {'objectname': 'public.v4_0_latest_configuration_vms_disks'}, {'objectname': 'public.v4_0_statistics_vms_disks_resources_usage_samples'}, {'objectname': 'public.v4_0_statistics_vms_disks_resources_usage_hourly'}, {'objectname': 'public.v4_0_statistics_vms_disks_resources_usage_daily'}, {'objectname': 'public.v4_0_configuration_history_vms_devices'}, {'objectname': 'public.v4_0_latest_configuration_vms_devices'}, {'objectname': 'public.v4_0_fully_joined_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_0_fully_joined_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_0_fully_joined_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_0_users_details_history'}, {'objectname': 'public.v4_0_latest_users_details'}, {'objectname': 'public.v4_0_tags_relations_history'}, {'objectname': 'public.v4_0_latest_tags_relations'}, {'objectname': 'public.v4_0_tags_details_history'}, {'objectname': 'public.v4_0_latest_tags_details'}, {'objectname': 'public.v4_1_enum_translator'}, {'objectname': 'public.v4_1_configuration_history_datacenters'}, {'objectname': 'public.v4_1_latest_configuration_datacenters'}, {'objectname': 'public.v4_1_map_history_datacenters_storage_domains'}, {'objectname': 'public.v4_1_latest_map_datacenters_storage_domains'}, {'objectname': 'public.v4_1_configuration_history_storage_domains'}, {'objectname': 'public.v4_1_latest_configuration_storage_domains'}, {'objectname': 'public.v4_1_statistics_storage_domains_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_storage_domains_resources_usage_hourly'}, {'objectname': 'public.v4_1_statistics_storage_domains_resources_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_clusters'}, {'objectname': 'public.v4_1_latest_configuration_clusters'}, {'objectname': 'public.v4_1_configuration_history_hosts'}, {'objectname': 'public.v4_1_latest_configuration_hosts'}, {'objectname': 'public.v4_1_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_1_latest_configuration_hosts_interfaces'}, {'objectname': 'public.v4_1_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_hosts_interfaces'}, {'objectname': 'public.v4_1_statistics_hosts_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_hosts_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_1_statistics_hosts_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_1_fully_joined_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_1_fully_joined_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_1_fully_joined_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_vms'}, {'objectname': 'public.v4_1_latest_configuration_vms'}, {'objectname': 'public.v4_1_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_1_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_1_statistics_vms_users_usage_hourly'}, {'objectname': 'public.v4_1_statistics_vms_users_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_vms_interfaces'}, {'objectname': 'public.v4_1_latest_configuration_vms_interfaces'}, {'objectname': 'public.v4_1_statistics_vms_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_vms_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_1_statistics_vms_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_vms_disks'}, {'objectname': 'public.v4_1_latest_configuration_vms_disks'}, {'objectname': 'public.v4_1_statistics_vms_disks_resources_usage_samples'}, {'objectname': 'public.v4_1_statistics_vms_disks_resources_usage_hourly'}, {'objectname': 'public.v4_1_statistics_vms_disks_resources_usage_daily'}, {'objectname': 'public.v4_1_configuration_history_vms_devices'}, {'objectname': 'public.v4_1_latest_configuration_vms_devices'}, {'objectname': 'public.v4_1_fully_joined_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_1_fully_joined_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_1_fully_joined_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_1_users_details_history'}, {'objectname': 'public.v4_1_latest_users_details'}, {'objectname': 'public.v4_1_tags_relations_history'}, {'objectname': 'public.v4_1_latest_tags_relations'}, {'objectname': 'public.v4_1_tags_details_history'}, {'objectname': 'public.v4_1_latest_tags_details'}, {'objectname': 'public.v4_2_enum_translator'}, {'objectname': 'public.v4_2_configuration_history_datacenters'}, {'objectname': 'public.v4_2_latest_configuration_datacenters'}, {'objectname': 'public.v4_2_map_history_datacenters_storage_domains'}, {'objectname': 'public.v4_2_latest_map_datacenters_storage_domains'}, {'objectname': 'public.v4_2_configuration_history_storage_domains'}, {'objectname': 'public.v4_2_latest_configuration_storage_domains'}, {'objectname': 'public.v4_2_statistics_storage_domains_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_storage_domains_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_storage_domains_resources_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_clusters'}, {'objectname': 'public.v4_2_latest_configuration_clusters'}, {'objectname': 'public.v4_2_configuration_history_hosts'}, {'objectname': 'public.v4_2_latest_configuration_hosts'}, {'objectname': 'public.v4_2_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_hosts_interfaces'}, {'objectname': 'public.v4_2_latest_configuration_hosts_interfaces'}, {'objectname': 'public.v4_2_statistics_hosts_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_hosts_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_hosts_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_2_fully_joined_statistics_hosts_resources_usage_samples'}, {'objectname': 'public.v4_2_fully_joined_statistics_hosts_resources_usage_hourly'}, {'objectname': 'public.v4_2_fully_joined_statistics_hosts_resources_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_vms'}, {'objectname': 'public.v4_2_latest_configuration_vms'}, {'objectname': 'public.v4_2_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_2_statistics_vms_users_usage_hourly'}, {'objectname': 'public.v4_2_statistics_vms_users_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_vms_interfaces'}, {'objectname': 'public.v4_2_latest_configuration_vms_interfaces'}, {'objectname': 'public.v4_2_statistics_vms_interfaces_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_vms_interfaces_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_vms_interfaces_resources_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_vms_disks'}, {'objectname': 'public.v4_2_latest_configuration_vms_disks'}, {'objectname': 'public.v4_2_statistics_vms_disks_resources_usage_samples'}, {'objectname': 'public.v4_2_statistics_vms_disks_resources_usage_hourly'}, {'objectname': 'public.v4_2_statistics_vms_disks_resources_usage_daily'}, {'objectname': 'public.v4_2_configuration_history_vms_devices'}, {'objectname': 'public.v4_2_latest_configuration_vms_devices'}, {'objectname': 'public.v4_2_fully_joined_statistics_vms_resources_usage_samples'}, {'objectname': 'public.v4_2_fully_joined_statistics_vms_resources_usage_hourly'}, {'objectname': 'public.v4_2_fully_joined_statistics_vms_resources_usage_daily'}, {'objectname': 'public.v4_2_users_details_history'}, {'objectname': 'public.v4_2_latest_users_details'}, {'objectname': 'public.v4_2_tags_relations_history'}, {'objectname': 'public.v4_2_latest_tags_relations'}, {'objectname': 'public.v4_2_tags_details_history'}, {'objectname': 'public.v4_2_latest_tags_details'}] >2018-07-28 16:08:18,640-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_enum_translator CASCADE > ', args: {} >2018-07-28 16:08:18,640-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,645-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,645-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_datacenters CASCADE > ', args: {} >2018-07-28 16:08:18,645-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,649-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,649-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_datacenters CASCADE > ', args: {} >2018-07-28 16:08:18,649-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,654-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,654-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_datacenters_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,654-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_datacenters_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,659-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,663-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,663-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_datacenters_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,663-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_map_history_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,667-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_map_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,672-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,676-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,676-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,676-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,681-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,681-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,681-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,685-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,685-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_storage_domains_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,686-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,690-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,690-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_storage_domains_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,690-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,694-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,695-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_storage_domains_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,695-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,699-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,699-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_clusters CASCADE > ', args: {} >2018-07-28 16:08:18,699-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,704-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,704-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_clusters CASCADE > ', args: {} >2018-07-28 16:08:18,704-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_hosts CASCADE > ', args: {} >2018-07-28 16:08:18,708-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,712-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,712-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_hosts CASCADE > ', args: {} >2018-07-28 16:08:18,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,717-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,717-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,717-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,722-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,722-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,722-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,726-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,726-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,727-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,731-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,731-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,731-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,735-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,735-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,736-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,740-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,745-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,749-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,749-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_hosts_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,749-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,754-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,754-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_vms CASCADE > ', args: {} >2018-07-28 16:08:18,754-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,758-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,758-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_vms CASCADE > ', args: {} >2018-07-28 16:08:18,759-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,763-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,763-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,763-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,768-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,768-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,768-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,772-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,772-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,772-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,777-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,777-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_users_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,777-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,781-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,781-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_users_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,781-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,790-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,790-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,790-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,795-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,799-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,799-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,799-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,803-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,803-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,803-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,808-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,808-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:18,808-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,812-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,812-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:18,813-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,817-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,817-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_disks_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,817-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,821-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,822-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_disks_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,822-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,826-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,826-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_statistics_vms_disks_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,826-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,831-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,831-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_configuration_history_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:18,831-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,845-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,845-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_configuration_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:18,845-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,850-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,850-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_users_details_history CASCADE > ', args: {} >2018-07-28 16:08:18,850-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_users_details CASCADE > ', args: {} >2018-07-28 16:08:18,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,859-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,859-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_tags_relations_history CASCADE > ', args: {} >2018-07-28 16:08:18,859-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,863-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,863-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_tags_relations CASCADE > ', args: {} >2018-07-28 16:08:18,863-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,867-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,867-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_tags_details_history CASCADE > ', args: {} >2018-07-28 16:08:18,868-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,872-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,872-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v3_6_latest_tags_details CASCADE > ', args: {} >2018-07-28 16:08:18,872-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_enum_translator CASCADE > ', args: {} >2018-07-28 16:08:18,876-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,880-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,881-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_datacenters CASCADE > ', args: {} >2018-07-28 16:08:18,881-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,885-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,885-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_datacenters CASCADE > ', args: {} >2018-07-28 16:08:18,886-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,890-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,890-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_map_history_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,890-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,894-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,894-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_map_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,895-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:18,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,908-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,908-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_storage_domains_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,908-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,912-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,912-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_storage_domains_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,913-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_storage_domains_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,917-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_clusters CASCADE > ', args: {} >2018-07-28 16:08:18,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_clusters CASCADE > ', args: {} >2018-07-28 16:08:18,926-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_hosts CASCADE > ', args: {} >2018-07-28 16:08:18,930-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,936-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,937-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_hosts CASCADE > ', args: {} >2018-07-28 16:08:18,937-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,941-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,941-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,941-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,946-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,946-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,946-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,950-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,951-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,951-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,955-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,955-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,955-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,959-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,959-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:18,960-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,964-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,964-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,964-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,968-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,968-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,968-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,972-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,972-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_hosts_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,973-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,977-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:18,979-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:18,982-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,984-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,985-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_vms CASCADE > ', args: {} >2018-07-28 16:08:18,985-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,992-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,992-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_vms CASCADE > ', args: {} >2018-07-28 16:08:18,993-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:18,997-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:18,997-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:18,997-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,002-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,006-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,006-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,007-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,010-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,011-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_users_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,011-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,015-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,015-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_users_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,015-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,028-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,028-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,029-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,033-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,033-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,033-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,037-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,037-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,037-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,041-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_disks_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,056-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,056-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_disks_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,056-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,060-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,060-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_statistics_vms_disks_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,060-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_configuration_history_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,065-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,069-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,069-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_configuration_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,069-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,073-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,074-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,074-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,077-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,079-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,079-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_fully_joined_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,079-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,082-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,082-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_users_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,082-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,086-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,086-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_users_details CASCADE > ', args: {} >2018-07-28 16:08:19,087-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_tags_relations_history CASCADE > ', args: {} >2018-07-28 16:08:19,091-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,096-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,096-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_tags_relations CASCADE > ', args: {} >2018-07-28 16:08:19,096-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,100-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,100-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_tags_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,100-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_0_latest_tags_details CASCADE > ', args: {} >2018-07-28 16:08:19,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,109-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,109-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_enum_translator CASCADE > ', args: {} >2018-07-28 16:08:19,109-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_datacenters CASCADE > ', args: {} >2018-07-28 16:08:19,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,118-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,118-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_datacenters CASCADE > ', args: {} >2018-07-28 16:08:19,119-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,123-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,123-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_map_history_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,123-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_map_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,128-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,132-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,132-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,132-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,137-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,141-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,141-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_storage_domains_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,141-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_storage_domains_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,146-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_storage_domains_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,150-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_clusters CASCADE > ', args: {} >2018-07-28 16:08:19,155-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_clusters CASCADE > ', args: {} >2018-07-28 16:08:19,159-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,164-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,164-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_hosts CASCADE > ', args: {} >2018-07-28 16:08:19,164-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,170-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,171-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_hosts CASCADE > ', args: {} >2018-07-28 16:08:19,171-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,175-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,175-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,175-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,180-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,184-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,185-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,189-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,190-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,194-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,199-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,199-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,199-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,203-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,204-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,204-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_hosts_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,208-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,213-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,215-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,215-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,216-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,218-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,218-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,218-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,221-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,221-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_vms CASCADE > ', args: {} >2018-07-28 16:08:19,221-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,229-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,229-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_vms CASCADE > ', args: {} >2018-07-28 16:08:19,229-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,233-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,234-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,234-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,238-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,239-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,239-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,243-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,243-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,243-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,248-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,248-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_users_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,248-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,253-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,253-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_users_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,253-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,257-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,262-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,266-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,266-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,266-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,271-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,271-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,271-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,275-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,275-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,275-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,280-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,280-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,280-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,284-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,284-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,284-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,289-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,289-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_disks_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,289-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,293-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,293-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_disks_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,293-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,298-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,298-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_statistics_vms_disks_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,298-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,302-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,302-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_configuration_history_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,303-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,307-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,307-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_configuration_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,307-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,312-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,312-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,312-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,314-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,314-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,314-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,317-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,317-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_fully_joined_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,317-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,320-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,320-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_users_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,320-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,324-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,324-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_users_details CASCADE > ', args: {} >2018-07-28 16:08:19,324-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,328-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,328-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_tags_relations_history CASCADE > ', args: {} >2018-07-28 16:08:19,329-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,333-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,333-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_tags_relations CASCADE > ', args: {} >2018-07-28 16:08:19,333-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,337-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,337-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_tags_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,337-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,341-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,342-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_1_latest_tags_details CASCADE > ', args: {} >2018-07-28 16:08:19,342-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,346-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,346-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_enum_translator CASCADE > ', args: {} >2018-07-28 16:08:19,346-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,350-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,350-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_datacenters CASCADE > ', args: {} >2018-07-28 16:08:19,351-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,355-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,355-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_datacenters CASCADE > ', args: {} >2018-07-28 16:08:19,355-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,359-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,359-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_map_history_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,359-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,364-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,364-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_map_datacenters_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,364-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,368-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,368-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,368-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,373-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,373-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_storage_domains CASCADE > ', args: {} >2018-07-28 16:08:19,373-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,377-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,377-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_storage_domains_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,377-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,382-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,382-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_storage_domains_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,382-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,386-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,386-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_storage_domains_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,386-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,390-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,391-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_clusters CASCADE > ', args: {} >2018-07-28 16:08:19,391-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,395-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,395-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_clusters CASCADE > ', args: {} >2018-07-28 16:08:19,395-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,399-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,399-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_hosts CASCADE > ', args: {} >2018-07-28 16:08:19,400-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,408-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,408-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_hosts CASCADE > ', args: {} >2018-07-28 16:08:19,408-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,413-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,413-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,413-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,417-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,418-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,418-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,422-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,422-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,422-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,427-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,427-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,427-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,431-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,432-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_hosts_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,432-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,437-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,437-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,438-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,442-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,442-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,442-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,446-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,447-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_hosts_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,447-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_hosts_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,451-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,454-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,454-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_hosts_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,454-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,456-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,456-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_hosts_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,457-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,459-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,459-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_vms CASCADE > ', args: {} >2018-07-28 16:08:19,459-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_vms CASCADE > ', args: {} >2018-07-28 16:08:19,467-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,471-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,471-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,471-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,476-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,481-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,481-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,481-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,485-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,485-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_users_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,486-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,490-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,490-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_users_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,490-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,494-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,495-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,495-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,499-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,499-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_vms_interfaces CASCADE > ', args: {} >2018-07-28 16:08:19,499-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,503-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,503-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_interfaces_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,504-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,508-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,508-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_interfaces_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,508-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,512-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,513-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_interfaces_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,513-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,517-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,517-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,517-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,521-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,522-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_vms_disks CASCADE > ', args: {} >2018-07-28 16:08:19,522-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,526-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,526-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_disks_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,526-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,531-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,531-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_disks_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,531-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,535-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,535-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_statistics_vms_disks_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,536-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,540-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,540-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_configuration_history_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,540-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,545-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,545-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_configuration_vms_devices CASCADE > ', args: {} >2018-07-28 16:08:19,545-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,549-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,550-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_vms_resources_usage_samples CASCADE > ', args: {} >2018-07-28 16:08:19,550-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,552-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,552-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_vms_resources_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,553-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,555-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,555-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_fully_joined_statistics_vms_resources_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,556-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,558-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,558-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_users_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,558-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,563-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,563-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_users_details CASCADE > ', args: {} >2018-07-28 16:08:19,563-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,567-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,567-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_tags_relations_history CASCADE > ', args: {} >2018-07-28 16:08:19,568-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,572-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,572-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_tags_relations CASCADE > ', args: {} >2018-07-28 16:08:19,572-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,577-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,577-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_tags_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,577-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,581-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,581-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP VIEW IF EXISTS public.v4_2_latest_tags_details CASCADE > ', args: {} >2018-07-28 16:08:19,581-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,586-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,586-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT table_schema || '.' || table_name AS objectname > FROM information_schema.tables > WHERE table_schema = 'public' > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:19,586-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,592-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.host_hourly_history'}, {'objectname': 'public.host_samples_history'}, {'objectname': 'public.schema_version'}, {'objectname': 'public.vm_interface_configuration'}, {'objectname': 'public.vm_interface_daily_history'}, {'objectname': 'public.vm_interface_hourly_history'}, {'objectname': 'public.vm_daily_history'}, {'objectname': 'public.vm_interface_samples_history'}, {'objectname': 'public.vm_samples_history'}, {'objectname': 'public.vm_disks_usage_daily_history'}, {'objectname': 'public.calendar'}, {'objectname': 'public.host_interface_samples_history'}, {'objectname': 'public.vm_disk_daily_history'}, {'objectname': 'public.vm_disk_hourly_history'}, {'objectname': 'public.vm_disks_usage_hourly_history'}, {'objectname': 'public.vm_disks_usage_samples_history'}, {'objectname': 'public.tag_relations_history'}, {'objectname': 'public.users_details_history'}, {'objectname': 'public.vm_configuration'}, {'objectname': 'public.cluster_configuration'}, {'objectname': 'public.datacenter_configuration'}, {'objectname': 'public.datacenter_storage_domain_map'}, {'objectname': 'public.enum_translator'}, {'objectname': 'public.history_configuration'}, {'objectname': 'public.host_configuration'}, {'objectname': 'public.host_daily_history'}, {'objectname': 'public.host_interface_configuration'}, {'objectname': 'public.host_interface_daily_history'}, {'objectname': 'public.host_interface_hourly_history'}, {'objectname': 'public.statistics_vms_users_usage_daily'}, {'objectname': 'public.statistics_vms_users_usage_hourly'}, {'objectname': 'public.storage_domain_configuration'}, {'objectname': 'public.storage_domain_daily_history'}, {'objectname': 'public.storage_domain_hourly_history'}, {'objectname': 'public.storage_domain_samples_history'}, {'objectname': 'public.tag_details'}, {'objectname': 'public.vm_device_history'}, {'objectname': 'public.vm_disk_configuration'}, {'objectname': 'public.vm_disk_samples_history'}, {'objectname': 'public.vm_hourly_history'}] >2018-07-28 16:08:19,592-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,592-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,600-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,600-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,600-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.schema_version CASCADE > ', args: {} >2018-07-28 16:08:19,607-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,613-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,613-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,613-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,619-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,619-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,619-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,624-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,624-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,625-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,632-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,633-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,633-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,639-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,639-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_interface_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,639-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,648-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,648-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,648-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disks_usage_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,663-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,663-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.calendar CASCADE > ', args: {} >2018-07-28 16:08:19,664-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,670-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,671-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_interface_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,671-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,680-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,680-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disk_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,680-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,686-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,686-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disk_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,686-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,693-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,693-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disks_usage_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,693-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,701-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,701-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disks_usage_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,701-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tag_relations_history CASCADE > ', args: {} >2018-07-28 16:08:19,713-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,718-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,719-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.users_details_history CASCADE > ', args: {} >2018-07-28 16:08:19,719-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,724-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,724-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,724-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,730-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,730-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.cluster_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,730-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,735-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,736-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.datacenter_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,736-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,741-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,741-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.datacenter_storage_domain_map CASCADE > ', args: {} >2018-07-28 16:08:19,741-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,746-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,747-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.enum_translator CASCADE > ', args: {} >2018-07-28 16:08:19,747-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,752-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,752-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.history_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,752-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,756-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,757-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,757-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,762-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,763-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,763-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,769-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,769-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_interface_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,769-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,774-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,774-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_interface_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,775-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,779-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,779-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.host_interface_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,779-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.statistics_vms_users_usage_daily CASCADE > ', args: {} >2018-07-28 16:08:19,786-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,792-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,792-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.statistics_vms_users_usage_hourly CASCADE > ', args: {} >2018-07-28 16:08:19,792-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,798-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,798-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,799-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,803-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,804-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_daily_history CASCADE > ', args: {} >2018-07-28 16:08:19,804-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,809-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,809-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,809-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.storage_domain_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,814-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,820-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,821-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.tag_details CASCADE > ', args: {} >2018-07-28 16:08:19,821-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,825-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,826-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_device_history CASCADE > ', args: {} >2018-07-28 16:08:19,826-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,831-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,831-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disk_configuration CASCADE > ', args: {} >2018-07-28 16:08:19,832-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,837-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,837-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_disk_samples_history CASCADE > ', args: {} >2018-07-28 16:08:19,837-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,846-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,846-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TABLE IF EXISTS public.vm_hourly_history CASCADE > ', args: {} >2018-07-28 16:08:19,846-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > sequence_schema || '.' || sequence_name AS objectname > FROM information_schema.sequences > WHERE sequence_schema = 'public' > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:19,854-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,859-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.configuration_seq'}, {'objectname': 'public.datacenter_history_seq1'}, {'objectname': 'public.datacenter_history_seq2'}, {'objectname': 'public.datacenter_history_seq3'}, {'objectname': 'public.datacenter_storage_domain_map_seq'}, {'objectname': 'public.disk_vm_device_history_seq'}, {'objectname': 'public.disk_vm_map_seq'}, {'objectname': 'public.host_history_seq3'}, {'objectname': 'public.host_history_seq1'}, {'objectname': 'public.host_history_seq2'}, {'objectname': 'public.host_interface_history_seq3'}, {'objectname': 'public.host_interface_history_seq1'}, {'objectname': 'public.host_interface_history_seq2'}, {'objectname': 'public.storage_domain_history_seq3'}, {'objectname': 'public.schema_version_seq'}, {'objectname': 'public.statistics_vms_users_usage_daily_seq'}, {'objectname': 'public.statistics_vms_users_usage_hourly_seq'}, {'objectname': 'public.storage_domain_history_seq1'}, {'objectname': 'public.storage_domain_history_seq2'}, {'objectname': 'public.tag_relations_history_seq'}, {'objectname': 'public.vm_disk_history_seq3'}, {'objectname': 'public.vm_disk_history_seq2'}, {'objectname': 'public.vm_disk_history_seq1'}, {'objectname': 'public.vm_interface_history_seq3'}, {'objectname': 'public.vm_interface_history_seq2'}, {'objectname': 'public.vm_interface_history_seq1'}, {'objectname': 'public.vm_history_seq3'}, {'objectname': 'public.vm_disks_usage_history_seq3'}, {'objectname': 'public.vm_disks_usage_history_seq2'}, {'objectname': 'public.vm_history_seq2'}, {'objectname': 'public.vm_disks_usage_history_seq1'}, {'objectname': 'public.vm_history_seq1'}] >2018-07-28 16:08:19,860-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.configuration_seq CASCADE > ', args: {} >2018-07-28 16:08:19,860-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,864-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,864-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.datacenter_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,864-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,868-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,868-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.datacenter_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,869-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,873-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,873-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.datacenter_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,873-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,877-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,877-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.datacenter_storage_domain_map_seq CASCADE > ', args: {} >2018-07-28 16:08:19,877-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,882-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,882-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.disk_vm_device_history_seq CASCADE > ', args: {} >2018-07-28 16:08:19,882-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,886-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,886-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.disk_vm_map_seq CASCADE > ', args: {} >2018-07-28 16:08:19,886-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,890-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,891-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,891-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,894-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,895-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,895-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,899-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_interface_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,903-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,907-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,907-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_interface_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,908-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,912-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,912-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.host_interface_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,912-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,916-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,916-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.storage_domain_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,916-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,920-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,920-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.schema_version_seq CASCADE > ', args: {} >2018-07-28 16:08:19,921-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.statistics_vms_users_usage_daily_seq CASCADE > ', args: {} >2018-07-28 16:08:19,925-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,929-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,929-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.statistics_vms_users_usage_hourly_seq CASCADE > ', args: {} >2018-07-28 16:08:19,929-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,933-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,934-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.storage_domain_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,934-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.storage_domain_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,938-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,943-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,943-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.tag_relations_history_seq CASCADE > ', args: {} >2018-07-28 16:08:19,943-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,947-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,948-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disk_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,948-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,952-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,952-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disk_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,952-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,957-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,957-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disk_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,957-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,961-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,961-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_interface_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,961-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,966-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,966-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_interface_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,966-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,971-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,971-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_interface_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,971-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,975-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,975-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,975-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,980-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,980-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disks_usage_history_seq3 CASCADE > ', args: {} >2018-07-28 16:08:19,980-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,984-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,984-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disks_usage_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,984-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,988-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,989-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_history_seq2 CASCADE > ', args: {} >2018-07-28 16:08:19,989-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,993-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_disks_usage_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,994-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:19,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:19,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP SEQUENCE IF EXISTS public.vm_history_seq1 CASCADE > ', args: {} >2018-07-28 16:08:19,998-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,003-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,003-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > ns.nspname || > '.' || > proname || > '(' || oidvectortypes(proargtypes) || ')' > AS objectname > FROM > pg_proc INNER JOIN pg_namespace ns ON ( > pg_proc.pronamespace=ns.oid > ) > WHERE ns.nspname = 'public' > AND proname NOT LIKE 'uuid_%%' > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:20,003-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,008-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[])'}, {'objectname': 'public.fn_db_add_column_to_object_white_list(character varying, character varying)'}, {'objectname': 'public.fn_db_unlock_disk(uuid)'}, {'objectname': 'public.fn_db_unlock_snapshot(uuid)'}, {'objectname': 'public.update_enum_translator(character varying, smallint, character varying, text)'}, {'objectname': 'public.getpathinnames(integer)'}, {'objectname': 'public.getpathids(uuid, integer)'}, {'objectname': 'public.update_tags_path_child(timestamp with time zone)'}, {'objectname': 'public.fn_db_mask_object(regclass)'}, {'objectname': 'public.fn_db_unlock_entity(character varying, character varying, boolean)'}, {'objectname': 'public.fn_db_change_column_type(character varying, character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_rename_column(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_add_config_value(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_delete_config_value_all_versions(character varying)'}, {'objectname': 'public.fn_db_delete_config_value(character varying, text)'}, {'objectname': 'public.fn_db_delete_config_for_version(text)'}, {'objectname': 'public.fn_db_rename_config_key(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_create_constraint(character varying, character varying, text)'}, {'objectname': 'public.fn_db_drop_constraint(character varying, character varying)'}, {'objectname': 'public.fn_db_add_column(character varying, character varying, text)'}, {'objectname': 'public.fn_db_drop_column(character varying, character varying)'}, {'objectname': 'public.fn_db_update_config_value(character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean)'}, {'objectname': 'public.attach_user_to_su_role(uuid)'}, {'objectname': 'public.attach_user_to_su_role(uuid, character varying, character varying, character varying)'}, {'objectname': 'public.fn_db_get_async_tasks()'}, {'objectname': 'public.fn_db_split_config_value(character varying, character varying, character varying, character varying)'}, {'objectname': 'public.checkdbconnection()'}, {'objectname': 'public.generate_drop_all_functions_syntax()'}, {'objectname': 'public.generate_drop_all_views_syntax()'}, {'objectname': 'public.generate_drop_all_tables_syntax()'}, {'objectname': 'public.generate_drop_all_seq_syntax()'}, {'objectname': 'public.generate_drop_all_user_types_syntax()'}, {'objectname': 'public.fn_get_column_size(character varying, character varying)'}, {'objectname': 'public.fn_db_add_action_group_to_role(uuid, integer)'}] >2018-07-28 16:08:20,008-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_grant_action_group_to_all_roles_filter(integer, uuid[]) CASCADE > ', args: {} >2018-07-28 16:08:20,008-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,012-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,012-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_column_to_object_white_list(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,012-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,016-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,016-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_disk(uuid) CASCADE > ', args: {} >2018-07-28 16:08:20,016-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_snapshot(uuid) CASCADE > ', args: {} >2018-07-28 16:08:20,020-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,024-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,025-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.update_enum_translator(character varying, smallint, character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:20,025-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,029-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,029-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getpathinnames(integer) CASCADE > ', args: {} >2018-07-28 16:08:20,029-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,033-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,033-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.getpathids(uuid, integer) CASCADE > ', args: {} >2018-07-28 16:08:20,034-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,038-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,038-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.update_tags_path_child(timestamp with time zone) CASCADE > ', args: {} >2018-07-28 16:08:20,038-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,042-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_mask_object(regclass) CASCADE > ', args: {} >2018-07-28 16:08:20,043-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,046-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_unlock_entity(character varying, character varying, boolean) CASCADE > ', args: {} >2018-07-28 16:08:20,047-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_change_column_type(character varying, character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,051-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,055-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,055-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_rename_column(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,055-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_config_value(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,059-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,063-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,063-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_value_all_versions(character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,064-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,068-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,068-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_value(character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:20,068-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,072-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,072-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_delete_config_for_version(text) CASCADE > ', args: {} >2018-07-28 16:08:20,072-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_rename_config_key(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,076-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,080-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,080-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_create_constraint(character varying, character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:20,080-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_drop_constraint(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,085-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,089-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,089-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_column(character varying, character varying, text) CASCADE > ', args: {} >2018-07-28 16:08:20,089-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,093-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,093-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_drop_column(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,093-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_update_config_value(character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,097-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,101-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,101-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_update_default_config_value(character varying, character varying, character varying, character varying, boolean) CASCADE > ', args: {} >2018-07-28 16:08:20,101-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.attach_user_to_su_role(uuid) CASCADE > ', args: {} >2018-07-28 16:08:20,105-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,109-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.attach_user_to_su_role(uuid, character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,110-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_get_async_tasks() CASCADE > ', args: {} >2018-07-28 16:08:20,114-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,118-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,118-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_split_config_value(character varying, character varying, character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,118-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.checkdbconnection() CASCADE > ', args: {} >2018-07-28 16:08:20,122-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,127-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,127-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_functions_syntax() CASCADE > ', args: {} >2018-07-28 16:08:20,127-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,130-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_views_syntax() CASCADE > ', args: {} >2018-07-28 16:08:20,131-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,135-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,135-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_tables_syntax() CASCADE > ', args: {} >2018-07-28 16:08:20,135-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_seq_syntax() CASCADE > ', args: {} >2018-07-28 16:08:20,139-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.generate_drop_all_user_types_syntax() CASCADE > ', args: {} >2018-07-28 16:08:20,143-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,147-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,148-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_get_column_size(character varying, character varying) CASCADE > ', args: {} >2018-07-28 16:08:20,148-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,152-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,152-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP FUNCTION IF EXISTS public.fn_db_add_action_group_to_role(uuid, integer) CASCADE > ', args: {} >2018-07-28 16:08:20,152-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT > c.relname::information_schema.sql_identifier > AS objectname > 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' > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:20,157-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,161-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [{'objectname': 'async_tasks_info_rs'}] >2018-07-28 16:08:20,161-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > DROP TYPE IF EXISTS async_tasks_info_rs CASCADE > ', args: {} >2018-07-28 16:08:20,161-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,166-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,166-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:242 Database: 'None', Statement: ' > SELECT schema_name AS objectname > FROM information_schema.schemata > WHERE schema_owner = %(username)s > ', args: {'username': 'ovirt_engine_history'} >2018-07-28 16:08:20,166-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:247 Creating own connection >2018-07-28 16:08:20,170-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:292 Result: [] >2018-07-28 16:08:20,170-0400 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema schema._rollbackDatabase:145 Restoring DWH database ovirt_engine_history >2018-07-28 16:08:20,171-0400 INFO otopi.ovirt_engine_setup.engine_common.database database.restore:869 Restoring file '/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump' to database localhost:ovirt_engine_history. >2018-07-28 16:08:20,171-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:481 executePipeRaw: [0] popen kw={'stdin': None, 'stdout': -1, 'preexec_fn': <function _enableSignals at 0x7f1b483766e0>, 'env': {'LC_NUMERIC': 'fr_FR.UTF-8', 'LC_MEASUREMENT': 'fr_FR.UTF-8', 'PGPASSWORD': '', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '10.10.120.101 39864 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'LC_PAPER': 'fr_FR.UTF-8', 'PATH': '/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LC_MONETARY': 'fr_FR.UTF-8', 'HISTSIZE': '1000', 'POSTGRESQLENV': 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql COMMAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-postgresql OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION', 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'PGPASSFILE': '/tmp/tmp3JAps0', 'XMODIFIERS': '@im=ibus', 'SELINUX_ROLE_REQUESTED': '', 'XDG_DATA_DIRS': '/opt/rh/rh-postgresql95/root/usr/share', 'PKG_CONFIG_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '393', 'sclenv': 'rh-postgresql95', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_CONFIG_DIRS': '/etc/opt/rh/rh-postgresql95/xdg:/etc/xdg', 'MAIL': '/var/spool/mail/root', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'rhvm.v2v.bos.redhat.com', 'JAVACONFDIRS': '/etc/opt/rh/rh-postgresql95/java:/etc/java', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/root/engine-backup', 'CPATH': '/opt/rh/rh-postgresql95/root/usr/include', 'OTOPI_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', 'LC_TIME': 'fr_FR.UTF-8', 'SSH_CONNECTION': '10.10.120.101 39864 10.19.2.100 22', 'OTOPI_EXECDIR': '/root/engine-backup'}, 'close_fds': True, 'args': ['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h', 'localhost', '-p', '5432', '-U', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '--jobs=2', '/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump'], 'stderr': -1} >2018-07-28 16:08:20,176-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:486 executePipeRaw: [0] pid pid=14766 >2018-07-28 16:08:23,657-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema plugin.executePipeRaw:603 executePipe-result: [0] ['/opt/rh/rh-postgresql95/root/usr/bin/pg_restore', '-w', '-h', 'localhost', '-p', '5432', '-U', 'ovirt_engine_history', '-d', 'ovirt_engine_history', '--jobs=2', '/var/lib/ovirt-engine-dwh/backups/dwh-20180728160758.Q0GO0X.dump'], rc=0 >2018-07-28 16:08:23,658-0400 DEBUG otopi.ovirt_engine_setup.engine_common.database database.restore:922 db restore rc 0 stderr [] >2018-07-28 16:08:23,660-0400 INFO otopi.context context.runSequence:741 Stage: Pre-termination >2018-07-28 16:08:23,660-0400 DEBUG otopi.context context.runSequence:745 STAGE pre-terminate >2018-07-28 16:08:23,661-0400 DEBUG otopi.context context._executeMethod:128 Stage pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate >2018-07-28 16:08:23,661-0400 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/aborted=bool:'False' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/debug=int:'0' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'True' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Engine schema refresh failed',), <traceback object at 0x7f1b43056128>)]' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/executionDirectory=str:'/root/engine-backup' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]' >2018-07-28 16:08:23,662-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/log=bool:'True' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup:ovirt-engine-checks' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/suppressEnvironmentKeys=list:'[]' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chkconfig=str:'/usr/sbin/chkconfig' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/chronyc=str:'/usr/bin/chronyc' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/date=str:'/usr/bin/date' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/dig=str:'/usr/bin/dig' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/exportfs=str:'/usr/sbin/exportfs' >2018-07-28 16:08:23,663-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/firewall-cmd=str:'/usr/bin/firewall-cmd' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/hwclock=str:'/usr/sbin/hwclock' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/initctl=NoneType:'None' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ip=str:'/usr/sbin/ip' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ntpq=str:'/usr/sbin/ntpq' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/openssl=str:'/usr/bin/openssl' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_dump=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_dump' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/pg_restore=str:'/opt/rh/rh-postgresql95/root/usr/bin/pg_restore' >2018-07-28 16:08:23,664-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/postgresql-setup=str:'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/psql=str:'/opt/rh/rh-postgresql95/root/usr/bin/psql' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc=NoneType:'None' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rc-update=NoneType:'None' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/reboot=str:'/usr/sbin/reboot' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/restorecon=str:'/usr/sbin/restorecon' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/rpm=str:'/usr/bin/rpm' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/selinuxenabled=str:'/usr/sbin/selinuxenabled' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/semanage=str:'/usr/sbin/semanage' >2018-07-28 16:08:23,665-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/service=str:'/usr/sbin/service' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/ssh-keygen=str:'/usr/bin/ssh-keygen' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/sysctl=str:'/usr/sbin/sysctl' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV COMMAND/systemctl=str:'/usr/bin/systemctl' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileAppend=NoneType:'None' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/internalPackageTransaction=Transaction:'transaction' >2018-07-28 16:08:23,666-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileHandle=file:'<open file '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log', mode 'a' at 0x7f1b4c5f7ae0>' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20180728160721-rejhkb.log' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilter=_MyLoggerFilter:'filter' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterKeys=list:'['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_OVN/ovirtProviderOvnPassword']' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logFilterRe=list:'[<_sre.SRE_Pattern object at 0x2585d00>]' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/logRemoveAtExit=bool:'False' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/mainTransaction=Transaction:'transaction' >2018-07-28 16:08:23,667-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/modifiedFiles=list:'[]' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/randomizeEvents=bool:'False' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/answerFile=NoneType:'None' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/answerFileContent=str:'# OTOPI answer file, generated by human dialog >[environment:default] >QUESTION/1/ENGINE_VACUUM_FULL=str:no >QUESTION/1/OVESETUP_CORE_ENGINE_STOP=str:ok >QUESTION/1/OVESETUP_DWH_PERFORM_BACKUP=str:yes >QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:yes >QUESTION/1/OVESETUP_DIALOG_CONFIRM_SETTINGS=str:ok >QUESTION/1/OVESETUP_DIALOG_CONTINUE_UPGRADE=str:yes >QUESTION/1/DWH_VACUUM_FULL=str:no >' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/autoAcceptDefault=bool:'False' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/cliVersion=int:'1' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/customization=bool:'False' >2018-07-28 16:08:23,668-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV DIALOG/dialect=str:'human' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_NAME=str:'otopi' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV INFO/PACKAGE_VERSION=str:'1.7.8' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldAvailable=bool:'True' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldDisableServices=list:'[]' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/firewalldEnable=bool:'True' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesEnable=bool:'False' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/iptablesRules=NoneType:'None' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshEnable=bool:'False' >2018-07-28 16:08:23,669-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshKey=NoneType:'None' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK/sshUser=str:'' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK_FIREWALLD_SERVICE/ovirt-provider-ovn=str:'<?xml version="1.0" encoding="utf-8"?> ><service> > <short>ovirt-provider-ovn</short> > <description>oVirt provider ovn</description> > <port protocol="tcp" port="9696"/> > <port protocol="tcp" port="35357"/> ></service> >' >2018-07-28 16:08:23,670-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 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> >' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV NETWORK_FIREWALLD_SERVICE/ovn-central-firewall-service=str:'<?xml version="1.0" encoding="utf-8"?> ><service> > <short>ovn-central-firewall-service</short> > <description>Firewall service for ovn central</description> > <port protocol="tcp" port="6641"/> > <port protocol="tcp" port="6642"/> ></service> >' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/enableUpgrade=NoneType:'None' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/requireRollback=NoneType:'None' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['rhvm', 'rhvm-branding-rhv', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-webadmin-portal', 'ovirt-engine-dashboard', 'ovirt-engine-dwh']' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['rhvm', 'rhevm', 'redhat-support-plugin-rhev', 'ovirt-engine-extension-aaa-jdbc', 'ovirt-engine', 'ovirt-engine-dwh', 'ovirt-engine-dwh-setup']' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf' >2018-07-28 16:08:23,671-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirection=NoneType:'None' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configureSsl=NoneType:'None' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/configured=bool:'True' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/enable=bool:'True' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/httpdService=str:'httpd' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_APACHE/needRestart=bool:'True' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasks=bool:'True' >2018-07-28 16:08:23,672-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ASYNC/clearTasksWait=int:'20' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'False' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminPassword=NoneType:'None' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUser=str:'admin@internal' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserId=str:'27bb4f0c-544d-442c-a069-ef8789d83b47' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/applicationMode=NoneType:'None' >2018-07-28 16:08:23,673-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/continueSetupOnHEVM=NoneType:'None' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineDbBackupDir=str:'/var/lib/ovirt-engine/backups' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMax=str:'3971M' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineHeapMin=str:'3971M' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/engineServiceStopNeeded=bool:'True' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fenceKdumpListenerStopNeeded=bool:'True' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallChangesReview=NoneType:'None' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManager=str:'firewalld' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/firewallManagers=list:'[<otopi.plugins.ovirt_engine_common.base.network.firewall_manager_firewalld._FirewalldManager object at 0x7f1b48372d10>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_human._HumanManager object at 0x7f1b48372d50>, <otopi.plugins.ovirt_engine_common.base.network.firewall_manager_iptables._IpTablesManager object at 0x7f1b48372a90>]' >2018-07-28 16:08:23,674-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnIsNeeded=bool:'True' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnNonLoopback=bool:'False' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/fqdnReverseValidation=bool:'False' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpPort=int:'80' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/httpsPort=int:'443' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/ignoreVdsgroupInNotifier=NoneType:'None' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyConfig=bool:'True' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyHost=str:'localhost' >2018-07-28 16:08:23,675-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyPort=int:'54323' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/imageioProxyStopNeeded=bool:'True' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainACL=NoneType:'None' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainDefaultMountPoint=str:'/var/lib/exports/iso' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainExists=bool:'False' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainMountPoint=NoneType:'None' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainName=NoneType:'None' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainSdUuid=NoneType:'None' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/isoDomainStorageDir=NoneType:'None' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 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', '/usr/share/rhv-guest-tools-iso/RHV-toolsSetup_4.2_5.iso']' >2018-07-28 16:08:23,676-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaHome=unicode:'/usr/lib/jvm/jre' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/javaNeeded=bool:'True' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossAjpPort=int:'8702' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDebugAddress=str:'127.0.0.1:8787' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpPort=NoneType:'None' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossDirectHttpsPort=NoneType:'None' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHome=str:'/opt/rh/eap7/root/usr/share/wildfly' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpPort=int:'8080' >2018-07-28 16:08:23,677-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossHttpsPort=int:'8443' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/jbossNeeded=bool:'True' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/needCommonTitles=bool:'True' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiOIPCSRFilename=NoneType:'None' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiRenewalDocUrl=str:'https://access.redhat.com/solutions/1572983' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/pkiWSPCSRFilename=NoneType:'None' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpPort=int:'80' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/publicHttpsPort=int:'443' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostClientKey=NoneType:'None' >2018-07-28 16:08:23,678-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostKnownHosts=NoneType:'None' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostRootPassword=NoneType:'None' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineHostSshPort=NoneType:'None' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyle=NoneType:'None' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/remoteEngineSetupStyles=list:'[<otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_root_ssh._RootSshManager object at 0x7f1b48372e50>, <otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine_manual_files._ManualFiles object at 0x7f1b48372dd0>]' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/sanWipeAfterDelete=bool:'False' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageIsLocal=bool:'False' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/storageType=NoneType:'None' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/totalMemoryMB=int:'15884' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/updateFirewall=bool:'True' >2018-07-28 16:08:23,679-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/validFirewallManagers=str:'' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/vmconsoleProxyStopNeeded=bool:'True' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyConfig=bool:'True' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyHost=str:'localhost' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyPort=int:'6100' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CONFIG/websocketProxyStopNeeded=bool:'True' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/action=str:'setup' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/answerFile=NoneType:'None' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/developerMode=bool:'False' >2018-07-28 16:08:23,680-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/engineStop=bool:'True' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatePostInstall=bool:'True' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generateStandardAnswerfile=bool:'True' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/generatedByVersion=str:'4.2.5.2' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/offlinePackager=bool:'False' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/originalGeneratedByVersion=str:'4.2.5.1' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/reconfigureOptionalComponents=NoneType:'None' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/registerUninstallGroups=RegisterGroups:'<otopi.plugins.ovirt_engine_common.base.core.uninstall.RegisterGroups object at 0x7f1b483bb690>' >2018-07-28 16:08:23,681-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/remoteEngine=RemoteEngine:'<ovirt_engine_setup.remote_engine.RemoteEngine object at 0x7f1b48372d90>' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 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_common.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.pyc'>, <module 'ovirt_engine_setup.engine.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/constants.pyc'>, <module 'ovirt_engine_setup.websocket_proxy.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/websocket_proxy/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.rhvm_constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/rhvm_constants.pyc'>, <module 'ovirt_engine_setup.vmconsole_proxy_helper.constants' from '/usr/share/ovirt-engine/setup/ovirt_engine_setup/vmconsole_proxy_helper/constants.pyc'>]' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/uninstallUnremovableFiles=list:'['/etc/exports', '/etc/yum/pluginconf.d/versionlock.conf']' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/upgradeSupportedVersions=str:'3.6,4.0,4.1,4.2' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ca_pki=list:'[[]]' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/ovirt_dwh_files=list:'[[]]' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_FILE_GROUP/versionlock_conf=list:'[]' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ca_pki=dict:'{}' >2018-07-28 16:08:23,682-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/ovirt_dwh_files=dict:'{}' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE_MODIFIED_LINES_GROUP/versionlock_conf=dict:'{'/etc/yum/pluginconf.d/versionlock.conf': []}' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/connection=NoneType:'None' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/database=str:'engine' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dumper=str:'pg_custom' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/dwhVacuumFull=bool:'False' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/engineVacuumFull=bool:'False' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/filter=NoneType:'None' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbConfiguration=NoneType:'None' >2018-07-28 16:08:23,683-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/fixDbViolations=NoneType:'None' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/host=str:'localhost' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/invalidConfigItems=NoneType:'None' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/justRestored=bool:'False' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/newDatabase=bool:'False' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/password=str:'**FILTERED**' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/pgPassFile=str:'/tmp/tmp1wBMQJ' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/port=str:'5432' >2018-07-28 16:08:23,684-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/restoreJobs=int:'2' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/secured=bool:'False' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/securedHostValidation=bool:'False' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/statement=NoneType:'None' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DB/user=str:'engine' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DIALOG/confirmSettings=bool:'True' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhDbBackupDir=str:'/var/lib/ovirt-engine-dwh/backups' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/dwhServiceStopNeeded=bool:'True' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/remoteEngineConfigured=bool:'False' >2018-07-28 16:08:23,685-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CONFIG/scale=str:'1' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/enable=bool:'True' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_CORE/uuid=str:'d6477206-8a52-4229-9d7e-d8dfca32463b' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/connection=NoneType:'None' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/database=str:'ovirt_engine_history' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/disconnectExistingDwh=NoneType:'None' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/dumper=str:'pg_custom' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/filter=NoneType:'None' >2018-07-28 16:08:23,686-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/host=str:'localhost' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/needDBMSUpgrade=bool:'False' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/newDatabase=bool:'False' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/password=str:'**FILTERED**' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/performBackup=bool:'True' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/pgPassFile=str:'/tmp/tmp3JAps0' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/port=str:'5432' >2018-07-28 16:08:23,687-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreBackupLate=bool:'True' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/restoreJobs=int:'2' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/secured=bool:'False' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/securedHostValidation=bool:'False' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/statement=NoneType:'None' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_DB/user=str:'ovirt_engine_history' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES=str:'ovirt-engine-dwh' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_DWH_RPMDISRO_PACKAGES_SETUP=str:'ovirt-engine-dwh-setup' >2018-07-28 16:08:23,688-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CONFIG/fqdn=str:'rhvm.v2v.bos.redhat.com' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_ENGINE_CORE/enable=bool:'True' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_NETWORK/firewalldServices=list:'[{'absolute_path': '/usr/lib/firewalld/services/ovn-central-firewall-service.xml', 'name': 'ovn-central-firewall-service'}, {'absolute_path': '/usr/lib/firewalld/services/ovirt-provider-ovn.xml', 'name': 'ovirt-provider-ovn'}, {'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-common', 'name': 'ovirt-postgres'}, {'directory': 'ovirt-common', 'name': 'ovirt-postgres'}]' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 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}' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServices=str:'ovn-central-firewall-service,ovirt-provider-ovn' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/firewalldServicesDir=str:'/usr/lib/firewalld/services' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvn=bool:'True' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_OVN/ovirtProviderOvnId=str:'45fede3f-b0b5-423c-b32a-775e9501078f' >2018-07-28 16:08:23,689-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/country=str:'US' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/entities=list:'[{'keepKey': True, 'extract': False, 'name': 'engine', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': False, 'name': 'jboss', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'websocket-proxy', 'user': 'OVESETUP_SYSTEM/userEngine'}, {'keepKey': False, 'extract': True, 'name': 'apache', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'reports', 'user': 'OVESETUP_SYSTEM/userRoot'}, {'keepKey': False, 'extract': True, 'name': 'imageio-proxy', 'user': 'OVESETUP_SYSTEM/userRoot'}]' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/organization=str:'v2v.bos.redhat.com' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/renew=NoneType:'None' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/sshPublicKey=unicode:'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCz55wyV2cbMBunTZJKMbX4Q4gSmXUHCZGG9uCeq5vSv2swpcizisGKodRQ1lKg7Mbq9LLNHCOqL2LopNwEfwokW6ORFzzMHkA5Ga06sB9ARL8bELSExZ2K36zW/78gIVjqhDclqOSNXWMYqopqKo5iGXujTi/ZZ/LuRw7IVgOjOaRC7/b2ZuEzwo1yDF6N2NhHK0WZ5tbRSSTuXLRCnWYikTPwO9UFcHu8J3YQ2f5As8i3S8H9nZSTmlPpRHENeFDTA0nCCRCaFpR0L7pfAInvDGFbIduFqHF72yWPqkxnkr6FtzGjxdvv1LYeW6v+THSAaKEhWvHqy3pysp7G4pZj' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PKI/storePassword=str:'**FILTERED**' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/oldPostgresService=str:'postgresql' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumAnalyzeScaleFactor=float:'0.075' >2018-07-28 16:08:23,690-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaintenanceWorkMem=int:'65536' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumMaxWorkers=int:'6' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresAutovacuumVacuumScaleFactor=float:'0.01' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresConf=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7f1b48376938>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376aa0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': "It is required to be at most '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376848>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': "It is required to be at least '{expected}'"}, {'ok': <function <lambda> at 0x7f1b48376a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'maintenance_work_mem', 'expected': 65536, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True}, {'ok': <function <lambda> at 0x7f1b483768c0>, 'check_on_use': True, 'needed_on_create': True, 'key': 'work_mem', 'expected': 8192, 'error_msg': "It is required to be at least '{expected}'", 'useQueryForValue': True})' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresLCMessages=str:''en_US.UTF-8'' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresListenAddress=str:''*'' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresMaxConn=int:'150' >2018-07-28 16:08:23,691-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgHba=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresPgVersion=str:'/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresProvisioningEnabled=NoneType:'None' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresService=str:'rh-postgresql95-postgresql' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeCleanold=bool:'False' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresUpgradeInplace=bool:'False' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresWorkMemKb=int:'8192' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RHEVM_DIALOG/confirmUpgrade=bool:'False' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/aaaJdbcPackage=str:'ovirt-engine-extension-aaa-jdbc' >2018-07-28 16:08:23,692-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/additionalPackages=str:'ovirt-host-deploy,ovirt-engine-cli,ovirt-iso-uploader,ovirt-engine-dashboard,rhvm-branding-rhv,rhvm-doc,ovirt-log-collector' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/enginePackages=str:'ovirt-engine' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/engineSetupPackages=str:'ovirt-engine-setup' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/jbossPackages=str:'' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesSetup=list:'['rhvm-setup-plugins', 'ovirt-engine-setup', 'ovirt-engine-setup-plugin-websocket-proxy', 'ovirt-engine-dwh-setup']' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-host-deploy', 'ovirt-engine-cli', 'ovirt-iso-uploader', 'ovirt-engine-dashboard', 'rhvm-branding-rhv', 'rhvm-doc', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupEngine=str:'ovirt' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupKvm=str:'kvm' >2018-07-28 16:08:23,693-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/groupVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/hostileServices=str:'ovirt-engine-dwhd,ovirt-engine-notifier' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckEnabled=bool:'True' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckMinimumMB=int:'4096' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckRecommendedMB=int:'16384' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/memCheckThreshold=int:'90' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled=bool:'False' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:'False' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/nfsServiceName=str:'nfs-server' >2018-07-28 16:08:23,694-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxBooleans=list:'[{'state': 'on', 'boolean': 'httpd_can_network_connect'}]' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxContexts=list:'[]' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/selinuxRestorePaths=list:'[]' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/shmmax=int:'68719476736' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userApache=str:'apache' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userEngine=str:'ovirt' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userPostgres=str:'postgres' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userRoot=str:'root' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVdsm=str:'vdsm' >2018-07-28 16:08:23,695-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:'2222' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfDisabledPlugins=list:'[]' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfExpireCache=bool:'True' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfRollback=bool:'True' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/dnfpackagerEnabled=bool:'True' >2018-07-28 16:08:23,696-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/keepAliveInterval=int:'30' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumDisabledPlugins=list:'[]' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumEnabledPlugins=list:'[]' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumExpireCache=bool:'True' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumRollback=bool:'True' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV PACKAGER/yumpackagerEnabled=bool:'True' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/DWH_VACUUM_FULL=str:'no' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/ENGINE_VACUUM_FULL=str:'no' >2018-07-28 16:08:23,697-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_CORE_ENGINE_STOP=str:'ok' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DIALOG_CONFIRM_SETTINGS=str:'ok' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DIALOG_CONTINUE_UPGRADE=str:'yes' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_DWH_PERFORM_BACKUP=str:'yes' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:'yes' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockMaxGap=int:'5' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/clockSet=bool:'False' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/commandPath=str:'/opt/rh/rh-postgresql95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/reboot=bool:'False' >2018-07-28 16:08:23,698-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootAllow=bool:'True' >2018-07-28 16:08:23,699-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV SYSTEM/rebootDeferTime=int:'10' >2018-07-28 16:08:23,699-0400 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT DUMP - END >2018-07-28 16:08:23,701-0400 DEBUG otopi.context context._executeMethod:128 Stage pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate >2018-07-28 16:08:23,701-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:23,702-0400 INFO otopi.context context.runSequence:741 Stage: Termination >2018-07-28 16:08:23,702-0400 DEBUG otopi.context context.runSequence:745 STAGE terminate >2018-07-28 16:08:23,704-0400 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._terminate >2018-07-28 16:08:23,704-0400 ERROR otopi.plugins.ovirt_engine_common.base.core.misc misc._terminate:162 Execution of setup failed >2018-07-28 16:08:23,706-0400 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate >2018-07-28 16:08:23,711-0400 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate >2018-07-28 16:08:23,711-0400 DEBUG otopi.context context._executeMethod:135 condition False >2018-07-28 16:08:23,713-0400 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1609839
: 1471574