Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to run katello-ssl-tool concurrently for different hosts #46

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

pablomh
Copy link
Contributor

@pablomh pablomh commented Feb 21, 2024

The use of a postrun script file in a "shared" location made it impossible before this fix.

Traceback (most recent call last):
File "/bin/katello-ssl-tool", line 11, in <module>
load_entry_point('Katello-Certs-Tools==2.9.0', 'console_scripts', 'katello-ssl-tool')()
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 955, in main
_main()
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 924, in _main
genServerRpm(DEFS, options.verbose)
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 828, in genServerRpm
os.unlink(postun_scriptlet)
FileNotFoundError: [Errno 2] No such file or directory: '/root/ssl-build/postun.scriptlet'

@evgeni
Copy link
Member

evgeni commented Feb 22, 2024

CI fixes in #47

… hosts

The use of a postrun script file in a "shared" location made it impossible before this fix.

```
Traceback (most recent call last):
File "/bin/katello-ssl-tool", line 11, in <module>
load_entry_point('Katello-Certs-Tools==2.9.0', 'console_scripts', 'katello-ssl-tool')()
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 955, in main
_main()
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 924, in _main
genServerRpm(DEFS, options.verbose)
File "/usr/lib/python3.6/site-packages/katello_certs_tools/katello_ssl_tool.py", line 828, in genServerRpm
os.unlink(postun_scriptlet)
FileNotFoundError: [Errno 2] No such file or directory: '/root/ssl-build/postun.scriptlet'
```
@ehelms ehelms merged commit 2210541 into Katello:master Feb 22, 2024
5 checks passed
@pablomh pablomh deleted the pablomh-concurrency branch April 25, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants