-
Notifications
You must be signed in to change notification settings - Fork 113
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
Do not use hard coded Python 2 #53
Conversation
runironic.sh
Outdated
/usr/bin/python2 /usr/bin/ironic-conductor --log-file /shared/log/ironic/ironic-conductor.log & | ||
/usr/bin/python2 /usr/bin/ironic-api --log-file /shared/log/ironic/ironic-api.log & | ||
/usr/bin/python /usr/bin/ironic-conductor --log-file /shared/log/ironic/ironic-conductor.log & | ||
/usr/bin/python /usr/bin/ironic-api --log-file /shared/log/ironic/ironic-api.log & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so we shouldn't need to directly invoke with python on the path as PBR generates the script it includes a "#!/usr/bin/python". Ultimately we should want to shift to python3, but I'm guessing this is one of the areas current support in centos is problematic to build the images :\
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually did a test with Python 3.x but it was not very successful :/
and yes, you're right, I should just remove the python binary invocation
6dfb40b
to
e35e4c5
Compare
Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/733/ |
@elfosardo could you rename your fork repo to ironic-image? The CI is pretty picky about names. |
@dtantsur sure thing! done :) |
Fix #19