You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ lxc shell my-test
root@my-test:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
38: eth0@if39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:16:3e:f4:b8:4f brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.218.21.53/24 metric 100 brd 10.218.21.255 scope global dynamic eth0
valid_lft 2032sec preferred_lft 2032sec
inet6 fe80::216:3eff:fef4:b84f/64 scope link
valid_lft forever preferred_lft forever
root@my-test:~# cat /etc/netplan/*
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eth0:
dhcp4: true
~ ❯ lxc list
+---------------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+---------------+---------+------+------+-----------+-----------+
| my-test | RUNNING | | | CONTAINER | 0 |
+---------------+---------+------+------+-----------+-----------+
~ ❯ lxc info my-test
Name: my-test
Status: RUNNING
Type: container
Architecture: x86_64
PID: 325706
Created: 2024/05/22 17:59 BST
Last Used: 2024/05/22 17:59 BST
Resources:
Processes: 66
CPU usage:
CPU usage (in seconds): 2688
Memory usage:
Memory (current): 484.62MiB
Network usage:
eth0:
Type: broadcast
State: UP
Host interface: vetha8a72546
MAC address: 00:16:3e:f4:b8:4f
MTU: 1500
Bytes received: 31.90MB
Bytes sent: 246.69kB
Packets received: 4394
Packets sent: 3395
IP addresses:
inet6: fe80::216:3eff:fef4:b84f/64 (link)
lo:
Type: loopback
State: UP
MTU: 65536
Bytes received: 5.80kB
Bytes sent: 5.80kB
Packets received: 52
Packets sent: 52
IP addresses:
inet: 127.0.0.1/8 (local)
inet6: ::1/128 (local)
The text was updated successfully, but these errors were encountered:
@marcoppenheimer since cloud-init does not complete could you please run through these steps and if that doesn't help you resolve your issue please share the output of those commands in this bug report?
If that doesn't help you, or if you want an extra set of eyes on the output of those commands or cloud-init's logs, please add them to this bug and ping me in a comment.
Required information
Issue description
I am fairly certain this is a cloud-init, but confirming.
I'm not getting any container IPs for my machines, any idea why I'm not getting container IPs.
Mattermost thread - https://chat.canonical.com/canonical/pl/9rfjs1w5piba3q1okw7y8hzeso
Steps to reproduce
Information to attach
The text was updated successfully, but these errors were encountered: