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

Do not use hard coded Python 2 #53

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

elfosardo
Copy link
Member

Fix #19

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 &
Copy link
Member

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 :\

Copy link
Member Author

@elfosardo elfosardo Jun 12, 2019

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

@dtantsur dtantsur added the CI label Jun 12, 2019
@derekhiggins
Copy link
Member

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/733/

@dtantsur
Copy link
Member

@elfosardo could you rename your fork repo to ironic-image? The CI is pretty picky about names.

@elfosardo
Copy link
Member Author

@dtantsur sure thing! done :)

@dtantsur
Copy link
Member

@dtantsur dtantsur merged commit acc93c8 into metal3-io:master Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container is hard coded to use python2.
5 participants