Displaying 20 results from an estimated 5000 matches similar to: "Eager Finder SQL"
2008 Jun 25
1
"Complex" Eager Loads
Hey gang.
Is it possible to extend the eager load SQL at all? What I''m hoping
to do is eagerly load an associate that, in turn, joins in some data
from another table.
Many thanks,
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2003 Mar 09
3
not able to add machines on FreeBSD 4.7
I'm setting up a new install of samba 2.2.7a on FreeBSD 4.7
Here's a little run-through of what I have done.
I added a machine account in /etc/group as follows:
machines:*:201
I have added all of my machine accounts in to /etc/passwd as
follows:
sclepy$:*:201:201::0:0:Machine account for Sclepy:/dev/null:false
lexus$:*:202:201::0:0:Machine
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)
2008 Sep 23
0
Questions on Active Record SQL type Finders & Dynamic Finder
Hi,
I understand there are total 11 types of key Options for finding a
record.
The all 11 valid keys for the options hash are :conditions,
:include, :order, :select, :group, :joins, :from, :limit, :offset,
:readonly, and :lock.
We also have Dynamic Finders for the same. e.g. ... find_by etc...
I would like to know, how many types of dynamic finders, Active Record
provides, to match all those
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
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 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
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
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
2003 Sep 04
2
cross-subnet domain join issue
I am one hurdle away from finishing my test PDC with ldap and password
sync. Its been a hair raising effort... and if I can solve this one
issue, we'll be ready to kick our Windows PDC out the window.
When I attempt to initially join the domain ( LOGOS ) from a win2K
client residing on a different subnet, I get the following:
--------
The following error occured validating the name
2004 Sep 13
2
(PR#7225) propogation of rounding error for t.tests with unequal sample sizes (PR#7225)
My apologies for not including the transcript in the original message:
> xx <- rep(2.10,80)
> groups.balanced <- as.factor(c(rep("one",40),rep("two",40)))
> groups.unbalanced <- as.factor(c(rep("one",44),rep("two",36)))
> t.test(xx ~ groups.balanced)
Welch Two Sample t-test
data: xx by groups.balanced
t = 0, df = 78, p-value = 1
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 @
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
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
2015 May 01
1
Re: Limitations of macvtap devices?
On 04/30/2015 11:18 AM, Laine Stump wrote:
> On 04/30/2015 10:26 AM, Lars Kellogg-Stedman wrote:
>> 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
2016 Mar 09
4
libvirtd vs XDG_RUNTIME_DIR
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:
- If XDG_RUNTIME_DIR is defined, then inside
$XDG_RUNTIME_DIR/libvirt/libvirt-sock
- If
2000 Apr 21
2
OpenSSH and Irix?
I'd like to install openssh across an Irix cluster where I work, but its
dependency on an "entropy pool" like /dev/urandom is making this
problematic -- especially because EGD has issues with Irix that making it
largely unusable.
Obviously, the original ssh relied on its own random number
generator. While this may not have provided the same degree of randomness
that is provided by