Displaying 20 results from an estimated 6000 matches similar to: "LXC and Dahdi"
2012 Nov 08
3
Failed to access console after launching LXC through libvirt
Hi,
I'm trying to manage LXC instances through OpenStack, which use libvirt as
a virtualization driver layer. After launching LXC instance, I simply could
not attach to the console.
virsh # list
Id Name State
----------------------------------
14366 instance-00000078 running
virsh # console 14366
Connected to domain instance-00000078
Escape character is ^]
And it keeps
2013 Apr 18
1
libvirt 1.0.3 Vs 1.0.4 / cgroup devices
Hi there,
I am using libvirt with lxc to create fedora 16 & 18 containers on fedora
18 host.
first I did the setup with libvirt 1.0.3 and everything worked fine, then
after upgrading to libvirt 1.0.4, I could not create character device on
the guests :
Test on the guest1 :
# ls -l /dev
total 0
lrwxrwxrwx. 1 root root 10 Apr 17 21:18 console -> /dev/pts/0
lrwxrwxrwx. 1 root root 11
2013 Jul 06
2
Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi lxc folks,
the symptom my libvirt LXC container suffers from is:
root@depot:/dev/net# ls -la
total 0
drwxr-xr-x 2 root root 40 Jun 29 16:26 .
drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
root@depot:/dev/net# mknod tun c 10 200
mknod: `tun': Operation not permitted
The host is an up-to-date AMD64 Ubuntu raring on 3.8.0-25-generic that
was
2017 Oct 18
2
Can we disable write to /sys/fs/cgroup tree inside container ?
Hi all
Each lxc container on node have mounted tmpfs for cgroups tree:
[root-inside-lxc@tst1 ~]# mount | grep cgroups
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on
2012 Jan 25
2
How to change libvirt / cgroup interaction?
Hi there,
Do you know if there is a way to modify how libvirt interacts with the
cgroup?
Because, I successfully add the /dev/net/tun support in my LXC container
by doing:
echo c 10:200 rwm >> /cgroup/libvirt/lxc/instance-00000005/devices.allow
But when I restart the instance/LXC container, this option has gone.
How can I make this persistant? Is there a configuration file?
Thanks
2011 Nov 01
10
State of Asterisk+Virtualization+Timing
Greetings-
I'm about to dive into the process of virtualizing some of my Asterisk (primarily 1.4.x) infrastructure. In the past, when looking at virt solutions, the primary issue preventing me from moving was the lack of proper timing. We do not need it for MeetMe but rather for IAX2 trunking. I'd like to use either OpenVZ or KVM, but each seem to have independent "issues" that
2016 Jan 29
2
Zombie processes being created when console buffer is full
We have been researching stuck zombie processes in our libvirt lxc
containers. What we found was:
1) Each zombie’s parent was pid 1. init which symlinks to systemd.
2) In some cases, the zombies were launched by systemd, in others the
zombie was inherited.
3) While the child is in the zombie state, the parent process (systemd)
/proc/1/status shows no pending signals.
4) Attaching gdb to
2014 Feb 25
2
libvirt lxc /dev/null
Hello,
I created lxc container on F19 with virt-manager and it starts OK. The only
problem is that sshd does not run complaining "/dev/null is not a character
device".
# ls -l /dev/null
-rw-r--r-- 1 root root 0 2014-02-25 22:39 /dev/null
/sys/fs/cgroup/devices/machine/VM_NAME.libvirt-lxc/devices.list has "c 1:3
rwm" line, but I cannot create /dev/null:
# mknod /dev/nulll c 1
2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
Can you see the USB device in the lxc?
My answering assumes you cannot see the USB device in the container. If you can see it, please ignore my answer.
According to my understanding, “hostdev mode='subsystem' “ is used with KVM only. We use this if we want to passthrough a device to a KVM virtual machine. After doing that, the host machine will lose control of the device. If container is
2014 Apr 14
2
Re: LXC + USB passthrough = Operation not permitted
I'd also like to point out that, when setting up a linux container with
_just_ the lxc tools available in ubuntu, all that was needed to be done
was whitelist the appropriate cgroups for the Android devices. The lxc
tools seem to create the appropriate character devices when you
detach/attach the Android device via USB, and the Android `adb` tool
recognized the devices.
So, a tangential
2013 Feb 14
1
Support for Hyper-V
Hi,
I would like to know if libvirt support Hyper-V deployed in Windows 2012
server. Does libvirt talk to Hyper-V using the REST API provided by
Microsoft (where SCVMM & SPF are deployed)?
>From the web site, I see that libvirt support only "Hyper-V 2008 R2"
Many thanks in advance.
Hassan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Sep 21
1
How automatically set group.devices.allow for libvirt-lxc container after start ?
Hi.
I need to use /dev/ppp inside the lxc container, for very ancient software.
Problem solved this way:
1) virsh edit container name and add section:
<features>
<capabilities policy='default'>
<mknod state='on'/>
</capabilities>
</features>
2) start container
3) attach or ssh container, be root:
#mknod /dev/ppp c 108 0
4) inside
2014 Apr 17
1
Re: LXC + USB passthrough = Operation not permitted
Me again!
Think we've found it.
By diving into the LXC logs for the specific container, we found this:
2014-04-17 21:07:06.066+0000: 2861: debug : virCgroupSetValueStr:678 : Set
value '/sys/fs/cgroup/devices/machine/oshi32134.libvirt-lxc/devices.allow'
to 'c 189:130 rw'
Looks like libvirt the permission to 'rw', not 'rmw' [1], so no surprise
that when it
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
On 07/08/2013 11:41 AM, Daniel P. Berrange wrote:
>> the symptom my libvirt LXC container suffers from is:
>> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40
>> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
>> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation
>>
2010 Mar 21
6
Do i really need Dahdi and Libpri.
Hy guys i am having so much hard time to setup asterisk on a virtual machine that i got , i just want to know if i really need to use Dahdi and libpri on a complete Digital PBX i just gonna use sip and iax.
I will never use any kind of analog line on this machine.
Wait for a feed back.
Daniel Abreu.
2014 Apr 17
2
Re: LXC + USB passthrough = Operation not permitted
Further followups!
We are correlating DEBUG-level output from libvirt with the libvirt 1.2.2
code to try to figure out what libvirt is doing under the hood.
Even though we have the log level set to 1 (info) in our libvirtd.conf, we
are not seeing the VIR_DEBUG() [1] statements being printed out. There are
tons of other presumably-debug lines of output showing up in our log. We
are sort of
2014 Mar 06
1
Fail to convert LXC container configuration into a domain XML fragment
Hi, all,
I used lxc-tools to create a linux container. I am trying to transfrom LXC
container configuration into a domain XML fragment using the following
command:
*$ virsh -c lxc:/// domxml-from-native lxc /var/lib/lxc/my_conatiner/config*
However, I get the error message,
error: this function is not supported by the connection driver:
virConnectDomainXMLFromNative
It seems that
2010 May 27
1
Meetmee user introduction disabled
I updated Asterisk to 1.6.2.7 and now the user introduction in the
meetme application is no longer working:
[May 27 09:26:51] WARNING[2407]: channel.c:4034 ast_request: No channel
type registered for 'DAHDI'
-- Created MeetMe conference 1023 for conference '800'
[May 27 09:26:51] WARNING[2407]: app_meetme.c:3640 find_conf: No DAHDI
channel available for conference, user
2009 Apr 07
1
dahdi_dummy: Unable to register DAHDI rtc driver
Hello there:
I think I have a silly kernel configuration problem. I'm running:
* vanilla 2.6.27.10 kernel built from source
* dahdi-2.1.0.4 built from source
So far so good,
dahdi module loads just fine:
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.1.0.4
when I try to:
hal04 dahdi # modprobe dahdi_dummy
FATAL: Error inserting dahdi_dummy
2010 Feb 25
3
MeetMe() and dahdi_dummy on an embedded system
I'm playing around with an ALIX 2D2 board (http://www.pcengines.ch/alix2d2.htm). It's a fanless, x86 system using an AMD Geode processor with 256MB of RAM. Also available are two network interfaces, two USB ports and one serial port (no keyboard or VGA). I'm using the Voyage Linux distro, which basically is Debian Lenny optimized for this board.
Asterisk 1.6.1.12 runs fine on the