[ovirt-users] engine-setup failure

Alon Bar-Lev alonbl at redhat.com
Sat Dec 13 05:56:10 UTC 2014



----- Original Message -----
> From: "Blaster" <blaster at 556nato.com>
> To: "Users at ovirt.org List" <users at ovirt.org>
> Sent: Saturday, December 13, 2014 6:03:00 AM
> Subject: Re: [ovirt-users] engine-setup failure
> 
> Looking back, I think I see what happened here.  I was logged in via SSH to
> the machine when I initially ran engine-setup.  After the Q&A when it was
> doing the work, I was disconnected, probably when it tried to reconfigure
> the network.  This crashed out the install.  Now things seem to be a mess
> and I can’t recover from it.  engine-cleanup only wants to run AFTER a
> completed install…HUH?
> 
> Any way to clean this mess up or do I need to start over and reinstall
> Fedora?

try to remove /etc/pki/ovirt-engine/ca.pem and rerun setup.

> 
> 
> On Dec 12, 2014, at 9:05 PM, Blaster <blaster at 556nato.com> wrote:
> 
> > Trying to install a fresh AIO 3.5 setup on Fedora 20.  It's failing trying
> > to generate the cert perhaps?
> > 
> > 2014-12-12 20:45:53 DEBUG otopi.context context._executeMethod:138 Stage
> > misc METHOD
> > otopi.plugins.ovirt_engine_setup.ovirt_engine.config.ca.Plugin._misc
> > 2014-12-12 20:45:53 DEBUG otopi.transaction transaction._prepare:77
> > preparing 'File transaction for
> > '/etc/ovirt-engine/engine.conf.d/10-setup-pki.conf''
> > 2014-12-12 20:45:53 DEBUG otopi.filetransaction filetransaction.prepare:196
> > file '/etc/ovirt-engine/engine.conf.d/10-setup-pki.conf' exists
> > 2014-12-12 20:45:53 DEBUG otopi.filetransaction filetransaction.prepare:200
> > file '/etc/ovirt-engine/engine.conf.d/10-setup-pki.conf' already has
> > content
> > 2014-12-12 20:45:53 DEBUG otopi.context context.dumpEnvironment:490
> > ENVIRONMENT DUMP - BEGIN
> > 2014-12-12 20:45:53 DEBUG otopi.context context.dumpEnvironment:500 ENV
> > OVESETUP_CORE_MODIFIED_FILE_GROUP/ca_config=list:'[[]]'
> > 2014-12-12 20:45:53 DEBUG otopi.context context.dumpEnvironment:500 ENV
> > OVESETUP_CORE_MODIFIED_LINES_GROUP/ca_config=dict:'{}'
> > 2014-12-12 20:45:53 DEBUG otopi.context context.dumpEnvironment:504
> > ENVIRONMENT DUMP - END
> > 2014-12-12 20:45:53 DEBUG otopi.context context._executeMethod:138 Stage
> > misc METHOD
> > otopi.plugins.ovirt_engine_setup.ovirt_engine.config.options.Plugin._miscEncrypted
> > 2014-12-12 20:45:53 DEBUG otopi.context context._executeMethod:152 method
> > exception
> > Traceback (most recent call last):
> >  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
> >  _executeMethod
> >    method['method']()
> >  File
> >  "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/config/options.py",
> >  line 241, in _miscEncrypted
> >    'encrypt': True,
> >  File
> >  "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine/vdcoption.py",
> >  line 107, in updateVdcOptions
> >    format=X509.FORMAT_PEM,
> >  File "/usr/lib64/python2.7/site-packages/M2Crypto/X509.py", line 611, in
> >  load_cert
> >    return load_cert_bio(bio)
> >  File "/usr/lib64/python2.7/site-packages/M2Crypto/X509.py", line 639, in
> >  load_cert_bio
> >    raise X509Error(Err.get_error())
> > X509Error: 140047428044608:error:0906D06C:PEM routines:PEM_read_bio:no
> > start line:pem_lib.c:703:Expecting: CERTIFICATE
> > 
> > 2014-12-12 20:45:53 ERROR otopi.context context._executeMethod:161 Failed
> > to execute stage 'Misc configuration': 140047428044608:error:0906D06C:PEM
> > routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: CERTIFICATE
> > 
> > 
> > It even does it if I tell it I will create the cert manually.
> > 
> > Still trying to figure out how to get around this.  Any thoughts?
> > 
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list