apache / apache/cloudstack

The lxc instance cannot connect

Open
#10,011 5 comments 0 reactions 0 assignees View on GitHub
archive
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~

~~~

##### CLOUDSTACK VERSION

~~~
4.18
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

ubuntu 22.04.5
##### SUMMARY

I have created an lxc instance【OS:centos 7】 and it appears to have started normally from the system. I used virsh -c lxc:///list on the host to check that lxc is also running. However, when I used virsh -c lxc:///console i-2-3-VM to enter the container instance, I was unable to use it properly. The prompt message is: Failed to create symlink/sys/fs/cgroup/net_cls: Operation not allowed; Did I not set it up properly somewhere;

2、
I logged into the virtual router and pinged the lxc instance's IP address in the virtual router, but it still doesn't work
1732872762143

1732873018388

1732872892384

##### STEPS TO REPRODUCE

~~~

~~~

##### EXPECTED RESULTS

~~~

~~~

##### ACTUAL RESULTS

~~~

~~~

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with CloudStack 4.18 on Ubuntu 22.04.5, using an LXC instance running CentOS 7 and the reported virsh console and virtual-router checks. Start with the reported cgroup symlink error and failed connectivity; done means the cause, required configuration, and verified connectivity or a confirmed product defect are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cloud, infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.