Why doesnt virsh list my antlets on a nano?

3 replies
TheGarnet
16 posts

I am at the nano console prompt, which I got to from the AntMan page.

I type virsh list, and I get an empty list:

root@nanoant1:~ # virsh list

Id Name State

----------------------------------------------------

root@nanoant1:~ #

Antman shows that I have created four antlets, and that they all are running.

lancem
210 posts

virsh list will list all the running KVM antlets

virsh list --all will list all KVM antlets (running or not)

For LXC antlets, you have to add -c lxc:///

virsh -c lxc:/// list [all running LXC antlets]

virsh -c lxc:/// list --all [all LXC antlets]

Same thing if you want to edit the XML for an antlet:

virsh edit {antletname} will do a KVM antlet

virsh -c lxc:/// edit {antletname} will do an LXC antlet

▲ 2
PhanMan69
16 posts

I did this line

virsh -c qemu:///system define AntPool2/LaserMania-2

and it completed successffully.  It shows in the virsh list --all

root@myantsle:~ # virsh list --all
Id Name State
----------------------------------------------------
- LaserMania shut off
- LaserMania-2 shut off

But LaserMania-2 doesn't show in antman.  I've restarted both the system and antman with no success.  It's out there just not showing.

root@myantsle:~ # virsh dominfo LaserMania-2
Id: -
Name: LaserMania-2
UUID: b0fc601f-212d-4756-9086-3977f4d0f3ff
OS Type: hvm
State: shut off
CPU(s): 4
Max memory: 4194304 KiB
Used memory: 4194304 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model: none
Security DOI: 0

lancem
210 posts

I think it is one (or both ) of:

  1. it doesn't exist in the antlets zpool
  2. it wasn't created via antman

What if (as an experiment), you add a 1 GB virtual drive to the antlets zpool via antman?

Log in to reply. New here? It takes a minute.