[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Invalid Release file" when setup autopkgtest env with autopkgtest-build-lxc



El 12/04/22 a las 20:42, Paul Gevers escribió:
> On 12-04-2022 17:40, Santiago Ruano Rincón wrote:
> > > > > Could you run rather `lxc-ls -f` (to include IP addresses information)
> > > > 
> > > > root@unmatched:~# lxc-ls -f
> > > > NAME                         STATE   AUTOSTART GROUPS IPV4 IPV6
> > > > UNPRIVILEGED
> > > > autopkgtest-unstable-riscv64 STOPPED 0         -      -    -    false
> > 
> > The container wasn't running.
> 
> Hmm, rather stupid of me.
> 

Please, don't say that!

> root@unmatched:~# lxc-start -n autopkgtest-unstable-riscv64
> root@unmatched:~# lxc-ls -f
> NAME                         STATE   AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
> autopkgtest-unstable-riscv64 RUNNING 0         -      -    -    false
> 
> > > > root@unmatched:~# grep net /var/lib/lxc/autopkgtest-unstable-riscv64/config
> > > > lxc.net.0.type = veth
> > > > lxc.net.0.link = lxcbr0
> > > > lxc.net.0.flags = up
> > > > lxc.net.0.hwaddr = 00:16:3e:00:00:00

This is the same mac address than the unmatched's lxcbr0. Try changing
it.

...
> > * Just to be sure, could you verify the lxc bridge in the host machine is
> > called lxcbr0?
> 
> root@unmatched:~# ifconfig lxcbr0
> lxcbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet 10.0.3.1  netmask 255.255.255.0  broadcast 10.0.3.255
>         inet6 fe80::216:3eff:fe00:0  prefixlen 64  scopeid 0x20<link>
>         ether 00:16:3e:00:00:00  txqueuelen 1000  (Ethernet)
>         RX packets 16  bytes 3828 (3.7 KiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 58  bytes 6160 (6.0 KiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
...

HTH,

 -- Santiago

Attachment: signature.asc
Description: PGP signature


Reply to: