-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Keep newlines when reading LXC container config file #32219
Conversation
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.
Ah!
Can we get this merged for 2.4.2? I should point out again that this issue prevents LXC containers from starting correctly - the container processes become zombies and one needs to run |
@cloudnull ping |
shipit |
Merged to devel and cherry-picked to stable-2.4 for the 2.4.2 release |
SUMMARY
This fixes a regression in #30572 where newlines are stripped on the creation of LXC containers when the
container_config
parameter is defined, preventing LXC containers from starting.ISSUE TYPE
COMPONENT NAME
modules/cloud/lxc/lxc_container.py
ANSIBLE VERSION
ADDITIONAL INFORMATION
See this comment: lae/ansible-role-travis-lxc#10 (comment)