Re: [ovirt-users] VM second netowork not Comeup

2014-08-31 Thread Shanil S
Hi Juan,

Thanks for your reply. I will check it with this solution.

-- 
Regards
Shanil


On Fri, Aug 29, 2014 at 5:12 PM, Juan Hernandez  wrote:

> On 08/29/2014 12:02 PM, Shanil S wrote:
> > Hi Juan,
> >
> > These are the xml details which i used for the vm start function, please
> > check it
> >
>
> Ok, this explains this problem and the other problem that you are having
> with assigning profile.
>
> It is important to understand that there are two sets of parameters
> associated to a network interface:
>
> 1. Those that define the virtual hardware configuration, like the model,
> interface, MAC and profile. Those are assigned when you create or update
> the NIC. For example:
>
> #!/bin/sh -x
>
> url="https://ovirt.example.com/ovirt-engine/api";
> user="admin@internal"
> password="**"
>
> curl \
> --verbose \
> --insecure \
> --request POST \
> --header "Accept: application/xml" \
> --header "Content-Type: application/xml" \
> --user "${user}:${password}" \
> --data "
> 
>   virtio
>   nic1
>   
>   
> 
> " \
> "${url}/vms/b848fc2e-5df2-4754-ae7c-98a20c0e373d/nics"
>
> If you include in a request like this any IP information, like boot
> protocol, address, etc, it will be just silently ignored.
>
> 2. Those that define the software device configuration. These are
> managed by the guest OS, and you can set them using cloud-init, as you
> are doing. But you can't change the hardware configuration with
> cloud-init, that is why your  element is ignored.
>
> See some more comments below:
>
> >
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> >
> > 
> > 
> > root
> > 
> > 
> > 
> > 
> > 
> > 
> > virtio
>
> This ^ line is ignored by cloud-init.
>
> > eth0
> >
> > static
> >  address='xx:xx:xx:xx:xx:xx'/>
>
> This ^ line is ignored by cloud-init.
>
> > 
> >  > netmask='255.255.255.0' gateway='xx.xx.xx.xx'/>
> > 
> > true
> >  > id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' />
>
> This ^ line is ignored by cloud-init. The vnic_profile is only used when
> creating the NIC.
>
> > 
> > 
> > virtio
>
> This ^ line is ignored by cloud-init.
>
> > eth1
>
> You should add static here, like in eth0.
>
> >  address='xx:xx:xx:xx:xx:xx'/>
>
> This ^ line is ignored by cloud-init.
>
> > 
> >  > netmask='255.255.255.0' gateway=''/>
> > 
> > true
> >  > id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' />
>
> This ^ line is ignored by cloud-init. The vnic_profile is only used when
> creating the NIC.
>
> > 
> > 
> > 
> > 
> > 
> > 8.8.8.8
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
> >
> >
> > --
> > Regards
> > Shanil
> >
> >
> > On Fri, Aug 29, 2014 at 2:15 PM, Juan Hernandez  > > wrote:
> >
> > On 08/29/2014 05:30 AM, Shanil S wrote:
> > > Hi Dan,
> > >
> > > Please ignore the previous screenshot and check this.
> > >
> > > --
> > > Regards
> > > Shanil
> > >
> > >
> > > On Fri, Aug 29, 2014 at 8:49 AM, Shanil S  > 
> > > >>
> > wrote:
> > >
> > > Hi Dan,
> > >
> > > I have attached the screenshot of the console, please check it.
> > >
> > > --
> > > Regards
> > > Shanil
> > >
> > >
> > > On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg
> > mailto:dan...@redhat.com>
> > > >> wrote:
> > >
> > > 

Re: [ovirt-users] Unable to assign profile to the nic

2014-08-31 Thread Shanil S
Hi Moti,

Thanks for your reply. Let me check it with this solution.

-- 
Regards
Shanil


On Sun, Aug 31, 2014 at 2:15 PM, Moti Asayag  wrote:

>
>
> - Original Message -
> > From: "Shanil S" 
> > To: users@ovirt.org
> > Sent: Thursday, August 28, 2014 11:31:30 AM
> > Subject: [ovirt-users] Unable to assign profile to the nic
> >
> > Hi All,
> >
> > I am unable to assign the profile using the ovirt api code, the
> following xml
> > code is used for creating the nic
> >
> > 
> > virtio
> > eth0
> > static
> > 
> > 
> >  > gateway='".$ip->mac_gateway."'/>
> > 
>
> Try not to provide the 'network' element at all. The vnic profile replaced
> the
> 'network' element when attaching a nic to a network.
>
> In this context you should use either ...
> or
> the .
>
> As Juan explained in other thread, any other parameter for network are
> being
> ignored and network element without name is referred as "empty network".
>
> > true
> > 
> > 
> >
> > Could you please check if anything wrong with it ?
> >
> >
> >
> > --
> > Regards
> > Shanil
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Guest reboot feature using REST API

2014-08-31 Thread Punit Dambiwal
Hi Alexander,

Is there any way to force reboot,if guest-agent removed form the guest
machine ??

Thanks,
Punit


On Fri, Aug 29, 2014 at 8:08 PM, Alexander Wels  wrote:

> On Friday, August 29, 2014 04:12:01 PM Shanil S wrote:
> > Hi Juan,
> >
> > This is the normal reboot of the vm, right ?
> >
>
> Yes, you also need to have the guest agent installed on the guest for this
> to
> work properly.
>
> > > On 08/29/2014 12:09 PM, Shanil S wrote:
> > > > Hi All,
> > > >
> > > > It is found that there is a function like guest reboot (
> > > > http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api
> > > > function for doing this guest reboot ? currently i found only one
> > > > function for reboot (/api/vms/id/reboot). We are currently using the
> > > > Ovirt 3.4.3 version
> > >
> > > Yes:
> > >
> > > #!/bin/sh -ex
> > >
> > > url="https://ovirt.example.com/ovirt-engine/api";
> > > user="admin@internal"
> > > password="**"
> > >
> > > curl \
> > > --insecure \
> > > --request POST \
> > > --header "Accept: application/xml" \
> > > --header "Content-Type: application/xml" \
> > > --user "${user}:${password}" \
> > > --data "" \
> > > "${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot"
> > >
> > > --
> > > Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> > > 3ºD, 28016 Madrid, Spain
> > > Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat
> S.L.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need to import a template in OVA format

2014-08-31 Thread Richard W.M. Jones
On Sun, Aug 31, 2014 at 04:19:20PM -0400, Bob Doolittle wrote:
> The version I am running is virt-v2v-0.9.0-5.fc20.x86_64

The new version is 1.27.x and it is available in Fedora 21 and above.
HOWEVER it doesn't support OVA yet -- still being written.

I'm also providing preview RPMs for RHEL 7 & CentOS 7:

https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

(also without OVA import support right now, but will have it
real soon)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need to import a template in OVA format

2014-08-31 Thread Bob Doolittle


On 08/31/2014 01:16 PM, Richard W.M. Jones wrote:

On Sun, Aug 31, 2014 at 06:07:47PM +0300, Itamar Heim wrote:

On 08/29/2014 06:38 PM, Bob Doolittle wrote:

I have a template designed for VMware VMs, in OVA format.

Is there a way I can import this template to oVirt, in order to create
an oVirt VM from it?

virt-v2v seems designed to import VMs, not templates, and it whines
about no storage devices in the Guest (when using "-i ova -o rhev -os
").

I guess we're talking about old virt-v2v here?
Shahar is writing a new OVA importer at the moment.


Well that's the thing. I saw many old e-mails about issues, and that the 
ova option was withdrawn because of them. But I'm running F20 and it 
claims to support the ova option so I presumed it had been reintroduced 
and fixed. Not so much?


The version I am running is virt-v2v-0.9.0-5.fc20.x86_64

Thanks,
   Bob


Thanks,
 Bob

P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and
system.vmdk.

how is a tempalte different than a VM in VMWare land?
in ovirt its:
- not having snapshots
- a notation on the ovf

Matt any idea?

Rich.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need to import a template in OVA format

2014-08-31 Thread Richard W.M. Jones
On Sun, Aug 31, 2014 at 06:07:47PM +0300, Itamar Heim wrote:
> On 08/29/2014 06:38 PM, Bob Doolittle wrote:
> >I have a template designed for VMware VMs, in OVA format.
> >
> >Is there a way I can import this template to oVirt, in order to create
> >an oVirt VM from it?
> >
> >virt-v2v seems designed to import VMs, not templates, and it whines
> >about no storage devices in the Guest (when using "-i ova -o rhev -os
> >").

I guess we're talking about old virt-v2v here?
Shahar is writing a new OVA importer at the moment.

> >Thanks,
> > Bob
> >
> >P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and
> >system.vmdk.
> 
> how is a tempalte different than a VM in VMWare land?
> in ovirt its:
> - not having snapshots
> - a notation on the ovf

Matt any idea?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] please add me in the users list

2014-08-31 Thread Itamar Heim

On 08/29/2014 03:40 PM, Suyog Jadhav wrote:

Hi ,

I am Suyog Jadhav interested in developing a monitoring solution for
RHEV Manager.

I am using ovirt-java-sdk to pull data from the manager.
(http://www.ovirt.org/Java-sdk)

I want to use vdsm_fake to simulate multiple hosts,vms to test
scalability.( http://www.ovirt.org/VDSM_Fake)

Please let me know if I need to subscribe to any other lists in
additions to “users list” for above goals.

Thanks

Suyog



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



please register via:
http://lists.ovirt.org/mailman/listinfo/users

for devel oriented questions:
http://lists.ovirt.org/mailman/listinfo/devel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] please add me in the users list

2014-08-31 Thread Suyog Jadhav
Hi ,

 

I am Suyog Jadhav interested in developing a monitoring solution for RHEV
Manager.

I am using ovirt-java-sdk to pull data from the manager.
(http://www.ovirt.org/Java-sdk)

I want to use vdsm_fake to simulate multiple hosts,vms to test scalability.(
http://www.ovirt.org/VDSM_Fake)

 

Please let me know if I need to subscribe to any other lists in additions to
"users list" for above goals.

 

Thanks 

Suyog

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need to import a template in OVA format

2014-08-31 Thread Itamar Heim

On 08/29/2014 06:38 PM, Bob Doolittle wrote:

I have a template designed for VMware VMs, in OVA format.

Is there a way I can import this template to oVirt, in order to create
an oVirt VM from it?

virt-v2v seems designed to import VMs, not templates, and it whines
about no storage devices in the Guest (when using "-i ova -o rhev -os
").

Thanks,
 Bob

P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and
system.vmdk.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



how is a tempalte different than a VM in VMWare land?
in ovirt its:
- not having snapshots
- a notation on the ovf
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] feature review - ReportGuestDisksLogicalDeviceName

2014-08-31 Thread Liron Aravot
Feel free to review the the following feature.

http://www.ovirt.org/Features/ReportGuestDisksLogicalDeviceName
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to assign profile to the nic

2014-08-31 Thread Moti Asayag


- Original Message -
> From: "Shanil S" 
> To: users@ovirt.org
> Sent: Thursday, August 28, 2014 11:31:30 AM
> Subject: [ovirt-users] Unable to assign profile to the nic
> 
> Hi All,
> 
> I am unable to assign the profile using the ovirt api code, the following xml
> code is used for creating the nic
> 
> 
> virtio
> eth0
> static
> 
> 
>  gateway='".$ip->mac_gateway."'/>
> 

Try not to provide the 'network' element at all. The vnic profile replaced the 
'network' element when attaching a nic to a network.

In this context you should use either ... or
the .

As Juan explained in other thread, any other parameter for network are being
ignored and network element without name is referred as "empty network".

> true
> 
> 
> 
> Could you please check if anything wrong with it ?
> 
> 
> 
> --
> Regards
> Shanil
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users