Antsle Forum
Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more.
Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked.
Failed to restore Cloud Antlet
Quote from tishihtzu on July 15, 2020, 12:16 pmDue to this error, I reinstalled edgeLinux 2.0. I attempted to restore one of my cloud antlets via the heal antlets function. The function appeared to work; however, it did not show up on my antlets screen. So I went back and retried (see screenshot1) and got the error shown (see screenshot2)
Is there any documentation on what is going on behind the scenes here that I can clean this up?
Due to this error, I reinstalled edgeLinux 2.0. I attempted to restore one of my cloud antlets via the heal antlets function. The function appeared to work; however, it did not show up on my antlets screen. So I went back and retried (see screenshot1) and got the error shown (see screenshot2)
Is there any documentation on what is going on behind the scenes here that I can clean this up?
Uploaded files:Quote from spollock on July 15, 2020, 7:23 pm@tishihtzu I had something similar with LXC antlets and I needed to define them in Antman. I think it would be similar for KVM antlets ...
Using the Console, check in the /antlets directory for a folder with the name of the restored antlet... verify the content is there.
also do "zfs list" and make sure the antlet is listed there.
to get antlet into antman:
virsh -c lxc:/// define /antlets/ANTLET_NAME/antlet-libvirt.xml (LXC)
virsh -c define /antlets/ANTLET_NAME/antlet-libvirt.xml (KVM)
@tishihtzu I had something similar with LXC antlets and I needed to define them in Antman. I think it would be similar for KVM antlets ...
Using the Console, check in the /antlets directory for a folder with the name of the restored antlet... verify the content is there.
also do "zfs list" and make sure the antlet is listed there.
to get antlet into antman:
virsh -c lxc:/// define /antlets/ANTLET_NAME/antlet-libvirt.xml (LXC)
virsh -c define /antlets/ANTLET_NAME/antlet-libvirt.xml (KVM)
Quote from tishihtzu on July 18, 2020, 6:02 am@spollock I guess I have to do some research on virsh...
The /antlets are there and 'zfs list' shows them as well.
virsh errors out though:
root@tiberius:~ # virsh -c define /antlets/earswp/antlet-libvirt.xml
error: unknown command: '/antlets/earswp/antlet-libvirt.xml'I tried adding a connect string (for the -c) with no luck either.
root@tiberius:~ # virsh -c qemu:/// define /antlets/earswp/antlet-libvirt.xml
error: failed to connect to the hypervisor
error: internal error: unexpected QEMU URI path '/', try qemu:///systemAnd finally:
root@tiberius:~ # virsh -c qemu:///system define /antlets/earswp/antlet-libvirt.xml
error: Failed to define domain from /antlets/earswp/antlet-libvirt.xml
error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64: No such file or directoryI can see that I really do not know what I am doing here. I bought the Antsle to as it wrapped all of this for me. Any suggestions on a good virsh reference?
@spollock I guess I have to do some research on virsh...
The /antlets are there and 'zfs list' shows them as well.
virsh errors out though:
root@tiberius:~ # virsh -c define /antlets/earswp/antlet-libvirt.xml
error: unknown command: '/antlets/earswp/antlet-libvirt.xml'
I tried adding a connect string (for the -c) with no luck either.
root@tiberius:~ # virsh -c qemu:/// define /antlets/earswp/antlet-libvirt.xml
error: failed to connect to the hypervisor
error: internal error: unexpected QEMU URI path '/', try qemu:///system
And finally:
root@tiberius:~ # virsh -c qemu:///system define /antlets/earswp/antlet-libvirt.xml
error: Failed to define domain from /antlets/earswp/antlet-libvirt.xml
error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64: No such file or directory
I can see that I really do not know what I am doing here. I bought the Antsle to as it wrapped all of this for me. Any suggestions on a good virsh reference?
Quote from lancem on July 18, 2020, 7:08 amI use this site:
https://libvirt.org/manpages/virsh.html
If it's a KVM antlet, try it without the -c:
virsh define {xmlfile}
If it's an LXC:
virsh -c lxc:/// {xmlfile}
I use this site:
https://libvirt.org/manpages/virsh.html
If it's a KVM antlet, try it without the -c:
virsh define {xmlfile}
If it's an LXC:
virsh -c lxc:/// {xmlfile}
Quote from spollock on July 18, 2020, 4:23 pm@tishihtzu @lancem (thanks)
OMG he's correct, apologies. I messed that up!
@tishihtzu @lancem (thanks)
OMG he's correct, apologies. I messed that up!

