-
Dear community, on Ubuntu 24.04.2 LTS, I am trying to create vPTX box by using command
Script starts well, but then:
My CPU AMD Ryzen 7 7735HS supports svm not vmx. The error might come from the mandatory feature requested in the generated template.xml:
Question is:
WR |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
Hello @jopicap , according to juniper documentation, vJunosEVO seems to require the vmx extension ( Could you try to boot a vJunosEVO instance directly with kvm/libvirt, without specifiyng the vmx feature, and see if it works? |
Beta Was this translation helpful? Give feedback.
-
Hi Joe, I would suggest creating a PR that modifies https://github.com/ipspace/netlab/blob/dev/netsim/install/libvirt/vptx.xml.j2 based on detecting the underlying CPU ( e.g. |
Beta Was this translation helpful? Give feedback.
-
It looks like all Juniper products expect to run on Intel CPU (we had a similar problem a long time ago with vSRX, see #10). Looking at the code, we render the box-building XML template as a Jinja2 template, so it should be relatively easy to find out the CPU type (see #10 for details) and adjust the XML accordingly. The same thing would have to be done for the Vagrant template in I don't have an AMD server ready (yet) to work on this, but of course I'd merge a reasonable PR. |
Beta Was this translation helpful? Give feedback.
-
It's a bit rough and untested (as I don't have vPtx images and never worked with them), but I think something along these lines might do the trick |
Beta Was this translation helpful? Give feedback.
-
I happened to have a Minisforum UM890 (with Ryzen CPUs) waiting to be installed, so I got it up and running today (don't get me started on the beauties of systemd/netplan/resolved... 🤦♂️😤) and was able to get vPTX box built and a lab successfully started on the AMD CPU. The fixes are in the dev branch, hope they'll work for you. Just in case: this is how you can run netlab straight from the local copy of the Git repo: https://netlab.tools/install/clone/ Also: @jbemmel thanks a million for the research and the link to Juniper-suggested hack. |
Beta Was this translation helpful? Give feedback.
-
Back to work... To test if something is wrong with my host, I tried same process with vEOS and arubacx which worked completely fine for both. Both vagrant boxes are now available. Side note: My lab host is Minisforum UM773 lite (64 GB RAM) |
Beta Was this translation helpful? Give feedback.
-
That's it. Everything is in place now:
That was a great help! Thanks a lot. |
Beta Was this translation helpful? Give feedback.
I happened to have a Minisforum UM890 (with Ryzen CPUs) waiting to be installed, so I got it up and running today (don't get me started on the beauties of systemd/netplan/resolved... 🤦♂️😤) and was able to get vPTX box built and a lab successfully started on the AMD CPU.
The fixes are in the dev branch, hope they'll work for you.
Just in case: this is how you can run netlab straight from the local copy of the Git repo: https://netlab.tools/install/clone/
Also: @jbemmel thanks a million for the research and the link to Juniper-suggested hack.