Closed karlnewell closed 1 year ago
Hi @karlnewell I think we saw that and it's likely due to changed license initin crpd v22+
Can you check this thread for a workaround? https://discord.com/channels/860500297297821756/865572929601142845/1045670601622294592
This is from our discord https://containerlab.dev/community/#discord
Thanks, we'll use that workaround for now. When I have some time, I'll see if I can troubleshoot the cRPD init to figure out why it's deleting the contents of the license file.
For reference. It looks like something is also copying the file to /tmp
so adding an exec
to a cRPD node
or kind
loads the license file on startup.
topology:
kinds:
juniper_crpd:
license: license.txt
exec:
- cli request system license add tmp/junos_sfnt_tmp.lic
Can we close this and track the implementation in #1350?
yes, we can do that. @karlnewell if you are interested in the progress you can subscribe to updates for #1350. Good that workaround is "working", but eventually we will make it right.
We're using the
license
property for Juniper cRPD Kind but the copied file is empty. Topology file and debug output included below.I don't know Go well enough to attempt to troubleshoot. Various naming permutations on the source file have no effect. Moving the
license
property directly under thenode
definition has no effect.Thank you for taking a look and for a great project!
Source and destination license files. And debug snippet showing file is copied
Topology
Debug deploy