Displaying 20 results from an estimated 6000 matches similar to: "libvirtd vs XDG_RUNTIME_DIR"
2016 May 02
3
Making remote access to qemu://session easier?
This is frustrating:
$ export LIBVIRT_DEFAULT_URI=qemu+ssh://remotehost/session
$ virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Operation not supported: Connecting to session instance without socket path is not supported by the ssh connection driver
Has there been any thought given to making this easier? It seems that
having a simple helper
2016 Mar 10
0
Re: libvirtd vs XDG_RUNTIME_DIR
On Wed, Mar 09, 2016 at 01:01:40PM -0500, Lars Kellogg-Stedman wrote:
> I ran into an odd problem today. I wanted to share it here in the
> hopes of maybe saving someone else some lost time.
>
> When you run libvirtd as an unprivileged user (e.g., if you target
> qemu:///session from a non-root account), then libvirt will open a
> unix domain socket in one of two places:
>
2015 Apr 03
1
Re: P2P live migration with non-shared storage: fails to connect to remote libvirt URI qemu+ssh
On Fri, Apr 03, 2015 at 10:13:38AM +0200, Kashyap Chamarthy wrote:
> On Fri, Apr 03, 2015 at 10:08:21AM +0200, Kashyap Chamarthy wrote:
> > Migration without --p2p works just fine, ie. the below works:
> >
> >
> > $ virsh migrate --verbose --copy-storage-all \
> > --live cvm1 qemu+ssh://kashyapc@devstack3/system
> > Migration: [100 %]
>
2023 Jun 12
2
virsh not connecting to libvertd ?
Just found my issue.
After I removed the cephfs mounts it worked!
I will debug ceph.
I assumed because I could touch files on mounted cephfs it was working.
Now virsh list works!
thanks
jerry
Lars Kellogg-Stedman
> On Tue, Jun 06, 2023 at 04:56:38PM -0400, Jerry Buburuz wrote:
>> Recently both virsh stopped talking to the libvirtd. Both stopped within
>> a
>> few days of
2020 Mar 26
6
[Bug 3140] New: support a token for XDG_RUNTIME_DIR
https://bugzilla.mindrot.org/show_bug.cgi?id=3140
Bug ID: 3140
Summary: support a token for XDG_RUNTIME_DIR
Product: Portable OpenSSH
Version: 8.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
2016 Mar 10
1
Buggy 1.3.2? Disconnected from qemu:///session due to I/O error
I think I've hit the same problem that Predrag reported in
http://comments.gmane.org/gmane.comp.emulators.libvirt.user/8825.
With libvirt-1.3.2-1.fc23.x86_64 on Fedora 23, when I try uploading an
image with vol-upload to a user libvirtd (qemu:///session):
virsh vol-upload --pool default volume.qcow /path/to/file.qcow2
I am getting:
error: Disconnected from qemu:///session due to
2016 Oct 31
1
[PATCH] handle: Improve error messaging if XDG_RUNTIME_DIR path does not exist.
If an environment variable such as XDG_RUNTIME_DIR or one of the
tmpdirs or cachedir is set to a non-existent directory, improve the
error message that the user will see so that (where possible) it
includes the environment variable or API call.
This is still not bullet-proof because it's hard to display the
environment variable if it is LIBGUESTFS_TMPDIR or
LIBGUESTFS_CACHEDIR, but the main
2018 Oct 09
3
Serial ports: vm vs bare metal
I'm running libvirt under Fedora 28. I would like to attach a USB
device to a VM, but when I select "Redirect USB Device" from the
"Virtual Machine" menu in virt-manager and then select the device, I
get the error:
USB redirection error
spice-client-error-quark: Could not redirect [device name] at 1-11:
Error setting USB device node ACL: 'Not authorized' (0)
2015 Dec 04
2
virsh attach device equivalent in libvirt API
Hi,
Is there an equivalent of "virsh attach-device -live -persistent " within libvirt API :
virDomainAttachDevice() or virDomainAttachDeviceFlags() or ???
Thanks for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P
2015 Apr 30
3
Limitations of macvtap devices?
I am running OpenStack inside a libvirt guest that is connected to the
local network via a macvtap interface. My experience so far suggests
that a macvtap interface will not pass traffic with a source MAC
address other than the MAC address of the interface itself...for
example, if inside the guest eth0 is attached to a bridge.
Is that correct, or is there some setting that will make that work?
2016 Mar 04
2
Re: Why are virsh vol-upload/vol-download so slow?
On Fri, Mar 04, 2016 at 04:57:30PM +0000, Daniel P. Berrange wrote:
> What version of libvirt ? We had an unfortunate implementation mistake
> which caused us to waste tonnes of time in memmove(). versions since
> 1.2.19 have a fix that addresses it
Ah, this is on F23, which has:
libvirt-1.2.18.2-2.fc23.x86_64
There's nothing more recent right now in either updates or
2016 Mar 06
2
Convincing libvirt to create a bridge device?
I was hoping that I could delegate creation of bridge devices to
libvirt for address-less bridges, in order to not have to deal with
the various ways distributions handle persistent network
configuration, but while this creates a libvirt network...
<network>
<name>provision</name>
<forward mode='bridge'/>
<bridge name='brprov'/>
2016 Mar 04
2
Why are virsh vol-upload/vol-download so slow?
I was interested in using 'virsh vol-upload' and 'virsh vol-download',
rather than mucking about directly with the filesystem. But while
simply copying the image is relatively quick:
# ls -l /var/lib/libvirt/images/centos-7-cloud.qcow2
-rw-r--r--. 1 qemu qemu 1004994560 Apr 15 2015 centos-7-cloud.qcow2
# time cp /var/lib/libvirt/images/centos-7-cloud.qcow2
1999 Jul 26
3
Joining an NT domain?
Howdy,
I've run into some problems adding a Unix server to an NT domain. I've
followed the instructions in DOMAIN_MEMBER.txt; when running the
smbpasswd command:
./bin/smbpasswd -j CS-NT -r CS-NTS1
I get the following errors:
modify_trust_password: machine CS-NTS1 rejected the session setup. Error
was : code 131.
1999/07/26 11:36:37 : change_trust_account_password: Failed to
2016 May 02
0
Re: Making remote access to qemu://session easier?
On 05/02/2016 11:57 AM, Lars Kellogg-Stedman wrote:
> This is frustrating:
>
> $ export LIBVIRT_DEFAULT_URI=qemu+ssh://remotehost/session
> $ virsh list
> error: failed to connect to the hypervisor
> error: no valid connection
> error: Operation not supported: Connecting to session instance without socket path is not supported by the ssh connection driver
>
>
2015 Jun 11
2
Migrating guests
Hi,
I'm experimenting with the migration function of virsh. I'm doing the migrate with following commands:
virsh migrate --life --persistent --copy-storage-all --verbose --abort-on-error domain qemu+ssh://root@destination/system
virsh migrate-setmaxdowntime domain 20000
However sometimes at the end of the migration, the guest isn't started on the destination host. So I'm left
2015 Apr 03
2
P2P live migration with non-shared storage: fails to connect to remote libvirt URI qemu+ssh
Migration without --p2p works just fine, ie. the below works:
$ virsh migrate --verbose --copy-storage-all \
--live cvm1 qemu+ssh://kashyapc@devstack3/system
Migration: [100 %]
Result:
- On the source host, the guest is shut off
- On the destination host, the guest is live migratied successfully
Migration with "--p2p" fails, a simple test below:
2016 Mar 04
1
Re: Why are virsh vol-upload/vol-download so slow?
On Fri, Mar 04, 2016 at 05:21:27PM +0000, Daniel P. Berrange wrote:
> You can checkout virt-preview if you want to try out newer versions
>
> https://fedorapeople.org/groups/virt/virt-preview/
Well, that certainly solves my problem with vol-download :). Do you
know if that fix is likely to show up in EL7?
--
Lars Kellogg-Stedman <lars@redhat.com> | larsks @
2019 Mar 04
1
How do I close a console connection?
I'm working on (re-) implementing serial console support in virtualbmc
[1], and one of the issues I'm hitting right now is that after
establishing a console connection via...
self._stream = self._conn.newStream(libvirt.VIR_STREAM_NONBLOCK)
self._domain.openConsole(None, self._stream, 0)
...I can't figure out how to close the console. Subsequent calls to
openConsole fail
2018 Oct 10
1
Re: [Spice-devel] usbredir error: Error setting USB device node ACL: 'Not authorized'
Hey,
On Wed, Oct 10, 2018 at 09:57:39AM -0400, Cole Robinson wrote:
> On 10/09/2018 04:42 PM, Lars Kellogg-Stedman wrote:
> > I'm running libvirt under Fedora 28. I would like to attach a USB
> > device to a VM, but when I select "Redirect USB Device" from the
> > "Virtual Machine" menu in virt-manager and then select the device, I
> > get the