-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Easy Install failed in LXC container - swappiness read only #811
Comments
How do I use the workaround ? I did not find the playbook that is at fault here |
EDIT: Found the solution! So, I was trying to find out how to by-pass that swappiness thing, I found out that the install.py has a Same error here on a LXC with Proxmox. I've used master also. The container OS is Ubuntu 18.04.3 LTS. I've tried with both python 2.7.15 and python 3.6.8. Proxmox packages versions are as follow:
|
Thank you, this solved my problem! Would definitely recommend adding this to the readme |
Issue: Bug report
When using Easy Install in a LXC container it fails due to impossibility to write into /proc/sys/vm/swappiness:
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "echo 1 | tee /proc/sys/vm/swappiness", "delta": "0:00:00.002343", "end": "2019-06-10 14:09:14.273262", "msg": "non-zero return code", "rc": 1, "start": "2019-06-10 14:09:14.270919", "stderr": "tee: /proc/sys/vm/swappiness: Read-only file system", "stderr_lines": ["tee: /proc/sys/vm/swappiness: Read-only file system"], "stdout": "1", "stdout_lines": ["1"]}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The installation succeeds.
Desktop
Version Information
Possible Solution
If writing into /proc/sys/vm/swappiness fails continue with only warning instead of interrupting with error.
The text was updated successfully, but these errors were encountered: