oVirt Hosted Engine Offline Deployment
by Andrew Lamarra
Hi there. I'm trying to get oVirt up & running on a server in a network that has no access to the Internet. We do host mirrors of CentOS 7 & 8 repos (no Stream). I first tried the latest version of oVirt 4.4, however, I ran into an issue when trying to do the Hosted Engine deployment. The command I used was "hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true". But at some point, I get the following error:
[ INFO ] DNF Errors during downloading metadata for repository 'ovirt-4.4-centos-ceph-pacific':
- Status code: 404 for http://mirror.centos.org/centos/8-stream/storage/x86_64/ceph-pacific/repo...
[ ERROR ] DNF Failed to download metadata for repo 'ovirt-4.4-centos-ceph-pacific': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Seems like it's still trying to download something from the CentOS 8 Stream repo. So I figured that since we have the CentOS 7 repos hosted, I'll try oVirt v4.3. However, I don't see an option to do an "offline deployment" with this version. It says the "--ansible-extra-vars" option is invalid. I tried doing a regular deployment but it tries downloading from the oVirt repo:
[ INFO ] TASK [ovirt.hosted_enging_setup : Install ovirt-engine-appliance rpm]
[ ERROR ] fatal: [localhost]: FAILED! => ["attempts": 10, "changed": false, "msg": "Failure talking to yum: cannot retrieve metalink for repository: ovirt-4.3-epel/x86_64. Please verify its path and try again"}
I can bring over a mirror of the ovirt-4.3 repo. I also see that there's some other repos in the "ovirt-4.3-dependencies.repo" file. Are those required for deploying the hosted engine VM as well? Or does anyone know if there's a way to do this deployment completely offline?
Thank you for your time.
3 years, 6 months
testing 4.3.10 to 4.4.7 upgrade SHE
by Gianluca Cecchi
Hello,
I'm testing what in object in a test env.
For this I downloaded the async 1 iso of the node, released on 14/07:
https://resources.ovirt.org/pub/ovirt-4.4/iso/ovirt-node-ng-installer/4.4...
and downloaded to manually install and avoid 4.4.8 appliance:
https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/x86_64/ovirt-engine-app...
released on 05/07
BTW: what is the difference with
https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/x86_64/ovirt-engine-app...
as both the rpm in changelog contains at top:
* Mon Jul 05 2021 Sandro Bonazzola <sbonazzo(a)redhat.com> - 4.4
- oVirt 4.4.7 GA appliance
I'm in the phase where I have installed the iso, manually installed the
4.4.7 appliance rpm and then:
tmux
hosted-engine --deploy --restore-from-file=backup.bck
It seems I'm stuck at step:
[ INFO ] changed: [localhost -> 192.168.222.153]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum
configuration file]
[ INFO ] changed: [localhost -> 192.168.222.153]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if
variable is set]
[ INFO ] ok: [localhost -> 192.168.222.153]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Restore engine from file]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Run engine-setup with answerfile]
under /var/log/ovirt-hosted-engine-setup of host:
[root@novirt2 ovirt-hosted-engine-setup]# ls -lrt
total 1376
-rw-r--r--. 1 root root 142169 Aug 24 18:12
ovirt-hosted-engine-setup-ansible-get_network_interfaces-20210824181152-6kd9pq.log
-rw-r--r--. 1 root root 270803 Aug 24 18:18
ovirt-hosted-engine-setup-ansible-initial_clean-20210824181738-su4zk6.log
-rw-r--r--. 1 root root 378903 Aug 24 18:34
ovirt-hosted-engine-setup-20210824181101-r03y91.log
-rw-r--r--. 1 root root 610288 Aug 24 18:34
ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20210824181850-m1gx97.log
[root@novirt2 ovirt-hosted-engine-setup]#
and
[root@novirt2 ovirt-hosted-engine-setup]# tail
ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20210824181850-m1gx97.log
2021-08-24 18:34:18,155+0200 INFO ansible ok {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_host': 'localhost', 'ansible_task': 'Set offline parameter if
variable is set', 'task_duration': 1}
2021-08-24 18:34:18,156+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f3c88732400> kwargs
2021-08-24 18:34:19,035+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.ovirt.engine_setup : Restore engine from file'}
2021-08-24 18:34:19,035+0200 DEBUG ansible on_any args TASK:
ovirt.ovirt.engine_setup : Restore engine from file kwargs
is_conditional:False
2021-08-24 18:34:19,037+0200 DEBUG ansible on_any args localhost TASK:
ovirt.ovirt.engine_setup : Restore engine from file kwargs
2021-08-24 18:34:19,885+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'Restore engine from file', 'ansible_host': 'localhost'}
2021-08-24 18:34:19,886+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f3c88662358> kwargs
2021-08-24 18:34:20,761+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.ovirt.engine_setup : Run engine-setup with
answerfile'}
2021-08-24 18:34:20,762+0200 DEBUG ansible on_any args TASK:
ovirt.ovirt.engine_setup : Run engine-setup with answerfile kwargs
is_conditional:False
2021-08-24 18:34:20,763+0200 DEBUG ansible on_any args localhost TASK:
ovirt.ovirt.engine_setup : Run engine-setup with answerfile kwargs
[root@novirt2 ovirt-hosted-engine-setup]#
Inside the (still local) vm:
[root@novmgr ovirt-engine]# cd /var/log/ovirt-engine/setup/
[root@novmgr setup]# ls -lrt
total 12084
-rw-r--r--. 1 root root 394589 Aug 24 18:25
ovirt-engine-provisiondb-20210824182500-rqqgls.log
-rw-r--r--. 1 root root 395744 Aug 24 18:25
ovirt-engine-provisiondb-20210824182505-tq5b8z.log
-rw-------. 1 root root 14196 Aug 24 18:25
restore-backup-20210824162459.log
-rw-r--r--. 1 root root 11559016 Aug 24 18:35
ovirt-engine-setup-20210824183421-ri4rdq.log
[root@novmgr setup]#
[root@novmgr setup]# tail ovirt-engine-setup-20210824183421-ri4rdq.log
2021-08-24 18:35:21,233+0200 DEBUG
otopi.plugins.otopi.packagers.dnfpackager dnfpackager.verbose:75 DNF
Downloading Ceph packages for x86_64 1.02/1.02KB
2021-08-24 18:35:21,235+0200 INFO otopi.plugins.otopi.packagers.dnfpackager
dnfpackager.info:79 DNF Downloaded Ceph packages for x86_64
2021-08-24 18:35:21,361+0200 ERROR
otopi.plugins.otopi.packagers.dnfpackager dnfpackager.error:84 DNF
Importing GPG key 0xE451E5B5:
Userid : "CentOS Storage SIG (
http://wiki.centos.org/SpecialInterestGroup/Storage) <security(a)centos.org>"
Fingerprint: 7412 9C0B 173B 071A 3775 951A D4A2 E50B E451 E5B5
From : https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage
2021-08-24 18:35:21,362+0200 DEBUG otopi.plugins.otopi.dialog.human
human.format:69 newline sent to logger
2021-08-24 18:35:21,363+0200 DEBUG otopi.plugins.otopi.dialog.human
human.confirm:293 confirm GPG_KEY
2021-08-24 18:35:21,363+0200 DEBUG otopi.plugins.otopi.dialog.human
dialog.__logString:204 DIALOG:SEND
2021-08-24 18:35:21,364+0200 DEBUG otopi.plugins.otopi.dialog.human
dialog.__logString:204 DIALOG:SEND Please confirm Confirm
use of GPG Key userid=CentOS Storage SIG (
http://wiki.centos.org/SpecialInterestGroup/Storage) <security(a)centos.org>
hexkeyid=E451E5B5 [yes/no]:
20 minutes passed
[root@novmgr setup]# date
Tue Aug 24 18:56:16 CEST 2021
[root@novmgr setup]#
I suspect the error related to the gpg key import....
any insights?
Does my strategy to keep 4.4.7 on upgrade from 4.3.10 apply, or anyway the
appliance will upgrade anyway to 4.4.8 during the setup?
thanks,
Gianluca
3 years, 6 months
upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed
by dhanaraj.ramesh@yahoo.com
Since 4.4.8 released I'm trying to upgrade my hosted engine from 4.4.6 to 4.4.8 but thesetup has been failed
engine-setup
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf, /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log
Version: otopi-1.9.4 (otopi-1.9.4-1.el8)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup (late)
[ INFO ] Stage: Environment customization
--== PRODUCT OPTIONS ==--
[ INFO ] ovirt-provider-ovn already installed, skipping.
--== PACKAGES ==--
[ INFO ] Checking for product updates...
[ ERROR ] DNF
Problem 1: cannot install the best candidate for the job
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
Problem 2: problem with installed package ovirt-engine-4.4.6.7-1.el8.noarch
- cannot install the best update candidate for package ovirt-engine-4.4.6.7-1.el8.noarch
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
[ INFO ] DNF Performing DNF transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization':
Problem 1: cannot install the best candidate for the job
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
Problem 2: problem with installed package ovirt-engine-4.4.6.7-1.el8.noarch
- cannot install the best update candidate for package ovirt-engine-4.4.6.7-1.el8.noarch
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20210823001030-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
setup log file :
2021-08-23 00:10:30,642-0700 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Environment customization':
Problem 1: cannot install the best candidate for the job
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
Problem 2: problem with installed package ovirt-engine-4.4.6.7-1.el8.noarch
- cannot install the best update candidate for package ovirt-engine-4.4.6.7-1.el8.noarch
- nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch
- nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch
2021-08-23 00:10:30,643-0700 DEBUG otopi.plugins.otopi.dialog.human human.format:69 newline sent to logger
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:765 ENVIRONMENT DUMP - BEGIN
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/error=bool:'True'
2021-08-23 00:10:30,643-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/exceptionInfo=list:'[(<class 'dnf.exceptions.DepsolveError'>, DepsolveError(), <traceback object at 0x7f4edacce188>)]'
2021-08-23 00:10:30,645-0700 DEBUG otopi.context context.dumpEnvironment:779 ENVIRONMENT DUMP - END
2021-08-23 00:10:30,645-0700 INFO otopi.context context.runSequence:616 Stage: Clean up
2021-08-23 00:10:30,645-0700 DEBUG otopi.context context.runSequence:620 STAGE cleanup
2021-08-23 00:10:30,646-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.otopi.dialog.answer_file.Plugin._generate_answer_file
2021-08-23 00:10:30,647-0700 DEBUG otopi.context context.dumpEnvironment:765 ENVIRONMENT DUMP - BEGIN
2021-08-23 00:10:30,647-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/answerFileContent=str:'# OTOPI answer file, generated by human dialog
[environment:default]
'
2021-08-23 00:10:30,648-0700 DEBUG otopi.context context.dumpEnvironment:779 ENVIRONMENT DUMP - END
2021-08-23 00:10:30,649-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup
2021-08-23 00:10:30,649-0700 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log
2021-08-23 00:10:30,652-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.remote_engine.remote_engine.Plugin._cleanup
2021-08-23 00:10:30,654-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess
2021-08-23 00:10:30,654-0700 DEBUG otopi.context context._executeMethod:136 otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.core.remote_engine.Plugin._cleanupEngineAccess condition False
2021-08-23 00:10:30,656-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_grafana_dwh.pki.apache.Plugin._cleanup
2021-08-23 00:10:30,656-0700 DEBUG otopi.context context._executeMethod:136 otopi.plugins.ovirt_engine_setup.ovirt_engine_grafana_dwh.pki.apache.Plugin._cleanup condition False
2021-08-23 00:10:30,659-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup
2021-08-23 00:10:30,659-0700 DEBUG otopi.context context._executeMethod:136 otopi.plugins.ovirt_engine_setup.websocket_proxy.pki.Plugin._cleanup condition False
2021-08-23 00:10:30,661-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.uninstall.Plugin._cleanup
2021-08-23 00:10:30,664-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup
2021-08-23 00:10:30,664-0700 INFO otopi.plugins.ovirt_engine_common.base.core.answerfile answerfile._cleanup:76 Generating answer file '/var/lib/ovirt-engine/setup/answers/20210823001030-setup.conf'
2021-08-23 00:10:30,666-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.duplicated_constants_check.Plugin._cleanup
2021-08-23 00:10:30,669-0700 DEBUG otopi.context context._executeMethod:127 Stage cleanup METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback
2021-08-23 00:10:30,669-0700 DEBUG otopi.context context._executeMethod:136 otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback condition False
2021-08-23 00:10:30,671-0700 INFO otopi.context context.runSequence:616 Stage: Pre-termination
2021-08-23 00:10:30,671-0700 DEBUG otopi.context context.runSequence:620 STAGE pre-terminate
2021-08-23 00:10:30,672-0700 DEBUG otopi.context context._executeMethod:127 Stage pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate
2021-08-23 00:10:30,672-0700 DEBUG otopi.context context.dumpEnvironment:765 ENVIRONMENT DUMP - BEGIN
2021-08-23 00:10:30,672-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/aborted=bool:'False'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/debug=int:'0'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/error=bool:'True'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/exceptionInfo=list:'[(<class 'dnf.exceptions.DepsolveError'>, DepsolveError(), <traceback object at 0x7f4edacce188>)]'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/executionDirectory=str:'/root'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/log=bool:'True'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup:ovirt-engine-checks'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV BASE/suppressEnvironmentKeys=list:'[]'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/chkconfig=str:'/usr/sbin/chkconfig'
2021-08-23 00:10:30,673-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/chronyc=str:'/usr/bin/chronyc'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/date=str:'/usr/bin/date'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/dig=str:'/usr/bin/dig'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/exportfs=str:'/usr/sbin/exportfs'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/firewall-cmd=str:'/usr/bin/firewall-cmd'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/hwclock=str:'/usr/sbin/hwclock'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/initctl=NoneType:'None'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/ip=str:'/usr/sbin/ip'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/ntpq=NoneType:'None'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/openssl=str:'/usr/bin/openssl'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/ovirt-imageio=str:'/usr/bin/ovirt-imageio'
2021-08-23 00:10:30,674-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/pg_dump=str:'/usr/bin/pg_dump'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/pg_restore=str:'/usr/bin/pg_restore'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/postgresql-setup=str:'/usr/bin/postgresql-setup'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/psql=str:'/usr/bin/psql'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/python3=str:'/usr/bin/python3'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/rc=NoneType:'None'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/rc-update=NoneType:'None'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/reboot=str:'/usr/sbin/reboot'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/restorecon=str:'/usr/sbin/restorecon'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/rpm=str:'/usr/bin/rpm'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/selinuxenabled=str:'/usr/sbin/selinuxenabled'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/semanage=str:'/usr/sbin/semanage'
2021-08-23 00:10:30,675-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/semodule=str:'/usr/sbin/semodule'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/service=str:'/usr/sbin/service'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/ssh-keygen=NoneType:'None'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/sysctl=str:'/usr/sbin/sysctl'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV COMMAND/systemctl=str:'/usr/bin/systemctl'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/configFileAppend=NoneType:'None'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/configFileName=str:'/etc/ovirt-engine-setup.conf'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/failOnPrioOverride=bool:'True'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/ignoreMissingBeforeAfter=bool:'True'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/internalPackageTransaction=Transaction:'[DNF Transaction]'
2021-08-23 00:10:30,676-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logDir=str:'/var/log/ovirt-engine/setup'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFileHandle=TextIOWrapper:'<_io.TextIOWrapper name='/var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log' mode='a' encoding='UTF-8'>'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFileName=str:'/var/log/ovirt-engine/setup/ovirt-engine-setup-20210823001021-vbtu6d.log'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFileNamePrefix=str:'ovirt-engine-setup'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFilter=_MyLoggerFilter:'filter'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFilterKeys=list:'['OVESETUP_DWH_DB/password', 'OVESETUP_DB/password', 'OVESETUP_GRAFANA_DB/password', 'OVESETUP_CONFIG/remoteEngineHostRootPassword', 'OVESETUP_CL_DB/password', 'OVESETUP_DB/password', 'OVESETUP_PKI/storePassword', 'OVESETUP_CONFIG/adminPassword', 'OVESETUP_OVN/ovirtProviderOvnPassword', 'OVESETUP_OVN/ovirtProviderOvnSecret', 'OVESETUP_GRAFANA_CONFIG/adminPassword', 'OVESETUP_GRAFANA_CONFIG/confSecretKey']'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logFilterRe=list:'[re.compile('\n BEGIN\\ PRIVATE\\ KEY\n (?P<filter>.*)\n END\\ PRIVATE\\ KEY\n ', re.DOTALL|re.VERBOSE)]'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/logRemoveAtExit=bool:'False'
2021-08-23 00:10:30,677-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/mainTransaction=Transaction:'[DNF Transaction, DWH Engine database Transaction, CinderLib Database Transaction, Database Transaction, Version Lock Transaction, DWH database Transaction]'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/modifiedFiles=list:'[]'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV CORE/randomizeEvents=bool:'False'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/answerFile=NoneType:'None'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/answerFileContent=str:'# OTOPI answer file, generated by human dialog
[environment:default]
'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/autoAcceptDefault=bool:'False'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/boundary=str:'--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/cliVersion=int:'1'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/customization=bool:'False'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV DIALOG/dialect=str:'human'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV INFO/PACKAGE_NAME=str:'otopi'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV INFO/PACKAGE_VERSION=str:'1.9.4'
2021-08-23 00:10:30,678-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/firewalldAvailable=bool:'True'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/firewalldDisableServices=list:'[]'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/firewalldEnable=bool:'False'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/iptablesEnable=bool:'False'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/iptablesRules=NoneType:'None'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/sshEnable=bool:'False'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/sshKey=NoneType:'None'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV NETWORK/sshUser=str:''
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OSETUP_RPMDISTRO/enableUpgrade=NoneType:'None'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OSETUP_RPMDISTRO/requireRollback=NoneType:'None'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OSETUP_RPMDISTRO/versionLockApply=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine', 'ovirt-engine-backend', 'ovirt-engine-dbscripts', 'ovirt-engine-restapi', 'ovirt-engine-tools', 'ovirt-engine-tools-backup', 'ovirt-engine-webadmin-portal', 'ovirt-engine-ui-extensions', 'ovirt-engine-dwh']'
2021-08-23 00:10:30,679-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine-extension-aaa-jdbc', 'ovirt-engine-wildfly', 'ovirt-engine-wildfly-overlay', 'ovirt-engine', 'ovirt-engine-dwh', 'ovirt-engine-dwh-setup']'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configFileOvirtEngine=str:'/etc/httpd/conf.d/z-ovirt-engine-proxy.conf'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configFileOvirtRoot=str:'/etc/httpd/conf.d/ovirt-engine-root-redirect.conf'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configFileSsl=str:'/etc/httpd/conf.d/ssl.conf'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configureRootRedirection=NoneType:'None'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configureRootRedirectionDefault=bool:'True'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configureSsl=NoneType:'None'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/configured=bool:'True'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/enable=bool:'True'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/httpdService=str:'httpd'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_APACHE/needRestart=bool:'False'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_ASYNC/clearTasks=bool:'True'
2021-08-23 00:10:30,680-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_ASYNC/clearTasksWait=int:'20'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/connection=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/database=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/dumper=str:'pg_custom'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/enable=bool:'False'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/filter=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/host=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/needDBMSUpgrade=bool:'False'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/newDatabase=bool:'True'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/password=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/pgPassFile=NoneType:'None'
2021-08-23 00:10:30,681-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/port=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/restoreJobs=int:'2'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/secured=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/securedHostValidation=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/statement=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_DB/user=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CL_PROVISIONING/postgresProvisioningEnabled=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/addOvirtGlanceRepository=bool:'True'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminPassword=NoneType:'None'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminUser=str:'admin@internal'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminUserAuthzName=str:'internal-authz'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminUserAuthzType=str:'ovirt-engine-extension-aaa-jdbc'
2021-08-23 00:10:30,682-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminUserId=str:'5778068d-4913-4035-a6ed-d18c0123f8cb'
2021-08-23 00:10:30,683-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/adminUserNamespace=str:'*'
2021-08-23 00:10:30,683-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/applicationMode=NoneType:'None'
2021-08-23 00:10:30,683-0700 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_CONFIG/continueSetupOnHEVM=NoneType:'None'
3 years, 6 months
Fencing ilo4
by branimirklarich@gmail.com
Hi
This thread points to the same thing but there's no solution. https://lists.ovirt.org/archives/list/users@ovirt.org/message/CGHM7K2DJH7...
I am seting up a new kvm environment. Oracle linux virtualization manager is up, kvm host prepared and I am trying to set up fencing with ilo4.
When adding via gui I get
ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] (default task-12) [62fc5810-5d9a-4baf-b1a7-983da8d039fc] Can not run fence action on host 'kvm1', no suitable proxy host was found.
I left options blank but tried privlvl=operator,lanplus=on and nothing.
Test via cli works fine.
[root@kvm1 lib]# fence_ilo4 -a 192.168.9.98 -l Administrator -p ***-v -o status
2021-08-27 14:18:56,815 INFO: Executing: /usr/bin/ipmitool -I lanplus -H 192.168.9.98 -p 623 -U Administrator -P [set] -L ADMINISTRATOR chassis power status
2021-08-27 14:18:56,982 DEBUG: 0 Chassis Power is on
Status: ON
Error message because of that.
Health check on Host kvm1 indicates that future attempts to Stop this host using Power-Management are expected to fail.
Can anyone help?
3 years, 6 months
Add nodes to single node gluster hyperconverged
by Mathieu Valois
Hi everyone,
is it possible to add nodes to a single node gluster hyperconverged
setup? I have 3 nodes, one has been reinstalled with single node HE and
VMs migrated on it. How can I add the two other nodes to this setup?
Thank you,
M.
3 years, 6 months
Failed to Change Disk in Windows VM Setup
by Nur Imam Febrianto
Hi All,
I’m having an issue, where I cant change Disk in Windows Installation Setup. Don’t know what the cause is, but on 4.4.7 and before it working as it supposed to be. Because of this issue, I can’t load virtio driver disk to install Windows using virtio. Is anybody got this strange issue like me ?
Thanks.
Regards,
Nur Imam Febrianto
3 years, 6 months
oVirt and the future
by thilburn@generalpacific.com
Hi all,
I'm looking for some information about the future of oVirt. With CentOS going away have they talked about what they will be doing or moving to? I'd like to see Ubuntu support.
3 years, 6 months
Importing VM from Xen Server 7.1
by francesco@shellrent.com
Hi all,
resuming the "dead" thread "Importing VM from Xen Server 6.5" (https://lists.ovirt.org/pipermail/users/2016-August/075213.html) I'm trying to import via GUI a VM from Xen Server 7.1 in a host Centos 8.4, oVirt 4.4.
Created the SSH key for vdsm user, added the IP in the host target firewall, an ssh connection works, installed netcat on the target host, but like the original thread, when i execute the "load" command for getting the VMS list, I get the following error in the host and in the engine:
Aug 27 12:04:43 centos8-4.host vdsm[78126]: ERROR error connecting to hypervisor#012Traceback (most recent call last):#012 File "/usr/lib/python3.6/site-packages/vdsm/v2v.py", line 193, in get_external_vm_names#012 passwd=password)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", line 107, in open_connection#012 return function.retry(libvirtOpen, timeout=10, sleep=0.2)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 58, in retry#012 return func()#012 File "/usr/lib64/python3.6/site-packages/libvirt.py", line 148, in openAuth#012 raise libvirtError('virConnectOpenAuth() failed')#012libvirt.libvirtError: End of file while reading data: Ncat: No such file or directory.: Input/output error
Trying the command virsh -c xen+ssh://root@xen7.target the same error:
error: failed to connect to the hypervisor
error: End of file while reading data: Ncat: No such file or directory.: Input/output error
Any ideas?
Thank you for your time and help.
Francesco
3 years, 6 months
bond (802.3ad) interface
by Jorge Visentini
Hey all!
I'm trying to set up a bond (802.3ad) and then add the host to the cluster,
but it crashes minutes after being UP.
I have other hosts with bond and they work perfectly, but this one has this
problem.
I noticed that when I create the bond, the MTU doesn't appear on the bond
interface... but that was the only difference.
I've reviewed the configuration on the switches several times and I don't
find the problem.
Does anyone have a tip?
*This bond works:*
[image: image.png]
*This bond does not work:*
[image: image.png]
--
Att,
Jorge Visentini
+55 55 98432-9868
3 years, 6 months