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

Fail to install PVE LXC container environment #381

Closed
crazyweeds opened this issue Mar 27, 2024 · 2 comments
Closed

Fail to install PVE LXC container environment #381

crazyweeds opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels
ENHANCEMENT New feature or request
Milestone

Comments

@crazyweeds
Copy link

TASK [node : enable kernel module] ***********************************************************************************************************************************************************************************************************************
ok: [192.168.200.21] => (item=softdog)
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'
failed: [192.168.200.21] (item=br_netfilter) => {"ansible_loop_var": "item", "changed": false, "item": "br_netfilter", "msg": "[Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'", "name": "br_netfilter", "params": "", "state": "present"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'
failed: [192.168.200.21] (item=ip_vs) => {"ansible_loop_var": "item", "changed": false, "item": "ip_vs", "msg": "[Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'", "name": "ip_vs", "params": "", "state": "present"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'
failed: [192.168.200.21] (item=ip_vs_rr) => {"ansible_loop_var": "item", "changed": false, "item": "ip_vs_rr", "msg": "[Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'", "name": "ip_vs_rr", "params": "", "state": "present"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'
failed: [192.168.200.21] (item=ip_vs_wrr) => {"ansible_loop_var": "item", "changed": false, "item": "ip_vs_wrr", "msg": "[Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'", "name": "ip_vs_wrr", "params": "", "state": "present"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'
failed: [192.168.200.21] (item=ip_vs_sh) => {"ansible_loop_var": "item", "changed": false, "item": "ip_vs_sh", "msg": "[Errno 2] No such file or directory: '/lib/modules/6.2.9-1-pve/modules.builtin'", "name": "ip_vs_sh", "params": "", "state": "present"}

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************************
192.168.200.21 : ok=27 changed=12 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0

root@Pigsty:~/pigsty#

@Vonng Vonng self-assigned this Apr 6, 2024
@Vonng Vonng added the ENHANCEMENT New feature or request label Apr 6, 2024
@Vonng Vonng added this to the v2.7 milestone Apr 6, 2024
@Vonng
Copy link
Owner

Vonng commented Apr 6, 2024

Running in Container is not officially supported yet.
While I'm working on it.

There are certian limitations when running in docker containers:

node_dns_method: none
node_ntp_enabled: false
dns_enabled: falses

Will adding a new parameters to bypass the /etc/hosts managed by docker issue, too.

node_add_hosts: false

@Vonng Vonng changed the title PVE LXC 容器环境安装失败 Fail to install PVE LXC container environment Apr 6, 2024
@Vonng
Copy link
Owner

Vonng commented May 16, 2024

now we have a [docker.yml] for running inside docker VM: https://github.com/Vonng/pigsty/blob/master/files/pigsty/docker.yml

@Vonng Vonng closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENHANCEMENT New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants