Re: [Users] tuned profile for Centos hosts -- new Bugzilla or Regression

2014-01-08 Thread Sander Grendelman
I did not run into this problem at all ( neither on my cos6.4 nor on
my 6.5 hosts ).
The "virtual-host" profile was chosen automatically, installation of
vdsm was literally
as simple as adding the following lines in the %post section of my
kickstart file:

rpm -ivh http://ovirt.org/releases/ovirt-release-el.noarch.rpm
rpm -ivh 
http://mirror.1000mbps.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

yum -y update epel-release
yum -y install vdsm



On Mon, Jan 6, 2014 at 11:09 PM, Ted Miller  wrote:
> I posted a script (a while back) to get oVirt running on Centos hosts.
>
> One of the items in it has to do with what "tuned" profile to use.  At the
> time I first ran into it, this was a fatal error.  It is now just a warning,
> so it does not prevent installing a host.  But, as a warning, a lot of
> people are probably missing it.
>
> When using Centos 6 as the host OS, the script tries to install a
> "rhs-virtualization" profile.  That profile is not included in Centos.  I
> substituted the "virtual-host" profile.
>
> I believe that this may be a regression as a result of Bugzilla 987293,
> where "rhs-virtualization" was substituted for "virtual-host" for RHEV +
> RHS.  I am guessing that whatever is used as a switch to determine RHEV +
> RHS is also shoving Centos into that same path, which is not appropriate.
>
> My suggestion would be to write the script so that it uses
> "rhs-virtualization" when present, and if it is not present, then it falls
> back to "virtual-host".  (I don't know what (if any) differences there are
> between the two profiles.)
>
> Should I open a new bug, make a comment on 987293, or take some other path?
>
> Ted Miller
>
>
> ___
> 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: [Users] Network profile lost after host edit

2014-01-08 Thread Simon Barrett
To test this further I setup another 3.3.2-1.el6 ovirt-engine. I'm not seeing 
the same problem on the new engine.

I'm going to try and move all configuration/VM's etc from the problem 
ovirt-engine install to the new one to see if the problem re-appears. 

I'll let you know how it goes.

Simon


-Original Message-
From: Lior Vernia [mailto:lver...@redhat.com] 
Sent: 08 January 2014 06:02
To: Itamar Heim
Cc: Simon Barrett; users@ovirt.org
Subject: Re: [Users] Network profile lost after host edit



On 07/01/14 23:16, Itamar Heim wrote:
> On 01/07/2014 08:59 AM, Lior Vernia wrote:
>> Hi Simon,
>>
>> Thank you so much for tracking this down. I'm currently immersed in 
>> oVirt 3.4 feature stuff, but I just wanted to let you know I saw this 
>> and am planning to take care of it; I'll take a look in a week or two 
>> when things calm down.
>>
>> The bad news are, I suspect there will be no workaround other than 
>> upgrading to the next version that will include the fix (likely 3.3.3).
>>
> 
> is there an ovirt bug targeted to 3.3.3 tracking this?
> 

I'll open one as soon as I test the issue. Unless Simon would like to pick up 
the gauntlet and open one on bugzilla.redhat.com?...

>> Yours, Lior.
>>
>> On 06/01/14 12:21, Simon Barrett wrote:
>>> I am now able to reproduce the problem where network profile 
>>> definitions are lost on VM edit.
>>>
>>> - Create VM
>>> - From the "Network Interfaces" tab, click on "New" and assign the 
>>> ovirtmgt profile to nic1
>>> - Edit VM, from the "nic1" drop down select another profile and 
>>> click OK
>>> - Edit the same VM again and nic1 lists as 
>>>
>>> I upgraded to 3.3.2-1.el6 and still see the problem.
>>>
>>> As ever, any help is very much appreciated.
>>>
>>> Thanks,
>>>
>>> Simon
>>>
>>>
>>> -Original Message-
>>> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
>>> Behalf Of Simon Barrett
>>> Sent: 12 December 2013 21:53
>>> To: Lior Vernia
>>> Cc: users@ovirt.org
>>> Subject: Re: [Users] Network profile lost after host edit
>>>
>>> Lior,
>>>
>>> I'm running 3.3.1.
>>>
>>> I think it may be related to how I created the VM's. Another VM 
>>> created using the blank template works fine and the network config 
>>> displays correctly when I click on edit.
>>>
>>> The problem VM's were created with a different template. I'll dig a 
>>> bit further to see if I can narrow it down any further.
>>>
>>> I don't have to click show advanced to exhibit the problem.
>>>
>>> Thanks for the response
>>>
>>> Simon
>>>
 On 12 Dec 2013, at 16:44, "Lior Vernia"  wrote:

 Hi Simon,

 I apologize for the delay in my response. I've worked quite a bit 
 on that part of the dialog since oVirt 3.3, and while it was quite 
 buggy I haven't encountered this exact issue you're describing. It 
 does remind me of one bug though; could it be that pressing the 
 "Show Advanced Options" is what triggers the strange behavior?

 What version of oVirt engine are you running? Both 3.3.1 and 3.3.2 
 should be quite stable as far as this dialog is concerned, so 
 upgrading might be a good idea.

 As for workarounds, it sounds like a GUI issue so I don't think 
 there's anything you can do apart from upgrading the engine.

 Yours, Lior.

> On 11/12/13 13:40, Simon Barrett wrote:
> I have a problem where VM network profiles are lost when editing a 
> host.
> E.G.
>
>
>
> * VM is running fine on the correct network. Network
> Interfaces
> tab shows "nic1" and "Network Name" shows the correct network profile.
>
> * I shutdown the VM then right click and Edit.
>
> * The General settings for the node shows "nic1 ". If I
> then edit config, something like increasing memory or changing CPU 
> cores then click on OK, the VM configuration is saved without a 
> network profile.
>
> * When I boot the VM I cannot connect to it.
>
> * I then have to edit the node again configure back in the
> correct network profile.
>
>
>
> Does anyone know if this is a known issue? If not, any suggestions 
> as to how I correct this so that the original network profile 
> definition is retained after an edit?
>
>
>
> Many thanks,
>
>
>
> Simon
>
>
>
>
>
> ___
> 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/listi

Re: [Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Markus Stockhausen
> integration 1037663 F20 - ovirt-log-collector: conflicts with file from 
> package sos-3.0-3.fc20.noarch

Given the fact that F20 is already relased and Ovirt 3.4.0 is intended to 
support it ... shouldn't that be a blocker?

Markus
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] ovirt-engine-reports rpm for CentOS and oVirt 3.3

2014-01-08 Thread Karli Sjöberg
ons 2013-10-16 klockan 13:50 +0200 skrev Nicolas Ecarnot:
> Le 16/10/2013 13:20, Yaniv Dary a écrit :
> > We have dependencies issues on CentOS, so we do not create rpms for it.
> > If you want to propose a patch or add the necessary rpms to the CentOS 
> > repos, we will be happy to review it.
> > As of now we can't allocate resources to do this. This might happen 
> > somewhere in the future, no timetable for this.

Yaniv, is this still the case, or have these dependency issues cleared
up for you to be able to provide rpms now?

I know dreyou built and hosted his own rpms for 3.2, has anyone asked
him for guidance?

/K

> 
> I'm not sure to have neither the skill not the time at present, but it 
> might change.
> Is there a starting point I should look at, as this feature is important 
> for us, and I would be glad to help.
> 
> Nicolas
> 
> >
> >
> >
> > Yaniv
> >
> > - Original Message -
> >> From: "Nicolas Ecarnot" 
> >> To: "users" 
> >> Sent: Tuesday, October 15, 2013 9:56:56 AM
> >> Subject: [Users] ovirt-engine-reports rpm for CentOS and oVirt 3.3
> >>
> >> Good morning or whenever,
> >>
> >> I read what RPM I have to install here
> >> http://www.ovirt.org/Ovirt_Reports but I can not find any RPM for CentOS 6.
> >>
> >> I strongly searched around the web and in the different repo folders, as
> >> well as in the mailing list msgs, and it seems the production of RPM for
> >> CentOS has been disabled for whatever reason.
> >>
> >> Is there a private recipe to create them or get them an unofficial way
> >> (reports, dwh, jasperreports...)
> >>
> >> Thank you.
> >>
> >> --
> >> Nicolas Ecarnot
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> 
> 
> -- 
> Nicolas Ecarnot
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 

Med Vänliga Hälsningar

---
Karli Sjöberg
Swedish University of Agricultural Sciences Box 7079 (Visiting Address
Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.se
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Sandro Bonazzola
Hi,

as you may know, we're planning to build oVirt 3.4.0 beta really soon and 
release 3.4.0 by end of January.
A tracker bug (https://bugzilla.redhat.com/show_bug.cgi?id=1024889) has been 
created for this release.

The following is a list of the current blocker bugs with target 3.4.0:
Whiteboard  Bug ID  Summary
storage 1032686 [RFE] API to save OVF on any location
storage 1032679 [RFE] Single Disk Snapshots
network 987813  [RFE] report BOOTPROTO and BONDING_OPTS independent of 
netdevice.cfg


The following is a list of the bugs with target 3.4.0 not yet fixed:

Whiteboard  Bug ID  Summary
gluster 1008980 [oVirt] Option 'Select as SPM' available for a host in 
gluster-only mode of oVirt
gluster 1038988 Gluster brick sync does not work when host has multiple 
interfaces
i18n1033730 [es-ES] need to revise the "create snapshot" translation
infra   870330  Cache records in memory
infra   904029  [engine-manage-domains] should use POSIX parameter form 
and aliases as values
infra   979231  oVirt Node Upgrade: Support N configuration
infra   986882  tar which is used by host-deploy is missing from fedora 
minimal installation
infra   995362  [RFE] Support firewalld
infra   1016634 Performance hit as a result of duplicate updates to 
VdsDynamic in VdsUpdateRuntimeInfo
infra   1023751 [RFE] Create Bin Overrider for application context 
files changes we do in JRS
infra   1023754 [RFE] add trigger to stop etl connection via engine db 
value.
infra   1023759 [RFE] re-implement SSO solution based on JRS new SSO 
interface
infra   1023761 [RFE] Build nightly JRS builds based on latest JRS 
version
infra   1028793 systemctl start vdsmd blocks if dns server unreachable
infra   1032682 Refactor authentication framework in engine
infra   1035844 [oVirt][infra] Add host/Reinstall radio button text not 
actionable
infra   1045350 REST error during VM creation via API
infra   1046611 [oVirt][infra] Device custom properties syntax check is 
wrong
integration 789040  [RFE] Log Collector should be able to run without 
asking questions
integration 967350  [RFE] port dwh installer to otopi
integration 967351  [RFE] port reports installer to otopi
integration 1023752 [RFE] add upstream support for Centos el6 arch.
integration 1024028 [RFE] add trigger to stop etl connection via engine db 
value.
integration 1028489 [RFE] pre-populate ISO DOMAIN  with 
rhev-tools-setup.iso (or equiv)
integration 1028913 'service network start' sometimes fails during setup
integration 1037663 F20 - ovirt-log-collector: conflicts with file from 
package sos-3.0-3.fc20.noarch
integration 1039616 Setting shmmax on F19 is not enough for starting 
postgres
network 987832  failed to add ovirtmgmt bridge when the host has static 
ip
network 1001186 With AIO installer and NetworkManager enabled, the 
ovirtmgmt bridge is not properly configured
network 1010663 override mtu field allows only values up to 9000
network 1018947 Yum update to oVirt 3.3 from 3.1.0 fails on CentOS 6.4 
with EPEL dependency on python-inotify
network 1037612 [oVirt][network][RFE] Add "sync" column to hosts sub 
tab under networks main tab
network 1040580 [RFE] Apply networks changes to multiple hosts
network 1040586 [RFE] Ability to configure network on multiple hosts at 
once
network 1043220 [oVirt][network][RFE] Add Security-Group support for 
Neutron based networks
network 1043230 Allow configuring Network QoS on host interfaces
network 1044479 Make an iproute2 network configurator for vdsm
network 1048738 [oVirt][network][RFE] Add subnet support for neutron  
based networks
network 1048740 [oVirt][network][RFE] Allow deleting Neutron based 
network (in Neutron)
network 1048880 [vdsm][openstacknet] Migration fails for vNIC using OVS 
+ security groups
sla 994712  Remove underscores for pre-defined policy names
sla 1038616 [RFE] Support for hosted engine
storage 888711  PosixFS issues
storage 961532  [RFE] Handle iSCSI lun resize
storage 1009610 [RFE] Provide clear warning when SPM become 
inaccessible and needs fencing
storage 1034081 Misleading error message when adding an existing 
Storage Domain
storage 1038053 [RFE] Allow domain of multiple types in a single Data 
Center
storage 1045842 After deleting image failed ui display message: Disk 
gluster-test was successfully removed from...
ux  784779  [webadmin][RFE] Login page. Add a link to welcome page
ux  1014859 [RFE] improve context-sensitive help csv mapping files
ux  1035566 [RFE] [oVirt][webadmin] Change comment column title to 
icon, and move to right of name
ux  1048916 sub-tab events in different main-tabs ar

Re: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Andrew Lau
On Tue, Jan 7, 2014 at 2:43 AM, Yedidyah Bar David  wrote:

> - Original Message -
> > From: "Blaster" 
> > To: "Yedidyah Bar David" 
> > Cc: users@ovirt.org
> > Sent: Monday, January 6, 2014 5:20:00 PM
> > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> >
> > On 1/6/2014 7:12 AM, Yedidyah Bar David wrote:
> > > Did you have problems with engine-backup? Or had other reasons to not
> > > use it? Thanks!
> >
> > Can engine-backup be used to move an AIO configuration from one host to
> > another?
>
> I didn't try that. In principle it can. Note that it will only
> backup/restore
> the engine - not local storage domains (ISO or data), VM images, etc.
>
> If you try that, please report back. Thanks!
>
> >
> > I currently need to move an AIO configuration from AMD hardware to Intel
> > I7 hardware.  The engine-backup WIKI discusses backups, but not
> > restores.  I am a bit concerned about using engine-backup to restore an
> > AIO configuration to a different system as another WIKI page with
> > step-by-step instructions to do what engine-backup does for you,
> > mentions you have to do some extra steps if you are changing hostnames
> > as the hostname of the ovirt-engine is embedded in the database.
>
> Changing the hostname is specifically not in the scope of engine-backup.
>
> Note that you do not need to have the hostname equal to the "fqdn" input
> during engine-setup - this last one just needs to be dns-resolvable and
> point to the machine intended.
>
> Also, there is another utility to do that, called ovirt-engine-rename -
> see this for details and implications:
>
> http://www.ovirt.org/Changing_Engine_Hostname
>
> >
> > There really needs to be some work done in Ovirt on making it easier to
> > import existing disk images and just generally moving things around
> > without having to bounce off an NFS server.
> >
> > Should I do a BZ on that?
>
> Not sure what you mean exactly, but you are always welcome to open BZs on
> bugs/RFEs...
>
> Best regards,
> --
> Didi



Sorry for going slightly off topic, but how is everyone's hosted engine
deployment going? Are you restricted to NFS?

I tried the migration procedure last month and it worked.. but had quite a
lot of issues so I ended up reverting back. I didn't open any bugs in the
assumption it was in super alpha stage.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Sander Grendelman
Now that BZ#1038525 (live snapshot merge for backup api) is closed as a
duplicate of BZ#647386 ( You are not authorized to access bug #647386 )

Shouldn't BZ#647386 targeted for 3.4? Or for a future version?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] GlusterFS Distributed Replicate

2014-01-08 Thread Andrew Lau
Hi,

I finally got around to running some tests on our environment, are you
getting the same case where as when one host drops the VM ends up in a
paused state and can't be migrated?

With your case, you should be able to obtain full HA, quorum is just a
protection for split brain. If you enable the migration policy to migrate
all VMs, in theory the VMs from the crashed node I assume should migrate to
the other node when it sees the node is offline.

I was wondering if this may be because of the VM reads directly from the
gluster storage server and there doesn't seem to be any fail over? Would a
NFS solution with keepalived across the two servers fix this issue as the
connection would be isolated to IP address rather than the single gluster
node? I'm not too familiar with completely how the libgfapi protocol works.

Could anyone else chime in?

Cheers,
Andrew.


On Fri, Jan 3, 2014 at 2:05 AM,  wrote:

> Hello,
>
> I finally took the following configuration :
>
> - Migration policy is "don't migrate"
> - cluster.server-quorum-type is none
> - cluster.quorum-type is none
>
> When a host is down, a manual migration allows me to use the other.
> Later, I'll add another host so that I get a real HA.
>
>
> Thank you,
> Regards,
> Grégoire Leroy
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Sandro Bonazzola
Il 08/01/2014 10:23, Sander Grendelman ha scritto:
> Now that BZ#1038525 (live snapshot merge for backup api) is closed as a
> duplicate of BZ#647386 ( You are not authorized to access bug #647386 )
> 
> Shouldn't BZ#647386 targeted for 3.4? Or for a future version?
> 

BZ#1038525 is open and targeted to 3.5.0


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Deleting Storage Connection

2014-01-08 Thread Elad Ben Aharon
Hi, 

You will have to delete the storage connection from 2 tables in the data base.
The 2 tables are:

1) storage_server_connections
2) For file storage, storage_domain_dynamic table 
For iSCSI, lun_storage_server_connection_map table.



- Original Message -
From: "Nauman Abbas" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 6:57:32 AM
Subject: [Users] Deleting Storage Connection

Hello all 

I want to delete a storage connection since I'm adding an ISO Domain and it 
gives me the error "Storage connection already exists.". I'm trying to go for 
this: 

http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29
 

But it just shows me some link and some script. I don't know how use it. A 
little guidance on it would be great. Sorry for being a noob. 

Regards 

Nauman Abbas 
Assistant System Administrator (LMS), 
Room No. A-207, SEECS, 
National University of Sciences & Technology, 
+ 92 321 5359946 

___
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: [Users] libvirt migration port configuration and virPortAllocator

2014-01-08 Thread Dan Kenigsberg
On Wed, Jan 08, 2014 at 01:26:23AM +0100, Gianluca Cecchi wrote:
> Hello,
> following the bugzilla here:
> https://bugzilla.redhat.com/show_bug.cgi?id=1019053
> 
> we have
> "
> This is now fixed by v1.1.3-188-g0196845 and v1.1.3-189-ge3ef20d
> "
> 
> Does this mean that f19 that has
> libvirt-1.0.5.8-1.fc19.x86_64
> is out?
> Any time soon to update it?
> I see at
> http://libvirt.org/sources/
> files such as
> libvirt-1.1.4-1.fc19.x86_64.rpm
> since beginning of November...
> any particular reason for no packages neither in updates-testing repo?
> 
> Also, Fedora 20 has libvirt-1.1.3.2-1.fc20.x86_64.rpm
> Did it receive the patch update? I see nothing particular in its changelog...

I suspect that you'd see this bugfix only on libvirt>=1.2, but the best
place for such questions is the libvirt mailing list (CCed).
Unfortunately, that version is not even on virt-preview
http://fedorapeople.org/groups/virt/virt-preview/fedora-19 (but it is on
http://fedorapeople.org/groups/virt/virt-preview/fedora-20 !)

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


Re: [Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Sander Grendelman
On Wed, Jan 8, 2014 at 10:29 AM, Sandro Bonazzola  wrote:
> Il 08/01/2014 10:23, Sander Grendelman ha scritto:
>> Now that BZ#1038525 (live snapshot merge for backup api) is closed as a
>> duplicate of BZ#647386 ( You are not authorized to access bug #647386 )
>>
>> Shouldn't BZ#647386 targeted for 3.4? Or for a future version?
>>
>
> BZ#1038525 is open and targeted to 3.5.0
That is correct, I didn't scroll down far enough, my apologies.
Any idea on why BZ#647386 is not visible for "regular" rhbz users?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Deleting Storage Connection

2014-01-08 Thread Elad Ben Aharon
Just forgot to mention that after the change in DB, you will have to restart 
ovirt-engine service so the changes will take effect. 

- Original Message -
From: "Elad Ben Aharon" 
To: "Nauman Abbas" 
Cc: users@ovirt.org
Sent: Wednesday, January 8, 2014 11:38:44 AM
Subject: Re: [Users] Deleting Storage Connection

Hi, 

You will have to delete the storage connection from 2 tables in the data base.
The 2 tables are:

1) storage_server_connections
2) For file storage, storage_domain_dynamic table 
For iSCSI, lun_storage_server_connection_map table.



- Original Message -
From: "Nauman Abbas" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 6:57:32 AM
Subject: [Users] Deleting Storage Connection

Hello all 

I want to delete a storage connection since I'm adding an ISO Domain and it 
gives me the error "Storage connection already exists.". I'm trying to go for 
this: 

http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29
 

But it just shows me some link and some script. I don't know how use it. A 
little guidance on it would be great. Sorry for being a noob. 

Regards 

Nauman Abbas 
Assistant System Administrator (LMS), 
Room No. A-207, SEECS, 
National University of Sciences & Technology, 
+ 92 321 5359946 

___
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: [Users] Migration Failed

2014-01-08 Thread Dafna Ron
Thread-847747::INFO::2014-01-07 
14:30:32,353::logUtils::44::dispatcher::(wrapper) Run and protect: 
inappropriateDevices(thiefId='63da7faa-f92a-4652-90f2-b6660a4fb7b3')
Thread-847747::INFO::2014-01-07 
14:30:32,354::logUtils::47::dispatcher::(wrapper) Run and protect: 
inappropriateDevices, Return response: None


Please check if the vm's were booted with a cd...


bject at 0x7fb1f00cbbd0>> log:0x7fb1f00be7e8> name:hdc networkDev:False path: readonly:True reqsize:0 
serial: truesize:0 *type:cdrom* volExtensionChunk:1024 
watermarkLimit:536870912

Traceback (most recent call last):
  File "/usr/share/vdsm/clientIF.py", line 356, in teardownVolumePath
res = self.irs.teardownImage(drive['domainID'],
  File "/usr/share/vdsm/vm.py", line 1386, in __getitem__
raise KeyError(key)
KeyError: 'domainID'
Thread-847747::WARNING::2014-01-07 
14:30:32,351::clientIF::362::vds::(teardownVolumePath) Drive is not a 
vdsm image: VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2 
VOLWM_FREE_PCT:50 _blockDev:True _checkIoTuneCategories:rive._checkIoTuneCategories of > 
_customize:0x7fb1f00cbc10>> _deviceXML:
  type="raw"/>
  dev="/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/9f16f896-1da3-4f9a-a305-ac9c4f51a482/e04c6600-abb9-4ebc-a9b3-77b6c536e258"/>

  
9f16f896-1da3-4f9a-a305-ac9c4f51a482
  
  


On 01/08/2014 06:28 AM, Neil wrote:

Hi Dafna,

Thanks for the reply.

Attached is the log from the source server (node03).

I'll reply to your other questions as soon as I'm back in the office
this afternoon, have to run off to a meeting.

Regards.

Neil Wilson.


On Tue, Jan 7, 2014 at 8:13 PM, Dafna Ron  wrote:

Ok... several things :)

1. for migration we need to see vdsm logs from both src and dst.

2. Is it possible that the vm has an iso attached? because I see that you
are having problems with the iso domain:

2014-01-07 14:26:27,714 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(pool-6-thread-48) Domain e9ab725d-69c1-4a59-b225-b995d095c289:bla-iso was
reported with error code 358


Thread-1165153::DEBUG::2014-01-07
13:39:42,460::libvirtconnection::108::libvirtconnection::(wrapper) Unknown
libvirterror: ecode: 42 edom: 10 level: 2 message: Domain not found: no
domain with matching uuid '63da7faa-f92a-4652-90f2-b6660a4fb7b3'

hread-19::ERROR::2014-01-07
13:01:02,621::sdc::143::Storage.StorageDomainCache::(_findDomain) domain
e9ab725d-69c1-4a59-b225-b995d095c289 not found
Traceback (most recent call last):
   File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
 dom = findMethod(sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 171, in _findUnfetchedDomain
 raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'e9ab725d-69c1-4a59-b225-b995d095c289',)
Thread-19::ERROR::2014-01-07
13:01:02,622::domainMonitor::225::Storage.DomainMonitorThread::(_monitorDomain)
Error while collecting domain e9ab725d-69c1-4a59-b225-b995d095c289
monitoring information
Traceback (most recent call last):
   File "/usr/share/vdsm/storage/domainMonitor.py", line 190, in
_monitorDomain
 self.domain = sdCache.produce(self.sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 98, in produce
 domain.getRealDomain()
   File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
 return self._cache._realProduce(self._sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 122, in _realProduce
 domain = self._findDomain(sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
 dom = findMethod(sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 171, in _findUnfetchedDomain
 raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'e9ab725d-69c1-4a59-b225-b995d095c289',)
Dummy-29013::DEBUG::2014-01-07
13:01:03,507::storage_mailbox::733::Storage.Misc.excCmd::(_checkForMail) 'dd
if=/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd N
one)

3. The migration fails with libvirt error but we need the trace from the
second log:

Thread-1165153::DEBUG::2014-01-07 13:39:42,451::sampling::292::vm.Vm::(stop)
vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::Stop statistics collection
Thread-1163583::DEBUG::2014-01-07 13:39:42,452::sampling::323::vm.Vm::(run)
vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::Stats thread finished
Thread-1165153::DEBUG::2014-01-07
13:39:42,460::libvirtconnection::108::libvirtconnection::(wrapper) Unknown
libvirterror: ecode: 42 edom: 10 level: 2 message: Domain not found: no
domain with matching uuid '63da7faa-f92a-4652-90f2-b6660
a4fb7b3'


4. But I am worried about this and would more info about this vm...

Thread-247::ERROR::2014-01-07 15:35:14,868::sampling::355::vm.Vm::(collect)
vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::Stats function failed:

Traceback (most recent call last):
   File "/usr/share/vdsm/s

Re: [Users] Deleting Storage Connection

2014-01-08 Thread Itamar Heim

On 01/08/2014 11:45 AM, Elad Ben Aharon wrote:

Just forgot to mention that after the change in DB, you will have to restart 
ovirt-engine service so the changes will take effect.



if this is 3.3, why hack the db and not use the edit connection option?
(I think you need 3.3.1 for it to work)


- Original Message -
From: "Elad Ben Aharon" 
To: "Nauman Abbas" 
Cc: users@ovirt.org
Sent: Wednesday, January 8, 2014 11:38:44 AM
Subject: Re: [Users] Deleting Storage Connection

Hi,

You will have to delete the storage connection from 2 tables in the data base.
The 2 tables are:

1) storage_server_connections
2) For file storage, storage_domain_dynamic table
For iSCSI, lun_storage_server_connection_map table.



- Original Message -
From: "Nauman Abbas" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 6:57:32 AM
Subject: [Users] Deleting Storage Connection

Hello all

I want to delete a storage connection since I'm adding an ISO Domain and it gives me the 
error "Storage connection already exists.". I'm trying to go for this:

http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29

But it just shows me some link and some script. I don't know how use it. A 
little guidance on it would be great. Sorry for being a noob.

Regards

Nauman Abbas
Assistant System Administrator (LMS),
Room No. A-207, SEECS,
National University of Sciences & Technology,
+ 92 321 5359946

___
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: [Users] Deleting Storage Connection

2014-01-08 Thread Elad Ben Aharon
As Itamar said, there is a nicer way to do it.


In order to delete a connection, you can do it also via REST-API.
You'll need a plugin for your browser (I'm using Rest client for Firefox).

Go to storageconnection under api using 'GET':

https://hostname:443/api/storageconnections

Under that, you'll see your old ISO domain connection (by UUID), use DELETE, in 
order to remove it.

Just remember, you'll be able to remove a connection only if it's not used by 
any domain.

Hope it helped. 

Elad

- Original Message -
From: "Itamar Heim" 
To: "Elad Ben Aharon" , "Nauman Abbas" 
, "Alissa Bonas" 
Cc: users@ovirt.org
Sent: Wednesday, January 8, 2014 12:35:29 PM
Subject: Re: [Users] Deleting Storage Connection

On 01/08/2014 11:45 AM, Elad Ben Aharon wrote:
> Just forgot to mention that after the change in DB, you will have to restart 
> ovirt-engine service so the changes will take effect.
>

if this is 3.3, why hack the db and not use the edit connection option?
(I think you need 3.3.1 for it to work)

> - Original Message -
> From: "Elad Ben Aharon" 
> To: "Nauman Abbas" 
> Cc: users@ovirt.org
> Sent: Wednesday, January 8, 2014 11:38:44 AM
> Subject: Re: [Users] Deleting Storage Connection
>
> Hi,
>
> You will have to delete the storage connection from 2 tables in the data base.
> The 2 tables are:
>
> 1) storage_server_connections
> 2) For file storage, storage_domain_dynamic table
> For iSCSI, lun_storage_server_connection_map table.
>
>
>
> - Original Message -
> From: "Nauman Abbas" 
> To: users@ovirt.org
> Sent: Wednesday, January 8, 2014 6:57:32 AM
> Subject: [Users] Deleting Storage Connection
>
> Hello all
>
> I want to delete a storage connection since I'm adding an ISO Domain and it 
> gives me the error "Storage connection already exists.". I'm trying to go for 
> this:
>
> http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29
>
> But it just shows me some link and some script. I don't know how use it. A 
> little guidance on it would be great. Sorry for being a noob.
>
> Regards
>
> Nauman Abbas
> Assistant System Administrator (LMS),
> Room No. A-207, SEECS,
> National University of Sciences & Technology,
> + 92 321 5359946
>
> ___
> 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


[Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread Sven Kieske
Hi,

I'd like to ask around if someone does run oVirt
with NFS backed Storage provided by simple servers (no SAN or NAS)
and what your experience is so far?

In particular I'm interested what happens if there is a connection
loss to the NFS-Volume.

How does this affect running vms and the compute nodes they run on?

I suspect they would first write their changes to RAM instead of virtual
HDD.
But once the RAM is full, does just the vm become unresponsive or
does the whole compute node die?

I couldn't test this yet myself, but my limited experience with
NFS-Servers tells me, that they become unresponsive if they are under
heavy load and I'd like to know how this affects the vms and
computenode.

Thanks!

PS: Bonus question: Does someone utilize the NFS-Servers also as
computenodes ?

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Doron Fediuck


- Original Message -
> From: "Andrew Lau" 
> To: "Yedidyah Bar David" 
> Cc: "users" 
> Sent: Wednesday, January 8, 2014 11:15:21 AM
> Subject: Re: [Users] virtualized engine / port to self-hosted engine
> 
> On Tue, Jan 7, 2014 at 2:43 AM, Yedidyah Bar David < d...@redhat.com > wrote:
> 
> 
> 
> - Original Message -
> > From: "Blaster" < blas...@556nato.com >
> > To: "Yedidyah Bar David" < d...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Monday, January 6, 2014 5:20:00 PM
> > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > 
> > On 1/6/2014 7:12 AM, Yedidyah Bar David wrote:
> > > Did you have problems with engine-backup? Or had other reasons to not
> > > use it? Thanks!
> > 
> > Can engine-backup be used to move an AIO configuration from one host to
> > another?
> 
> I didn't try that. In principle it can. Note that it will only backup/restore
> the engine - not local storage domains (ISO or data), VM images, etc.
> 
> If you try that, please report back. Thanks!
> 
> > 
> > I currently need to move an AIO configuration from AMD hardware to Intel
> > I7 hardware. The engine-backup WIKI discusses backups, but not
> > restores. I am a bit concerned about using engine-backup to restore an
> > AIO configuration to a different system as another WIKI page with
> > step-by-step instructions to do what engine-backup does for you,
> > mentions you have to do some extra steps if you are changing hostnames
> > as the hostname of the ovirt-engine is embedded in the database.
> 
> Changing the hostname is specifically not in the scope of engine-backup.
> 
> Note that you do not need to have the hostname equal to the "fqdn" input
> during engine-setup - this last one just needs to be dns-resolvable and
> point to the machine intended.
> 
> Also, there is another utility to do that, called ovirt-engine-rename -
> see this for details and implications:
> 
> http://www.ovirt.org/Changing_Engine_Hostname
> 
> > 
> > There really needs to be some work done in Ovirt on making it easier to
> > import existing disk images and just generally moving things around
> > without having to bounce off an NFS server.
> > 
> > Should I do a BZ on that?
> 
> Not sure what you mean exactly, but you are always welcome to open BZs on
> bugs/RFEs...
> 
> Best regards,
> --
> Didi
> 
> Sorry for going slightly off topic, but how is everyone's hosted engine
> deployment going? Are you restricted to NFS?
> 
Andrew, in general I get positive feedbacks from RHEL users. For Fedora
and other distros, this should be in a better situation in the following
1-2 weeks when we'll have 3.4 beta available. 
I'd love to get your feedback on it.

> I tried the migration procedure last month and it worked.. but had quite a
> lot of issues so I ended up reverting back. I didn't open any bugs in the
> assumption it was in super alpha stage.
> 
Next time please open bugs... That's the best way to improve the project,
regardless of the version state. If unsure, you can always try irc / this list
first to see if this is a known issue and if there are workarounds.

> 
> ___
> 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: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Doron Fediuck


- Original Message -
> From: "Doron Fediuck" 
> To: "Andrew Lau" 
> Cc: "users" 
> Sent: Wednesday, January 8, 2014 2:48:20 PM
> Subject: Re: [Users] virtualized engine / port to self-hosted engine
> 
> 
> 
> - Original Message -
> > From: "Andrew Lau" 
> > To: "Yedidyah Bar David" 
> > Cc: "users" 
> > Sent: Wednesday, January 8, 2014 11:15:21 AM
> > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > 
> > On Tue, Jan 7, 2014 at 2:43 AM, Yedidyah Bar David < d...@redhat.com >
> > wrote:
> > 
> > 
> > 
> > - Original Message -
> > > From: "Blaster" < blas...@556nato.com >
> > > To: "Yedidyah Bar David" < d...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, January 6, 2014 5:20:00 PM
> > > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > > 
> > > On 1/6/2014 7:12 AM, Yedidyah Bar David wrote:
> > > > Did you have problems with engine-backup? Or had other reasons to not
> > > > use it? Thanks!
> > > 
> > > Can engine-backup be used to move an AIO configuration from one host to
> > > another?
> > 
> > I didn't try that. In principle it can. Note that it will only
> > backup/restore
> > the engine - not local storage domains (ISO or data), VM images, etc.
> > 
> > If you try that, please report back. Thanks!
> > 
> > > 
> > > I currently need to move an AIO configuration from AMD hardware to Intel
> > > I7 hardware. The engine-backup WIKI discusses backups, but not
> > > restores. I am a bit concerned about using engine-backup to restore an
> > > AIO configuration to a different system as another WIKI page with
> > > step-by-step instructions to do what engine-backup does for you,
> > > mentions you have to do some extra steps if you are changing hostnames
> > > as the hostname of the ovirt-engine is embedded in the database.
> > 
> > Changing the hostname is specifically not in the scope of engine-backup.
> > 
> > Note that you do not need to have the hostname equal to the "fqdn" input
> > during engine-setup - this last one just needs to be dns-resolvable and
> > point to the machine intended.
> > 
> > Also, there is another utility to do that, called ovirt-engine-rename -
> > see this for details and implications:
> > 
> > http://www.ovirt.org/Changing_Engine_Hostname
> > 
> > > 
> > > There really needs to be some work done in Ovirt on making it easier to
> > > import existing disk images and just generally moving things around
> > > without having to bounce off an NFS server.
> > > 
> > > Should I do a BZ on that?
> > 
> > Not sure what you mean exactly, but you are always welcome to open BZs on
> > bugs/RFEs...
> > 
> > Best regards,
> > --
> > Didi
> > 
> > Sorry for going slightly off topic, but how is everyone's hosted engine
> > deployment going? Are you restricted to NFS?
> > 
> Andrew, in general I get positive feedbacks from RHEL users. For Fedora
> and other distros, this should be in a better situation in the following
> 1-2 weeks when we'll have 3.4 beta available.
> I'd love to get your feedback on it.
> 
I missed your NFS question, sorry;
Yes. Currently we have NFS limitation and we will do our best to see
if SAN can be added. Note that time is not on our side for 3.4.

> > I tried the migration procedure last month and it worked.. but had quite a
> > lot of issues so I ended up reverting back. I didn't open any bugs in the
> > assumption it was in super alpha stage.
> > 
> Next time please open bugs... That's the best way to improve the project,
> regardless of the version state. If unsure, you can always try irc / this
> list
> first to see if this is a known issue and if there are workarounds.
> 
> > 
> > ___
> > 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: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Sven Kieske
Hi,

so just for clarification:

self hosted engine is just supported via NFS-backed Datacenter, once it
is released?

I didn't saw that mentioned on the wiki page of the feature or anywhere
else, can someone update the documentation accordingly?
(I would do it myself if I'd knew exactly what the limitations are).

Am 08.01.2014 13:49, schrieb Doron Fediuck:
> I missed your NFS question, sorry;
> Yes. Currently we have NFS limitation and we will do our best to see
> if SAN can be added. Note that time is not on our side for 3.4.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Deleting Storage Connection

2014-01-08 Thread Sven Kieske
Hi,

actually I think your description is far to shorthanded for everyone
except for people who already know how to delete a storage connection
and how to do it via REST.

However there is a quite accurate wiki site with a more detailed
explanation:
http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29

But it didn't work when I tested it the last time in 3.1.x

But it should work in 3.3.2.

HTH

Am 08.01.2014 13:08, schrieb Elad Ben Aharon:
> As Itamar said, there is a nicer way to do it.
> 
> 
> In order to delete a connection, you can do it also via REST-API.
> You'll need a plugin for your browser (I'm using Rest client for Firefox).
> 
> Go to storageconnection under api using 'GET':
> 
> https://hostname:443/api/storageconnections
> 
> Under that, you'll see your old ISO domain connection (by UUID), use DELETE, 
> in order to remove it.
> 
> Just remember, you'll be able to remove a connection only if it's not used by 
> any domain.
> 
> Hope it helped. 
> 
> Elad


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [QE] 3.4.0 Release tracker

2014-01-08 Thread Sven Kieske
Hi,

I already wrote it in the BZ, but I'll duplicate here for faster
feedback:
I'm willing to implement this if I can get some guidance in my
leisure time, if nobody else does this already.

The BZ states "The limitation is fictitious, and there is no gain in
maintaining it." and I strongly agree on this.

I don't know the exact parts of the source which must be altered
but I assume it's more or less just removing checks?

Am 08.01.2014 09:46, schrieb Sandro Bonazzola:
> storage   1038053 [RFE] Allow domain of multiple types in a 
> single Data Center

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread Markus Stockhausen
> Hi,
> 
>I'd like to ask around if someone does run oVirt
> with NFS backed Storage provided by simple servers (no SAN or NAS)
> and what your experience is so far?

We are running OVirt (still in test phase) on three self build equal Ubuntu
NFS servers over Infiniband (50 Euros for a ConnectX card + 50 Euros a cable +
400 Euros a switch). Due to massive bandwidth the bottleneck are the SATA 
disks and the RAID controller. I fixed some info at 
http://www.ovirt.org/Infiniband
Our soon to be replaced ESX infrastucture uses the same platform.

> In particular I'm interested what happens if there is a connection
> loss to the NFS-Volume.

You can be sure that the applications in your VMs will get stuck. They usually 
flush 
their write caches in regular intervals. This is directly translated into a NFS 
write
on the hypervisor. At least it should be configured that way otherwise you could
loose data in case of a crash. E.g. VM thinks data is persisent, but it was 
only cached
in the hypervisor RAM.

> How does this affect running vms and the compute nodes they run on?

The hypervisor has no problems at all (except you run a df command) and the 
VMs usually will continue their operation after NFS recovers. Nevertheless 
the are lot of timeout settings in the architecute stack that may stop a running
application inside the VM. Expect do have a lot of manual cleanup after a
NFS failure.

> I suspect they would first write their changes to RAM instead of virtual HDD.
> But once the RAM is full, does just the vm become unresponsive or
> does the whole compute node die?

That would be bad practice. See above.

> I couldn't test this yet myself, but my limited experience with
> NFS-Servers tells me, that they become unresponsive if they are under
> heavy load and I'd like to know how this affects the vms and
> computenode.

Defining heavy load is basically some kind of I/O calculation. A simple
example from our setup.

- Each NFS server has a RAID6 consisting of 14 SATA disks (7.2K)
- The top-loaded NFS server runs a minimum of 140 8K I/Os per second
- Assuming a random pattern we speak of 140 Read-Modify-Write cycles
- That translates to roughly to 6*140=840 I/Os per second.
- The 14 SATA disks offer a maximum of 14*90=1260 I/Os per second
- No wonder that the NFS server gives usually a 20% wait I/O usage.

> Thanks!

> PS: Bonus question: Does someone utilize the NFS-Servers also as
> computenodes ?

We spearated that stricly. Otherwise we would go with a Gluster FS.

Markus

P.S. We leave VMWare because live storage migration of OVirt VMs 
gives us the possibility to reduce the complexity on the storage side.

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread noc

On 8-1-2014 13:18, Sven Kieske wrote:

PS: Bonus question: Does someone utilize the NFS-Servers also as
computenodes ?

We do, temporarily. It is NOT recommended :-) because:
- can't update your NFS server without shutting down all VMs
- myriad of other reasons

Still I did a reboot of our NFS server to update all nodes/engine from 
3.2.2 to 3.3.2. How?
Made a script which did a virsh suspend VM which freezes all I/O and 
then ran yum update/reboot on the NFS server. It worked but its not good 
for your stress levels.


Joop

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


Re: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Andrew Lau


-Original Message-
From: Doron Fediuck [mailto:dfedi...@redhat.com] 
Sent: Wednesday, January 8, 2014 11:50 PM
To: Andrew Lau
Cc: users
Subject: Re: [Users] virtualized engine / port to self-hosted engine



- Original Message -
> From: "Doron Fediuck" 
> To: "Andrew Lau" 
> Cc: "users" 
> Sent: Wednesday, January 8, 2014 2:48:20 PM
> Subject: Re: [Users] virtualized engine / port to self-hosted engine
> 
> 
> 
> - Original Message -
> > From: "Andrew Lau" 
> > To: "Yedidyah Bar David" 
> > Cc: "users" 
> > Sent: Wednesday, January 8, 2014 11:15:21 AM
> > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > 
> > On Tue, Jan 7, 2014 at 2:43 AM, Yedidyah Bar David < d...@redhat.com 
> > >
> > wrote:
> > 
> > 
> > 
> > - Original Message -
> > > From: "Blaster" < blas...@556nato.com >
> > > To: "Yedidyah Bar David" < d...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, January 6, 2014 5:20:00 PM
> > > Subject: Re: [Users] virtualized engine / port to self-hosted 
> > > engine
> > > 
> > > On 1/6/2014 7:12 AM, Yedidyah Bar David wrote:
> > > > Did you have problems with engine-backup? Or had other reasons 
> > > > to not use it? Thanks!
> > > 
> > > Can engine-backup be used to move an AIO configuration from one 
> > > host to another?
> > 
> > I didn't try that. In principle it can. Note that it will only 
> > backup/restore the engine - not local storage domains (ISO or data), 
> > VM images, etc.
> > 
> > If you try that, please report back. Thanks!
> > 
> > > 
> > > I currently need to move an AIO configuration from AMD hardware to 
> > > Intel
> > > I7 hardware. The engine-backup WIKI discusses backups, but not 
> > > restores. I am a bit concerned about using engine-backup to 
> > > restore an AIO configuration to a different system as another WIKI 
> > > page with step-by-step instructions to do what engine-backup does 
> > > for you, mentions you have to do some extra steps if you are 
> > > changing hostnames as the hostname of the ovirt-engine is embedded in the 
> > > database.
> > 
> > Changing the hostname is specifically not in the scope of engine-backup.
> > 
> > Note that you do not need to have the hostname equal to the "fqdn" 
> > input during engine-setup - this last one just needs to be 
> > dns-resolvable and point to the machine intended.
> > 
> > Also, there is another utility to do that, called 
> > ovirt-engine-rename - see this for details and implications:
> > 
> > http://www.ovirt.org/Changing_Engine_Hostname
> > 
> > > 
> > > There really needs to be some work done in Ovirt on making it 
> > > easier to import existing disk images and just generally moving 
> > > things around without having to bounce off an NFS server.
> > > 
> > > Should I do a BZ on that?
> > 
> > Not sure what you mean exactly, but you are always welcome to open 
> > BZs on bugs/RFEs...
> > 
> > Best regards,
> > --
> > Didi
> > 
> > Sorry for going slightly off topic, but how is everyone's hosted 
> > engine deployment going? Are you restricted to NFS?
> > 
> Andrew, in general I get positive feedbacks from RHEL users. For 
> Fedora and other distros, this should be in a better situation in the 
> following
> 1-2 weeks when we'll have 3.4 beta available.
> I'd love to get your feedback on it.
> 
> I missed your NFS question, sorry;
> Yes. Currently we have NFS limitation and we will do our best to see if SAN 
> can be added. Note that time is not on our side for 3.4.
Is there support for glusterfs with libgfapi?

> > I tried the migration procedure last month and it worked.. but had 
> > quite a lot of issues so I ended up reverting back. I didn't open 
> > any bugs in the assumption it was in super alpha stage.
> > 
> Next time please open bugs... That's the best way to improve the 
> project, regardless of the version state. If unsure, you can always 
> try irc / this list first to see if this is a known issue and if there 
> are workarounds.

Sorry about that, I thought it was still very dev style I didn't want to flood 
bzs with things that are already being worked on.

> 
> > 
> > ___
> > 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: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread gregoire . leroy

Hello,

Do you need more informations about this issue ? Do you think this 
problem is likely to show up in other cases ? I mean, is that an 
expected behaviour with my environment, or is it unexpected ?


Is there a way to limit the bandwidth usage for creation of 
pre-allocated disk so that it doesn't impact production ?


Thank you,
Regards,
Grégoire

Le 2014-01-02 17:42, Vijay Bellur a écrit :

Adding gluster-users.

On 01/02/2014 08:50 PM, gregoire.le...@retenodus.net wrote:

Hello,

I have a Gluster volume in distributed/replicated mode. I have 2 
hosts.
When I try to create a VM with a preallocated disk, it uses 100% of 
the

available CPU and bandwidth (I have 1 Gigabit network card).
The result is I can't even create a preallocated disk because the 
engine

detects a network failure.

I get that kind of messages in /var/log/messages :
"
Jan  2 14:13:54 localhost sanlock[3811]: 2014-01-02 14:13:54+0100 
167737

[3811]: s4 kill 21114 sig 15 count 1
Jan  2 14:13:54 localhost wdmd[3800]: test failed rem 51 now 167737 
ping

167718 close 167728 renewal 167657 expire 167737 client 3811
sanlock_ef4978d6-5711-4e01-a0ec-7ffbd9 cdbe5d:1
"

And that in the Ovirt Gui :
"
2014-janv.-02, 15:35 Operation Add-Disk failed to complete.
2014-janv.-02, 15:35 Storage Pool Manager runs on Host HOST2 (Address:
X.X.X.X).
2014-janv.-02, 15:35 Invalid status on Data Center GlusterSewan. 
Setting

Data Center status to Non Responsive (On host HOST2, Error: done).
2014-janv.-02, 15:35 State was set to Up for host HOST2.
2014-janv.-02, 15:33 Used Network resources of host HOST2 [98%] 
exceeded

defined threshold [95%].
2014-janv.-02, 15:33 Add-Disk operation of test_Disk1 was initiated on
VM test by admin@internal.

I understand that the creation of a 10 Go disk image generates a lot 
of

traffic, but is there a way to limit it so that it doesn't have an
impact on the production ? Furthermore, Why does it use so much CPU
ressources ? I can see on my monitoring graph a big peak of CPU usage
when I launched the operation (probably until 100%).


Do you happen to notice what is consuming CPU? Since the same cluster
does both virtualization and storage, a GigE network might get
saturated very quickly. Is it possible to separate out the management
and data/gluster traffic in this setup?

Regards,
Vijay

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


Re: [Users] GlusterFS Distributed Replicate

2014-01-08 Thread gregoire . leroy

Hi,

Le 2014-01-08 10:24, Andrew Lau a écrit :

Hi,

 I finally got around to running some tests on our environment, are
you getting the same case where as when one host drops the VM ends up
in a paused state and can't be migrated?


Yes, in the hosts panel, I have to manually confirm it was really 
reboot. Elese, the VM is in paused state.


Regards,
Grégorie Leroy
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virtualized engine / port to self-hosted engine

2014-01-08 Thread Doron Fediuck


- Original Message -
> From: "Andrew Lau" 
> To: "Doron Fediuck" 
> Cc: "users" 
> Sent: Wednesday, January 8, 2014 3:36:19 PM
> Subject: RE: [Users] virtualized engine / port to self-hosted engine
> 
> 
> 
> -Original Message-
> From: Doron Fediuck [mailto:dfedi...@redhat.com]
> Sent: Wednesday, January 8, 2014 11:50 PM
> To: Andrew Lau
> Cc: users
> Subject: Re: [Users] virtualized engine / port to self-hosted engine
> 
> 
> 
> - Original Message -
> > From: "Doron Fediuck" 
> > To: "Andrew Lau" 
> > Cc: "users" 
> > Sent: Wednesday, January 8, 2014 2:48:20 PM
> > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > 
> > 
> > 
> > - Original Message -
> > > From: "Andrew Lau" 
> > > To: "Yedidyah Bar David" 
> > > Cc: "users" 
> > > Sent: Wednesday, January 8, 2014 11:15:21 AM
> > > Subject: Re: [Users] virtualized engine / port to self-hosted engine
> > > 
> > > On Tue, Jan 7, 2014 at 2:43 AM, Yedidyah Bar David < d...@redhat.com
> > > >
> > > wrote:
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Blaster" < blas...@556nato.com >
> > > > To: "Yedidyah Bar David" < d...@redhat.com >
> > > > Cc: users@ovirt.org
> > > > Sent: Monday, January 6, 2014 5:20:00 PM
> > > > Subject: Re: [Users] virtualized engine / port to self-hosted
> > > > engine
> > > > 
> > > > On 1/6/2014 7:12 AM, Yedidyah Bar David wrote:
> > > > > Did you have problems with engine-backup? Or had other reasons
> > > > > to not use it? Thanks!
> > > > 
> > > > Can engine-backup be used to move an AIO configuration from one
> > > > host to another?
> > > 
> > > I didn't try that. In principle it can. Note that it will only
> > > backup/restore the engine - not local storage domains (ISO or data),
> > > VM images, etc.
> > > 
> > > If you try that, please report back. Thanks!
> > > 
> > > > 
> > > > I currently need to move an AIO configuration from AMD hardware to
> > > > Intel
> > > > I7 hardware. The engine-backup WIKI discusses backups, but not
> > > > restores. I am a bit concerned about using engine-backup to
> > > > restore an AIO configuration to a different system as another WIKI
> > > > page with step-by-step instructions to do what engine-backup does
> > > > for you, mentions you have to do some extra steps if you are
> > > > changing hostnames as the hostname of the ovirt-engine is embedded in
> > > > the database.
> > > 
> > > Changing the hostname is specifically not in the scope of engine-backup.
> > > 
> > > Note that you do not need to have the hostname equal to the "fqdn"
> > > input during engine-setup - this last one just needs to be
> > > dns-resolvable and point to the machine intended.
> > > 
> > > Also, there is another utility to do that, called
> > > ovirt-engine-rename - see this for details and implications:
> > > 
> > > http://www.ovirt.org/Changing_Engine_Hostname
> > > 
> > > > 
> > > > There really needs to be some work done in Ovirt on making it
> > > > easier to import existing disk images and just generally moving
> > > > things around without having to bounce off an NFS server.
> > > > 
> > > > Should I do a BZ on that?
> > > 
> > > Not sure what you mean exactly, but you are always welcome to open
> > > BZs on bugs/RFEs...
> > > 
> > > Best regards,
> > > --
> > > Didi
> > > 
> > > Sorry for going slightly off topic, but how is everyone's hosted
> > > engine deployment going? Are you restricted to NFS?
> > > 
> > Andrew, in general I get positive feedbacks from RHEL users. For
> > Fedora and other distros, this should be in a better situation in the
> > following
> > 1-2 weeks when we'll have 3.4 beta available.
> > I'd love to get your feedback on it.
> > 
> > I missed your NFS question, sorry;
> > Yes. Currently we have NFS limitation and we will do our best to see if SAN
> > can be added. Note that time is not on our side for 3.4.
> Is there support for glusterfs with libgfapi?
> 
Currently not sue to some gluster issues we had.
Adding Sahina to shed some more light (if needed).


> > > I tried the migration procedure last month and it worked.. but had
> > > quite a lot of issues so I ended up reverting back. I didn't open
> > > any bugs in the assumption it was in super alpha stage.
> > > 
> > Next time please open bugs... That's the best way to improve the
> > project, regardless of the version state. If unsure, you can always
> > try irc / this list first to see if this is a known issue and if there
> > are workarounds.
> 
> Sorry about that, I thought it was still very dev style I didn't want to
> flood bzs with things that are already being worked on.
> 
> > 
> > > 
> > > ___
> > > 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: [Users] Migration Failed

2014-01-08 Thread Neil
Hi guys,

Apologies for the late reply.

The VM (Tux) was created about 2 years ago, it was converted from a
physical machine using Clonezilla. It's been migrated a number of
times in the past, only now when trying to move it off node03 is it
giving this error.

I've looked for any attached images/cd's and found none unfortunately.

Thank you so much for your assistance so far.

Regards.

Neil Wilson.



On Wed, Jan 8, 2014 at 12:23 PM, Dafna Ron  wrote:
> Thread-847747::INFO::2014-01-07
> 14:30:32,353::logUtils::44::dispatcher::(wrapper) Run and protect:
> inappropriateDevices(thiefId='63da7faa-f92a-4652-90f2-b6660a4fb7b3')
> Thread-847747::INFO::2014-01-07
> 14:30:32,354::logUtils::47::dispatcher::(wrapper) Run and protect:
> inappropriateDevices, Return response: None
>
> Please check if the vm's were booted with a cd...
>
>
> bject at 0x7fb1f00cbbd0>> log: 0x7fb1f00be7e8> name:hdc networkDev:False path: readonly:True reqsize:0
> serial: truesize:0 *type:cdrom* volExtensionChunk:1024
> watermarkLimit:536870912
>
> Traceback (most recent call last):
>   File "/usr/share/vdsm/clientIF.py", line 356, in teardownVolumePath
> res = self.irs.teardownImage(drive['domainID'],
>   File "/usr/share/vdsm/vm.py", line 1386, in __getitem__
> raise KeyError(key)
> KeyError: 'domainID'
> Thread-847747::WARNING::2014-01-07
> 14:30:32,351::clientIF::362::vds::(teardownVolumePath) Drive is not a vdsm
> image: VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2 VOLWM_FREE_PCT:50
> _blockDev:True _checkIoTuneCategories: rive._checkIoTuneCategories of >
> _customize: 0x7fb1f00cbc10>> _deviceXML:
>type="raw"/>
>dev="/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/9f16f896-1da3-4f9a-a305-ac9c4f51a482/e04c6600-abb9-4ebc-a9b3-77b6c536e258"/>
>   
> 9f16f896-1da3-4f9a-a305-ac9c4f51a482
>   
>   
>
>
>
> On 01/08/2014 06:28 AM, Neil wrote:
>>
>> Hi Dafna,
>>
>> Thanks for the reply.
>>
>> Attached is the log from the source server (node03).
>>
>> I'll reply to your other questions as soon as I'm back in the office
>> this afternoon, have to run off to a meeting.
>>
>> Regards.
>>
>> Neil Wilson.
>>
>>
>> On Tue, Jan 7, 2014 at 8:13 PM, Dafna Ron  wrote:
>>>
>>> Ok... several things :)
>>>
>>> 1. for migration we need to see vdsm logs from both src and dst.
>>>
>>> 2. Is it possible that the vm has an iso attached? because I see that you
>>> are having problems with the iso domain:
>>>
>>> 2014-01-07 14:26:27,714 ERROR
>>> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
>>> (pool-6-thread-48) Domain e9ab725d-69c1-4a59-b225-b995d095c289:bla-iso
>>> was
>>> reported with error code 358
>>>
>>>
>>> Thread-1165153::DEBUG::2014-01-07
>>> 13:39:42,460::libvirtconnection::108::libvirtconnection::(wrapper)
>>> Unknown
>>> libvirterror: ecode: 42 edom: 10 level: 2 message: Domain not found: no
>>> domain with matching uuid '63da7faa-f92a-4652-90f2-b6660a4fb7b3'
>>>
>>> hread-19::ERROR::2014-01-07
>>> 13:01:02,621::sdc::143::Storage.StorageDomainCache::(_findDomain) domain
>>> e9ab725d-69c1-4a59-b225-b995d095c289 not found
>>> Traceback (most recent call last):
>>>File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
>>>  dom = findMethod(sdUUID)
>>>File "/usr/share/vdsm/storage/sdc.py", line 171, in
>>> _findUnfetchedDomain
>>>  raise se.StorageDomainDoesNotExist(sdUUID)
>>> StorageDomainDoesNotExist: Storage domain does not exist:
>>> (u'e9ab725d-69c1-4a59-b225-b995d095c289',)
>>> Thread-19::ERROR::2014-01-07
>>>
>>> 13:01:02,622::domainMonitor::225::Storage.DomainMonitorThread::(_monitorDomain)
>>> Error while collecting domain e9ab725d-69c1-4a59-b225-b995d095c289
>>> monitoring information
>>> Traceback (most recent call last):
>>>File "/usr/share/vdsm/storage/domainMonitor.py", line 190, in
>>> _monitorDomain
>>>  self.domain = sdCache.produce(self.sdUUID)
>>>File "/usr/share/vdsm/storage/sdc.py", line 98, in produce
>>>  domain.getRealDomain()
>>>File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
>>>  return self._cache._realProduce(self._sdUUID)
>>>File "/usr/share/vdsm/storage/sdc.py", line 122, in _realProduce
>>>  domain = self._findDomain(sdUUID)
>>>File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
>>>  dom = findMethod(sdUUID)
>>>File "/usr/share/vdsm/storage/sdc.py", line 171, in
>>> _findUnfetchedDomain
>>>  raise se.StorageDomainDoesNotExist(sdUUID)
>>> StorageDomainDoesNotExist: Storage domain does not exist:
>>> (u'e9ab725d-69c1-4a59-b225-b995d095c289',)
>>> Dummy-29013::DEBUG::2014-01-07
>>> 13:01:03,507::storage_mailbox::733::Storage.Misc.excCmd::(_checkForMail)
>>> 'dd
>>>
>>> if=/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/mastersd/dom_md/inbox
>>> iflag=direct,fullblock count=1 bs=1024000' (cwd N
>>> one)
>>>
>>> 3. The migration fails with libvirt error but we need the trace from the
>>> second log:
>>>
>>> Threa

Re: [Users] Deleting Storage Connection

2014-01-08 Thread Itamar Heim

On 01/08/2014 04:22 PM, Elad Ben Aharon wrote:

In 3.3 it suppose to work.

Here is how it's done (more detailed):

1) Install Rest-Clien plugin:
https://addons.mozilla.org/he/firefox/addon/restclient/


wouldn't using the cli be simpler?



2) Access your setup using the plugin:
Use GET method in order to get the storage connections. Attaching 
screenshot(29) so you can see how it should look like.

3) After you get into the storage connection list, You need to find the 
relevant connection. In order to know which connection to delete, look for the 
connection path you need to delete. It's specified under the connection. For 
example:

storage_connection href= "/api/storageconnections/c1b8fe9f-e85b-4146-9a29-227ae845eb6c" 
id="c1b8fe9f-e85b-4146-9a29-227ae845eb6c">
lion.qa.lab.tlv.redhat.com
nfs
/export/elad/elad16


The export path from the nfs server is:
lion.qa.lab.tlv.redhat.com , /export/elad/elad16

Now that you know which connection to remove, use DELETE method and pass the 
connection you want to remove. It's done by copying the UUID of the connection 
from the Response box to the URL box. It should look like this:

https://elad-rhevm3.qa.lab.tlv.redhat.com:443/api/storageconnections/d2d13260-9164-4311-bb27-f5a0e09981b7

Also, you'll have to specify the host which will perform the removal. It's done 
like this:
Under the 'Request' box, add:


host_name
  

Last thing you'll have to do is to add a header:

In the top of the screen you have 'Headers' option. Pick 'Custom Header' and 
specify:

name: Content-Type
value: application/xml


Press SEND.

That should work




Elad

- Original Message -
From: "Sven Kieske" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 3:06:07 PM
Subject: Re: [Users] Deleting Storage Connection

Hi,

actually I think your description is far to shorthanded for everyone
except for people who already know how to delete a storage connection
and how to do it via REST.

However there is a quite accurate wiki site with a more detailed
explanation:
http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29

But it didn't work when I tested it the last time in 3.1.x

But it should work in 3.3.2.

HTH

Am 08.01.2014 13:08, schrieb Elad Ben Aharon:

As Itamar said, there is a nicer way to do it.


In order to delete a connection, you can do it also via REST-API.
You'll need a plugin for your browser (I'm using Rest client for Firefox).

Go to storageconnection under api using 'GET':

https://hostname:443/api/storageconnections

Under that, you'll see your old ISO domain connection (by UUID), use DELETE, in 
order to remove it.

Just remember, you'll be able to remove a connection only if it's not used by 
any domain.

Hope it helped.

Elad





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


Re: [Users] Deleting Storage Connection

2014-01-08 Thread Dafna Ron

Sven,

Elad was giving further information on a tool added in 3.3 version which 
allows an easy way of editing the db (without manual commands in db).

Before that, he listed the tables needed to be cleaned in the db.

Perhaps you mean that not everyone know what sql commands they need to 
run in order to clean the lines from the tables?


Dafna



On 01/08/2014 01:06 PM, Sven Kieske wrote:

Hi,

actually I think your description is far to shorthanded for everyone
except for people who already know how to delete a storage connection
and how to do it via REST.

However there is a quite accurate wiki site with a more detailed
explanation:
http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29

But it didn't work when I tested it the last time in 3.1.x

But it should work in 3.3.2.

HTH

Am 08.01.2014 13:08, schrieb Elad Ben Aharon:

As Itamar said, there is a nicer way to do it.


In order to delete a connection, you can do it also via REST-API.
You'll need a plugin for your browser (I'm using Rest client for Firefox).

Go to storageconnection under api using 'GET':

https://hostname:443/api/storageconnections

Under that, you'll see your old ISO domain connection (by UUID), use DELETE, in 
order to remove it.

Just remember, you'll be able to remove a connection only if it's not used by 
any domain.

Hope it helped.

Elad





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


Re: [Users] Migration Failed

2014-01-08 Thread Dafna Ron

Hi Neil,

the error in the log suggests that the vm is missing a disk...
can you look at the vm dialogue and see what boot devices the vm has?
can you write to the vm?
can you please dump the vm xml from libvirt? (it's one of the commands 
that you have in virsh)


Thanks,

Dafna


On 01/08/2014 02:42 PM, Neil wrote:

Hi guys,

Apologies for the late reply.

The VM (Tux) was created about 2 years ago, it was converted from a
physical machine using Clonezilla. It's been migrated a number of
times in the past, only now when trying to move it off node03 is it
giving this error.

I've looked for any attached images/cd's and found none unfortunately.

Thank you so much for your assistance so far.

Regards.

Neil Wilson.



On Wed, Jan 8, 2014 at 12:23 PM, Dafna Ron  wrote:

Thread-847747::INFO::2014-01-07
14:30:32,353::logUtils::44::dispatcher::(wrapper) Run and protect:
inappropriateDevices(thiefId='63da7faa-f92a-4652-90f2-b6660a4fb7b3')
Thread-847747::INFO::2014-01-07
14:30:32,354::logUtils::47::dispatcher::(wrapper) Run and protect:
inappropriateDevices, Return response: None

Please check if the vm's were booted with a cd...


bject at 0x7fb1f00cbbd0>> log: name:hdc networkDev:False path: readonly:True reqsize:0
serial: truesize:0 *type:cdrom* volExtensionChunk:1024
watermarkLimit:536870912

Traceback (most recent call last):
   File "/usr/share/vdsm/clientIF.py", line 356, in teardownVolumePath
 res = self.irs.teardownImage(drive['domainID'],
   File "/usr/share/vdsm/vm.py", line 1386, in __getitem__
 raise KeyError(key)
KeyError: 'domainID'
Thread-847747::WARNING::2014-01-07
14:30:32,351::clientIF::362::vds::(teardownVolumePath) Drive is not a vdsm
image: VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2 VOLWM_FREE_PCT:50
_blockDev:True _checkIoTuneCategories:>
_customize:> _deviceXML:
   
   
   
9f16f896-1da3-4f9a-a305-ac9c4f51a482
   
   



On 01/08/2014 06:28 AM, Neil wrote:

Hi Dafna,

Thanks for the reply.

Attached is the log from the source server (node03).

I'll reply to your other questions as soon as I'm back in the office
this afternoon, have to run off to a meeting.

Regards.

Neil Wilson.


On Tue, Jan 7, 2014 at 8:13 PM, Dafna Ron  wrote:

Ok... several things :)

1. for migration we need to see vdsm logs from both src and dst.

2. Is it possible that the vm has an iso attached? because I see that you
are having problems with the iso domain:

2014-01-07 14:26:27,714 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(pool-6-thread-48) Domain e9ab725d-69c1-4a59-b225-b995d095c289:bla-iso
was
reported with error code 358


Thread-1165153::DEBUG::2014-01-07
13:39:42,460::libvirtconnection::108::libvirtconnection::(wrapper)
Unknown
libvirterror: ecode: 42 edom: 10 level: 2 message: Domain not found: no
domain with matching uuid '63da7faa-f92a-4652-90f2-b6660a4fb7b3'

hread-19::ERROR::2014-01-07
13:01:02,621::sdc::143::Storage.StorageDomainCache::(_findDomain) domain
e9ab725d-69c1-4a59-b225-b995d095c289 not found
Traceback (most recent call last):
File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
  dom = findMethod(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 171, in
_findUnfetchedDomain
  raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'e9ab725d-69c1-4a59-b225-b995d095c289',)
Thread-19::ERROR::2014-01-07

13:01:02,622::domainMonitor::225::Storage.DomainMonitorThread::(_monitorDomain)
Error while collecting domain e9ab725d-69c1-4a59-b225-b995d095c289
monitoring information
Traceback (most recent call last):
File "/usr/share/vdsm/storage/domainMonitor.py", line 190, in
_monitorDomain
  self.domain = sdCache.produce(self.sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 98, in produce
  domain.getRealDomain()
File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
  return self._cache._realProduce(self._sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 122, in _realProduce
  domain = self._findDomain(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 141, in _findDomain
  dom = findMethod(sdUUID)
File "/usr/share/vdsm/storage/sdc.py", line 171, in
_findUnfetchedDomain
  raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'e9ab725d-69c1-4a59-b225-b995d095c289',)
Dummy-29013::DEBUG::2014-01-07
13:01:03,507::storage_mailbox::733::Storage.Misc.excCmd::(_checkForMail)
'dd

if=/rhev/data-center/28adaf38-a4f6-11e1-a859-cb68949043e4/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd N
one)

3. The migration fails with libvirt error but we need the trace from the
second log:

Thread-1165153::DEBUG::2014-01-07
13:39:42,451::sampling::292::vm.Vm::(stop)
vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::Stop statistics collection
Thread-1163583::DEBUG::2014-01-07
13:39:42,452::sampling::323::vm.Vm::(run)
vmId=`63da7faa-f92a-4652-90f2-b6660a4fb7b3`::St

Re: [Users] Deleting Storage Connection

2014-01-08 Thread Elad Ben Aharon
Itamar, actually using REST is pretty easy and quick. It just that I explained 
it in details so it looks like the bible.

- Original Message -
From: "Itamar Heim" 
To: "Elad Ben Aharon" , "Sven Kieske" 
, "Nauman Abbas" 
Cc: users@ovirt.org, "Alissa Bonas" 
Sent: Wednesday, January 8, 2014 4:45:07 PM
Subject: Re: [Users] Deleting Storage Connection

On 01/08/2014 04:22 PM, Elad Ben Aharon wrote:
> In 3.3 it suppose to work.
>
> Here is how it's done (more detailed):
>
> 1) Install Rest-Clien plugin:
> https://addons.mozilla.org/he/firefox/addon/restclient/

wouldn't using the cli be simpler?

>
> 2) Access your setup using the plugin:
> Use GET method in order to get the storage connections. Attaching 
> screenshot(29) so you can see how it should look like.
>
> 3) After you get into the storage connection list, You need to find the 
> relevant connection. In order to know which connection to delete, look for 
> the connection path you need to delete. It's specified under the connection. 
> For example:
>
> storage_connection href= 
> "/api/storageconnections/c1b8fe9f-e85b-4146-9a29-227ae845eb6c" 
> id="c1b8fe9f-e85b-4146-9a29-227ae845eb6c">
> lion.qa.lab.tlv.redhat.com
> nfs
> /export/elad/elad16
> 
>
> The export path from the nfs server is:
> lion.qa.lab.tlv.redhat.com , /export/elad/elad16
>
> Now that you know which connection to remove, use DELETE method and pass the 
> connection you want to remove. It's done by copying the UUID of the 
> connection from the Response box to the URL box. It should look like this:
>
> https://elad-rhevm3.qa.lab.tlv.redhat.com:443/api/storageconnections/d2d13260-9164-4311-bb27-f5a0e09981b7
>
> Also, you'll have to specify the host which will perform the removal. It's 
> done like this:
> Under the 'Request' box, add:
>
> 
> host_name
>   
>
> Last thing you'll have to do is to add a header:
>
> In the top of the screen you have 'Headers' option. Pick 'Custom Header' and 
> specify:
>
> name: Content-Type
> value: application/xml
>
>
> Press SEND.
>
> That should work
>
>
>
>
> Elad
>
> - Original Message -
> From: "Sven Kieske" 
> To: users@ovirt.org
> Sent: Wednesday, January 8, 2014 3:06:07 PM
> Subject: Re: [Users] Deleting Storage Connection
>
> Hi,
>
> actually I think your description is far to shorthanded for everyone
> except for people who already know how to delete a storage connection
> and how to do it via REST.
>
> However there is a quite accurate wiki site with a more detailed
> explanation:
> http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29
>
> But it didn't work when I tested it the last time in 3.1.x
>
> But it should work in 3.3.2.
>
> HTH
>
> Am 08.01.2014 13:08, schrieb Elad Ben Aharon:
>> As Itamar said, there is a nicer way to do it.
>>
>>
>> In order to delete a connection, you can do it also via REST-API.
>> You'll need a plugin for your browser (I'm using Rest client for Firefox).
>>
>> Go to storageconnection under api using 'GET':
>>
>> https://hostname:443/api/storageconnections
>>
>> Under that, you'll see your old ISO domain connection (by UUID), use DELETE, 
>> in order to remove it.
>>
>> Just remember, you'll be able to remove a connection only if it's not used 
>> by any domain.
>>
>> Hope it helped.
>>
>> Elad
>
>

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


Re: [Users] Deleting Storage Connection

2014-01-08 Thread Itamar Heim

On 01/08/2014 05:48 PM, Elad Ben Aharon wrote:

Itamar, actually using REST is pretty easy and quick. It just that I explained 
it in details so it looks like the bible.


I really hope using the CLI would be even simpler?



- Original Message -
From: "Itamar Heim" 
To: "Elad Ben Aharon" , "Sven Kieske" , "Nauman 
Abbas" 
Cc: users@ovirt.org, "Alissa Bonas" 
Sent: Wednesday, January 8, 2014 4:45:07 PM
Subject: Re: [Users] Deleting Storage Connection

On 01/08/2014 04:22 PM, Elad Ben Aharon wrote:

In 3.3 it suppose to work.

Here is how it's done (more detailed):

1) Install Rest-Clien plugin:
https://addons.mozilla.org/he/firefox/addon/restclient/


wouldn't using the cli be simpler?



2) Access your setup using the plugin:
Use GET method in order to get the storage connections. Attaching 
screenshot(29) so you can see how it should look like.

3) After you get into the storage connection list, You need to find the 
relevant connection. In order to know which connection to delete, look for the 
connection path you need to delete. It's specified under the connection. For 
example:

storage_connection href= "/api/storageconnections/c1b8fe9f-e85b-4146-9a29-227ae845eb6c" 
id="c1b8fe9f-e85b-4146-9a29-227ae845eb6c">
lion.qa.lab.tlv.redhat.com
nfs
/export/elad/elad16


The export path from the nfs server is:
lion.qa.lab.tlv.redhat.com , /export/elad/elad16

Now that you know which connection to remove, use DELETE method and pass the 
connection you want to remove. It's done by copying the UUID of the connection 
from the Response box to the URL box. It should look like this:

https://elad-rhevm3.qa.lab.tlv.redhat.com:443/api/storageconnections/d2d13260-9164-4311-bb27-f5a0e09981b7

Also, you'll have to specify the host which will perform the removal. It's done 
like this:
Under the 'Request' box, add:


 host_name
   

Last thing you'll have to do is to add a header:

In the top of the screen you have 'Headers' option. Pick 'Custom Header' and 
specify:

name: Content-Type
value: application/xml


Press SEND.

That should work




Elad

- Original Message -
From: "Sven Kieske" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 3:06:07 PM
Subject: Re: [Users] Deleting Storage Connection

Hi,

actually I think your description is far to shorthanded for everyone
except for people who already know how to delete a storage connection
and how to do it via REST.

However there is a quite accurate wiki site with a more detailed
explanation:
http://www.ovirt.org/Features/Manage_Storage_Connections#Delete_connection_.28DELETE.29

But it didn't work when I tested it the last time in 3.1.x

But it should work in 3.3.2.

HTH

Am 08.01.2014 13:08, schrieb Elad Ben Aharon:

As Itamar said, there is a nicer way to do it.


In order to delete a connection, you can do it also via REST-API.
You'll need a plugin for your browser (I'm using Rest client for Firefox).

Go to storageconnection under api using 'GET':

https://hostname:443/api/storageconnections

Under that, you'll see your old ISO domain connection (by UUID), use DELETE, in 
order to remove it.

Just remember, you'll be able to remove a connection only if it's not used by 
any domain.

Hope it helped.

Elad







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


[Users] Bad volume specification

2014-01-08 Thread Blaster
I have a couple ESXi Win 7 images on VMDKs that I converted to raw using 
qemu-img convert.


Under ovirt 3.3.1 I then used a procedure posted here previously where 
you create a VM, add a disk, then copy over the converted image onto the 
oVirt created image and away you go.


I did this twice under oVirt 3.3.1 and it worked great.

Now I have built a new oVirt 3.3.2 system and tried the same thing, and 
I get the error:


VM win7-01 is down. Exit message: Bad volume specification {'index': 0, 
'iface': 'virtio', 'reqsize': '0', 'format': 'raw', 'bootOrder': '1', 
'volumeID': 'd750e9e0-a906-4369-8bbb-a3b676121321', 'apparentsize': 
'107374182400', 'imageID': 'f674cb27-c28b-4373-ad75-9ed8a765ca31', 
'specParams': {}, 'readonly': 'false', 'domainID': 
'f14f471e-0cce-414d-af57-779eeb88c97a', 'optional': 'false', 'deviceId': 
'f674cb27-c28b-4373-ad75-9ed8a765ca31', 'truesize': '107374194688', 
'poolID': '18f6234c-a9de-4fdf-bd9a-2bd90b9f33f9', 'device': 'disk', 
'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}.


The original oVirt 3.3.1 system that has now been upgraded to 3.3.2 
still boots this same disk image just fine.


I'm guessing it's upset because apparentsize and truesize are different?

Why did 3.3.1 seem not to care but 3.3.2 does now?

Any way I can true these up?  I've tried a few things with qemu-img but 
haven't gotten the magic right yet.





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


Re: [Users] Bad volume specification

2014-01-08 Thread Dan Kenigsberg
On Wed, Jan 08, 2014 at 10:01:13AM -0600, Blaster wrote:
> I have a couple ESXi Win 7 images on VMDKs that I converted to raw
> using qemu-img convert.
> 
> Under ovirt 3.3.1 I then used a procedure posted here previously
> where you create a VM, add a disk, then copy over the converted
> image onto the oVirt created image and away you go.
> 
> I did this twice under oVirt 3.3.1 and it worked great.
> 
> Now I have built a new oVirt 3.3.2 system and tried the same thing,
> and I get the error:
> 
> VM win7-01 is down. Exit message: Bad volume specification {'index':
> 0, 'iface': 'virtio', 'reqsize': '0', 'format': 'raw', 'bootOrder':
> '1', 'volumeID': 'd750e9e0-a906-4369-8bbb-a3b676121321',
> 'apparentsize': '107374182400', 'imageID':
> 'f674cb27-c28b-4373-ad75-9ed8a765ca31', 'specParams': {},
> 'readonly': 'false', 'domainID':
> 'f14f471e-0cce-414d-af57-779eeb88c97a', 'optional': 'false',
> 'deviceId': 'f674cb27-c28b-4373-ad75-9ed8a765ca31', 'truesize':
> '107374194688', 'poolID': '18f6234c-a9de-4fdf-bd9a-2bd90b9f33f9',
> 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off',
> 'type': 'disk'}.
> 
> The original oVirt 3.3.1 system that has now been upgraded to 3.3.2
> still boots this same disk image just fine.
> 
> I'm guessing it's upset because apparentsize and truesize are different?
> 
> Why did 3.3.1 seem not to care but 3.3.2 does now?

No quick answer pops to mind. Could you share your vdsm.log from the
vmCreate line up until the error you have quoted?

> 
> Any way I can true these up?  I've tried a few things with qemu-img
> but haven't gotten the magic right yet.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Help - Cannot run VM. Invalid time zone for given OS type.

2014-01-08 Thread Michal Skrivanek

On Jan 6, 2014, at 17:41 , Itamar Heim  wrote:

> On 01/06/2014 12:29 AM, Roy Golan wrote:
>> On Mon 06 Jan 2014 12:24:53 AM IST, Roy Golan wrote:
>>> On Fri 03 Jan 2014 04:20:19 PM IST, Michal Skrivanek wrote:
 
 On 3 Jan 2014, at 15:04, Itamar Heim wrote:
 
> On 01/03/2014 12:22 PM, Sven Kieske wrote:
>> Hi,
>> 
>> I'm a little surprised by this development technique.
> 
> its not a development technique. its a bug in upgrade or
> export/import of the change to the much more powerful config file
> based OsInfo implementation in 3.3.
> though i thought we already fixed it.

ok, finally got to it….
it has been fixed by [1] in 3.3.1, it was released in November, an upgrade 
should be your solution.
too bad the fix didn't make the 3.3.0...just by couple of days:/

Thanks,
michal

> 
> michal/roy - isn't this fixed already?
 
 It is fixed for a long time. I think it's a TZ problem, not really
 osinfo.
 I may not recall this correctly but I think the problematic code
 wasn't even released, it was broken just for couple of weeks, that's
 why I'm curious what is the exact release where it was exported to
 confirm it's not related to osinfo unification of "Other".
 
> 
> 
>> 
>> In my world, when you change data formats in a not compatible way
>> you should also write some sort of transition code to
>> convert the old data to the new data format for all possible
>> cases.
>> 
>> And if this is not possible for some reason, at least document
>> this prominent in the release notes.
>> 
>> In which version did this change occur?
>> 
>> With such bad behaviour, I doubt we will ever get to something
>> like a stable release.
>> 
>> I'm sorry when I missed the part of the release notes where this
>> is described and I'm happy if I'm totally wrong and just didn't
>> look good enough to find it. Please point me to some docs which
>> mention this behaviour.
>> 
>> Am 03.01.2014 10:54, schrieb Patrick Hurrelmann:
>>> Hi Dan,
>>> 
>>> I had the very problem myself. The fix for it is quite easy, but
>>> requires manual editing of one database table.
>>> 
>>> In table "vm_static" find your non-starting vms (they propably all
>>> have
>>> an empty string set as timezone in column "time_zone") and update
>>> that
>>> column to null. There was a recent change in the timezone code and it
>>> now fails when the timezone is an empty string, but works fine if
>>> it null.
>>> 
>>> Regards
>>> Patrick
>>> 
>> 
> 
 
>>> 
>>> Not an osinfo issue, this is a bug in input validation. and here is
>>> the fix [1]
>>> [1] http://gerrit.ovirt.org/22989
> 
> please make sure to backport to 3.3 stable branch so it will make ovirt 3.3.3.
> 
> thanks,
>   Itamar

[1] http://gerrit.ovirt.org/#/c/20292/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread squadra
better go for iscsi or something else... i whould avoid nfs for vm hosting

Freebsd10 delivers kernel iscsitarget now, which works great so far. or go
with omnios to get comstar iscsi, which is a rocksolid solution


Cheers,

Juergen


On Wed, Jan 8, 2014 at 2:34 PM, noc  wrote:

> On 8-1-2014 13:18, Sven Kieske wrote:
>
>> PS: Bonus question: Does someone utilize the NFS-Servers also as
>> computenodes ?
>>
> We do, temporarily. It is NOT recommended :-) because:
> - can't update your NFS server without shutting down all VMs
> - myriad of other reasons
>
> Still I did a reboot of our NFS server to update all nodes/engine from
> 3.2.2 to 3.3.2. How?
> Made a script which did a virsh suspend VM which freezes all I/O and then
> ran yum update/reboot on the NFS server. It worked but its not good for
> your stress levels.
>
> Joop
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

Sent from the Delta quadrant using Borg technology!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.4.0 release schedule updated

2014-01-08 Thread Sandro Bonazzola
oVirt team has updated the release schedule for 3.4.0 [1]

These are tentative planning dates and may change

General availability:   2014-02-24
oVirt 3.4 Second Test Day:  2014-02-19
RC Build:   2014-02-17
oVirt 3.4 Test Day: 2014-01-27
Beta release:   2014-01-20
Branching / Feature freeze: 2014-01-15
Alpha release:  2014-01-09

more details on test days, etc to come in the next few weeks

[1] http://www.ovirt.org/OVirt_3.4_release-management#Timeline

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [libvirt] libvirt migration port configuration and virPortAllocator

2014-01-08 Thread Eric Blake
On 01/08/2014 02:45 AM, Dan Kenigsberg wrote:
> On Wed, Jan 08, 2014 at 01:26:23AM +0100, Gianluca Cecchi wrote:
>> Hello,
>> following the bugzilla here:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1019053

This bug was tagged against upstream libvirt.  If you need it backported
to specific Fedora releases, it might be worth cloning the BZ and making
sure the clone is against Fedora instead of Virtualization Tools.

>>
>> we have
>> "
>> This is now fixed by v1.1.3-188-g0196845 and v1.1.3-189-ge3ef20d
>> "
>>
>> Does this mean that f19 that has
>> libvirt-1.0.5.8-1.fc19.x86_64
>> is out?

We can backport the patch to v1.0.5-maint if there is a compelling
reason (such as a BZ).

>> Any time soon to update it?

Fedora 19 and 20 will be betting a new build for CVE fixes anyways
(there's at least four CVEs found during December, some still under
embargo, and where the maintenance releases will probably be coordinated
with the 1.2.1 upstream release around Jan 15).

>> I see at
>> http://libvirt.org/sources/
>> files such as
>> libvirt-1.1.4-1.fc19.x86_64.rpm

That's from fedora-virt-preview, but we only maintain
fedora-virt-preview for a single release (that is, F19's virt-preview is
no longer getting any updates now that F20 is stable, and F20's
virt-preview is tracking what is in rawhide).  At this point, if you
want anything else fixed in F19, the fix has to go in 1.0.5.x, and
you'll have to use the Fedora repo rather than the fedora-virt-preview repo.

>> since beginning of November...
>> any particular reason for no packages neither in updates-testing repo?
>>
>> Also, Fedora 20 has libvirt-1.1.3.2-1.fc20.x86_64.rpm
>> Did it receive the patch update? I see nothing particular in its changelog...
> 
> I suspect that you'd see this bugfix only on libvirt>=1.2, but the best
> place for such questions is the libvirt mailing list (CCed).
> Unfortunately, that version is not even on virt-preview
> http://fedorapeople.org/groups/virt/virt-preview/fedora-19 (but it is on
> http://fedorapeople.org/groups/virt/virt-preview/fedora-20 !)

Again, virt-preview on F19 is dead.  virt-preview on F20 tracks rawhide.
 And for the non-virt-preview packages, if you need particular patched
backported to currently-maintained Fedora releases, bugzilla is the best
place to make sure the request isn't lost.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt Weekly Meeting Minutes -- 2014-01-08

2014-01-08 Thread Doron Fediuck
Minutes:http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-08-15.03.html
Minutes (text): http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-08-15.03.txt
Log:
http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-08-15.03.log.html

=
#ovirt: oVirt Weekly Sync
=


Meeting started by doron_ at 15:03:44 UTC. The full logs are available
at http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-08-15.03.log.html
.



Meeting summary
---
* Agenda and roll Call  (doron_, 15:04:12)
  * 3.3 update releases  (doron_, 15:04:14)
  * 3.4 progress  (doron_, 15:04:15)
  * conferences and workshops  (doron_, 15:04:17)
  * infra update  (doron_, 15:04:18)
  * other topics  (doron_, 15:04:20)

* 3.3 update releases  (doron_, 15:05:01)
  * LINK: http://red.ht/1cOYkMo   (sbonazzo, 15:06:14)
  * 3.3.2 has been released last month  (doron_, 15:07:23)
  * LINK: http://www.ovirt.org/OVirt_3.4_release-management   (sbonazzo,
15:09:52)
  * AGREED: next nightly build will be 3.4 Alpha.  (doron_, 15:11:50)
  * AGREED: 3.3.3 will be built after the first 3.4 alpha build
(doron_, 15:12:16)
  * AGREED: vdsm .14 for alpha, .15 for beta. -SDK to be sorted out
offline.  (doron_, 15:25:08)

* 3.4 progress  (doron_, 15:25:21)
  * gluster for 3.4: gluster async tasks merged. Monitoring volume
capacity feature will not make it.  volume capacity at risk.
(doron_, 15:28:32)
  * ovirt engine infra ofr 3.4 status: snmp, DWH will be ready for
January 15. Auth refactor and dependents at risk.  (doron_,
15:33:36)
  * ovirt engine infra ofr 3.4 status: snmp, DWH and Auth refactoring
will be ready for January 15. New Auth providers at risk.  (doron_,
15:35:56)
  * integration status for 3.4: hosted engine and uri rework merged.
Other tasks currently at risk.  (doron_, 15:39:55)
  * ovirt node 3.4 status: no available node for 3.4 alpha. Should be
tracked for next week.  (doron_, 15:45:16)
  * network status for network labels should be ready for Jan 15.
iproute2 configurator will make it partially using VDSM
configuration.  (doron_, 15:51:33)
  * ppc status for 3.4: 6 critical patches at risk. Folks should assist
with reviews to push it in.  (doron_, 16:02:58)
  * SLA status for 3.4: affinity, new  cluster policies, HA reservation
and hosted engine maintenance under review and should make it to Jan
15. Other tasks at risk.  (doron_, 16:04:57)
  * storage status for 3.4: HSM async tasks may not make it. Currently
at risk: Multiple SDs, Multipathing.  (doron_, 16:12:58)
  * UX status for 3.4: layout fix for low resolution may make it for 3.4
(best effort). Everything else ready.  (doron_, 16:14:18)
  * virt status for 3.4: several tasks will not make it. Currently at
risk: persistent cloud-init/sysprep, cpu hotplug, template versions.
(doron_, 16:23:04)
  * IDEA: branch on 20,  beta to be built on that branching and relased
the day after  (doron_, 16:25:16)
  * IDEA: branch on 15th,  beta to be built on that branching and
released on the 20  (doron_, 16:26:02)
  * IDEA: updated 3.4 schedule: branch on 15th, beta on the 20, test day
on 27. RC on Feb 15, GA a week later  (doron_, 16:31:37)
  * IDEA: updated 3.4 schedule: branch on 15th, beta on the 20, test day
on 27. RC on Feb 17, test day Feb 19, GA Feb 24.  (doron_, 16:33:38)
  * updated 3.4 schedule: branch on 15th, beta on the 20, test day on
27. RC on Feb 17, test day Feb 19, GA Feb 24.  (doron_, 16:36:35)

* conferences and workshops  (doron_, 16:36:58)
  * oVirt will have a presence at several upcoming European events:
Monki Gras, FOSDEM, cfgmgtcamp, Infrastructure.Next, and DevConf.cz.
For that last, bkp hopes to visit folks in the Brno office.  (bkp,
16:37:18)
  * One of the action items from yesterday's board meeting was starting
to set a tentative schedule for the next oVirt workshop in
April/May. Will update.  (bkp, 16:39:00)

* infra update  (doron_, 16:42:58)
  * LINK:
http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-06-15.06.html
(orc_orc, 16:46:47)
  * ovirt infra in process and making headway. details available in
http://ovirt.org/meetings/ovirt/2014/ovirt.2014-01-06-15.06.html
Also good feedback on d/l speed.  (doron_, 16:49:55)

* other topics  (doron_, 16:50:27)
  * Quarterly board meeting for oVirt was held yesterday (Thanks itamar1
and dneary). Good attendance from Red Hat, IBM, Cisco, Intel,
NetApp, and HP. Action items include approval for UI extensions and
plug-ins portal, as well the aforementioned tentative discussion for
the next locations of the oVirt Workshops. Notes should be posted to
the [board] mailing list in a bit.  (bkp, 16:51:03)
  * Working on the first draft of the next oVirt case study on
Nieuwland.  (bkp, 16:51:25)
  * Researching better organizational structures for the oVirt.org wiki.
(bkp, 16:51:33)

Meeting ended at 16:58:00 U

[Users] Need to recreate public RSA key on node

2014-01-08 Thread Bob Doolittle

Hi,

I inadvertently overwrote my root authorized_keys file on my host/node 
(copied instead of appended :( ), so I need to find the proper public 
RSA key to put back there for ovirt-engine.


But I can't seem to find the private (or public) key on the Engine. 
There is no actual account "ovirt-engine" on the Engine. Where does this 
key come from?


Any other suggestions on an easy way to recreate the file? This is my 
only node, and it hosts my Primary Data Domain, so I don't think I can 
easily remove/re-add it.


My node was up at the time, and surprisingly it remains up and 
operational at least for now. What is the remote root ovirt-engine login 
used for?


-Bob

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


Re: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Darrell Budic
Grégoire-

I think this is expected behavior. Well, at least the high glusterfsd CPU use 
during disk creation, anyway. I tried creating a 10 G disk on my test 
environment and observed similar high CPU usage by glusterfsd. Did the creation 
on the i5 system, it showed 95%-105% cpu for glusterfsd during creation, with 
the core2 system running ~35-65% glusterfsd utilization during the creation. 
Minor disk wait was observed on both systems, < 10% peak and generally < 5%. I 
imagine my ZFS cached backends helped a lot here. Took about 3 minutes, roughly 
what I’d expect for the i5’s disk system. Network usage was about 45% of the 1G 
link. No errors or messages logged to /var/log/messages.

Depending on what your test setup looks like, I’d check my network for packet 
loss or errors first. Then look at my storage setup and test pure throughput on 
the disks to see what you’ve got, maybe see what else is running. Did you use 
an NFS cluster or a PosixFS cluster for this?

My test setup, running a version of the nightly self-hosted setup w/ gluster 
distributed/replicated disks as shared storage, in a NFS cluster:

Core i5 3570K @ 3.4Ghz, 16G Ram
Boot disks: 2x 32G SATA SSDs in raid-1
Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G L2ARC 
caching from boot drives
1 1G ethernet
2 VMs running

Core2 Duo E8500 @ 3.16GHz, 8G Ram
Boot disks: 2x 32G SATA SSDS in raid-1
Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G L2ARC 
cache from boot drives
1 1G ethernet

They are connected through a Netgear Prosafe+ workgroup style switch, not much 
going on between them.

  -Darrell

On Jan 8, 2014, at 7:49 AM, gregoire.le...@retenodus.net wrote:

> Hello,
> 
> Do you need more informations about this issue ? Do you think this problem is 
> likely to show up in other cases ? I mean, is that an expected behaviour with 
> my environment, or is it unexpected ?
> 
> Is there a way to limit the bandwidth usage for creation of pre-allocated 
> disk so that it doesn't impact production ?
> 
> Thank you,
> Regards,
> Grégoire
> 
> Le 2014-01-02 17:42, Vijay Bellur a écrit :
>> Adding gluster-users.
>> On 01/02/2014 08:50 PM, gregoire.le...@retenodus.net wrote:
>>> Hello,
>>> I have a Gluster volume in distributed/replicated mode. I have 2 hosts.
>>> When I try to create a VM with a preallocated disk, it uses 100% of the
>>> available CPU and bandwidth (I have 1 Gigabit network card).
>>> The result is I can't even create a preallocated disk because the engine
>>> detects a network failure.
>>> I get that kind of messages in /var/log/messages :
>>> "
>>> Jan  2 14:13:54 localhost sanlock[3811]: 2014-01-02 14:13:54+0100 167737
>>> [3811]: s4 kill 21114 sig 15 count 1
>>> Jan  2 14:13:54 localhost wdmd[3800]: test failed rem 51 now 167737 ping
>>> 167718 close 167728 renewal 167657 expire 167737 client 3811
>>> sanlock_ef4978d6-5711-4e01-a0ec-7ffbd9 cdbe5d:1
>>> "
>>> And that in the Ovirt Gui :
>>> "
>>> 2014-janv.-02, 15:35 Operation Add-Disk failed to complete.
>>> 2014-janv.-02, 15:35 Storage Pool Manager runs on Host HOST2 (Address:
>>> X.X.X.X).
>>> 2014-janv.-02, 15:35 Invalid status on Data Center GlusterSewan. Setting
>>> Data Center status to Non Responsive (On host HOST2, Error: done).
>>> 2014-janv.-02, 15:35 State was set to Up for host HOST2.
>>> 2014-janv.-02, 15:33 Used Network resources of host HOST2 [98%] exceeded
>>> defined threshold [95%].
>>> 2014-janv.-02, 15:33 Add-Disk operation of test_Disk1 was initiated on
>>> VM test by admin@internal.
>>> I understand that the creation of a 10 Go disk image generates a lot of
>>> traffic, but is there a way to limit it so that it doesn't have an
>>> impact on the production ? Furthermore, Why does it use so much CPU
>>> ressources ? I can see on my monitoring graph a big peak of CPU usage
>>> when I launched the operation (probably until 100%).
>> Do you happen to notice what is consuming CPU? Since the same cluster
>> does both virtualization and storage, a GigE network might get
>> saturated very quickly. Is it possible to separate out the management
>> and data/gluster traffic in this setup?
>> Regards,
>> Vijay
> ___
> 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: [Users] Need to recreate public RSA key on node

2014-01-08 Thread Alon Bar-Lev

# openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -pubkey -noout | 
ssh-keygen -i -m PKCS8 -f /dev/stdin

- Original Message -
> From: "Bob Doolittle" 
> To: "users" 
> Sent: Wednesday, January 8, 2014 7:37:30 PM
> Subject: [Users] Need to recreate public RSA key on node
> 
> Hi,
> 
> I inadvertently overwrote my root authorized_keys file on my host/node
> (copied instead of appended :( ), so I need to find the proper public
> RSA key to put back there for ovirt-engine.
> 
> But I can't seem to find the private (or public) key on the Engine.
> There is no actual account "ovirt-engine" on the Engine. Where does this
> key come from?
> 
> Any other suggestions on an easy way to recreate the file? This is my
> only node, and it hosts my Primary Data Domain, so I don't think I can
> easily remove/re-add it.
> 
> My node was up at the time, and surprisingly it remains up and
> operational at least for now. What is the remote root ovirt-engine login
> used for?
> 
> -Bob
> 
> ___
> 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: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Karli Sjöberg


Skickat från min iPhone

> 8 jan 2014 kl. 18:47 skrev "Darrell Budic" :
> 
> Grégoire-
> 
> I think this is expected behavior. Well, at least the high glusterfsd CPU use 
> during disk creation, anyway. I tried creating a 10 G disk on my test 
> environment and observed similar high CPU usage by glusterfsd. Did the 
> creation on the i5 system, it showed 95%-105% cpu for glusterfsd during 
> creation, with the core2 system running ~35-65% glusterfsd utilization during 
> the creation. Minor disk wait was observed on both systems, < 10% peak and 
> generally < 5%. I imagine my ZFS cached backends helped a lot here. Took 
> about 3 minutes, roughly what I’d expect for the i5’s disk system. Network 
> usage was about 45% of the 1G link. No errors or messages logged to 
> /var/log/messages.
> 
> Depending on what your test setup looks like, I’d check my network for packet 
> loss or errors first. Then look at my storage setup and test pure throughput 
> on the disks to see what you’ve got, maybe see what else is running. Did you 
> use an NFS cluster or a PosixFS cluster for this?
> 
> My test setup, running a version of the nightly self-hosted setup w/ gluster 
> distributed/replicated disks as shared storage, in a NFS cluster:
> 
> Core i5 3570K @ 3.4Ghz, 16G Ram
> Boot disks: 2x 32G SATA SSDs in raid-1
> Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G L2ARC 
> caching from boot drives
> 1 1G ethernet
> 2 VMs running
> 
> Core2 Duo E8500 @ 3.16GHz, 8G Ram
> Boot disks: 2x 32G SATA SSDS in raid-1
> Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G 
> L2ARC cache from boot drives
> 1 1G ethernet
> 
> They are connected through a Netgear Prosafe+ workgroup style switch, not 
> much going on between them.
> 
>  -Darrell

Just curious, are you doing ZFS in Linux?

/K

> 
>> On Jan 8, 2014, at 7:49 AM, gregoire.le...@retenodus.net wrote:
>> 
>> Hello,
>> 
>> Do you need more informations about this issue ? Do you think this problem 
>> is likely to show up in other cases ? I mean, is that an expected behaviour 
>> with my environment, or is it unexpected ?
>> 
>> Is there a way to limit the bandwidth usage for creation of pre-allocated 
>> disk so that it doesn't impact production ?
>> 
>> Thank you,
>> Regards,
>> Grégoire
>> 
>> Le 2014-01-02 17:42, Vijay Bellur a écrit :
>>> Adding gluster-users.
>>> On 01/02/2014 08:50 PM, gregoire.le...@retenodus.net wrote:
 Hello,
 I have a Gluster volume in distributed/replicated mode. I have 2 hosts.
 When I try to create a VM with a preallocated disk, it uses 100% of the
 available CPU and bandwidth (I have 1 Gigabit network card).
 The result is I can't even create a preallocated disk because the engine
 detects a network failure.
 I get that kind of messages in /var/log/messages :
 "
 Jan  2 14:13:54 localhost sanlock[3811]: 2014-01-02 14:13:54+0100 167737
 [3811]: s4 kill 21114 sig 15 count 1
 Jan  2 14:13:54 localhost wdmd[3800]: test failed rem 51 now 167737 ping
 167718 close 167728 renewal 167657 expire 167737 client 3811
 sanlock_ef4978d6-5711-4e01-a0ec-7ffbd9 cdbe5d:1
 "
 And that in the Ovirt Gui :
 "
 2014-janv.-02, 15:35 Operation Add-Disk failed to complete.
 2014-janv.-02, 15:35 Storage Pool Manager runs on Host HOST2 (Address:
 X.X.X.X).
 2014-janv.-02, 15:35 Invalid status on Data Center GlusterSewan. Setting
 Data Center status to Non Responsive (On host HOST2, Error: done).
 2014-janv.-02, 15:35 State was set to Up for host HOST2.
 2014-janv.-02, 15:33 Used Network resources of host HOST2 [98%] exceeded
 defined threshold [95%].
 2014-janv.-02, 15:33 Add-Disk operation of test_Disk1 was initiated on
 VM test by admin@internal.
 I understand that the creation of a 10 Go disk image generates a lot of
 traffic, but is there a way to limit it so that it doesn't have an
 impact on the production ? Furthermore, Why does it use so much CPU
 ressources ? I can see on my monitoring graph a big peak of CPU usage
 when I launched the operation (probably until 100%).
>>> Do you happen to notice what is consuming CPU? Since the same cluster
>>> does both virtualization and storage, a GigE network might get
>>> saturated very quickly. Is it possible to separate out the management
>>> and data/gluster traffic in this setup?
>>> Regards,
>>> Vijay
>> ___
>> 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: [Users] Need to recreate public RSA key on node

2014-01-08 Thread Bob Doolittle

Awesome, thanks!

-Bob

P.S. I should have said that engine and node are both RH6.5, so 
ssh-keygen doesn't recognize the -m option, but I was able to copy the 
engine.cer to an F20 host first and run the command.


On 01/08/2014 12:51 PM, Alon Bar-Lev wrote:

openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -pubkey -noout | 
ssh-keygen -i -m PKCS8 -f /dev/stdin


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


Re: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Darrell Budic

On Jan 8, 2014, at 11:55 AM, Karli Sjöberg  wrote:

> 
> 
> Skickat från min iPhone
> 
>> 8 jan 2014 kl. 18:47 skrev "Darrell Budic" :
>> 
>> Grégoire-
>> 
>> My test setup, running a version of the nightly self-hosted setup w/ gluster 
>> distributed/replicated disks as shared storage, in a NFS cluster:
>> 
>> Core i5 3570K @ 3.4Ghz, 16G Ram
>> Boot disks: 2x 32G SATA SSDs in raid-1
>> Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G L2ARC 
>> caching from boot drives
>> 1 1G ethernet
>> 2 VMs running
>> 
>> Core2 Duo E8500 @ 3.16GHz, 8G Ram
>> Boot disks: 2x 32G SATA SSDS in raid-1
>> Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G 
>> L2ARC cache from boot drives
>> 1 1G ethernet
> 
> Just curious, are you doing ZFS in Linux?
> 
> /K

Yes, forgot to mention those are freshly built Centos 6.5 systems with zfs 
0.6.2, and glusterfs-3.4.1-3.el6.x86_64, vdsm-gluster-4.13.2-1.el6.noarch for 
testing/experimenting. Bought some cheap SSDs and just grabbed systems and 
platters I had around for it. Testbedding and getting some experience with the 
self hosted engine, since I’d like to move to it once it’s released. Also 
looking forward to testing native gluster on this setup.

I have a production ovirt cluster with a linux zfs based NFS storage server, 
the backend has been very stable since I got rid of Nextenta and went to linux. 
Sounds odd, I know, but couldn’t get good support for a community nextenta 
server I inherited. I was having driver level box lockup issues with 
openSolaris that I couldn’t resolve. So I rebuilt it with linux, imported the 
pool, and haven’t looked back or had a storage failure since.

  -Darrell

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


Re: [Users] Need to recreate public RSA key on node

2014-01-08 Thread Alon Bar-Lev

# openssl pkcs12 -in /etc/pki/ovirt-engine/keys/engine.p12 -passin pass:mypass 
-nodes -nocerts | ssh-keygen -y -f /dev/stdin

- Original Message -
> From: "Bob Doolittle" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Wednesday, January 8, 2014 8:01:46 PM
> Subject: Re: [Users] Need to recreate public RSA key on node
> 
> Awesome, thanks!
> 
> -Bob
> 
> P.S. I should have said that engine and node are both RH6.5, so
> ssh-keygen doesn't recognize the -m option, but I was able to copy the
> engine.cer to an F20 host first and run the command.
> 
> On 01/08/2014 12:51 PM, Alon Bar-Lev wrote:
> > openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -pubkey -noout |
> > ssh-keygen -i -m PKCS8 -f /dev/stdin
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Bad volume specification

2014-01-08 Thread Blaster

On Jan 8, 2014, at 10:10 AM, Dan Kenigsberg  wrote:

> 
> No quick answer pops to mind. Could you share your vdsm.log from the
> vmCreate line up until the error you have quoted?
> 
I figured it out.  The disk image permissions didn’t copy over, so vdsm 
couldn’t read the disk image..

Thanks for the response.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] no VM network connection

2014-01-08 Thread William Kwan
Hi all,

Need some pointers here.  I created one VM successfully with network 
connection.  New VMs and clone can't seem to get network connections.

I have ovirt 3.3.2-1.el6 on CentOS6.5.  Two virtualization nodes are on 6.5 
with GlusterFS.
 Both nodes have bond0 on management subnet and bond1 on subnet1.
 bond0 has an IP assigned and bond1 has no IP assigned (just link up)

I created a VM with two NICs attached to two the logical networks.  This VM1 
works fine with both network connections. This VM can be started on either node 
fine with network connections.

When I tried to build a new VM or build one from the template of VM1, I can't 
seem to get another network connection working on these new VMs.  Yes, they 
have logical network attached to them.  

Thanks in advance,

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


[Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Bob Doolittle

Hi,

I want to run ovirt-shell directly (as root) on the Engine. Presumably 
all the files I need for CA, key, and cert are in the /etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.

Thanks,
Bob

[cli]
autoconnect = True
autopage = True
[ovirt-shell]
username = "admin@internal"
timeout = None
extended_prompt = False
url = https://localhost/api
insecure = False
filter = False
session_timeout = None
ca_file = /etc/pki/ovirt-engine/ca.pem
dont_validate_cert_chain = False
key_file = /etc/pkg/ovirt-engine/keys/engine.p12
password = "XXX"
cert_file = /etc/pkg/ovirt-engine/certs/engine.cer
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Joop

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. Presumably 
all the files I need for CA, key, and cert are in the /etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in your 
certs. Use your fqdn for the url variable.


Joop

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


Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Bob Doolittle


On 01/08/2014 02:17 PM, Joop wrote:

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. 
Presumably all the files I need for CA, key, and cert are in the 
/etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in your 
certs. Use your fqdn for the url variable.


Good thought. But now I am getting:

error: [Errno 336265225] _ssl.c:341: error:140B0009:SSL 
routines:SSL_CTX_use_PrivateKey_file:PEM lib


Some searching indicates that my keys and certs need to be in pem 
format, so maybe I have to convert them before use? Any tips on how to 
do that?


Thanks,
Bob

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


Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Joop

Bob Doolittle wrote:


On 01/08/2014 02:17 PM, Joop wrote:

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. 
Presumably all the files I need for CA, key, and cert are in the 
/etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in your 
certs. Use your fqdn for the url variable.


Good thought. But now I am getting:

error: [Errno 336265225] _ssl.c:341: error:140B0009:SSL 
routines:SSL_CTX_use_PrivateKey_file:PEM lib


Some searching indicates that my keys and certs need to be in pem 
format, so maybe I have to convert them before use? Any tips on how to 
do that?



What happens if you leave out the ca_file/key_file/cert_file variables?
I just played around with ovirt-shell and made a .ovirtshellrc file, on 
the engine, and don't remember setting these and I could login and run 
scripts
Can't access my test environment right now so this is also a shot in the 
dark.


Joop

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


Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Bob Doolittle


On 01/08/2014 02:31 PM, Joop wrote:

Bob Doolittle wrote:


On 01/08/2014 02:17 PM, Joop wrote:

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. 
Presumably all the files I need for CA, key, and cert are in the 
/etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in your 
certs. Use your fqdn for the url variable.


Good thought. But now I am getting:

error: [Errno 336265225] _ssl.c:341: error:140B0009:SSL 
routines:SSL_CTX_use_PrivateKey_file:PEM lib


Some searching indicates that my keys and certs need to be in pem 
format, so maybe I have to convert them before use? Any tips on how 
to do that?



What happens if you leave out the ca_file/key_file/cert_file variables?
I just played around with ovirt-shell and made a .ovirtshellrc file, 
on the engine, and don't remember setting these and I could login and 
run scripts
Can't access my test environment right now so this is also a shot in 
the dark.


That's what I tried first. I get:
error: server CA certificate file must be specified for SSL secured 
connection.


And if I don't specify https I get:
error: No response returned from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.

Thanks,
   Bob

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


Re: [Users] oVirt 3.3.3 tracker

2014-01-08 Thread Itamar Heim

On 01/08/2014 07:04 PM, Sandro Bonazzola wrote:

Hi,
during today oVirt sync meeting it has been decided to release oVirt 3.3.3 [1] 
just after 3.4.0 alpha.
3.4.0 alpha will be composed tomorrow using next nightly build rpms.

It has been proposed to build 3.3.3 beta next Monday, so here is the proposed 
schedule:

 General availability: 2014-01-28
 RC Build: 2014-01-21
 Beta release: 2014-01-13


make sense.



A tracker bug has been created for blockers tracking:  BZ 1050084 - Tracker: 
oVirt 3.3.3 release

We still have ~30 bugs targeted to 3.3.3 [2], please update target releases and 
add blocker bugs to the tracker.


I asked for 3.3.4 target release to be added, but i think folks should 
consider if to push bugs to 3.3.4, or to 3.4.0 by now.


I've added users mailing list, in case there is a specific bug someone 
would like to highlight a specific bug that should go into 3.3.3 or 3.3.4.





Waiting approval before preparing the email for other mailing lists.

[1] http://www.ovirt.org/OVirt_3.3.z_release-management#oVirt_3.3.3
[2] http://red.ht/1cOYkMo



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


Re: [Users] virt-io SCSI duplicate disk ID

2014-01-08 Thread Daniel Erez
Hi Blaster,

Have you added the second disk after upgrading oVirt version?
An explicit address setting mechanism has been introduced recently,
which might cause such problems between minor versions.
Can you please attach the full engine/vdsm logs?

Thanks,
Daniel

- Original Message -
> From: "Blaster" 
> To: users@ovirt.org
> Sent: Wednesday, January 8, 2014 8:53:57 PM
> Subject: [Users] virt-io SCSI duplicate disk ID
> 
> So twice now under oVirt 3.3.2 I have added 2 virtio-scsi devices to a single
> virtual host.
> 
> After doing so, the VM would fail to boot due to duplicate disk ID. The first
> time I thought it a fluke, second time’s a bug?
> 
> Fortunately they were empty data disks and I was able to get around the
> problem by deleting one and recreating it.
> 
> VDSM log:
> 
> Thread-32154::INFO::2014-01-08
> 11:54:39,717::clientIF::350::vds::(prepareVolumePath) prepared volume path:
> /rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2
> Thread-32154::DEBUG::2014-01-08 11:54:39,740::vm::2984::vm.Vm::(_run)
> vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`:: encoding="utf-8"?>
> 
> cobra
> c2aff4cc-0de6-4342-a565-669b1825838c
> 4194304
> 4194304
> 3
> 
> 4194304
> 
> 
> 
> 
>  path="/var/lib/libvirt/qemu/channels/c2aff4cc-0de6-4342-a565-669b1825838c.com.redhat.rhevm.vdsm"/>
> 
> 
> 
>  path="/var/lib/libvirt/qemu/channels/c2aff4cc-0de6-4342-a565-669b1825838c.org.qemu.guest_agent.0"/>
> 
> 
> 
> 
> 
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  file="/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/94a298cb-87a5-48cd-b78f-770582b50639/c4864816-7384-4d0e-927e-29ea36d5fa4a"/>
> 
> 94a298cb-87a5-48cd-b78f-770582b50639
> 
>  type="raw"/>
> 
> 
> 
>  file="/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/8df43d38-c4c7-4711-bc87-55f35d1550e5/42786233-04c0-4a9f-b731-6eaa2ca4d40d"/>
> 
> 8df43d38-c4c7-4711-bc87-55f35d1550e5
>  type="raw"/>
> 
> 
> 
> 
>  file="/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2"/>
> 
> e1886286-3d81-47d0-ae8d-77454e464078
>  type="raw"/>
> 
> 
> 
> 
> 
> 
> 
> hvm
> 
> 
> 
> 
> oVirt
> oVirt Node
> 19-5
> 2061001F-C600-0006-E1BC-BCAEC518BA45
> c2aff4cc-0de6-4342-a565-669b1825838c
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Nehalem
> 
> 
> 
> Thread-32154::DEBUG::2014-01-08
> 11:54:40,218::libvirtconnection::108::libvirtconnection::(wrapper) Unknown
> libvirterror: ecode: 1 edom: 10 level: 2 message: internal error process
> exited while connecting to monitor: qemu-system-x86_64: -drive
> file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
> Duplicate ID 'drive-scsi0-0-0-0' for drive
> 
> Thread-32154::DEBUG::2014-01-08
> 11:54:40,218::vm::2109::vm.Vm::(_startUnderlyingVm)
> vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::_ongoingCreations released
> Thread-32154::ERROR::2014-01-08
> 11:54:40,218::vm::2135::vm.Vm::(_startUnderlyingVm)
> vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::The vm start process failed
> Traceback (most recent call last):
> File "/usr/share/vdsm/vm.py", line 2095, in _startUnderlyingVm
> self._run()
> File "/usr/share/vdsm/vm.py", line 3018, in _run
> self._connection.createXML(domxml, flags),
> File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 76,
> in wrapper
> ret = f(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2805, in createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
> libvirtError: internal error process exited while connecting to monitor:
> qemu-system-x86_64: -drive
> file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
> Duplicate ID 'drive-scsi0-0-0-0' for drive
> 
> Thread-32154::DEBUG::2014-01-08
> 11:54:40,223::vm::2577::vm.Vm::(setDownStatus)
> vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::Changed state to Down: internal
> error process exited while connecting to monitor: qemu-system-x86_64: -drive
> file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
> Duplicate ID 'drive-scsi0-0

Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Joop

Bob Doolittle wrote:


On 01/08/2014 02:31 PM, Joop wrote:

Bob Doolittle wrote:


On 01/08/2014 02:17 PM, Joop wrote:

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. 
Presumably all the files I need for CA, key, and cert are in the 
/etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in your 
certs. Use your fqdn for the url variable.


Good thought. But now I am getting:

error: [Errno 336265225] _ssl.c:341: error:140B0009:SSL 
routines:SSL_CTX_use_PrivateKey_file:PEM lib


Some searching indicates that my keys and certs need to be in pem 
format, so maybe I have to convert them before use? Any tips on how 
to do that?



What happens if you leave out the ca_file/key_file/cert_file variables?
I just played around with ovirt-shell and made a .ovirtshellrc file, 
on the engine, and don't remember setting these and I could login and 
run scripts
Can't access my test environment right now so this is also a shot in 
the dark.


That's what I tried first. I get:
error: server CA certificate file must be specified for SSL secured 
connection.


And if I don't specify https I get:
error: No response returned from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.


OK. Here is what I did:
On ovirt-engine: wget https://engine_fqdn/ca.crt --no-check-certificate
and used the following .ovirtshellrc

[cli]
autoconnect = True
autopage = True
[ovirt-shell]
username = admin@internal
timeout = -1
extended_prompt = False
url = https://engine_fqdn/api
insecure = False
filter = False
session_timeout = -1
ca_file = /root/ca.crt
dont_validate_cert_chain = False
key_file = None
password = **
cert_file = None

Then I can do ovirt-shell and get a prompt that I'm connected.
Notice I only filled in ca_file and NOT key_file/cert_file. Setting 
insecure=True will also work and then you won't need ca.crt


Joop




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


Re: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Karli Sjöberg


Skickat från min iPhone

> 8 jan 2014 kl. 19:11 skrev "Darrell Budic" :
> 
> 
>> On Jan 8, 2014, at 11:55 AM, Karli Sjöberg  wrote:
>> 
>> 
>> 
>> Skickat från min iPhone
>> 
>>> 8 jan 2014 kl. 18:47 skrev "Darrell Budic" :
>>> 
>>> Grégoire-
>>> 
>>> My test setup, running a version of the nightly self-hosted setup w/ 
>>> gluster distributed/replicated disks as shared storage, in a NFS cluster:
>>> 
>>> Core i5 3570K @ 3.4Ghz, 16G Ram
>>> Boot disks: 2x 32G SATA SSDs in raid-1
>>> Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G 
>>> L2ARC caching from boot drives
>>> 1 1G ethernet
>>> 2 VMs running
>>> 
>>> Core2 Duo E8500 @ 3.16GHz, 8G Ram
>>> Boot disks: 2x 32G SATA SSDS in raid-1
>>> Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G 
>>> L2ARC cache from boot drives
>>> 1 1G ethernet
>> 
>> Just curious, are you doing ZFS in Linux?
>> 
>> /K
> 
> Yes, forgot to mention those are freshly built Centos 6.5 systems with zfs 
> 0.6.2, and glusterfs-3.4.1-3.el6.x86_64, vdsm-gluster-4.13.2-1.el6.noarch for 
> testing/experimenting. Bought some cheap SSDs and just grabbed systems and 
> platters I had around for it. Testbedding and getting some experience with 
> the self hosted engine, since I’d like to move to it once it’s released. Also 
> looking forward to testing native gluster on this setup.
> 
> I have a production ovirt cluster with a linux zfs based NFS storage server, 
> the backend has been very stable since I got rid of Nextenta and went to 
> linux. Sounds odd, I know, but couldn’t get good support for a community 
> nextenta server I inherited. I was having driver level box lockup issues with 
> openSolaris that I couldn’t resolve. So I rebuilt it with linux, imported the 
> pool, and haven’t looked back or had a storage failure since.
> 
>  -Darrell
> 

Glad to hear you got it working, inheritance is a *:) Never considered 
joining the daemon side of the force (FreeBSD) ? Oh, and are you running it 
native with ZoL or through FUSE?

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


Re: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Darrell Budic

On Jan 8, 2014, at 3:29 PM, Karli Sjöberg  wrote:

> 
> 
> Skickat från min iPhone
> 
>> 8 jan 2014 kl. 19:11 skrev "Darrell Budic" :
>> 
>> 
>>> On Jan 8, 2014, at 11:55 AM, Karli Sjöberg  wrote:
>>> 
>>> 
>>> 
>>> Skickat från min iPhone
>>> 
 8 jan 2014 kl. 18:47 skrev "Darrell Budic" :
 
 Grégoire-
 
 My test setup, running a version of the nightly self-hosted setup w/ 
 gluster distributed/replicated disks as shared storage, in a NFS cluster:
 
 Core i5 3570K @ 3.4Ghz, 16G Ram
 Boot disks: 2x 32G SATA SSDs in raid-1
 Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G 
 L2ARC caching from boot drives
 1 1G ethernet
 2 VMs running
 
 Core2 Duo E8500 @ 3.16GHz, 8G Ram
 Boot disks: 2x 32G SATA SSDS in raid-1
 Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G 
 L2ARC cache from boot drives
 1 1G ethernet
>>> 
>>> Just curious, are you doing ZFS in Linux?
>>> 
>>> /K
>> 
>> Yes, forgot to mention those are freshly built Centos 6.5 systems with zfs 
>> 0.6.2, and glusterfs-3.4.1-3.el6.x86_64, vdsm-gluster-4.13.2-1.el6.noarch 
>> for testing/experimenting. Bought some cheap SSDs and just grabbed systems 
>> and platters I had around for it. Testbedding and getting some experience 
>> with the self hosted engine, since I’d like to move to it once it’s 
>> released. Also looking forward to testing native gluster on this setup.
>> 
>> I have a production ovirt cluster with a linux zfs based NFS storage server, 
>> the backend has been very stable since I got rid of Nextenta and went to 
>> linux. Sounds odd, I know, but couldn’t get good support for a community 
>> nextenta server I inherited. I was having driver level box lockup issues 
>> with openSolaris that I couldn’t resolve. So I rebuilt it with linux, 
>> imported the pool, and haven’t looked back or had a storage failure since.
>> 
>> -Darrell
>> 
> 
> Glad to hear you got it working, inheritance is a *:) Never considered 
> joining the daemon side of the force (FreeBSD) ? Oh, and are you running it 
> native with ZoL or through FUSE?
> 
> /K

Native ZoL, it’s just a big fat 10g NFS server for the host nodes. It’s been 
solid since Ovirt 3.1 or so. Been using linux (old Slackware hand here) too 
long to turn back to the daemon side ;) I use macs and OS X for the desktop to 
get my mach Kernel bsd-ish fix, so the even darker side? :)

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


Re: [Users] Specifying values for cert, key, and CA for ovirt-shell

2014-01-08 Thread Bob Doolittle


On 01/08/2014 04:21 PM, Joop wrote:

Bob Doolittle wrote:


On 01/08/2014 02:31 PM, Joop wrote:

Bob Doolittle wrote:


On 01/08/2014 02:17 PM, Joop wrote:

Bob Doolittle wrote:

Hi,

I want to run ovirt-shell directly (as root) on the Engine. 
Presumably all the files I need for CA, key, and cert are in the 
/etc/pki area.


But when I use the attached .ovirtshellrc file I get:

error: [Errno 336265218] _ssl.c:341: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib


How can I specify an appropriate configuration to get this working?
I would prefer to keep using SSL if possible.
Just guessing but I don't think that your fqdn is localhost in 
your certs. Use your fqdn for the url variable.


Good thought. But now I am getting:

error: [Errno 336265225] _ssl.c:341: error:140B0009:SSL 
routines:SSL_CTX_use_PrivateKey_file:PEM lib


Some searching indicates that my keys and certs need to be in pem 
format, so maybe I have to convert them before use? Any tips on how 
to do that?



What happens if you leave out the ca_file/key_file/cert_file variables?
I just played around with ovirt-shell and made a .ovirtshellrc file, 
on the engine, and don't remember setting these and I could login 
and run scripts
Can't access my test environment right now so this is also a shot in 
the dark.


That's what I tried first. I get:
error: server CA certificate file must be specified for SSL secured 
connection.


And if I don't specify https I get:
error: No response returned from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.


OK. Here is what I did:
On ovirt-engine: wget https://engine_fqdn/ca.crt --no-check-certificate
and used the following .ovirtshellrc

[cli]
autoconnect = True
autopage = True
[ovirt-shell]
username = admin@internal
timeout = -1
extended_prompt = False
url = https://engine_fqdn/api
insecure = False
filter = False
session_timeout = -1
ca_file = /root/ca.crt
dont_validate_cert_chain = False
key_file = None
password = **
cert_file = None


Something must be different about our setups. This is where I started.

In both cases, either "insecure = True" or when I specify the ca_file 
only, I get:

error: [401] - Unauthorized, HTTP Status 401

The one difference is that you are using "ca_file = /root/ca.crt" 
whereas I am using "ca_file = ca.pem".


I can't seem to find any .crt files in the /etc/pki/ovirt-engine area 
(or, for that matter, in the /etc/pki/vdsm area on the node).


Thanks,
   Bob


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


[Users] SSD Caching

2014-01-08 Thread Russell Purinton
[20:42]  is anybody out there using a good RAM+SSD caching system 
ahead of gluster storage?
[20:42]  sorry if that came through twice
[20:44]  im thinking about making the SSD one giant swap file then 
creating a very large ramdisk in virtual memory and using that as a block level 
cache for parts and pieces of virtual machine disk images
[20:44]  then i think the memory managers would inherently play the 
role of storage tiering ie: keeping the hottest data in memory and the coldest 
data on swap
[20:45]  everything i have seen today has been setup as   "consumer" 
 ===>  network > SSD cache > real disks
[20:45]  but i'd like to actually do "consumer" ===> RAM+SSD cache 
===>  network ===> real disks
[20:46]  i realize doing a virtual memory disk means the cache will 
be cleared on every reboot, and I'm ok with that
[20:47]  i know this can be done with NFS and cachefilesd(fscache), 
but how could something be integrated into the native gluster clients?
[20:47]  i'd prefer not to have to access gluster via NFS
[20:49]  any feedback from this room is greatly appreciated, getting 
someone started to build managed HA cloud hosting
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] too many bouces information message..

2014-01-08 Thread Gianluca Cecchi
Already received some weeks ago this kind of message I just received today:

"
Your membership in the mailing list Users has been disabled due to
excessive bounces The last bounce received from you was dated
08-Jan-2014.  You will not get any more messages from this list until
you re-enable your membership.  You will receive 3 more reminders like
this before your membership in the list is deleted.

To re-enable your membership, you can simply respond to this message
..
"

At the mean time I just re-enabled my membership receiving confirmation message.
What could be the reason? I'm only normally using via web my gmail
account that I use for other mailing lists too, without any
problem
A difference is that I statistically find more messages from the list
that gmails initally puts into spam and that I mark as "not spam"

Any hint here?

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


Re: [Users] too many bouces information message..

2014-01-08 Thread Itamar Heim

On 01/09/2014 12:27 AM, Gianluca Cecchi wrote:

Already received some weeks ago this kind of message I just received today:

"
Your membership in the mailing list Users has been disabled due to
excessive bounces The last bounce received from you was dated
08-Jan-2014.  You will not get any more messages from this list until
you re-enable your membership.  You will receive 3 more reminders like
this before your membership in the list is deleted.

To re-enable your membership, you can simply respond to this message
..
"

At the mean time I just re-enabled my membership receiving confirmation message.
What could be the reason? I'm only normally using via web my gmail
account that I use for other mailing lists too, without any
problem
A difference is that I statistically find more messages from the list
that gmails initally puts into spam and that I mark as "not spam"

Any hint here?

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



we're not sure why, but gmail considers us as spammers since we send the 
same email to a few hundrends gmail accounts registered to users@ovirt.org.

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


Re: [Users] too many bouces information message..

2014-01-08 Thread Dave Neary
Hi,

It may be related to the IPv6 bounce we got from a spam filtering
service recently. RP Herrold suggested that we add an IPv6 PTR for
linode01 and see if that fixes it, and I have requested that from IT
services here in Red Hat, who control the DNS records.

Will keep everyone posted, we'll see if it makes a difference.

Thanks,
Dave.

On 01/08/2014 11:31 PM, Itamar Heim wrote:
> On 01/09/2014 12:27 AM, Gianluca Cecchi wrote:
>> Already received some weeks ago this kind of message I just received
>> today:
>>
>> "
>> Your membership in the mailing list Users has been disabled due to
>> excessive bounces The last bounce received from you was dated
>> 08-Jan-2014.  You will not get any more messages from this list until
>> you re-enable your membership.  You will receive 3 more reminders like
>> this before your membership in the list is deleted.
>>
>> To re-enable your membership, you can simply respond to this message
>> ..
>> "
>>
>> At the mean time I just re-enabled my membership receiving
>> confirmation message.
>> What could be the reason? I'm only normally using via web my gmail
>> account that I use for other mailing lists too, without any
>> problem
>> A difference is that I statistically find more messages from the list
>> that gmails initally puts into spam and that I mark as "not spam"
>>
>> Any hint here?
>>
>> Thanks,
>> Gianluca
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> 
> we're not sure why, but gmail considers us as spammers since we send the
> same email to a few hundrends gmail accounts registered to users@ovirt.org.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] too many bouces information message..

2014-01-08 Thread Gianluca Cecchi
On Wed, Jan 8, 2014 at 11:34 PM, Dave Neary  wrote:
> Hi,
>
> It may be related to the IPv6 bounce we got from a spam filtering
> service recently. RP Herrold suggested that we add an IPv6 PTR for
> linode01 and see if that fixes it, and I have requested that from IT
> services here in Red Hat, who control the DNS records.
>
> Will keep everyone posted, we'll see if it makes a difference.
>
> Thanks,
> Dave.
>
> On 01/08/2014 11:31 PM, Itamar Heim wrote:

>>
>> we're not sure why, but gmail considers us as spammers since we send the
>> same email to a few hundrends gmail accounts registered to users@ovirt.org.

Ok, thanks.
Important that I'm not origin of problems with the mailing list for other ones.
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] too many bouces information message..

2014-01-08 Thread R P Herrold
On Wed, 8 Jan 2014, Dave Neary wrote:

> It may be related to the IPv6 bounce we got from a spam filtering
> service recently. RP Herrold suggested that we add an IPv6 PTR for

It is possible, but not that likely -- trying to understand 
gmail downratings and refusals to deliver, when there is no 
way to access log files and track a given Message-Id through 
them chweing on it, nor giving straight answers as to the 
filtering regime of the day, are a "whole 'nother kettle of 
dysfunction" in the Venn diagram of email pain to diagnose ;(

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


Re: [Users] GlusterFS Distributed Replicate

2014-01-08 Thread Andrew Lau
On Thu, Jan 9, 2014 at 12:51 AM,  wrote:

> Hi,
>
> Le 2014-01-08 10:24, Andrew Lau a écrit :
>
>  Hi,
>>
>>  I finally got around to running some tests on our environment, are
>> you getting the same case where as when one host drops the VM ends up
>> in a paused state and can't be migrated?
>>
>
> Yes, in the hosts panel, I have to manually confirm it was really reboot.
> Elese, the VM is in paused state.
>
> Is that the only workaround you managed to find? That sort of means it
won't be possible get the full automated HA no matter how many nodes you
add..

Is this because of fencing? I'm following a similar situation so I'm still
digging on finding the best approach.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Virtual NIC

2014-01-08 Thread Maurice James
Can oVirt see virtual NICs? For example eth0:1

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


Re: [Users] Virtual NIC

2014-01-08 Thread Dan Kenigsberg
On Wed, Jan 08, 2014 at 08:07:32PM -0500, Maurice James wrote:
> Can oVirt see virtual NICs? For example eth0:1
> 

No, we do not handle NIC aliases (I think that's the standard term) at
all, sorry.

Would you share with why do you need them in the context of oVirt?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-io SCSI duplicate disk ID

2014-01-08 Thread Blaster


Hi Daniel,

Both times were on the same hypervisor which was a fresh 3.3.2 install, 
not an upgrade.  One time was using disk images and the other time was 
using direct LUN.


I will send log files to you directly.


On 1/8/2014 3:15 PM, Daniel Erez wrote:

Hi Blaster,

Have you added the second disk after upgrading oVirt version?
An explicit address setting mechanism has been introduced recently,
which might cause such problems between minor versions.
Can you please attach the full engine/vdsm logs?

Thanks,
Daniel

- Original Message -

From: "Blaster" 
To: users@ovirt.org
Sent: Wednesday, January 8, 2014 8:53:57 PM
Subject: [Users] virt-io SCSI duplicate disk ID

So twice now under oVirt 3.3.2 I have added 2 virtio-scsi devices to a single
virtual host.

After doing so, the VM would fail to boot due to duplicate disk ID. The first
time I thought it a fluke, second time’s a bug?

Fortunately they were empty data disks and I was able to get around the
problem by deleting one and recreating it.

VDSM log:

Thread-32154::INFO::2014-01-08
11:54:39,717::clientIF::350::vds::(prepareVolumePath) prepared volume path:
/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2
Thread-32154::DEBUG::2014-01-08 11:54:39,740::vm::2984::vm.Vm::(_run)
vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::

cobra
c2aff4cc-0de6-4342-a565-669b1825838c
4194304
4194304
3

4194304




















































94a298cb-87a5-48cd-b78f-770582b50639







8df43d38-c4c7-4711-bc87-55f35d1550e5







e1886286-3d81-47d0-ae8d-77454e464078








hvm




oVirt
oVirt Node
19-5
2061001F-C600-0006-E1BC-BCAEC518BA45
c2aff4cc-0de6-4342-a565-669b1825838c









Nehalem



Thread-32154::DEBUG::2014-01-08
11:54:40,218::libvirtconnection::108::libvirtconnection::(wrapper) Unknown
libvirterror: ecode: 1 edom: 10 level: 2 message: internal error process
exited while connecting to monitor: qemu-system-x86_64: -drive
file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
Duplicate ID 'drive-scsi0-0-0-0' for drive

Thread-32154::DEBUG::2014-01-08
11:54:40,218::vm::2109::vm.Vm::(_startUnderlyingVm)
vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::_ongoingCreations released
Thread-32154::ERROR::2014-01-08
11:54:40,218::vm::2135::vm.Vm::(_startUnderlyingVm)
vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::The vm start process failed
Traceback (most recent call last):
File "/usr/share/vdsm/vm.py", line 2095, in _startUnderlyingVm
self._run()
File "/usr/share/vdsm/vm.py", line 3018, in _run
self._connection.createXML(domxml, flags),
File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py", line 76,
in wrapper
ret = f(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2805, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: internal error process exited while connecting to monitor:
qemu-system-x86_64: -drive
file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
Duplicate ID 'drive-scsi0-0-0-0' for drive

Thread-32154::DEBUG::2014-01-08
11:54:40,223::vm::2577::vm.Vm::(setDownStatus)
vmId=`c2aff4cc-0de6-4342-a565-669b1825838c`::Changed state to Down: internal
error process exited while connecting to monitor: qemu-system-x86_64: -drive
file=/rhev/data-center/mnt/_disk01_vm/f14f471e-0cce-414d-af57-779eeb88c97a/images/e1886286-3d81-47d0-ae8d-77454e464078/1ef64ebd-6415-43d1-a34f-28f05cf6dea2,if=none,id=drive-scsi0-0-0-0,format=raw,serial=e1886286-3d81-47d0-ae8d-77454e464078,cache=none,werror=stop,rerror=stop,aio=threads:
Duplicate ID 'drive-scsi0-0-0-0' for drive

Thread-32158::WARNING::2014-01-08
11:54:42,185::clientIF::362::vds::(teardownVolumePath) Drive is not a vdsm
image: VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2 VOLWM_FREE_PCT:50
_blockDev:False _checkIoTuneCategories:>
_customize:> _deviceXML: _makeName:>
_setExtSharedState:> _validateIoTuneParams:>
address:{' controller': '0', ' target': '0', 'unit': '0', ' bus': '1', '
type': 'drive'} apparentsize:0 blockDev:False cache:none conf:{'status':
'Down', 'acpiEnable': 'true', 'emulatedMachine': 'pc-1.0', 'vmId':
'c2aff4cc-0de6-4342-a565-669b1825838c', 'pid': '0', 'memGuaranteedSize':
4096, 'timeOffset': '-21600', 'keyboardLayout': 'en-us', 'displayPort':
'-1', 'displaySecurePort': '-1', 'spiceSslCipherSuite': 'DEFAULT',
'cpuType': 'Nehalem', 'custom':
{'device_142f948d-f916-4f42-bd28-cb4f0b8ebb40device_615c1466-850e-4362-a4fb-60df1aaee1e8device

Re: [Users] SSD Caching

2014-01-08 Thread Darrell Budic
Stick your bricks on ZFS and let it do it for you. Works well, although I 
haven’t done much benchmarking of it. My test setup is described in the thread 
under [Users] Creation of preallocated disk with Gluster replication. I’ve seen 
some blog posts here and there about gluster on ZFS for this reason too.

 -Darrell

On Jan 7, 2014, at 9:56 PM, Russell Purinton  wrote:

> [20:42]  is anybody out there using a good RAM+SSD caching system 
> ahead of gluster storage?
> [20:42]  sorry if that came through twice
> [20:44]  im thinking about making the SSD one giant swap file then 
> creating a very large ramdisk in virtual memory and using that as a block 
> level cache for parts and pieces of virtual machine disk images
> [20:44]  then i think the memory managers would inherently play 
> the role of storage tiering ie: keeping the hottest data in memory and the 
> coldest data on swap
> [20:45]  everything i have seen today has been setup as   
> "consumer"  ===>  network > SSD cache > real disks
> [20:45]  but i'd like to actually do "consumer" ===> RAM+SSD cache 
> ===>  network ===> real disks
> [20:46]  i realize doing a virtual memory disk means the cache 
> will be cleared on every reboot, and I'm ok with that
> [20:47]  i know this can be done with NFS and 
> cachefilesd(fscache), but how could something be integrated into the native 
> gluster clients?
> [20:47]  i'd prefer not to have to access gluster via NFS
> [20:49]  any feedback from this room is greatly appreciated, 
> getting someone started to build managed HA cloud hosting
> ___
> 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: [Users] Ovirt DR setup

2014-01-08 Thread Hans Emmanuel
Could any one please give me some suggestions ?


On Wed, Jan 8, 2014 at 11:39 AM, Hans Emmanuel wrote:

> Hi all ,
>
> I would like to know about the possibility of setup Disaster Recovery Site
> (DR) for an Ovirt cluster . i.e if site 1 goes down I need to trigger the
> site 2 to come in to action with the minimal down time .
>
> I am open to use NFS shared storage or local storage for data storage
> domain . I know we need to replicate the storage domain and Ovirt confs and
> DB across the sites  , but couldn't find any doc for the same , isn't that
> possible with Ovirt ?
>
>  *Hans Emmanuel*
>
>
> *NOthing to FEAR but something to FEEL..*
>
>


-- 
*Hans Emmanuel*

*NOthing to FEAR but something to FEEL..*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread Markus Stockhausen
> Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von 
> "squadra [squa...@gmail.com]
> Gesendet: Mittwoch, 8. Januar 2014 17:15
> An: users@ovirt.org
> Betreff: Re: [Users] Experience with low cost NFS-Storage as VM-Storage?
>
> better go for iscsi or something else... i whould avoid nfs for vm hosting
> Freebsd10 delivers kernel iscsitarget now, which works great so far. or go 
> with omnios to get comstar iscsi, which is a rocksolid solution
>
> Cheers,
> 
> Juergen

That is usually a matter of taste and the available environment. 
The minimal differences in performance usually only show up
if you drive the storage to its limits. I guess you could help Sven 
better if you had some hard facts why to favour ISCSI. 

Best regards.

Markus
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread Karli Sjöberg
On Thu, 2014-01-09 at 07:10 +, Markus Stockhausen wrote:
> > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von 
> > "squadra [squa...@gmail.com]
> > Gesendet: Mittwoch, 8. Januar 2014 17:15
> > An: users@ovirt.org
> > Betreff: Re: [Users] Experience with low cost NFS-Storage as VM-Storage?
> >
> > better go for iscsi or something else... i whould avoid nfs for vm hosting
> > Freebsd10 delivers kernel iscsitarget now, which works great so far. or go 
> > with omnios to get comstar iscsi, which is a rocksolid solution
> >
> > Cheers,
> > 
> > Juergen
> 
> That is usually a matter of taste and the available environment. 
> The minimal differences in performance usually only show up
> if you drive the storage to its limits. I guess you could help Sven 
> better if you had some hard facts why to favour ISCSI. 
> 
> Best regards.
> 
> Markus

Only technical difference I can think of is the iSCSI-level
load-balancing. With NFS you set up the network with LACP and let that
load-balance for you (and you should probably do that with iSCSI as well
but you don´t strictly have to). I think it has to do with a chance of
trying to go beyond the capacity of 1 network interface at the same
time, from one Host (higher bandwidth) that makes people try iSCSI
instead of plain NFS. I have tried that but was never able to achieve
that effect, so in our situation, there´s no difference. In comparing
them both in benchmarks, there was no performance difference at all, at
least for our storage systems that are based on FreeBSD.

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


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread squadra
There's are already enaugh articles on the web about NFS problems related
locking, latency, etc Eh stacking a protocol onto another to fix
problem and then maybe one more to glue them together.

Google for the suse PDF " why NFS sucks", I don't agree with the whole
sheet.. NFS got his place,too. But not as production filer for VM.

Cheers,

Juergen, the NFS lover
On Jan 9, 2014 8:10 AM, "Markus Stockhausen" 
wrote:

> > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von
> "squadra [squa...@gmail.com]
> > Gesendet: Mittwoch, 8. Januar 2014 17:15
> > An: users@ovirt.org
> > Betreff: Re: [Users] Experience with low cost NFS-Storage as VM-Storage?
> >
> > better go for iscsi or something else... i whould avoid nfs for vm
> hosting
> > Freebsd10 delivers kernel iscsitarget now, which works great so far. or
> go with omnios to get comstar iscsi, which is a rocksolid solution
> >
> > Cheers,
> >
> > Juergen
>
> That is usually a matter of taste and the available environment.
> The minimal differences in performance usually only show up
> if you drive the storage to its limits. I guess you could help Sven
> better if you had some hard facts why to favour ISCSI.
>
> Best regards.
>
> Markus
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Creation of preallocated disk with Gluster replication

2014-01-08 Thread Karli Sjöberg
On Wed, 2014-01-08 at 16:05 -0600, Darrell Budic wrote:
> On Jan 8, 2014, at 3:29 PM, Karli Sjöberg  wrote:
> 
> > 
> > 
> > Skickat från min iPhone
> > 
> >> 8 jan 2014 kl. 19:11 skrev "Darrell Budic" :
> >> 
> >> 
> >>> On Jan 8, 2014, at 11:55 AM, Karli Sjöberg  wrote:
> >>> 
> >>> 
> >>> 
> >>> Skickat från min iPhone
> >>> 
>  8 jan 2014 kl. 18:47 skrev "Darrell Budic" :
>  
>  Grégoire-
>  
>  My test setup, running a version of the nightly self-hosted setup w/ 
>  gluster distributed/replicated disks as shared storage, in a NFS cluster:
>  
>  Core i5 3570K @ 3.4Ghz, 16G Ram
>  Boot disks: 2x 32G SATA SSDs in raid-1
>  Storage system: 4x500G Seagate RE3s in a ZFS raid-10 w/ 1GB ZIL & ~22G 
>  L2ARC caching from boot drives
>  1 1G ethernet
>  2 VMs running
>  
>  Core2 Duo E8500 @ 3.16GHz, 8G Ram
>  Boot disks: 2x 32G SATA SSDS in raid-1
>  Storage system: 2x1500G WD Green drives in a  ZFS Raid w/ 1GB ZIL & ~22G 
>  L2ARC cache from boot drives
>  1 1G ethernet
> >>> 
> >>> Just curious, are you doing ZFS in Linux?
> >>> 
> >>> /K
> >> 
> >> Yes, forgot to mention those are freshly built Centos 6.5 systems with zfs 
> >> 0.6.2, and glusterfs-3.4.1-3.el6.x86_64, vdsm-gluster-4.13.2-1.el6.noarch 
> >> for testing/experimenting. Bought some cheap SSDs and just grabbed systems 
> >> and platters I had around for it. Testbedding and getting some experience 
> >> with the self hosted engine, since I’d like to move to it once it’s 
> >> released. Also looking forward to testing native gluster on this setup.
> >> 
> >> I have a production ovirt cluster with a linux zfs based NFS storage 
> >> server, the backend has been very stable since I got rid of Nextenta and 
> >> went to linux. Sounds odd, I know, but couldn’t get good support for a 
> >> community nextenta server I inherited. I was having driver level box 
> >> lockup issues with openSolaris that I couldn’t resolve. So I rebuilt it 
> >> with linux, imported the pool, and haven’t looked back or had a storage 
> >> failure since.
> >> 
> >> -Darrell
> >> 
> > 
> > Glad to hear you got it working, inheritance is a *:) Never considered 
> > joining the daemon side of the force (FreeBSD) ? Oh, and are you running it 
> > native with ZoL or through FUSE?
> > 
> > /K
> 
> Native ZoL, it’s just a big fat 10g NFS server for the host nodes. It’s been 
> solid since Ovirt 3.1 or so. Been using linux (old Slackware hand here) too 
> long to turn back to the daemon side ;) I use macs and OS X for the desktop 
> to get my mach Kernel bsd-ish fix, so the even darker side? :)
> 
>   -Darrell

Funny, I used to be a Slacker as well, before I met BSD:) The leap is
actually quite small, which probably isn´t that surprising since Slack
is (or at least was, last time I worked with it) supposed to be the
closest to Unix you get, while running Linux:)

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


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread squadra
Right, try multipathing with nfs :)
On Jan 9, 2014 8:30 AM, "Karli Sjöberg"  wrote:

> On Thu, 2014-01-09 at 07:10 +, Markus Stockhausen wrote:
> > > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag
> von "squadra [squa...@gmail.com]
> > > Gesendet: Mittwoch, 8. Januar 2014 17:15
> > > An: users@ovirt.org
> > > Betreff: Re: [Users] Experience with low cost NFS-Storage as
> VM-Storage?
> > >
> > > better go for iscsi or something else... i whould avoid nfs for vm
> hosting
> > > Freebsd10 delivers kernel iscsitarget now, which works great so far.
> or go with omnios to get comstar iscsi, which is a rocksolid solution
> > >
> > > Cheers,
> > >
> > > Juergen
> >
> > That is usually a matter of taste and the available environment.
> > The minimal differences in performance usually only show up
> > if you drive the storage to its limits. I guess you could help Sven
> > better if you had some hard facts why to favour ISCSI.
> >
> > Best regards.
> >
> > Markus
>
> Only technical difference I can think of is the iSCSI-level
> load-balancing. With NFS you set up the network with LACP and let that
> load-balance for you (and you should probably do that with iSCSI as well
> but you don´t strictly have to). I think it has to do with a chance of
> trying to go beyond the capacity of 1 network interface at the same
> time, from one Host (higher bandwidth) that makes people try iSCSI
> instead of plain NFS. I have tried that but was never able to achieve
> that effect, so in our situation, there´s no difference. In comparing
> them both in benchmarks, there was no performance difference at all, at
> least for our storage systems that are based on FreeBSD.
>
> /K
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Experience with low cost NFS-Storage as VM-Storage?

2014-01-08 Thread Karli Sjöberg
On Thu, 2014-01-09 at 08:35 +0100, squadra wrote:
> Right, try multipathing with nfs :)

Yes, that´s what I meant, maybe could have been more clear about that,
sorry. Multipathing (and the load-balancing it brings) is what really
separates iSCSI from NFS.

What I´d be interested in knowing is at what breaking-point, not having
multipathing becomes an issue. I mean, we might not have such a big
VM-park, about 300-400 VMs. But so far running without multipathing
using good ole' NFS and no performance issues this far. Would be good to
know beforehand if we´re headed for a wall of some sorts, and about
"when" we´ll hit it...

/K

> 
> On Jan 9, 2014 8:30 AM, "Karli Sjöberg"  wrote:
> On Thu, 2014-01-09 at 07:10 +, Markus Stockhausen wrote:
> > > Von: users-boun...@ovirt.org [users-boun...@ovirt.org]" im
> Auftrag von "squadra [squa...@gmail.com]
> > > Gesendet: Mittwoch, 8. Januar 2014 17:15
> > > An: users@ovirt.org
> > > Betreff: Re: [Users] Experience with low cost NFS-Storage
> as VM-Storage?
> > >
> > > better go for iscsi or something else... i whould avoid
> nfs for vm hosting
> > > Freebsd10 delivers kernel iscsitarget now, which works
> great so far. or go with omnios to get comstar iscsi, which is
> a rocksolid solution
> > >
> > > Cheers,
> > >
> > > Juergen
> >
> > That is usually a matter of taste and the available
> environment.
> > The minimal differences in performance usually only show up
> > if you drive the storage to its limits. I guess you could
> help Sven
> > better if you had some hard facts why to favour ISCSI.
> >
> > Best regards.
> >
> > Markus
> 
> Only technical difference I can think of is the iSCSI-level
> load-balancing. With NFS you set up the network with LACP and
> let that
> load-balance for you (and you should probably do that with
> iSCSI as well
> but you don´t strictly have to). I think it has to do with a
> chance of
> trying to go beyond the capacity of 1 network interface at the
> same
> time, from one Host (higher bandwidth) that makes people try
> iSCSI
> instead of plain NFS. I have tried that but was never able to
> achieve
> that effect, so in our situation, there´s no difference. In
> comparing
> them both in benchmarks, there was no performance difference
> at all, at
> least for our storage systems that are based on FreeBSD.
> 
> /K

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


Re: [Users] SSD Caching

2014-01-08 Thread Amedeo Salvati
you can use flashcache under centos6, it's stable and give you a boost for 
read/write, but I never user with 
gluster:https://github.com/facebook/flashcache/under fedora you have more 
choice: flashcache, bcache, dm-cacheregardsaDate: Wed, 8 Jan 2014 21:44:35 
-0600From: Darrell Budic To: Russell Purinton 
Cc: "users@ovirt.org" Subject: Re: [Users] 
SSD CachingMessage-ID: 
Content-Type: text/plain; 
charset="windows-1252"Stick
 your bricks on ZFS and let it do it for you. Works well, although I 
haven?t done much benchmarking of it. My test setup is described in the 
thread under [Users] Creation of preallocated disk with Gluster 
replication. I?ve seen some blog posts here and there about gluster on 
ZFS for this reason too. -DarrellOn Jan 7, 2014, at 9:56 PM, Russell Purinton 
 wrote:> [20:42]  is anybody out there using a 
good RAM+SSD caching system ahead of gluster storage?> [20:42]  
sorry if that came through twice>
 [20:44]  im thinking about making the SSD one giant 
swap file then creating a very large ramdisk in virtual memory and using
 that as a block level cache for parts and pieces of virtual machine 
disk images> [20:44]  then i think the memory 
managers would inherently play the role of storage tiering ie: keeping 
the hottest data in memory and the coldest data on swap> [20:45] 
 everything i have seen today has been setup as   
"consumer"  ===>  network > SSD cache > real disks> [20:45]  
but i'd like to actually do "consumer" ===> RAM+SSD cache ===>  network ===> 
real disks>
 [20:46]  i realize doing a virtual memory disk means 
the cache will be cleared on every reboot, and I'm ok with that> 
[20:47]  i know this can be done with NFS and 
cachefilesd(fscache), but how could something be integrated into the 
native gluster clients?> [20:47]  i'd prefer not to have to access 
gluster via NFS>
 [20:49]  any feedback from this room is greatly 
appreciated, getting someone started to build managed HA cloud hosting>
Da: users-boun...@ovirt.org
A: users@ovirt.org
Cc: 
Data: Thu, 09 Jan 2014 02:34:48 -0500
Oggetto: Users Digest, Vol 28, Issue 61

> 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. Re: SSD Caching (Darrell Budic)
>2. Re: Ovirt DR setup (Hans Emmanuel)
>3. Re: Experience with low cost NFS-Storage as VM-Storage?
>   (Markus Stockhausen)
>4. Re: Experience with low cost NFS-Storage as VM-Storage?
>   (Karli Sj?berg)
>5. Re: Experience with low cost NFS-Storage as VM-Storage? (squadra)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 8 Jan 2014 21:44:35 -0600
> From: Darrell Budic 
> To: Russell Purinton 
> Cc: "users@ovirt.org" 
> Subject: Re: [Users] SSD Caching
> Message-ID: 
> Content-Type: text/plain; charset="windows-1252"
> 
> Stick your bricks on ZFS and let it do it for you. Works well, although I 
> haven?t done much benchmarking of it. My test setup is described in the 
> thread under [Users] Creation of preallocated disk with Gluster replication. 
> I?ve seen some blog posts here and there about gluster on ZFS for this reason 
> too.
> 
>  -Darrell
> 
> On Jan 7, 2014, at 9:56 PM, Russell Purinton  wrote:
> 
> > [20:42]  is anybody out there using a good RAM+SSD caching system ahead of 
> > gluster storage?
> > [20:42]  sorry if that came through twice
> > [20:44]  im thinking about making the SSD one giant swap file then creating 
> > a very large ramdisk in virtual memory and using that as a block level 
> > cache for parts and pieces of virtual machine disk images
> > [20:44]  then i think the memory managers would inherently play the role of 
> > storage tiering ie: keeping the hottest data in memory and the coldest data 
> > on swap
> > [20:45]  everything i have seen today has been setup as   "consumer"  ===>  
> > network > SSD cache > real disks
> > [20:45]  but i'd like to actually do "consumer" ===> RAM+SSD cache ===>  
> > network ===> real disks
> > [20:46]  i realize doing a virtual memory disk means the cache will be 
> > cleared on every reboot, and I'm ok with that
> > [20:47]  i know this can be done with NFS and cachefilesd(fscache), but how 
> > could something be integrated into the native gluster clients?
> > [20:47]  i'd prefer not to have to access gluster via NFS
> > [20:49]  any feedback from this room is greatly appreciated, getting 
> > someone started to build managed HA cloud hosting
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.o

Re: [Users] SSD Caching

2014-01-08 Thread Sander Grendelman
On Thu, Jan 9, 2014 at 8:50 AM, Amedeo Salvati  wrote:
>
> you can use flashcache under centos6, it's stable and give you a boost for
> read/write, but I never user with gluster:
>
> https://github.com/facebook/flashcache/
>
> under fedora you have more choice: flashcache, bcache, dm-cache

dm-cache (and probably bcache) will be in RHEL7
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users