Re: [ovirt-users] cloud-init and sealing of template

2015-12-04 Thread Michal Skrivanek

> On 02 Dec 2015, at 08:43, Gianluca Cecchi  wrote:
> 
> On Wed, Dec 2, 2015 at 8:18 AM, Shahar Havivi  > wrote:
> On 01.12.15 17 :26, Gianluca Cecchi wrote:
> >
> > OK, I'm trying using classic network instead of NetworkManager.
> > But right before running the "make template" action, do I have to run any
> > of "sys-unconfig" and/or "virt-sysprep" tools?
> No you don't need to run this tools.
> 
>  OK. Understood.

you don’t have to, but you’ll get a better, cleaner, template if you’ve been 
using the original image before (added accounts, installed stuff…things people 
usually do when preparing a template:)
we’re looking into integrating it into UI, as it is quite easy to omit a thing 
or two when sealing it manually

It may make sense to use it for initialization during deployment as well as a 
replacement of cloud-init not requiring you to initialize it by running it. You 
would have to do it yourself, making sure the image is not in use while the 
operation is ongoing.
I think it would also be nice to completely integrate it into “create VM from 
Template” flow. You would have a ready-to-go VMs customized at the time of 
creation already, instead of relying on runtime cloud-init

Thanks,
michal

> 
>  
> >
> > It remains open the question about how to properly seal a RHEL 7 / CentOS 7
> What do you mean by sealing?
> 
> 
> I mean what are the correct modifications t apply to the OS, before makeing 
> it a template and then create a VM from that template using cloud-init.
> For example:
> a NetworkManager enabled configuration for ifcfg-eth0 file is somethng like 
> that on RH EL 7:
> 
> TYPE=Ethernet
> BOOTPROTO=none
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=no
> IPV6INIT=no
> IPV6_AUTOCONF=yes
> IPV6_DEFROUTE=yes
> IPV6_PEERDNS=yes
> IPV6_PEERROUTES=yes
> IPV6_FAILURE_FATAL=no
> NAME=eth0
> UUID=5a656c34-e4ba-44a1-8079-d2c797e6a8f4
> DEVICE=eth0
> ONBOOT=yes
> IPADDR=10.4.4.29
> PREFIX=24
> GATEWAY=10.4.4.250
> DNS1=10.4.1.11
> DNS2=10.4.1.12
> DOMAIN="mysearchdomain1.com  mysearchdomain2.com 
> "
> 
> While an old style (managed by classic "network" service) entry sholud be 
> something like:
> 
> DEVICE=eth0
> TYPE=Ethernet
> BOOTPROTO=static
> ONBOOT=yes
> IPADDR=10.4.4.29
> PREFIX=24
> GATEWAY=10.4.4.250
> 
> Do I have to make any modification in both case to ifcfg-eth0 just before 
> making template or should I leave the original VM values inside?
> Does cloud-init provided by oVirt with the values I put inside the GUI during 
> VM creation replace files using something like "sed" command or does it run 
> any network-config operating system commands?
> Gianluca
> ___
> 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] Setting PXE boot via Python API

2015-12-04 Thread Michal Skrivanek

> On 03 Dec 2015, at 22:59, Jamie Lawrence  wrote:
> 
> Hello,
> 
> I’m currently playing with scripted VM creation and have an issue getting the 
> newly created VM to PXE boot. My objective is to port some creation scripts 
> from the environment this will eventually replace and worry about making this 
> more “Ovirt-ey” later.
> 
> Skipping the details, everything is happy through creation, and when I boot 
> it, it attempts to boot from a ‘disk' and fails, and I don’t understand why.
> 
> Following the creation of the VM, creation/attachment of the disk and net,
> 
>boot_dev = params.Boot(dev='network')
>vm.os.set_boot([boot_dev])
>vm.set_os(params.OperatingSystem(cmdline=kernel_cmd))
>vm.update()
> 
> kernel_cmd there evaluates to a fairly typical PXEboot string that works with 
> our legacy setup - there isn’t really anything exotic going on. The BIOS 
> doesn’t show any attempt at a PXE boot - it goes straight to the disk, 
> declares it unbootable (because it was just created and is blank), and halts. 
> It feels like the set_boot line is wrong or ignored, but this is new to me.

Hi,
if you look for a one-time boot off PXE, and then from hdd after installation 
finishes (which is the most frequent use case), you can use “Run Once” to 
override the “default” boot order. Instead of modifying the VM configuration 
twice.

Nevertheless, the above should work, so I would start checking if the VM is 
indeed configured correctly (bug on ovirt side) or we create it ok but there’s 
a bug in lower layers (libvirt, qemu, ipxe). If you can check the VM in UI 
there is a “VM Devices” subtab new in 3.6 which can tell you if it even has a 
NIC attached; and there is the final libvirt domain xml being logged in 
/var/log/vdsm/vdsm.log when you launch the VM - there you can doublecheck the 
VM is started as expected

Thanks,
michal
> 
> Anyone have a hint?
> 
> Thanks,
> 
> -j___
> 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] cloud-init and sealing of template

2015-12-04 Thread Gianluca Cecchi
On Fri, Dec 4, 2015 at 8:59 AM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 02 Dec 2015, at 08:43, Gianluca Cecchi 
> wrote:
>
> On Wed, Dec 2, 2015 at 8:18 AM, Shahar Havivi  wrote:
>
>> On 01.12.15 17:26, Gianluca Cecchi wrote:
>> >
>> > OK, I'm trying using classic network instead of NetworkManager.
>> > But right before running the "make template" action, do I have to run
>> any
>> > of "sys-unconfig" and/or "virt-sysprep" tools?
>> No you don't need to run this tools.
>>
>
>  OK. Understood.
>
>
> you don’t have to, but you’ll get a better, cleaner, template if you’ve
> been using the original image before (added accounts, installed
> stuff…things people usually do when preparing a template:)
> we’re looking into integrating it into UI, as it is quite easy to omit a
> thing or two when sealing it manually
>
> It may make sense to use it for initialization during deployment as well
> as a replacement of cloud-init not requiring you to initialize it by
> running it. You would have to do it yourself, making sure the image is not
> in use while the operation is ongoing.
> I think it would also be nice to completely integrate it into “create VM
> from Template” flow. You would have a ready-to-go VMs customized at the
> time of creation already, instead of relying on runtime cloud-init
>
> Thanks,
> michal
>
>
Any improvement inside the gui is welcome.
Yes, in my template I already created personal users that are then able to
authenticate themself with public key in the deployed VM without any
problem and I have also Oracle client installed with a specific HammerDB
configuration file.
So the path is the one you suggested.
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] FW: Engine upgrade error

2015-12-04 Thread Frank Rothenstein
Hi,

I found a "workaround" for my problem. In the release notes is noted
just to yum update "ovirt-enigne-setup*"
I did a yum install instead an was then able to complete the engine-
setup.
For now I still have not managed to get my nodes updatet, but the
engine is running at 3.6... The nodes seem to have another, not DB-
based, problem.

