vjunos-switch doesn't power off properly

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
stoney66
Posts: 6
Joined: Tue Jan 04, 2022 7:35 pm

vjunos-switch doesn't power off properly

Post by stoney66 » Wed Mar 06, 2024 6:54 pm

Your install is: Bare metal: Intel NUC12WSKi7 NUC
CPU model: 12th Gen Intel(R) Core(TM) i7-1260P
RAM: 64GB
HD: 1TB
Eve Version: 5.0.1-19-Community

When using "request system power-off" command, the device ends up at below and just spams the last line forever "128.0.0.1: No route to host". I end up having to stop the switch in eve-ng UI. When starting the host usually it has a disk issue, and I end up having to stop/wipe/start and re-paste my config it as this device doesn't seem to support startup-config like vMX/vQFX. I get this message but sometimes it does boot even after this message "Booting from Junos volume ... Volume was not properly unmounted. Some data may be corrupt. Please run fsck."

I am using vJunos-switch-23.2R1.14 image.

Code: Select all

All buffers synced.
Uptime: 8m23s
umass0: detached
Khelp module "jsocket" can't unload until its refcount drops from 3 to 0.
acpi0: Powering system off
128.0.0.1: No route to host
128.0.0.1: No route to host
128.0.0.1: No route to host
128.0.0.1: No route to host
128.0.0.1: No route to host
128.0.0.1: No route to host
128.0.0.1: No route to host
Here is my template

Code: Select all

root@eve-ng:/opt/unetlab/html/templates/intel# more vJunos-switch.yml 
---
type: qemu
description: vJunos-switch
name: vJunos-switch
cpulimit: 4
icon: JunipervQFXre.png
cpu: 4
ram: 5120
eth_name:
- fxp0
- ge-0/0/0
- ge-0/0/1
- ge-0/0/2
- ge-0/0/3
- ge-0/0/4
- ge-0/0/5
- ge-0/0/6
- ge-0/0/7
- ge-0/0/8
- ge-0/0/9
ethernet: 11
console: telnet
qemu_arch: x86_64
qemu_version: 4.1.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -serial mon:stdio -nographic -smbios type=1,product=VM-VEX -cpu IvyBridge,ibpb=on,md-clear=on,spec-ctrl=on,ssbd=on,vmx=on

Uldis (UD)
Posts: 5086
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: vjunos-switch doesn't power off properly

Post by Uldis (UD) » Fri Mar 08, 2024 7:03 am

It was known issue of that image and advices was given in the how to
If you want to keep this lab configured and work later, before stop the lab, please issue graceful power OFF command on vEX CLI

Code: Select all

root@vEX-1> request system power-off
Power Off the system ? [yes,no] (no) yes
wait for some time when node says:

Code: Select all

acpi0: Powering system off
Now you can safety stop the lab node.

stoney66
Posts: 6
Joined: Tue Jan 04, 2022 7:35 pm

Re: vjunos-switch doesn't power off properly

Post by stoney66 » Wed Mar 13, 2024 9:12 pm

Hi thanks for the info.

That is how I am powering off the vEX from CLI. Once I see the acpi0: Powering system off message then I stop the host in the eve UI. Sometimes though the device is corrupted when powering back on later and I have to wipe the node and put the config back.

rusty725
Posts: 146
Joined: Thu Mar 29, 2018 4:19 pm

Re: vjunos-switch doesn't power off properly

Post by rusty725 » Mon Apr 01, 2024 10:23 pm

in this case all questions to Juniper devs.

Post Reply