Page MenuHomeVyOS Platform

transcript.txt

Authored By
kroy
Aug 25 2021, 11:17 PM
Size
4 KB
Referenced Files
None
Subscribers
None

transcript.txt

admin@edge# show container
Configuration under specified path is empty
[edit]
admin@edge# set container network dnsnet prefix 10.0.72.0/24
[edit]
admin@edge# set container name dns02 image fake:repo
[edit]
admin@edge# set container name dns02 network dnsnet address 10.0.72.253
[edit]
admin@edge# commit
[ container ]
Resolving "fake" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/fake:repo...
denied: requested access to the resource is denied
Error: Error initializing source docker://fake:repo: Error reading manifest repo in docker.io/library/fake: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
32000
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report Time: 2021-08-25 23:10:24
Image Version: VyOS 1.4-kroy-202108252154
Release Train: sagitta
Built by: kroy
Built on: Wed 25 Aug 2021 21:54 UTC
Build UUID: 584837a8-116a-447a-b6bb-c9869d90d1ef
Build Commit ID: 768b900f9296ce
Architecture: x86_64
Boot via: installed image
System type: bare metal
Hardware vendor: Micro-Star International Co., Ltd.
Hardware model: MS-7B79
Hardware S/N: To be filled by O.E.M.
Hardware UUID: 7b297d94-c648-7a1d-acb6-2cf05d23dcbc
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/containers.py", line 300, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/containers.py", line 291, in apply
_cmd(f'{container_base_cmd} --net {network} {ipparam} {image}')
File "/usr/libexec/vyos/conf_mode/containers.py", line 45, in _cmd
return cmd(command)
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
raise OSError(code, feedback)
OSError: [Errno 125] failed to run command: podman run --detach --interactive --tty --replace --memory 512m --memory-swap 0 --restart on-failure --name dns02 --net dnsnet --ip 10.0.72.253 fake:repo
returned:
exit code: 125
noteworthy:
cmd 'podman run --detach --interactive --tty --replace --memory 512m --memory-swap 0 --restart on-failure --name dns02 --net dnsnet --ip 10.0.72.253 fake:repo'
returned (out):
returned (err):
Resolving "fake" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/fake:repo...
denied: requested access to the resource is denied
Error: Error initializing source docker://fake:repo: Error reading manifest repo in docker.io/library/fake: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
[[container]] failed
Commit failed
[edit]
admin@edge# exit discard
exit
admin@edge:~$ conf
[edit]
admin@edge# show container
Configuration under specified path is empty
[edit]
admin@edge# ls -al /etc/cni/net.d/dnsnet.conflist
-rw-r--r-- 1 root root 973 Aug 25 23:10 /etc/cni/net.d/dnsnet.conflist
[edit]
admin@edge# sudo podman network ls
NAME VERSION PLUGINS
dnsnet 0.4.0 bridge,portmap,firewall,tuning
[edit]
[edit]
admin@edge# set container network dnsnet prefix 100.0.72.0/24
[edit]
admin@edge# commit
[edit]
admin@edge# cat /etc/cni/net.d/dnsnet.conflist | grep "72.0"
"subnet": "10.0.72.0/24",
[edit]
admin@edge# save
Saving configuration to '/config/config.boot'...
Done
[edit]
admin@edge# set container network dnsnet prefix 100.0.72.0/24[edit]
admin@edge# commit
[edit]
admin@edge# cat /etc/cni/net.d/dnsnet.conflist | grep "72.0"
"subnet": "10.0.72.0/24",
[edit]
admin@edge# save
Saving configuration to '/config/config.boot'...
Done
[edit]
admin@edge# show container
network dnsnet {
prefix 100.0.72.0/24
}
[edit]

File Metadata

Mime Type
text/plain
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
98/09/620a758ed93b48e729d956eeb35e
Default Alt Text
transcript.txt (4 KB)

Event Timeline