Am Dienstag, den 01.12.2015, 07:15 -0500 schrieb Eli Mesika:
> 
> - Original Message -
> > From: "Eli Mesika" 
> > To: "Alpaslan Kaplan" , "Yevgeny Zaspitsky"  > asp...@redhat.com>
> > Cc: Users@ovirt.org
> > Sent: Tuesday, December 1, 2015 1:57:53 PM
> > Subject: Re: [ovirt-users] Engine upgrade error
> > 
> > 
> > 
> > - Original Message -
> > > From: "Frank Rothenstein" 
> > > To: "Eli Mesika" 
> > > Cc: Users@ovirt.org
> > > Sent: Tuesday, December 1, 2015 12:43:17 PM
> > > Subject: Re: [ovirt-users] Engine upgrade error
> > > 
> > > Oh, that looks not so good...
> > > 
> > >                vds_id| network_name
> > > --+--
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | vlan111
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHNetzVLAN1
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | ovirtmgmt
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHnetz
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | vlan111
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHNetzVLAN1
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | ovirtmgmt
> > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHnetz
> > > 
> > > 
> > > Now I have to drop something, I guess...
> > 
> > Alona, Yevgeny
> > Table includes duplicate records and therefor
> > dbscripts/upgrade/03_06_1670_unique_vds_id_network_name_vds_interfa
> > ce.sql
> > fails on creating a unique constraint.
> > Please advice
> > 
> > 1) What should be removed in that case
> > 2) How can we fix the upgrade script to handle such cases in order
> > that the
> > full upgrade process will not fail ?
> > 
> > > 
> > > Am Montag, den 30.11.2015, 18:04 -0500 schrieb Eli Mesika:
> > > > 
> > > > - Original Message -
> > > > > From: "Oved Ourfali" 
> > > > > To: "Frank Rothenstein" 
> > > > > Cc: Users@ovirt.org
> > > > > Sent: Monday, November 30, 2015 6:45:17 PM
> > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > > 
> > > > > 
> > > > > 
> > > > > CC-ing Alona and Yevgeny from the network team to take a
> > > > > look.
> > > > > 
> > > > > Regards,
> > > > > Oved Ourfali
> > > > > On Nov 30, 2015 4:07 PM, "Frank Rothenstein" <
> > > > > f.rothenst...@bodden-kliniken.de > wrote:
> > > > > 
> > > > > 
> > > > > Hello,
> > > > > 
> > > > > I tried several times to upgrade my ovirt-engine 3.5.5 to
> > > > > 3.6.
> > > > > Every
> > > > > time the setup stops at updating the DB-schema. The log
> > > > > revealed
> > > > > when
> > > > > this happpens: The setup ist complaining about a duplicated
> > > > > key -
> > > > > here
> > > > > is the part of the log. Of course there is only one network
> > > > > in the
> > > > > interface.
> > > > > 
> > > > > Can anybody help me getting a solution?
> > > > 
> > > > Can you please attach the result of the following query :
> > > > 
> > > > select vds_id, network_name from vds_interface;
> > > > 
> > > > Thanks
> > > > 
> > > > > 
> > > > > Thnaks, Frank
> > > > > 
> > > > > Running upgrade sql script '/usr/share/ovirt-
> > > > > engine/dbscripts/upgrade/03_06_1670_unique_vds_id_network_nam
> > > > > e_vds_
> > > > > inte
> > > > > rface.sql'...
> > > > > 2542964-
> > > > > 2542965-2015-11-30 08:15:26 DEBUG
> > > > > otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> > > > > plugin.execute:941 execute-output: ['/usr/share/ovirt-
> > > > > engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432',
> > > > > '-u',
> > > > > 'engine', '-d', 'engine', '-l', '/var/log/ovirt-
> > > > > engine/setup/ovirt-
> > > > > engine-setup-20151130073216-erdh9f.log', '-c', 'apply']
> > > > > stderr:
> > > > > 2543300-psql:/usr/share/ovirt-
> > > > > engine/dbscripts/upgrade/03_06_1670_unique_vds_id_network_nam
> > > > > e_vds_
> > > > > inte
> > > > > rface.sql:1: ERROR: could not create unique index
> > > > > "vds_interface_vds_id_network_name_unique"
> > > > > 2543487:DETAIL: Key (vds_id, network_name)=(ba954f0f-6ecb-
> > > > > 4ec8-
> > > > > b169-
> 

Re: [ovirt-users] Setting PXE boot via Python API

2015-12-04 Thread Juan Hernández
On 12/03/2015 10:59 PM, Jamie Lawrence wrote:
> Hello,
> 
> I’m currently playing with scripted VM creation and have an issue getting the 
> newly created VM to PXE boot. My objective is to port some creation scripts 
> from the environment this will eventually replace and worry about making this 
> more “Ovirt-ey” later.
> 
> Skipping the details, everything is happy through creation, and when I boot 
> it, it attempts to boot from a ‘disk' and fails, and I don’t understand why.
> 
> Following the creation of the VM, creation/attachment of the disk and net,
> 
> boot_dev = params.Boot(dev='network')
> vm.os.set_boot([boot_dev])
> vm.set_os(params.OperatingSystem(cmdline=kernel_cmd))

This line ^ is overwriting the complete OS configuration that you set
before, so the change to the boot device is lost. If you enable the
debug output of the SDK (with debug=True in the constructor of the API
object) you will see that this is what is sent:

  
your command line
  

Try this instead:

  vm.set_os(
params.OperatingSystem(
  boot=[
params.Boot(dev="network")
  ],
  cmdline=kernel_cmd
)
  )

It should result in sending this:

  

your command line
  

Not also that I believe that the kernel command line won't have any
effect for the PXE boot, as it is used only for direct kernel boot.

> vm.update()
> 
> kernel_cmd there evaluates to a fairly typical PXEboot string that works with 
> our legacy setup - there isn’t really anything exotic going on. The BIOS 
> doesn’t show any attempt at a PXE boot - it goes straight to the disk, 
> declares it unbootable (because it was just created and is blank), and halts. 
> It feels like the set_boot line is wrong or ignored, but this is new to me.
> 
> Anyone have a hint?
> 
> Thanks,
> 
> -j
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
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


Re: [ovirt-users] Setting up oVirt for the first time

2015-12-04 Thread Simone Tiraboschi
On Fri, Dec 4, 2015 at 10:17 AM, Joop  wrote:

> On 1-12-2015 22:59, Gervais de Montbrun wrote:
>
> Is it possible to setup the hypervisor hosts themselves as NFS servers to
> create Storage (I realize that this will play havoc with the HA). We do
> have an NFS server that we will be upgrading to add storage and faster
> drives, but I was thinking that I may be able to use the internal storage
> of the hypervisors themselves as a short term stopgap and then migrate vm's
> to the upgraded NFS server later. Will that even work, or will it break
> somehow?
>
> As Nir pointed out its possible.
> I'm using such a setup at home where a NAS provides NFS storage for
> hosted-engine and also iso/export/data domains for VMs. Besides that I have
> an NFS server on my host for VMs which need a bit of disk throughput, its
> got a nice SSD in it. Moving VM disks from the SSD storage domain to the
> 'slow' storage domain on the NAS and vice versa works fine.
> Problem with these kind of setups is redundancy which is ofcourse
> non-existant :-)
>
>
Take care that up to and including RHEL 7 mounting exports provided by the
localhost NFS-server can lead to deadlocks so it's not a recommended choice.
A loopback iSCSI target should be more reliable on this side.
http://linux-iscsi.org/wiki/Loopback


> Regards,
>
> Joop
>
>
> ___
> 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] FW: Engine upgrade error

2015-12-04 Thread Joop
On 4-12-2015 11:10, Frank Rothenstein wrote:
> Any hints how to question yum or rpm? Maybe I just test-run yum
> reinstall "ovirt-engine-setup*"  - It should then reinstall all
> packages I hit with the former install, shouldn't it?
Check /var/log/yum.log or use 'yum history' command and its sub
commands, e.g. yum history info XX

Joop

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


Re: [ovirt-users] FW: Engine upgrade error

2015-12-04 Thread Simone Tiraboschi
On Fri, Dec 4, 2015 at 9:58 AM, Frank Rothenstein <
f.rothenst...@bodden-kliniken.de> wrote:

> Hi,
>
> I found a "workaround" for my problem. In the release notes is noted
> just to yum update "ovirt-enigne-setup*"
> I did a yum install instead an was then able to complete the engine-
> setup.
>

Do you have the list of the additional packages (or just the full list) you
got with your last yum install?


> For now I still have not managed to get my nodes updatet, but the
> engine is running at 3.6... The nodes seem to have another, not DB-
> based, problem.
>
> Am Dienstag, den 01.12.2015, 07:15 -0500 schrieb Eli Mesika:
> >
> > - Original Message -
> > > From: "Eli Mesika" 
> > > To: "Alpaslan Kaplan" , "Yevgeny Zaspitsky"  > > asp...@redhat.com>
> > > Cc: Users@ovirt.org
> > > Sent: Tuesday, December 1, 2015 1:57:53 PM
> > > Subject: Re: [ovirt-users] Engine upgrade error
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Frank Rothenstein" 
> > > > To: "Eli Mesika" 
> > > > Cc: Users@ovirt.org
> > > > Sent: Tuesday, December 1, 2015 12:43:17 PM
> > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > >
> > > > Oh, that looks not so good...
> > > >
> > > >vds_id| network_name
> > > > --+--
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | vlan111
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHNetzVLAN1
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | ovirtmgmt
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHnetz
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | vlan111
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHNetzVLAN1
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | ovirtmgmt
> > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHnetz
> > > >
> > > >
> > > > Now I have to drop something, I guess...
> > >
> > > Alona, Yevgeny
> > > Table includes duplicate records and therefor
> > > dbscripts/upgrade/03_06_1670_unique_vds_id_network_name_vds_interfa
> > > ce.sql
> > > fails on creating a unique constraint.
> > > Please advice
> > >
> > > 1) What should be removed in that case
> > > 2) How can we fix the upgrade script to handle such cases in order
> > > that the
> > > full upgrade process will not fail ?
> > >
> > > >
> > > > Am Montag, den 30.11.2015, 18:04 -0500 schrieb Eli Mesika:
> > > > >
> > > > > - Original Message -
> > > > > > From: "Oved Ourfali" 
> > > > > > To: "Frank Rothenstein" 
> > > > > > Cc: Users@ovirt.org
> > > > > > Sent: Monday, November 30, 2015 6:45:17 PM
> > > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > > >
> > > > > >
> > > > > >
> > > > > > CC-ing Alona and Yevgeny from the network team to take a
> > > > > > look.
> > > > > >
> > > > > > Regards,
> > > > > > Oved Ourfali
> > > > > > On Nov 30, 2015 4:07 PM, "Frank Rothenstein" <
> > > > > > f.rothenst...@bodden-kliniken.de > wrote:
> > > > > >
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I tried several times to upgrade my ovirt-engine 3.5.5 to
> > > > > > 3.6.
> > > > > > Every
> > > > > > time the setup stops at updating the DB-schema. The log
> > > > > > revealed
> > > > > > when
> > > > > > this happpens: The setup ist complaining about a duplicated
> > > > > > key -
> > > > > > here
> > > > > > is the part of the log. Of course there is only one network
> > > > > > in the
> > > > > > interface.
> > > > > >
> > > > > > Can anybody help me getting a solution?
> > > > >
> > > > > Can you please attach the result of the following query :
> > > > >
> > > > > select vds_id, network_name from vds_interface;
> > > > >
> > > > > Thanks
> > > > >
> > > > > >
> > > > > > Thnaks, Frank
> > > > > >
> > > > > > Running upgrade sql script '/usr/share/ovirt-
> > > > > > engine/dbscripts/upgrade/03_06_1670_unique_vds_id_network_nam
> > > > > > e_vds_
> > > > > > inte
> > > > > > rface.sql'...
> > > > > > 2542964-
> > > > > > 2542965-2015-11-30 08:15:26 DEBUG
> > > > > > otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> > > > > > plugin.execute:941 execute-output: ['/usr/share/ovirt-
> > > > > > engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432',
> > > > > > '-u',
> > > > > > 'engine', '-d', 'engine', '-l', '/var/log/ovirt-
> > > > > > engine/setup/ovirt-
> > > > 

Re: [ovirt-users] FW: Engine upgrade error

2015-12-04 Thread Simone Tiraboschi
On Fri, Dec 4, 2015 at 11:10 AM, Frank Rothenstein <
f.rothenst...@bodden-kliniken.de> wrote:

> Any hints how to question yum or rpm? Maybe I just test-run yum
>

To get the transaction list:
   yum history list

To get detailed info on a specific transaction (# 44 in my example):
   yum history info  44

Can you please check and post here the details of your initial failed
transaction and the successful one?


reinstall "ovirt-engine-setup*"  - It should then reinstall all
> packages I hit with the former install, shouldn't it?
>
> Reinstalling:
>  ovirt-engine-setup noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.6   4.0 k
>  ovirt-engine-setup-basenoarch   3.6.0.3-
> 1.el7.centos   ovirt-3.697 k
>  ovirt-engine-setup-plugin-allinone noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.6   5.2 k
>  ovirt-engine-setup-plugin-dockerc  noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.621 k
>  ovirt-engine-setup-plugin-ovirt-engine noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.6   163 k
>  ovirt-engine-setup-plugin-ovirt-engine-common  noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.675 k
>  ovirt-engine-setup-plugin-vmconsole-proxy-helper   noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.620 k
>  ovirt-engine-setup-plugin-websocket-proxy  noarch   3.6.0.3-
> 1.el7.centos   ovirt-3.621 k
>
> Am Freitag, den 04.12.2015, 10:09 +0100 schrieb Simone Tiraboschi:
> >
> >
> > On Fri, Dec 4, 2015 at 9:58 AM, Frank Rothenstein  > en-kliniken.de> wrote:
> > > Hi,
> > >
> > > I found a "workaround" for my problem. In the release notes is
> > > noted
> > > just to yum update "ovirt-enigne-setup*"
> > > I did a yum install instead an was then able to complete the
> > > engine-
> > > setup.
> > Do you have the list of the additional packages (or just the full
> > list) you got with your last yum install?
> >
> > >  For now I still have not managed to get my nodes updatet, but the
> > > engine is running at 3.6... The nodes seem to have another, not DB-
> > > based, problem.
> > >
> > > Am Dienstag, den 01.12.2015, 07:15 -0500 schrieb Eli Mesika:
> > > >
> > > > - Original Message -
> > > > > From: "Eli Mesika" 
> > > > > To: "Alpaslan Kaplan" , "Yevgeny Zaspitsky"
> > >  > > > > asp...@redhat.com>
> > > > > Cc: Users@ovirt.org
> > > > > Sent: Tuesday, December 1, 2015 1:57:53 PM
> > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > >
> > > > >
> > > > >
> > > > > - Original Message -
> > > > > > From: "Frank Rothenstein" 
> > > > > > To: "Eli Mesika" 
> > > > > > Cc: Users@ovirt.org
> > > > > > Sent: Tuesday, December 1, 2015 12:43:17 PM
> > > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > > >
> > > > > > Oh, that looks not so good...
> > > > > >
> > > > > >vds_id| network_name
> > > > > > --+--
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | vlan111
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHNetzVLAN1
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | ovirtmgmt
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHnetz
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | vlan111
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHNetzVLAN1
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | ovirtmgmt
> > > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHnetz
> > > > > >
> > > > > >
> > > > > > Now I have to drop something, I guess...
> > > > >
> > > > > Alona, Yevgeny
> > > > > Table includes duplicate records and therefor
> > > > >
> > > dbscripts/upgrade/03_06_1670_unique_vds_id_network_name_vds_interfa
> > > > > ce.sql
> > > > > fails on creating a unique constraint.
> > > > > Please advice
> > > > >
> > > > > 1) What should be removed in that case
> > > > > 2) How can we fix the upgrade script to handle such cases in
> > > order
> > > > > that the
> > > > > full upgrade process will not fail ?
> > > > >
> > > > > >
> > > > > > Am Montag, den 30.11.2015, 18:04 -0500 schrieb Eli Mesika:
> > > > > > >
> > > > > > > - Original Message -
> > > > > > > > From: "Oved Ourfali" 
> > > > > > > > To: "Frank Rothenstein" 

Re: [ovirt-users] FW: Engine upgrade error

2015-12-04 Thread Frank Rothenstein
Any hints how to question yum or rpm? Maybe I just test-run yum
reinstall "ovirt-engine-setup*"  - It should then reinstall all
packages I hit with the former install, shouldn't it?

Reinstalling:
 ovirt-engine-setup noarch   3.6.0.3-
1.el7.centos   ovirt-3.6   4.0 k
 ovirt-engine-setup-basenoarch   3.6.0.3-
1.el7.centos   ovirt-3.697 k
 ovirt-engine-setup-plugin-allinone noarch   3.6.0.3-
1.el7.centos   ovirt-3.6   5.2 k
 ovirt-engine-setup-plugin-dockerc  noarch   3.6.0.3-
1.el7.centos   ovirt-3.621 k
 ovirt-engine-setup-plugin-ovirt-engine noarch   3.6.0.3-
1.el7.centos   ovirt-3.6   163 k
 ovirt-engine-setup-plugin-ovirt-engine-common  noarch   3.6.0.3-
1.el7.centos   ovirt-3.675 k
 ovirt-engine-setup-plugin-vmconsole-proxy-helper   noarch   3.6.0.3-
1.el7.centos   ovirt-3.620 k
 ovirt-engine-setup-plugin-websocket-proxy  noarch   3.6.0.3-
1.el7.centos   ovirt-3.621 k

Am Freitag, den 04.12.2015, 10:09 +0100 schrieb Simone Tiraboschi:
> 
> 
> On Fri, Dec 4, 2015 at 9:58 AM, Frank Rothenstein  en-kliniken.de> wrote:
> > Hi,
> > 
> > I found a "workaround" for my problem. In the release notes is
> > noted
> > just to yum update "ovirt-enigne-setup*"
> > I did a yum install instead an was then able to complete the
> > engine-
> > setup.
> Do you have the list of the additional packages (or just the full
> list) you got with your last yum install?
>  
> >  For now I still have not managed to get my nodes updatet, but the
> > engine is running at 3.6... The nodes seem to have another, not DB-
> > based, problem.
> > 
> > Am Dienstag, den 01.12.2015, 07:15 -0500 schrieb Eli Mesika:
> > >
> > > - Original Message -
> > > > From: "Eli Mesika" 
> > > > To: "Alpaslan Kaplan" , "Yevgeny Zaspitsky"
> >  > > > asp...@redhat.com>
> > > > Cc: Users@ovirt.org
> > > > Sent: Tuesday, December 1, 2015 1:57:53 PM
> > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > >
> > > >
> > > >
> > > > - Original Message -
> > > > > From: "Frank Rothenstein" 
> > > > > To: "Eli Mesika" 
> > > > > Cc: Users@ovirt.org
> > > > > Sent: Tuesday, December 1, 2015 12:43:17 PM
> > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > >
> > > > > Oh, that looks not so good...
> > > > >
> > > > >                vds_id| network_name
> > > > > --+--
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | vlan111
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHNetzVLAN1
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | ovirtmgmt
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c | KHnetz
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  2211ca5c-8d2c-42f3-939c-de11e085aa1c |
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | vlan111
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHNetzVLAN1
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | ovirtmgmt
> > > > >  6d9c0683-be85-4f70-9790-0f491b7c8021 | KHnetz
> > > > >
> > > > >
> > > > > Now I have to drop something, I guess...
> > > >
> > > > Alona, Yevgeny
> > > > Table includes duplicate records and therefor
> > > >
> > dbscripts/upgrade/03_06_1670_unique_vds_id_network_name_vds_interfa
> > > > ce.sql
> > > > fails on creating a unique constraint.
> > > > Please advice
> > > >
> > > > 1) What should be removed in that case
> > > > 2) How can we fix the upgrade script to handle such cases in
> > order
> > > > that the
> > > > full upgrade process will not fail ?
> > > >
> > > > >
> > > > > Am Montag, den 30.11.2015, 18:04 -0500 schrieb Eli Mesika:
> > > > > >
> > > > > > - Original Message -
> > > > > > > From: "Oved Ourfali" 
> > > > > > > To: "Frank Rothenstein"  > >
> > > > > > > Cc: Users@ovirt.org
> > > > > > > Sent: Monday, November 30, 2015 6:45:17 PM
> > > > > > > Subject: Re: [ovirt-users] Engine upgrade error
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > CC-ing Alona and Yevgeny from the network team to take a
> > > > > > > look.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Oved Ourfali
> > > > > > > On Nov 30, 2015 4:07 PM, "Frank Rothenstein" <
> > > > > > > f.rothenst...@bodden-kliniken.de > wrote:
> > > > > > >
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > 

Re: [ovirt-users] Setting up oVirt for the first time

2015-12-04 Thread Joop
On 1-12-2015 22:59, Gervais de Montbrun wrote:
> Is it possible to setup the hypervisor hosts themselves as NFS servers
> to create Storage (I realize that this will play havoc with the HA).
> We do have an NFS server that we will be upgrading to add storage and
> faster drives, but I was thinking that I may be able to use the
> internal storage of the hypervisors themselves as a short term stopgap
> and then migrate vm's to the upgraded NFS server later. Will that even
> work, or will it break somehow?
As Nir pointed out its possible.
I'm using such a setup at home where a NAS provides NFS storage for
hosted-engine and also iso/export/data domains for VMs. Besides that I
have an NFS server on my host for VMs which need a bit of disk
throughput, its got a nice SSD in it. Moving VM disks from the SSD
storage domain to the 'slow' storage domain on the NAS and vice versa
works fine.
Problem with these kind of setups is redundancy which is ofcourse
non-existant :-)

Regards,

Joop

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


[ovirt-users] Virt-v2v import issue

2015-12-04 Thread Budur Nagaraju
Hi

I have converted win2k3 which was deployed in vmware esxi to oVirt by using
"v2v" tool ,imported successfully after powering on unable to get the login
prompt getting stuck at "windows is starting".

can someone help me in this issue ?

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


Re: [ovirt-users] [libvirt-users] virsh athentification failure

2015-12-04 Thread Michal Skrivanek

> On 04 Dec 2015, at 16:26, Daniel P. Berrange  wrote:
> 
> On Fri, Dec 04, 2015 at 03:18:19PM +, Jean-Pierre Ribeauville wrote:
>> Hi,
>> 
>> I wrote a C program running in a KVM host.
>> Part of it adds a Unix Channel device in all Guests in order to  have a 
>> dialog from Host to Guest.

are you adding it later, when the VM is running? Is it a requirement to do it 
this way?
You can use oVirt vdsm hook[1] to inject custom snippet to libvirt’s xml on VM 
startup and add any channel you want. 
It would also allow you to pass arbitrary parameters from oVirt UI, should you 
ever need them.

Thanks,
michal

[1] http://www.ovirt.org/VDSM-Hooks

>> As long as my host wasn't part of an Ovirt cluster , all was running fine.
>> 
>> 
>> I added my host in a ovirt cluster , and then , when running the script 
>> creating the channel device  ( by  using  "virsh attach-device  --persistent 
>> -live ." ) , I got following error :
>> 
>> Please enter your authentication name:
>> Please enter your password:
>> error: failed to connect to the hypervisor
>> error: no valid connection
>> error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
>> generic failure: All-whitespace username.)
>> 
>> 
>> What's the user/password I've to use then ?
> 
> When you attach a compute node to oVirt, it sets up auth with libvirt
> to prevent admins from connecting to libvirt. If you want to oiverride
> that you need to create yourself a SASL user + password using the
> saslpasswd2 command eg see
> 
> http://libvirt.org/auth.html#ACL_server_username
> 
> Regards,
> Daniel
> -- 
> |: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org  -o- http://virt-manager.org :|
> |: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|
> ___
> 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] [libvirt-users] virsh athentification failure

2015-12-04 Thread Daniel P. Berrange
On Fri, Dec 04, 2015 at 03:18:19PM +, Jean-Pierre Ribeauville wrote:
> Hi,
> 
> I wrote a C program running in a KVM host.
> Part of it adds a Unix Channel device in all Guests in order to  have a 
> dialog from Host to Guest.
> As long as my host wasn't part of an Ovirt cluster , all was running fine.
> 
> 
> I added my host in a ovirt cluster , and then , when running the script 
> creating the channel device  ( by  using  "virsh attach-device  --persistent 
> -live ." ) , I got following error :
> 
> Please enter your authentication name:
> Please enter your password:
> error: failed to connect to the hypervisor
> error: no valid connection
> error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
> generic failure: All-whitespace username.)
> 
> 
> What's the user/password I've to use then ?

When you attach a compute node to oVirt, it sets up auth with libvirt
to prevent admins from connecting to libvirt. If you want to oiverride
that you need to create yourself a SASL user + password using the
saslpasswd2 command eg see

http://libvirt.org/auth.html#ACL_server_username

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Virt-v2v import issue

2015-12-04 Thread Michal Skrivanek

> On 04 Dec 2015, at 12:15, Budur Nagaraju  wrote:
> 
> Hi 
> 
> I have converted win2k3 which was deployed in vmware esxi to oVirt by using 
> "v2v" tool ,imported successfully after powering on unable to get the login 
> prompt getting stuck at "windows is starting".
> 
> can someone help me in this issue ?

how does the VM look like - what devices does it have (disks, graphics)?
does it boot in safe mode?
Is the OS type in Edit VM dialog set correctly?

Thanks,
michal

> 
> Thanks,
> Nagaraju
> 
> 
> 
> ___
> 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] Failing to add NFS storage domain

2015-12-04 Thread Jean-Pierre Ribeauville
Hi,

Thx for your useful hint.

I'll go back to our sysadmin.

J.P.

