[ovirt-devel] pki-pkcs12-extract.sh failed to execute: Error opening output file: Permission denied

Martin Betak mbetak at redhat.com
Mon Apr 20 11:31:07 UTC 2015





----- Original Message -----
> From: "Jakub Niedermertl" <jniederm at redhat.com>
> To: devel at ovirt.org
> Sent: Monday, April 20, 2015 1:03:51 PM
> Subject: [ovirt-devel] pki-pkcs12-extract.sh failed to execute: Error opening output file: Permission denied
> 
> Hi all,
> 
> I can't run engine-setup script, following error is reported:
> 
>     [ INFO  ] Creating/refreshing Engine database schema
>     [ INFO  ] Upgrading CA
>     [ ERROR ] Failed to execute stage 'Misc configuration': Command
>     '/home/jakub/target/share/ovirt-engine/bin/pki-pkcs12-extract.sh' failed
>     to execute
> 
> and the log says:
> 
> 2015-04-20 12:50:25 DEBUG
> otopi.plugins.ovirt_**FILTERED**_setup.ovirt_**FILTERED**.pki.ssh
> plugin.execute:861 execute-output:
> ('/home/jakub/target/share/ovirt-**FILTERED**/bin/pki-pkcs12-extract.sh',
> '--name=**FILTERED**', '--passin=**FILTERED**', '--cert=-') stdout:
> 
> 
> 2015-04-20 12:50:25 DEBUG
> otopi.plugins.ovirt_**FILTERED**_setup.ovirt_**FILTERED**.pki.ssh
> plugin.execute:866 execute-output:
> ('/home/jakub/target/share/ovirt-**FILTERED**/bin/pki-pkcs12-extract.sh',
> '--name=**FILTERED**', '--passin=**FILTERED**', '--cert=-') stderr:
> Error opening output file -
> -: Permission denied
> Cannot create cert
> 
> 2015-04-20 12:50:25 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
>   "/home/jakub/target/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/pki/ssh.py",
>   line 126, in _misc
>     ] = self._getSSHPublicKey(self._getEnginePublicKey())
>   File
>   "/home/jakub/target/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/pki/ssh.py",
>   line 73, in _getEnginePublicKey
>     '--cert=-',
>   File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 871, in
>   execute
>     command=args[0],
> RuntimeError: Command
> '/home/jakub/target/share/ovirt-**FILTERED**/bin/pki-pkcs12-extract.sh'
> failed to execute
> 2015-04-20 12:50:25 ERROR otopi.context context._executeMethod:161 Failed to
> execute stage 'Misc configuration': Command
> '/home/jakub/target/share/ovirt-**FILTERED**/bin/pki-pkcs12-extract.sh'
> failed to execute
> 
> Anyone experiencing similar issue?

Yes, I have exactly the same issue.

Martin

> 
> Jakub
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 



More information about the Devel mailing list