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

TypeError: 'str' object is not callable #213

Closed
michaelsstuff opened this issue Sep 5, 2017 · 1 comment · Fixed by #226
Closed

TypeError: 'str' object is not callable #213

michaelsstuff opened this issue Sep 5, 2017 · 1 comment · Fixed by #226

Comments

@michaelsstuff
Copy link

Hi,

I tested with a rhel 6.9 host, which is deployed and registered via satellite 5, and tried to move it to satellite 6 with the current version of this script.
It does register it against the new satellite, remove it from the old, also installes the certificate, but then breaks with

`[RUNNING], [2017-09-05 14:04:43], [/sbin/chkconfig rhsmcertd on]

[SUCCESS], [2017-09-05 14:04:43], [/sbin/chkconfig rhsmcertd on], completed successfully.

Traceback (most recent call last):
File "bootstrap.py", line 1052, in
migrate_systems(options.org, options.activationkey)
File "bootstrap.py", line 299, in migrate_systems
enable_rhsmcertd()
File "bootstrap.py", line 268, in enable_rhsmcertd
exec_service("rhsmcertd", "restart")
File "bootstrap.py", line 803, in exec_service
exec_failexit("/sbin/service %s %s %" (service, command))
TypeError: 'str' object is not callable
`
It does not yet have installed the katello-agent or the puppet agent.
May sound a bit fuzzy, sorry. If I can create any logs or debug info let me know, as I can reproduce this issue.

Best regards
Michael

sideangleside added a commit to sideangleside/katello-client-bootstrap that referenced this issue Sep 5, 2017
@michaelsstuff
Copy link
Author

Tested it with the fix, works now.
Thank you very much!

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 a pull request may close this issue.

1 participant