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

Jakub Niedermertl jniederm at redhat.com
Mon Apr 20 11:03:51 UTC 2015


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?

Jakub



More information about the Devel mailing list