De : Roel de Rooy [mailto:rder...@motto.nl]
Envoyé : mercredi 2 décembre 2015 15:41
À : Jean-Pierre Ribeauville
Cc : users@ovirt.org
Objet : RE: Failing to add NFS storage domain

Hi,

When looking inside the mounted NFS share, can you see if the needed folders 
are created (dom_md, etc.)?
We also had a same sort of error after trying to add a new NFS share to our 
development environment.

Adding the NFS storage would fail, but when looking at the host itself, the 
share would be connected.

In our case, we did see that the folders were created with permissions set as 
the root group, instead of the kvm group.
After changing permission settings on the NFS server, the share connected 
perfectly.

Kind regards,
Roel de Rooy


Van: users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] Namens Jean-Pierre Ribeauville
Verzonden: 02 December 2015 11:51
Aan: users@ovirt.org
Onderwerp: [ovirt-users] Failing to add NFS storage domain


Hi,



By using 3.5 ovirt , I'm trying to add  an NFS  storage domain to my datacenter.





Then  I  got following error :


Error while executing action New NFS Storage Domain: Error creating a storage 
domain





I restart sanlock service on the host ( it's a RHEL 7)  ; no positive effect.



In engine.log  found this  :


2015-12-02 11:42:17,767 INFO  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(ajp-/127.0.0.1:8702-8) [47ec013e] Lock Acquired to object EngineLock 
[exclusiveLocks= key: omniserv.lab.dc01.axway.int:/nfs/omnicol value: 
STORAGE_CONNECTION
, sharedLocks= ]
2015-12-02 11:42:17,771 INFO  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(ajp-/127.0.0.1:8702-8) [47ec013e] Running command: 
AddStorageServerConnectionCommand internal: false. Entities affected :  ID: 
aaa0----123456789aaa Type: SystemAction group 
CREATE_STORAGE_DOMAIN with role type ADMIN
2015-12-02 11:42:17,771 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp-/127.0.0.1:8702-8) [47ec013e] START, 
ConnectStorageServerVDSCommand(HostName = ldc01omv01, HostId = 
09bb3024-170f-48a1-a78a-951a2c61c680, storagePoolId = 
----, storageType = NFS, connectionList = [{ 
id: null, connection: omniserv.lab.dc01.axway.int:/nfs/omnicol, iqn: null, 
vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, 
nfsTimeo: null };]), log id: 7651babb
2015-12-02 11:42:17,790 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp-/127.0.0.1:8702-8) [47ec013e] FINISH, ConnectStorageServerVDSCommand, 
return: {----=0}, log id: 7651babb
2015-12-02 11:42:17,793 INFO  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(ajp-/127.0.0.1:8702-8) [47ec013e] Lock freed to object EngineLock 
[exclusiveLocks= key: omniserv.lab.dc01.axway.int:/nfs/omnicol value: 
STORAGE_CONNECTION
, sharedLocks= ]
2015-12-02 11:42:17,810 INFO  
[org.ovirt.engine.core.bll.storage.AddNFSStorageDomainCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] Running command: AddNFSStorageDomainCommand 
internal: false. Entities affected :  ID: aaa0----123456789aaa 
Type: SystemAction group CREATE_STORAGE_DOMAIN with role type ADMIN
2015-12-02 11:42:17,813 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] START, 
ConnectStorageServerVDSCommand(HostName = ldc01omv01, HostId = 
09bb3024-170f-48a1-a78a-951a2c61c680, storagePoolId = 
----, storageType = NFS, connectionList = [{ 
id: ce05a2b0-cee9-44a9-845e-8a35349c7195, connection: 
omniserv.lab.dc01.axway.int:/nfs/omnicol, iqn: null, vfsType: null, 
mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), 
log id: 7c9bb0db
2015-12-02 11:42:17,828 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] FINISH, ConnectStorageServerVDSCommand, 
return: {ce05a2b0-cee9-44a9-845e-8a35349c7195=0}, log id: 7c9bb0db
2015-12-02 11:42:17,828 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] START, 
CreateStorageDomainVDSCommand(HostName = ldc01omv01, HostId = 
09bb3024-170f-48a1-a78a-951a2c61c680, 
storageDomain=StorageDomainStatic[test_nfs, 
5c4b7602-47de-47a7-a278-95b1ac7b1f8d], 
args=omniserv.lab.dc01.axway.int:/nfs/omnicol), log id: 62401241
2015-12-02 11:42:17,986 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] Failed in CreateStorageDomainVDS method
2015-12-02 11:42:17,986 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
(ajp-/127.0.0.1:8702-6) [66393037] Command 

[ovirt-users] RE : virsh athentification failure Users Digest, Vol 51, Issue 34

2015-12-04 Thread Jean-Pierre Ribeauville
Hi,

AFA IUnderstand , 
/var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0
  is a 
 channel used for QEMU agent , so no way to use it for private purpose.

J.P.

-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
users-requ...@ovirt.org
Envoyé : vendredi 4 décembre 2015 16:24
À : users@ovirt.org
Objet : Users Digest, Vol 51, Issue 34

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Users digest..."


Today's Topics:

   1.  virsh athentification failure (Jean-Pierre Ribeauville)
   2. Re:  virsh athentification failure (Nathana?l Blanchet)
   3. Re:  virsh athentification failure (Nathana?l Blanchet)


--

Message: 1
Date: Fri, 4 Dec 2015 15:18:19 +
From: Jean-Pierre Ribeauville <jpribeauvi...@axway.com>
To: "users@ovirt.org" <users@ovirt.org>
Cc: "libvirt-us...@redhat.com" <libvirt-us...@redhat.com>
Subject: [ovirt-users] virsh athentification failure
Message-ID:
<1051efb4d3a1704680c38ccaac5836d2929dc...@wptxmail2.ptx.axway.int>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I wrote a C program running in a KVM host.
Part of it adds a Unix Channel device in all Guests in order to  have a dialog 
from Host to Guest.
As long as my host wasn't part of an Ovirt cluster , all was running fine.


I added my host in a ovirt cluster , and then , when running the script 
creating the channel device  ( by  using  "virsh attach-device  --persistent 
-live ." ) , I got following error :

Please enter your authentication name:
Please enter your password:
error: failed to connect to the hypervisor
error: no valid connection
error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
generic failure: All-whitespace username.)


What's the user/password I've to use then ?


BTW , I've seen that following channel device was  added to the Guest at its 
creation :

/var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0

What's used for ?
I presume I cannot use for my private purpose ?

I sent this topic to ovirt  and libvirt mailing lists , cos I don't know which 
forum is the right one for this kind of subject.


Thanks for help.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com<mailto:jpribeauvi...@axway.com>
http://www.axway.com<http://www.axway.com/>



P Pensez ? l'environnement avant d'imprimer.



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.ovirt.org/pipermail/users/attachments/20151204/fc15458a/attachment-0001.html>

--

Message: 2
Date: Fri, 4 Dec 2015 16:22:31 +0100
From: Nathana?l Blanchet <blanc...@abes.fr>
Cc: "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] virsh athentification failure
Message-ID: <5661afb7@abes.fr>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"



Le 04/12/2015 16:21, Nathana?l Blanchet a ?crit :
> user:vdsm@ovirt
> pass:shibboleth
>
> Le 04/12/2015 16:18, Jean-Pierre Ribeauville a ?crit :
>>
>> Hi,
>>
>> I wrote a C program running in a KVM host.
>>
>> Part of it adds a Unix Channel device in all Guests in order to  have 
>> a dialog from Host to Guest.
>>
>> As long as my host wasn?t part of an Ovirt cluster , all was running 
>> fine.
>>
>> I added my host in a ovirt cluster , and then , when running the 
>> script creating the channel device  ( by  using  ?virsh attach-device  
>> --persistent ?live ?..? ) , I got following error :
>>
>> /Please enter your authentication name:/
>>
>> /Please enter your password:/
>>
>> /error: failed to connect to the hypervisor/
>>
>> /error: no valid connection/
>>
>> /error: authentication failed: Failed to step SASL negotiation: -1
>> (SASL(-1): generic failure: All-whitespace username.)/
>>
>> //
>>
>> //
>>
>> What?s the user/password I?ve to use then ?
>>
>> //
>>
>> //
>>
>> BTW , I?ve seen that following channel device was  added to the Guest 
>> at its creation :
>>
>> //var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.
>> org.qemu.guest_agent.0

Re: [ovirt-users] virsh athentification failure

2015-12-04 Thread Nathanaël Blanchet

and vdsm@rhev with the same password for rhev

Le 04/12/2015 16:18, Jean-Pierre Ribeauville a écrit :


Hi,

I wrote a C program running in a KVM host.

Part of it adds a Unix Channel device in all Guests in order to  have 
a dialog from Host to Guest.


As long as my host wasn’t part of an Ovirt cluster , all was running fine.

I added my host in a ovirt cluster , and then , when running the 
script creating the channel device  ( by  using  “virsh attach-device 
 --persistent –live …..” ) , I got following error :


/Please enter your authentication name:/

/Please enter your password:/

/error: failed to connect to the hypervisor/

/error: no valid connection/

/error: authentication failed: Failed to step SASL negotiation: -1 
(SASL(-1): generic failure: All-whitespace username.)/


//

//

What’s the user/password I’ve to use then ?

//

//

BTW , I’ve seen that following channel device was  added to the Guest 
at its creation :


//var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0/

What’s used for ?

I presume I cannot use for my private purpose ?

//

I sent this topic to ovirt  and libvirt mailing lists , cos I don’t 
know which forum is the right one for this kind of subject.


//

Thanks for help.

Regards,

**

*J.P. Ribeauville*

P: +33.(0).1.47.17.20.49

.

Puteaux 3 Etage 5  Bureau 4

_jpribeauvi...@axway.com __
_http://www.axway.com 

P Pensez à l’environnement avant d’imprimer.



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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] virsh athentification failure

2015-12-04 Thread Nathanaël Blanchet



Le 04/12/2015 16:21, Nathanaël Blanchet a écrit :

user:vdsm@ovirt
pass:shibboleth

Le 04/12/2015 16:18, Jean-Pierre Ribeauville a écrit :


Hi,

I wrote a C program running in a KVM host.

Part of it adds a Unix Channel device in all Guests in order to  have 
a dialog from Host to Guest.


As long as my host wasn’t part of an Ovirt cluster , all was running 
fine.


I added my host in a ovirt cluster , and then , when running the 
script creating the channel device  ( by  using  “virsh attach-device 
 --persistent –live …..” ) , I got following error :


/Please enter your authentication name:/

/Please enter your password:/

/error: failed to connect to the hypervisor/

/error: no valid connection/

/error: authentication failed: Failed to step SASL negotiation: -1 
(SASL(-1): generic failure: All-whitespace username.)/


//

//

What’s the user/password I’ve to use then ?

//

//

BTW , I’ve seen that following channel device was  added to the Guest 
at its creation :


//var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0/

What’s used for ?

I presume I cannot use for my private purpose ?

//

I sent this topic to ovirt  and libvirt mailing lists , cos I don’t 
know which forum is the right one for this kind of subject.


//

Thanks for help.

Regards,

**

*J.P. Ribeauville*

P: +33.(0).1.47.17.20.49

.

Puteaux 3 Etage 5  Bureau 4

_jpribeauvi...@axway.com __
_http://www.axway.com

P Pensez à l’environnement avant d’imprimer.



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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] Virt-v2v import issue

2015-12-04 Thread Budur Nagaraju
Disk is ide
Graphics is spice
Is type is win2k3

Does't goes to safe mode.

-Nagaraju
On Dec 4, 2015 9:30 PM, "Michal Skrivanek" 
wrote:

>
> > On 04 Dec 2015, at 12:15, Budur Nagaraju  wrote:
> >
> > Hi
> >
> > I have converted win2k3 which was deployed in vmware esxi to oVirt by
> using "v2v" tool ,imported successfully after powering on unable to get the
> login prompt getting stuck at "windows is starting".
> >
> > can someone help me in this issue ?
>
> how does the VM look like - what devices does it have (disks, graphics)?
> does it boot in safe mode?
> Is the OS type in Edit VM dialog set correctly?
>
> Thanks,
> michal
>
> >
> > Thanks,
> > Nagaraju
> >
> >
> >
> > ___
> > 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


[ovirt-users] virsh athentification failure

2015-12-04 Thread Jean-Pierre Ribeauville
Hi,

I wrote a C program running in a KVM host.
Part of it adds a Unix Channel device in all Guests in order to  have a dialog 
from Host to Guest.
As long as my host wasn't part of an Ovirt cluster , all was running fine.


I added my host in a ovirt cluster , and then , when running the script 
creating the channel device  ( by  using  "virsh attach-device  --persistent 
-live ." ) , I got following error :

Please enter your authentication name:
Please enter your password:
error: failed to connect to the hypervisor
error: no valid connection
error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
generic failure: All-whitespace username.)


What's the user/password I've to use then ?


BTW , I've seen that following channel device was  added to the Guest at its 
creation :

/var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0

What's used for ?
I presume I cannot use for my private purpose ?

I sent this topic to ovirt  and libvirt mailing lists , cos I don't know which 
forum is the right one for this kind of subject.


Thanks for help.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com
http://www.axway.com



P Pensez à l'environnement avant d'imprimer.



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


Re: [ovirt-users] Migration from VirtualBox to oVirt (do's and don'ts)

2015-12-04 Thread Michal Skrivanek

> On 04 Dec 2015, at 14:16, Alexander Wels  wrote:
> 
> On Friday, December 04, 2015 03:03:25 PM Kiril L wrote:
>> As it seems a new server will have to be deployed soon. There is
>> almost no budget and i cannot afford more then one machine.
>> 
>> Because of that i was wondering if it would be possible to use
>> VirtualBox (for now) and later migrate to oVirt (when I manage to get
>> a permission)?
>> 
> 
> Any particular reason you want to use virtual box? Why not do KVM with virt 
> manager. That should be a painless conversion to oVirt since the format is 
> the 
> same.

Let alone there is much less overhead if the machine specs is not that great 
and there are no other hosts available

Either way, importing KVM/libvirt VMs are currently a bit cumbersome (3.6 
supports v2v from VMware only), but doable with few workarounds, and it’s 
certainly safer than VMware or VirtuaBox

> 
>> I was wondering is there something that i have to do (when setting up
>> the VM) in order to migrate at some point to oVirt?
>> ___
>> 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

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


[ovirt-users] Migration from VirtualBox to oVirt (do's and don'ts)

2015-12-04 Thread Kiril L
As it seems a new server will have to be deployed soon. There is
almost no budget and i cannot afford more then one machine.

Because of that i was wondering if it would be possible to use
VirtualBox (for now) and later migrate to oVirt (when I manage to get
a permission)?

I was wondering is there something that i have to do (when setting up
the VM) in order to migrate at some point to oVirt?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migration from VirtualBox to oVirt (do's and don'ts)

2015-12-04 Thread Alexander Wels
On Friday, December 04, 2015 03:03:25 PM Kiril L wrote:
> As it seems a new server will have to be deployed soon. There is
> almost no budget and i cannot afford more then one machine.
> 
> Because of that i was wondering if it would be possible to use
> VirtualBox (for now) and later migrate to oVirt (when I manage to get
> a permission)?
> 

Any particular reason you want to use virtual box? Why not do KVM with virt 
manager. That should be a painless conversion to oVirt since the format is the 
same.

> I was wondering is there something that i have to do (when setting up
> the VM) in order to migrate at some point to oVirt?
> ___
> 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


[ovirt-users] Migration failed

2015-12-04 Thread Massimo Mad
Hi,
I want to upgrade my oVirt infrastructure, host on host centos 6.x on bare
metal 7.x.
I created a new cluster with inside the new host, and when I try to migrate
the vm from one cluster to another I have the following messages:
Migration failed, No available hosts found
Migration failed two to Error: Fatal Error during migration. Trying to
migrate to another Host
I checked the host file and the certificates and everything is fine
Regards
Massimo
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Virt-v2v import issue

2015-12-04 Thread Michal Skrivanek

> On 04 Dec 2015, at 17:05, Budur Nagaraju  wrote:
> 
> Disk is ide
> Graphics is spice
> Is type is win2k3
> 

try switching to VNC, depending on v2v process that’s one thing which might go 
wrong easily.
If it doesn’t help you would need to get back to the v2v logs and see it there 
was any problem during the conversion, something unusual about your guest, some 
strange device, etc
> 
> Does't goes to safe mode.
> 
> -Nagaraju
> 
> On Dec 4, 2015 9:30 PM, "Michal Skrivanek"  > wrote:
> 
> > On 04 Dec 2015, at 12:15, Budur Nagaraju  > > wrote:
> >
> > Hi
> >
> > I have converted win2k3 which was deployed in vmware esxi to oVirt by using 
> > "v2v" tool ,imported successfully after powering on unable to get the login 
> > prompt getting stuck at "windows is starting".
> >
> > can someone help me in this issue ?
> 
> how does the VM look like - what devices does it have (disks, graphics)?
> does it boot in safe mode?
> Is the OS type in Edit VM dialog set correctly?
> 
> Thanks,
> michal
> 
> >
> > Thanks,
> > Nagaraju
> >
> >
> >
> > ___
> > 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

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


Re: [ovirt-users] virsh athentification failure Users Digest, Vol 51, Issue 34

2015-12-04 Thread Michal Skrivanek

> On 04 Dec 2015, at 16:42, Jean-Pierre Ribeauville  
> wrote:
> 
> Hi,
> 
> AFA IUnderstand , 
> /var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0
>   is a 
> channel used for QEMU agent , so no way to use it for private purpose.

no, it’s occupied by qemu-ga
even if you don’t start the guest process occupying it you would likely be 
interfering with libvirt’s internal functionality…..create your own and you can 
do whatever you want:)

> 
> J.P.
> 
> -Message d'origine-
> De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
> users-requ...@ovirt.org
> Envoyé : vendredi 4 décembre 2015 16:24
> À : users@ovirt.org
> Objet : Users Digest, Vol 51, Issue 34
> 
> Send Users mailing list submissions to
>   users@ovirt.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.ovirt.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>   users-requ...@ovirt.org
> 
> You can reach the person managing the list at
>   users-ow...@ovirt.org
> 
> When replying, please edit your Subject line so it is more specific than "Re: 
> Contents of Users digest..."
> 
> 
> Today's Topics:
> 
>   1.  virsh athentification failure (Jean-Pierre Ribeauville)
>   2. Re:  virsh athentification failure (Nathana?l Blanchet)
>   3. Re:  virsh athentification failure (Nathana?l Blanchet)
> 
> 
> --
> 
> Message: 1
> Date: Fri, 4 Dec 2015 15:18:19 +
> From: Jean-Pierre Ribeauville 
> To: "users@ovirt.org" 
> Cc: "libvirt-us...@redhat.com" 
> Subject: [ovirt-users] virsh athentification failure
> Message-ID:
>   <1051efb4d3a1704680c38ccaac5836d2929dc...@wptxmail2.ptx.axway.int>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> I wrote a C program running in a KVM host.
> Part of it adds a Unix Channel device in all Guests in order to  have a 
> dialog from Host to Guest.
> As long as my host wasn't part of an Ovirt cluster , all was running fine.
> 
> 
> I added my host in a ovirt cluster , and then , when running the script 
> creating the channel device  ( by  using  "virsh attach-device  --persistent 
> -live ." ) , I got following error :
> 
> Please enter your authentication name:
> Please enter your password:
> error: failed to connect to the hypervisor
> error: no valid connection
> error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
> generic failure: All-whitespace username.)
> 
> 
> What's the user/password I've to use then ?
> 
> 
> BTW , I've seen that following channel device was  added to the Guest at its 
> creation :
> 
> /var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0
> 
> What's used for ?
> I presume I cannot use for my private purpose ?
> 
> I sent this topic to ovirt  and libvirt mailing lists , cos I don't know 
> which forum is the right one for this kind of subject.
> 
> 
> Thanks for help.
> 
> Regards,
> 
> 
> J.P. Ribeauville
> 
> 
> P: +33.(0).1.47.17.20.49

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


Re: [ovirt-users] Migration from VirtualBox to oVirt (do's and don'ts)

2015-12-04 Thread Diego Remolina
To my knowledge there is no easy way to import VMs from virtualbox into
ovirt/RHEV. I asked RH support (with a contract) and they said it is not
supported.

The way I did it is very painful, so I can tell you it is possible.

1. Use clonezilla ISO and boot your virtualbox vm from that ISO. Use
clonezilla to create an image to a share (samba or nfs)

2. Create the new VM in ovirt/RHEV and the virtual drive. Boot from
clonezilla and restore the image to the new virtual drive.

I tested this on Linux guests. For windows guests you may need to somehow
add the ovirt drivers to the image under virtualbox prior to cloning it.

Diego
On Dec 4, 2015 11:03, "Michal Skrivanek" 
wrote:

>
> > On 04 Dec 2015, at 14:16, Alexander Wels  wrote:
> >
> > On Friday, December 04, 2015 03:03:25 PM Kiril L wrote:
> >> As it seems a new server will have to be deployed soon. There is
> >> almost no budget and i cannot afford more then one machine.
> >>
> >> Because of that i was wondering if it would be possible to use
> >> VirtualBox (for now) and later migrate to oVirt (when I manage to get
> >> a permission)?
> >>
> >
> > Any particular reason you want to use virtual box? Why not do KVM with
> virt
> > manager. That should be a painless conversion to oVirt since the format
> is the
> > same.
>
> Let alone there is much less overhead if the machine specs is not that
> great and there are no other hosts available
>
> Either way, importing KVM/libvirt VMs are currently a bit cumbersome (3.6
> supports v2v from VMware only), but doable with few workarounds, and it’s
> certainly safer than VMware or VirtuaBox
>
> >
> >> I was wondering is there something that i have to do (when setting up
> >> the VM) in order to migrate at some point to oVirt?
> >> ___
> >> 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
>
> ___
> 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] Greetings and observations from an oVirt noob

2015-12-04 Thread Ken Marsh

Hi again,

Sorry for not getting back to you sooner.

I did read all that stuff, but what was totally unclear to me I finally 
understood from the Red Hat documentation. It's just the concept that an 
oVirt node's storage isn't used for VMs. I never would have guessed that 
in a million years.


Here's my situation - I have a bunch of Xeon workstations, each with 2TB 
HDD. I'd like to use them as both RHEV nodes AND use their HDD for 
storage. If I understand correctly, I can't do that. I'll need to set 
some up with RHEL 6.5 and share the storage, and I'll need to set others 
up as RHEV nodes to run the VMs. On the RHEL machines the CPU will go to 
waste and on the RHEV nodes the disk space goes to waste. Is this right?


The confusion I had about the hypervisor version is because when you are 
booting the 3.5 hypervisor, it says in the splash screen "oVirt 3.2.1". 
I'd much rather it said "Press F1 to see something useful," but now that 
I've figured this out I'm very happy with it.


I'm still learning and the more I learn the more I like. It's just so 
conceptually different from VMWare, and the doco and naming conventions 
seem to take the general concept for granted. Is the VM's disk really 
used over the network and not locally copied to the oVirt node where it 
runs? I guess in a purely datacenter environment that makes sense but I 
was hoping to make use of the storage on nodes too.


I think better I keep learning about it and when I understand 
completely, then I'll make suggestions on how to add/change the 
documentation. That would probably be more helpful, right?


Thanks again - amazing product. I'm enjoying this despite the initial 
confusion and trial-and-error learning.





On 23/11/15 17:27, Yedidyah Bar David wrote:

On Mon, Nov 23, 2015 at 3:17 AM, Kenneth Marsh  wrote:

Hello all,

I do development operations for a part of a software division of a large
multinational. I'm an experienced user of VMWare and Amazon AWS, soon to be
pushed onto Azure, and I've found a common thread among all solutions - they
are all expensive enough that my budget will certainly not be approved with
them. I'm deferred to the IT part of the organisation, which operates too
slowly and inefficiently (in terms of both cost and time) for my
requirements. This is what led me to RHEV, and ultimately to oVirt. This is
a feasibility study for what may ultimately be a RHEV-based data center in a
new office, and if I succeed we will be doing more on a fixed budget by
using more RHEV and less Azure.

I spent the weekend working with oVirt and I'm very impressed. I had no idea
such a comprehensive enterprise-class solution was even available. Being a
complete newcomer, I started without a clue and after a weekend had set up a
nearly-working data centre including an oVirt hypervisor node, all on old
Dell notebooks loaned to me temporarily by our IT group. I started with RHEV
but decided to use oVirt for two reasons - one being to see what's possible
with the latest and greatest, the other because RHEV required some licensing
I've not yet purchased. Long term it'll have to be RHEV for enterprise
support reasons I'm sure many are familiar with.

There are a few things I found, from a newcomer's perspective, very unclear.

What is oVirt, vs oVirt engine, vs oVirt node, vs oVirt host. Try to find
documentation on any of these and get spammed with references to the others.
I think I've worked out that these are the collective suite of products, the
management centre, the bare-metal hypervisor, and participating member
servers, respectively.

You got it mostly right.

Did you have a look at [1]?

The engine is the process that manages the whole thing. It exposes an admin
interface (web+api), monitors the hosts and VMs, etc.

A host and node are where VMs run. In many cases these terms are
interchangeable,
although usually "node" is a host installed with the ovirt-node image, whereas
an "ovirt host" is a host installed with a "normal" OS and later provisioned to
be used (by installing stuff on it, usually using the "New Host" wizard in the
web ui).

[1] http://www.ovirt.org/Architecture

Also adding Mikey.


Which versions of CentOS/Fedora/oVirt Node are compatible at which oVirt
compatibility level? This would normally be addressed in the release notes.

I assume you refer to 3.6, released a few weeks ago.

The release notes page [2] does mention specific versions of fedora
and el. I agree
it could be written more clearly. The Download page [3] lists them too.

[2] http://www.ovirt.org/OVirt_3.6_Release_Notes
[3] http://www.ovirt.org/Download


It was also confusing to discover oVirt node 3.2.1 is compatible at the 3.5

3.2.1? Where is this one referenced?

RN [2] has a section "ovirt node" with links to pre-release (has
ovirt-node-iso-3.6-0.999.201510221942) and final (still empty).

Adding Fabian.


level. The answer to this remains unclear but I'm trying to use Fedora 22
across the board now with 

Re: [ovirt-users] Need to clear domain Export already exists in an ovirt (3.5)

2015-12-04 Thread Christopher Cox

On 12/03/2015 08:55 AM, Eli Mesika wrote:



- Original Message -

From: c...@endlessnow.com
To: users@ovirt.org
Sent: Wednesday, December 2, 2015 11:02:25 PM
Subject: [ovirt-users] Need to clear domain Export already exists in an ovirt 
(3.5)

Our ovirt 3.5 host thinks it has an export domain, but it's not visible
anywhere, but it's keeping us from importing a domain from a different
datacenter.  What database update do I need to issue to clear the bad
state from the ovirt 3.5 we are trying to Import into?


Hi

Can you please provide the result of the following query

select * from storage_domain_static where storage_domain_type = 3;

Is that the storage domain you wish to remove ?


Correct.

engine=> select * from storage_domain_static where storage_domain_type = 3;
  id  |   storage| 
storage_name | storage_domain_type | storage_type | storage_domain_format_typ
e | _create_date  | _update_date | recoverable | 
last_time_used_as_master | storage_description | storage_comment

--+--+--+-+--+--
--+---+--+-+--+-+-
 57fdd1c6-5c76-4174-8df7-50dbe82bc957 | d0eebb52-b9f6-4b11-8bc1-f100880519dd | 
Export   |   3 |1 | 0
  | 2015-12-02 13:57:10.111442-06 |  | t   | 
 0 | |
 c29afe14-0bc5-4fde-ab15-3f98f1ef9ed0 | 2e0bb17a-5f0c-4a24-9ab7-312de3f718be | 
MoveIt   |   3 |1 | 0
  | 2014-09-24 15:36:03.066565-05 |  | t   | 
 0 | |

(2 rows)


These don't exist on the datacenter.

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


Re: [ovirt-users] Setting PXE boot via Python API

2015-12-04 Thread Jamie Lawrence

> On Dec 4, 2015, at 12:50 AM, Juan Hernández  wrote:
> 
> On 12/03/2015 10:59 PM, Jamie Lawrence wrote:

>>vm.set_os(params.OperatingSystem(cmdline=kernel_cmd))
> 
> This line ^ is overwriting the complete OS configuration that you set
> before, so the change to the boot device is lost. If you enable the
> debug output of the SDK (with debug=True in the constructor of the API
> object) you will see that this is what is sent:

Oh, thank you. That’s what I was missing. (Also, debug=True will make life
nicer.)

-j

-- 
Jamie Lawrence | jlawre...@squaretrade.com





smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virsh athentification failure Users Digest Users Digest, Vol 51, Issue 35

2015-12-04 Thread Jean-Pierre Ribeauville
na?l Blanchet)


--

Message: 1
Date: Fri, 4 Dec 2015 15:18:19 +
From: Jean-Pierre Ribeauville <jpribeauvi...@axway.com>
To: "users@ovirt.org" <users@ovirt.org>
Cc: "libvirt-us...@redhat.com" <libvirt-us...@redhat.com>
Subject: [ovirt-users] virsh athentification failure
Message-ID:
<1051efb4d3a1704680c38ccaac5836d2929dc...@wptxmail2.ptx.axway.int>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I wrote a C program running in a KVM host.
Part of it adds a Unix Channel device in all Guests in order to  have a dialog 
from Host to Guest.
As long as my host wasn't part of an Ovirt cluster , all was running fine.


I added my host in a ovirt cluster , and then , when running the script 
creating the channel device  ( by  using  "virsh attach-device  --persistent 
-live ." ) , I got following error :

Please enter your authentication name:
Please enter your password:
error: failed to connect to the hypervisor
error: no valid connection
error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): 
generic failure: All-whitespace username.)


What's the user/password I've to use then ?


BTW , I've seen that following channel device was  added to the Guest at its 
creation :

/var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0

What's used for ?
I presume I cannot use for my private purpose ?

I sent this topic to ovirt  and libvirt mailing lists , cos I don't know which 
forum is the right one for this kind of subject.


Thanks for help.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com<mailto:jpribeauvi...@axway.com>
http://www.axway.com<http://www.axway.com/>



P Pensez ? l'environnement avant d'imprimer.



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.ovirt.org/pipermail/users/attachments/20151204/fc15458a/attachment-0001.html>

--

Message: 2
Date: Fri, 4 Dec 2015 16:22:31 +0100
From: Nathana?l Blanchet <blanc...@abes.fr>
Cc: "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] virsh athentification failure
Message-ID: <5661afb7@abes.fr>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"



Le 04/12/2015 16:21, Nathana?l Blanchet a ?crit :
> user:vdsm@ovirt
> pass:shibboleth
>
> Le 04/12/2015 16:18, Jean-Pierre Ribeauville a ?crit :
>>
>> Hi,
>>
>> I wrote a C program running in a KVM host.
>>
>> Part of it adds a Unix Channel device in all Guests in order to  have 
>> a dialog from Host to Guest.
>>
>> As long as my host wasn?t part of an Ovirt cluster , all was running 
>> fine.
>>
>> I added my host in a ovirt cluster , and then , when running the 
>> script creating the channel device  ( by  using  ?virsh attach-device 
>> --persistent ?live ?..? ) , I got following error :
>>
>> /Please enter your authentication name:/
>>
>> /Please enter your password:/
>>
>> /error: failed to connect to the hypervisor/
>>
>> /error: no valid connection/
>>
>> /error: authentication failed: Failed to step SASL negotiation: -1
>> (SASL(-1): generic failure: All-whitespace username.)/
>>
>> //
>>
>> //
>>
>> What?s the user/password I?ve to use then ?
>>
>> //
>>
>> //
>>
>> BTW , I?ve seen that following channel device was  added to the Guest 
>> at its creation :
>>
>> //var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.
>> org.qemu.guest_agent.0/
>>
>> What?s used for ?
>>
>> I presume I cannot use for my private purpose ?
>>
>> //
>>
>> I sent this topic to ovirt  and libvirt mailing lists , cos I don?t 
>> know which forum is the right one for this kind of subject.
>>
>> //
>>
>> Thanks for help.
>>
>> Regards,
>>
>> **
>>
>> *J.P. Ribeauville*
>>
>> P: +33.(0).1.47.17.20.49
>>
>> .
>>
>> Puteaux 3 Etage 5  Bureau 4
>>
>> _jpribeauvi...@axway.com <mailto:jpribeauvi...@axway.com>__
>> _<http://www.axway.com/>http://www.axway.com
>>
>> P Pensez ? l?environnement avant d?imprimer.
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> --
> Nathana?l Blanchet
>
> Supervision r?seau
> P?le Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 3