Displaying 20 results from an estimated 8000 matches similar to: "Assigning static ip address in libvirt"
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 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
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 Apr 20
2
Mounting directory as readonly within LXC
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"/>
<readonly/>
</filesystem>
The documentation says
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
2018 May 02
2
Re: connecting host and guest vm using a dummy nic
Greetings Laine,
> Sent: Wednesday, May 02, 2018 at 5:56 PM
> From: "Laine Stump" <laine@redhat.com>
> To: libvirt-users@redhat.com
> Cc: daggs <daggs@gmx.com>
> Subject: Re: [libvirt-users] connecting host and guest vm using a dummy nic
>
> On 05/01/2018 12:12 PM, daggs wrote:
> >
> > I want to see if I understood you correctly, I add:
>
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
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
2010 May 19
1
Update of libvirt website required. not all information about XML tags
The problem desribed here: https://bugzilla.redhat.com/show_bug.cgi?id=593266
Please update http://www.libvirt.org/formatdomain.html and describe
NEW xml tags, like <serial>xxxx</serial> for hard drive and all cpu
tags, other if any.
--
Segmentation fault
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
2014 Apr 14
3
Re: LXC + USB passthrough = Operation not permitted
Dear Fil,
I am not sure if my answer can help you.
I had ever asked a similar question to Daniel and I was using a thirty-party card. As a container uses a shared kernel with the host, so hostdev mode='subsystem' doesn't make sense. Maybe you can try to use hostdev mode='capabilities'. Please see http://libvirt.org/formatdomain.html#elementsHostDevCaps
Hope this helps
Cheng
2015 Oct 30
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 08:16:33PM +0530, Harish Vishwanath wrote:
>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>
>
That name='' is not parsed, it
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
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
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#
2006 Jul 04
4
Please help me
Hi all,
I''m getting the list of my projects in the page. But i want to get
the list according the month, i.e., if i select july in the drop down
then i should get the
list of projects done in the month of july..
Please reply..
Regards,
Harish
--
Posted via http://www.ruby-forum.com/.
2006 Jun 26
1
domU to domU configuration
Was setting up 2 domUs on the same xen machine. Is there any benefit in using
the same bridge vs. two separate bridges (one for each domU) incases where we
are interested in only domU-domU network traffic? What will be the preferred
configuration?
thanks in advance,
harish
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
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