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? Jakub

----- Original Message -----
From: "Jakub Niedermertl" <jniederm@redhat.com> To: devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "Jakub Niedermertl" <jniederm@redhat.com> To: devel@ovirt.org Sent: Monday, April 20, 2015 2: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
Seems like a typo, try [1] please. [1] https://gerrit.ovirt.org/40036 Thanks, -- Didi

Thanks, it helped. ----- Original Message -----
From: "Yedidyah Bar David" <didi@redhat.com> To: "Jakub Niedermertl" <jniederm@redhat.com> Cc: devel@ovirt.org, "Alon Bar-Lev" <alonbl@redhat.com> Sent: Monday, April 20, 2015 1:31:35 PM Subject: Re: [ovirt-devel] pki-pkcs12-extract.sh failed to execute: Error opening output file: Permission denied
----- Original Message -----
From: "Jakub Niedermertl" <jniederm@redhat.com> To: devel@ovirt.org Sent: Monday, April 20, 2015 2: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
Seems like a typo, try [1] please.
[1] https://gerrit.ovirt.org/40036
Thanks, -- Didi
participants (3)
-
Jakub Niedermertl
-
Martin Betak
-
Yedidyah Bar David