similar to: Mounting directory as readonly within LXC

Displaying 20 results from an estimated 1000 matches similar to: "Mounting directory as readonly within LXC"

2015 Apr 20
0
Re: Mounting directory as readonly within LXC
On 20.04.2015 12:58, Harish Vishwanath wrote: > Hello > > Is there a way to mount a directory as readonly when using LXC with libvirt? > > Something like: > > <filesystem type="mount"> > <source dir="/sw/py27/python2.7_x86_64"/> > <target dir="/opt//py27"/> >
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish, I believe the proper establishment of a connection should be done by libvirt.open() or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional virConnect instance. I'm not sure this segfault is worth to fix since instantiate a virConnect directly is not an expected usage. Hope this information will help you. Best Regards, Hao Liu +86-010-62608262
2015 Mar 19
2
libvirt-python Segfaults
Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the binaries from the repo itself: 1. root@test-vm8-109:/home/test# libvirtd --version libvirtd (libvirt) 1.2.2 root@test-vm8-109:/home/test# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or
2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
Thanks Martin. What I would like to achieve is govern the interface name created within the container, so that my application can take different actions on different interfaces (such as eth0, eth1 etc.,). Libvirt's lxc driver seems to create interfaces as eth0, eth1 and so on, when there are multiple <interface /> entries in the domain xml. How can I request for a particular interface
2015 Oct 30
2
Creating network interfaces with specific name in LXC
Hello I am trying to create interfaces within an LXC container with specific name. I am using the following XML: <interface type='network' name='blah'> <source network='dpbr_n_0'/> </interface> This doesn't seem to work; it always ends up creating interface with name as "eth0". I found some examples here:
2015 Mar 19
3
Building libvirt 1.2.13 from source
Hello I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd throws this: root@ubuntu:/home/hvishwanath/Downloads/libvirt-1.2.13# libvirtd libvirtd: /usr/lib/libvirt-qemu.so.0: version `LIBVIRT_QEMU_1.2.3' not
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello I wanted to understand if there is a way to get LXC container's ip address. - virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver. What other options do I have? Using enter-lxc-namespace is throwing this error: virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig libvirt: error : Expected at least one file descriptor
2015 Dec 22
1
Setting environment variables for LXC Containers
Hello Is there a way to set custom environment variables for LXC containers so that it is available for all processes within the container? The libvirt-lxc driver seems to be setting up only the below variables (as per the docs), but there doesn't seem to be a way customize it. containerThe fixed string libvirt-lxc to identify libvirt as the creator container_uuidThe UUID assigned to the
2016 Nov 08
3
Sharing network namespace between containers
Hello Based on the lxc driver documentation, I am trying to create an xml to share an existing network namespace with another container. I am running libvirt 1.2.15. Here is the xml: <domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'> <name>nt</name> <uuid>43c00192-e114-4e29-8ce7-4b5487f60a75</uuid> <memory
2016 Nov 08
1
Re: Sharing network namespace between containers
Thank you. It looks like after I 'ignore', nothing is persisted in xml for the app. Any idea what is the minimum version of libvirt required for this feature? Regards, Harish On Tue, Nov 8, 2016 at 1:36 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Tue, Nov 08, 2016 at 09:01:34AM +0530, Harish Vishwanath wrote: > >> Hello >> >> Based on the lxc
2015 Nov 16
2
CentOS-SCL python version
Hi - I?d like to use the CentOS-SCL python27 packages, but those appear to be rather out of date, still on 2.7.5. Is there any chance that there will be an update in the 2.7 track, to 2.7.10? thanks, Noam ----------------------------------------------------------- Noam Bernstein Center for Materials Physics and Technology Naval Research Laboratory Code 6390 noam.bernstein at
2012 Mar 12
1
Help, Wine isn't working
I've followed the guide but when i try to install this comes up, please help (i don't know anything about this sh*t) i'm just trying to play Crusader Kings II and Dear Esther Last login: Mon Mar 12 02:20:51 on ttys000 Nathans-MacBook-Pro:~ nathanbreedlove$ sudo port install wine Password: ---> Computing dependencies for wine ---> Dependencies to be installed: apple-gcc42
2016 Aug 02
1
Assigning static ip address in libvirt
Hello Is there way to assign static ip address to lxc and KVM guests with libvirt? I saw some snippets here https://libvirt.org/formatdomain.html#ipconfig but unable to get it to work. Regards Harish Regards Harish
2015 Nov 02
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 10:09:51PM +0530, Harish Vishwanath wrote: >Thanks Martin. What I would like to achieve is govern the interface name >created within the container, so that my application can take different >actions on different interfaces (such as eth0, eth1 etc.,). > <interface> <guest dev='devicename'/> </interface> That is what you're
2015 Nov 17
0
CentOS-SCL python version
On 16/11/15 18:26, Noam Bernstein wrote: > Hi - I?d like to use the CentOS-SCL python27 packages, but those appear to be rather out of date, still on 2.7.5. Is there any chance that there will be an update in the 2.7 track, to 2.7.10? > > thanks, There are a few SCL's ready for release - you should see them come through in the coming week. This includes : py27 / py33 and
2006 Jul 06
6
Functional tsts
Hi all, I have created projects module in my application using scaffold, and it created me everything, and all the modules are working except the functional test. This is the error 1) Failure: test_create(ProjectsControllerTest) [test/functional/projects_controller_test.rb :55]: Expected response to be a <:redirect>, but was <200> 8 tests, 25 assertions, 1 failures, 0
2011 Nov 11
6
Puppet in a bash script
Hello, I''m using puppet via a bash script when I spin up a machine to configure it. I''d like to restart the instance after puppet''s run is complete. In my bash script I have: puppet agent --test shutdown -r now Puppet runs to completion, but "shutdown -r now" never executes. I''m not sure why not - these are the last two lines in my bash
2006 Jul 05
3
list of users
Hi all, I''m creating admin module. in that module i need to get the list of users and also the projects created by the each user. No doubt i''m getting the list of users. but i''m not getting the list of projects done by each user.. This is my code:: <% for user in @users %> <%=link_to
2006 Jul 05
4
Rails Web Hosting?
Hi, Where can I find Rails web hosting? I wish to get a domain name + web hosting. Kind Regards, Lennie De Villiers OpenMind Connections Website: HYPERLINK "http://www.openmindconnections.co.za/"www.openmindconnections.co.za Win-Ads: HYPERLINK "http://www.win-ads.co.za/"www.win-ads.co.za ? Online Advertisement Coming Soon! -- No virus found in this
2015 Mar 20
0
Re: libvirt-python Segfaults
Trying again. Is there another mailer list for libvirt-python related discussions? Regards, Harish On Thu, Mar 19, 2015 at 9:02 PM, Harish Vishwanath <harish.shastry@gmail.com > wrote: > Hello > > I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I > tried installing the binaries from the repo itself: > > 1. > > root@test-vm8-109:/home/test#