[ovirt-users] ovirt-engine-rename after restore

Sergei Genchev sgenchev at gmail.com
Fri Jan 27 19:02:52 UTC 2017


 Hi,
I am trying to upgrade ovirt from 3.6 to 4.0.
I have backed up configuration on current CenTOS6 oVirt 3.6 manager
with engine-backup, successfully restored  it to a new CenTOS7 running
4.0, and trying to run ovirt-engine-rename. It always fails, and I am
not sure where to look:

 /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename
[ INFO  ] Stage: Initializing

          Welcome to the ovirt-engine-rename utility

          More details about the operation and possible implications
          of running this utility can be found here:
          http://www.ovirt.org/Changing_Engine_Hostname

[ 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-rename-20170127124705-a1y8is.log
          Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization
          New fully qualified server name:  []: newname.domain.com

          --== PRODUCT OPTIONS ==--

[ INFO  ] Stage: Setup validation
[ INFO  ] Engine machine hosting Storage Domains
          The following Storage Domains use the engine machine as an NFS server:

          ISO_DOMAIN

          They will be modified to use the new name.

[ INFO  ] The following files will be updated:

          /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf
          /etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf
          /etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf
          /etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf
          /etc/ovirt-engine/ovirt-vmconsole-proxy-helper.conf.d/10-setup.conf
          /etc/pki/ovirt-engine/cert.conf
          /etc/pki/ovirt-engine/cert.template
          /etc/pki/ovirt-engine/certs/apache.cer
          /etc/pki/ovirt-engine/keys/apache.key.nopass
          /etc/pki/ovirt-engine/keys/apache.p12

[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType'
object is not iterable
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-rename-20170127124705-a1y8is.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20170127124714-rename.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of rename failed

The only error log file has is not very helpful:
2017-01-27 12:47:14 ERROR
otopi.plugins.ovirt_engine_common.base.core.misc misc._terminate:148
Execution of rename failed

  After that, engine actually gets renamed, but certificates are not
generated for a new name, and this is, I think, is a reason why new
server cannot communicate with vdsm on ovirt nodes.

 I do use custom Apache certificates. CA files are restored fine from backup.

 Where can I start looking next?

Thank you!


More information about the Users mailing list