Re: [ovirt-users] [Users] Importing Image from Glance times out

2014-04-09 Thread Oved Ourfalli
- Original Message -
> From: "Andrew Lau" 
> To: "Oved Ourfalli" 
> Cc: "users" 
> Sent: Thursday, April 10, 2014 4:52:56 AM
> Subject: Re: [ovirt-users] [Users] Importing Image from Glance times out
> 
> Found the URL - http://glance.ovirt.org:9292/v1/images/imageid
> 
> On Thu, Apr 10, 2014 at 11:42 AM, Andrew Lau  wrote:
> > Thanks for the quick fix! Is there a way to patch that manually or
> > will we need to wait for the next release?
> >

You can either wait for the next release, or take the 3.4 nightly build from 
http://resources.ovirt.org/pub/ovirt-3.4-snapshot/rpm/



> > Is there also any chance that those glance images are available
> > through a HTTP method or something, I'd be interested in importing
> > that through the export domain to dig around a little.
> >

I see you're already on it :-)


> > Thanks,
> > Andrew.
> >
> > On Wed, Apr 9, 2014 at 10:08 PM, Oved Ourfalli  wrote:
> >> Posted a fix in:
> >> http://gerrit.ovirt.org/#/c/26601/
> >>
> >> Being tested and reviewed as we speak.
> >> Andrew + Elad - thank you for bringing this issue up, and helping diagnose
> >> it.
> >>
> >> Regards,
> >> Oved
> >>
> >> - Original Message -
> >>> From: "Andrew Lau" 
> >>> To: "Oved Ourfalli" 
> >>> Cc: "users" 
> >>> Sent: Wednesday, April 9, 2014 1:52:38 PM
> >>> Subject: Re: [Users] Importing Image from Glance times out
> >>>
> >>> Yeah I imported it as a template, I'll try import it as an image now
> >>> just to verify.
> >>>
> >>> On Wed, Apr 9, 2014 at 8:43 PM, Oved Ourfalli  wrote:
> >>> > Did you import it as template or just as an image.
> >>> > If as template then it can be nice to see if you're getting the same
> >>> > NullPointerException that Elad gets (although it was fixed a few weeks
> >>> > ago, so perhaps it is another issue).
> >>> >
> >>> > Thanks,
> >>> > Oved
> >>> >
> >>> > - Original Message -
> >>> >> From: "Andrew Lau" 
> >>> >> To: "Elad Ben Aharon" 
> >>> >> Cc: "Oved Ourfalli" , "users" 
> >>> >> Sent: Wednesday, April 9, 2014 1:37:34 PM
> >>> >> Subject: Re: [Users] Importing Image from Glance times out
> >>> >>
> >>> >> Do you still want the log files? Is there anything in specific you're
> >>> >> looking for, or should I just upload the whole files
> >>> >>
> >>> >> I also wonder, could you compare the md5? Out of the two attempts on
> >>> >> the centos image (not docker) the md5sum gave me
> >>> >> 62bc26a8a07be5adbef63b2eb1a18aeb
> >>> >>
> >>> >> If it's different to others, we could assume a failed transfer? I'm
> >>> >> assuming it's just the timeout of the import process as the smaller
> >>> >> CirrOS image worked fine.
> >>> >>
> >>> >> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon 
> >>> >> wrote:
> >>> >> > Oved, I had the same thing:
> >>> >> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
> >>> >> >
> >>> >> > - Original Message -
> >>> >> > From: "Oved Ourfalli" 
> >>> >> > To: "Andrew Lau" 
> >>> >> > Cc: "users" 
> >>> >> > Sent: Wednesday, April 9, 2014 1:29:57 PM
> >>> >> > Subject: Re: [Users] Importing Image from Glance times out
> >>> >> >
> >>> >> > Do you see any failure in the log?
> >>> >> > Can you attach both the engine and the vdsm log?
> >>> >> > iirc the SPM (Federico?) should be the one importing the image, so
> >>> >> > if
> >>> >> > you
> >>> >> > look for a process with "curl" (ps -ef | grep -i curl) then you'll
> >>> >> > be
> >>> >> > able
> >>> >> > to see the import process (just to check whether it is running or
> >>> >> > not).
> >>> >> >
> >>> >> > Thank you,
> >>> >> > Oved
> >>> >> >
> >>> >> > - Original Message -
> >>> >> >> From: "Andrew Lau" 
> >>> >> >> To: "users" 
> >>> >> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
> >>> >> >> Subject: [Users] Importing Image from Glance times out
> >>> >> >>
> >>> >> >> Hi,
> >>> >> >>
> >>> >> >> Using the new 3.4 public glance repository, I was able to
> >>> >> >> successfully
> >>> >> >> import the tiny 12mb CirrOS image and it appeared in my data store.
> >>> >> >>
> >>> >> >> However when trying the larger CentOS image, it took much longer.
> >>> >> >> For
> >>> >> >> some reason I can only push 50Kbps from any of the ovirt
> >>> >> >> infrastructure so after many hours in the datastore I can see it's
> >>> >> >> finished downloading the full 1gb image but it'll remain locked in
> >>> >> >> the
> >>> >> >> ovirt engine.
> >>> >> >>
> >>> >> >> Any thoughts on why this happens?
> >>> >> >>
> >>> >> >> Thanks,
> >>> >> >> Andrew
> >>> >> >> ___
> >>> >> >> 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/li

Re: [ovirt-users] [Users] Post-Install Engine VM Changes Feasible?

2014-04-09 Thread Sandro Bonazzola


Hi,


Il 10/04/2014 02:40, Andrew Lau ha scritto:
> On Tue, Apr 8, 2014 at 8:52 PM, Andrew Lau  wrote:
>> On Mon, Mar 17, 2014 at 8:01 PM, Sandro Bonazzola  
>> wrote:
>>> Il 15/03/2014 12:44, Giuseppe Ragusa ha scritto:
 Hi Joshua,

 --
 Date: Sat, 15 Mar 2014 02:32:59 -0400
 From: j...@wrale.com
 To: users@ovirt.org
 Subject: [Users] Post-Install Engine VM Changes Feasible?

 Hi,

 I'm in the process of installing 3.4 RC(2?) on Fedora 19.  I'm using 
 hosted engine, introspective GlusterFS+keepalived+NFS ala [1], across six 
 nodes.

 I have a layered networking topology ((V)LANs for public, internal, 
 storage, compute and ipmi).  I am comfortable doing the bridging for each
 interface myself via /etc/sysconfig/network-scripts/ifcfg-*.

 Here's my desired topology: 
 http://www.asciiflow.com/#Draw6325992559863447154

 Here's my keepalived setup: 
 https://gist.github.com/josh-at-knoesis/98618a16418101225726

 I'm writing a lot of documentation of the many steps I'm taking.  I hope 
 to eventually release a distributed introspective all-in-one (including
 distributed storage) guide.

I hope you'll publish it also on ovirt.org wiki :-)


 Looking at vm.conf.in , it looks like I'd by default 
 end up with one interface on my engine, probably on my internal VLAN, as
 that's where I'd like the control traffic to flow.  I definitely could do 
 NAT, but I'd be most happy to see the engine have a presence on all of the
 LANs, if for no other reason than because I want to send backups directly 
 over the storage VLAN.

 I'll cut to it:  I believe I could successfully alter the vdsm template 
 (vm.conf.in ) to give me the extra interfaces I require.
 It hit me, however, that I could just take the defaults for the initial 
 install.  Later, I think I'll be able to come back with virsh and make my
 changes to the gracefully disabled VM.  Is this true?

 [1] http://www.andrewklau.com/ovirt-hosted-engine-with-3-4-0-nightly/

 Thanks,
 Joshua


 I started from the same reference[1] and ended up "statically" modifying 
 vm.conf.in before launching setup, like this:

 cp -a /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in 
 /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in.orig
 cat << EOM > /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in
 vmId=@VM_UUID@
 memSize=@MEM_SIZE@
 display=@CONSOLE_TYPE@
 devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1,
 type:drive},specParams:{},readonly:true,deviceId:@CDROM_UUID@,path:@CDROM@,device:cdrom,shared:false,type:disk@BOOT_CDROM@}
 devices={index:0,iface:virtio,format:raw,poolID:@SP_UUID@,volumeID:@VOL_UUID@,imageID:@IMG_UUID@,specParams:{},readonly:false,domainID:@SD_UUID@,optional:false,deviceId:@IMG_UUID@,address:{bus:0x00,
 slot:0x06, domain:0x, type:pci, 
 function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk@BOOT_DISK@}
 devices={device:scsi,model:virtio-scsi,type:controller}
 devices={index:4,nicModel:pv,macAddr:@MAC_ADDR@,linkActive:true,network:@BRIDGE@,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:@NIC_UUID@,address:{bus:0x00,
 slot:0x03, domain:0x, type:pci, 
 function:0x0},device:bridge,type:interface@BOOT_PXE@}
 devices={index:8,nicModel:pv,macAddr:02:16:3e:4f:c4:b0,linkActive:true,network:lan,filter:vdsm-no-mac-spoofing,specParams:{},address:{bus:0x00,
 slot:0x09, domain:0x, type:pci, 
 function:0x0},device:bridge,type:interface@BOOT_PXE@}
 devices={device:console,specParams:{},type:console,deviceId:@CONSOLE_UUID@,alias:console0}
 vmName=@NAME@
 spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
 smp=@VCPUS@
 cpuType=@CPU_TYPE@
 emulatedMachine=@EMULATED_MACHINE@
 EOM
>>>
>>>
>>> Note that you should also be able to edit /etc/ovirt-hosted-engine/vm.conf 
>>> after setup:
>>> - put the system in global maintenance
>>> - edit the vm.conf file on all the hosts running the hosted engine
>>> - shutdown the vm: hosted-engine --vm-shutdown
>>> - start again the vm: hosted-engine --vm-start
>>> - exit global maintenance
>>>
>>> Giuseppe, Joshua: can you share your changes in a guide for Hosted engine 
>>> users on ovirt.org wiki?
>>>
>>>
>>
>> So would you simply just add a new line under the original devices line? ie.
>> devices={nicModel:pv,macAddr:00:16:3e:6d:34:78,linkActive:true,network:ovirtmgmt,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:0c8a1710-casd-407a-94e8-5b09e55fa141,address:{bus:0x00,
>> slot:0x03, domain:0x, type:pci,
>> function:0x0},device:bri

Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-09 Thread Yedidyah Bar David
- Original Message -
> From: "Tamer Lima" 
> To: users@ovirt.org
> Sent: Wednesday, April 9, 2014 9:18:51 PM
> Subject: [ovirt-users] necessity to run yum update ovirt-engine-setup to  
> update ovirt 3.4
> 
> hello,
> 
> upgrade from ovirt 3.3 to 3.4
> following the steps on ovirt.org/OVirt_3.4_Release_Notes
> 
> I tried update from yum, without success
> 
> 
> 
> yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
> ovirt-release-el6 }

Where do you see instructions to update ovirt-engine? You cannot update
it directly because it's version-locked. This is done to ensure that
you do not run a newer engine with an older database - the main task
engine-setup does during an upgrade is updating the database.

> 
> Then I tried the following command and it worked fine: engine-setup

Didn't it tell you that there are updates to Setup and that you should
first 'yum update ovirt-engine-setup'? Probably during your attempts
you did update it.

> 
> Now my ovirt works fine, my cluster is running virtual machines on
> compatibility mode 3.3 although ovirt is now 3.4

Great :-)

> 
> Then I ask : What is the necessity to execute yum update ovirt-engine-setup
> if when I execute only engine-setup this script search for updates ?

engine-setup searches for both updates to the engine and to Setup itself.
If it finds updates to Setup, it tells you to manually update it with yum.
If it finds other updates it asks you to confirm updating and then updates.

> 
> 
> 
> 
> 
> Failed command list execution
> For each command yum update {ovirt-engine-setup, ovirt-engine , ovirt-release
> and ovirt-release-el6 } the result was the same :
> 
> 
> 
> Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security,
> versionlock
> Loading mirror speeds from cached hostfile
> * base: mirror.globo.com
> * epel: mirror.globo.com
> * extras: mirror.globo.com
> * ovirt-epel: mirror.globo.com
> * updates: mirror.globo.com
> Setting up Update Process
> No Packages marked for Update


Most probably you did update ovirt-engine-setup at some point.
If you want to further debug this, please look at and/or post your yum.log.

Best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-09 Thread Alon Bar-Lev


- Original Message -
> From: "Tamer Lima" 
> To: users@ovirt.org
> Sent: Wednesday, April 9, 2014 9:18:51 PM
> Subject: [ovirt-users] necessity to run yum update ovirt-engine-setup to  
> update ovirt 3.4



> 
> Then I ask : What is the necessity to execute yum update ovirt-engine-setup
> if when I execute only engine-setup this script search for updates ?

it is an egg and chicken... as the engine-setup comes from ovirt-engine-setup, 
it cannot update the package while running and effect running process.

so if you run the engine-setup of V1, and within the package is updated to V2, 
V2 has no effect as V1 keeps running.

there may be a very complex solutions for this issue, including delegate the 
state to another instance of setup, but for now, the simplest method is to 
update the setup packages before upgrading the product.

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


Re: [ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-09 Thread Itamar Heim

On 04/09/2014 09:18 PM, Tamer Lima wrote:

hello,

upgrade from  ovirt 3.3 to 3.4
following the steps on ovirt.org/OVirt_3.4_Release_Notes


I tried update from yum, without success

yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
ovirt-release-el6 }


Then I tried the following command and it worked fine: engine-setup

Now my ovirt works fine, my cluster is running virtual machines on
compatibility mode 3.3  although ovirt is now 3.4

Then I ask : What is the necessity to execute *yum update
ovirt-engine-setup* if when I execute only *engine-setup* this script
search for updates ?


to make sure you are running the latest engine-setup code.







Failed command list execution
For each command /yum update {ovirt-engine-setup, ovirt-engine ,
ovirt-release and ovirt-release-el6 }/ the result was the same :

Loaded plugins: downloadonly, fastestmirror, refresh-packagekit,
security, versionlock
Loading mirror speeds from cached hostfile
  * base: mirror.globo.com 
  * epel: mirror.globo.com 
  * extras: mirror.globo.com 
  * ovirt-epel: mirror.globo.com 
  * updates: mirror.globo.com 
Setting up Update Process
*No Packages marked for Update*






My ovirt.repo contains 3.4
:
[root@srv-0202 yum.repos.d]# more ovirt.repo

[ovirt-stable]
name=Latest oVirt Releases
baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.4 releases

[ovirt-3.4-stable]
name=Latest oVirt 3.4.z Releases
baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.4-prerelease]
name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.3 releases

[ovirt-3.3-stable]
name=Latest oVirt 3.3.z Releases
baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.3-prerelease]
name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Note: for nightly builds see ovirt-nightly.repo



Running engine-setup
[root@srv-0202 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
   Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-pa ckaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
   Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140409114215.log
   Version: otopi-1.2.0 (otopi-1.2.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

   --== PRODUCT OPTIONS ==--


   --== PACKAGES ==--

*[ INFO  ] Checking for product updates...*
*  Setup has found updates for some packages, do you wish to
update them now? (Yes, No) [Yes]: yes*
[ INFO  ] Checking for an update for Setup...

   --== NETWORK CONFIGURATION ==--

   Setup can automatically configure the firewall on this system.
   Note: automatic configuration of the firewall may overwrite
current settings.
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: no

   --== DATABASE CONFIGURATION ==--


   --== OVIRT ENGINE CONFIGURATION ==--

   Skipping storing options as database already prepared

   --== PKI CONFIGURATION ==--

   PKI is already configured

   --== APACHE CONFIGURATION ==--


   --== SYSTEM CONFIGURATION ==--


   --== MISC CONFIGURATION ==--


   --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
   During execution engine service will be stopped (OK, Cancel)
[OK]:
[ INFO  ] Cleaning stale zombie tasks

   --== CONFIGURATION PREVIEW ==--

   Engine database name: engine
   Engine database secured connection  : False
   Engine database host: localhost
   Engine database user name   : engine
   Engine database host name validation: False
   Engine database port: 5432
   NFS setup   : True
   Firewall manager: iptables
   Update Firewall : False
   Configure WebSocket Proxy   : True
   Host FQDN   : srv-0202.ltitd.br

   NFS moun

Re: [ovirt-users] is ovirt-node.iso supposed to create a readonly filesystem?

2014-04-09 Thread Itamar Heim

On 04/09/2014 11:01 PM, Jeremiah Jahn wrote:

I'm assuming the answer is no. But for some reason I seem to be


the answer is yes actually. if you want a host you can change, use plain 
fedora/rhel/centos as the host.

Fabian can reply to the rest.


getting LVM volume group UUID overruns.  I'm using direct attach fiber
channel, and everything looks good, but there appears to be some UUID
or Volume group name in my list of LUNs that matches  some sort of lvm
key from the node root file system.  This only happens on the node
that I installed from the iso. I built all of these nodes in a vm,
then set that image to boot. I did NOT copy that lun from one top the
others, nor are any of the hosts luns visible from any of the other
hosts.  Not sure where to start. I'm going to reinstall from a
bootable cd directly connected to my blade and see if that clears up
the problem.


thanks for any suggestions.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] [Users] Resizing bootable disk erase OS

2014-04-09 Thread Itamar Heim

On 04/10/2014 06:03 AM, Yusufi M R wrote:

I did extend the size of disk from Ovirt Admin Portal after taking VM offline. 
This has crashed my OS and was unable to boot.



which OS is that?
can you retry with a (non-important) VM when its running (i don't if you 
need the guest agents installed or not)



Regards,
Yusuf


From: Elad Ben Aharon 
Sent: Wednesday, April 09, 2014 4:38 PM
To: d...@redhat.com; Yusufi M R
Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz
Subject: Re: [Users] Resizing bootable disk erase OS

For extending the VM disk, as Dafna mentioned,  you should use the ovirt-engine 
webadmin (via 'edit' disk).
If you'd like to extend your OS disk, there is a nice guide for that. it's not 
an official guide AFAIK, but it works :)
http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/

- Original Message -
From: "Dafna Ron" 
To: users@ovirt.org, "Allon Mureinik" , "Aharon Canan" , "Elad Ben 
Aharon" , "Gadi Ickowicz" 
Sent: Wednesday, April 9, 2014 1:29:12 PM
Subject: Re: [Users] Resizing bootable disk erase OS

the OS should not be erased if it's done from the webadmin.
Adding some people to this bug.

you are extending from the webadmin and not by manually sending lvresize
right?

Thanks,
Dafna


On 04/09/2014 11:21 AM, Yusufi M R wrote:


Hello Everyone,

I have Ovirt 3.3 setup and have VMs created using template. If I
resize (extend) the disk size, the OS is erased. How can I extend the
size of disk without affecting the OS ?

Regards,

Yusuf



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



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



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


Re: [ovirt-users] how to import a disk image w/o associated vm

2014-04-09 Thread Itamar Heim

On 04/10/2014 08:47 AM, Andrew Lau wrote:

On Thu, Apr 10, 2014 at 3:45 PM, Andrew Lau  wrote:

On Wed, Apr 9, 2014 at 11:39 PM, Jeremiah Jahn
 wrote:

One of the things that I have to where I work, is pull and push disk
images onto appliances and other physical things.  This is generally
done with a little dd magic.   We'll start up the appliance in a
virtual machine and mess with it in one way or another, then when
we're done we'll take that image and use it to image our appliances
that we send out.  So we have this collection of  some_system.img
files laying around.  With virt-manager I can just stick the image
file in a storage pool somewhere, create a new vm, and attach the
image.

So my question is how is this done in ovirt. v2v and
engine-upload-image all want a pre-configured vm to work with. That is
not what I have. Is there anyway to do this? I thought it'd be
something like drop an img onto the export domain, and import it,
create a vm around it. Once done export the image back to the export
domain and move it someplace to be useful. This is not the case as far
as I can tell. Am I missing something?


I was just looking at the same thing a few hours ago.. so far I've
found two possible options:

- Create the VM with your disk, find the uuid of that and dd your
source image onto this newly created image
- You should be able to manually create items in your export domain,
they just need a metadata file.

First is a VM export template and the second is an exported VM

Oops, other way round..



[root@ov-engine1 images]# cat
39efaa5f-394c-4842-b791-8eff831bca83/10824522-7e89-4f39-821d-bd7371b23f76.meta
DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
VOLTYPE=LEAF
CTIME=1397108117
FORMAT=RAW
IMAGE=39efaa5f-394c-4842-b791-8eff831bca83
DISKTYPE=2
PUUID=----
LEGALITY=LEGAL
MTIME=1397108118
POOL_UUID=
DESCRIPTION=
TYPE=SPARSE
SIZE=41943040
EOF

[root@ov-engine1 images]# cat
9efe9fea-fb1d-4945-b10a-93d8914638bc/c06a63de-3761-485a-a6e9-92f6ed586254.meta
DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
VOLTYPE=SHARED
CTIME=1397108361
FORMAT=RAW
IMAGE=9efe9fea-fb1d-4945-b10a-93d8914638bc
DISKTYPE=2
PUUID=----
LEGALITY=LEGAL
MTIME=1397108361
POOL_UUID=
SIZE=33554432
TYPE=SPARSE
DESCRIPTION=
EOF

I find the first option would probably be easier. Would be nice to see
a better alternative, ie. the glance import method is quite nice.




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



easy:
the glance storage domain supports easy upload of images and import of 
them as disks into the engine?


harder, but saves you the double copy:
you can also "inject" disks to an nfs storage domain, as long as you 
keep the format and add the metadata correctly, then you can use the 
rest api to 'register' them to the engine.


3.5 adds a GUI to import/register them, though you'd still need to 
inject them correctly (probably we should write a utility doing that for 
nfs domains).

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


Re: [ovirt-users] how to import a disk image w/o associated vm

2014-04-09 Thread Andrew Lau
On Thu, Apr 10, 2014 at 3:45 PM, Andrew Lau  wrote:
> On Wed, Apr 9, 2014 at 11:39 PM, Jeremiah Jahn
>  wrote:
>> One of the things that I have to where I work, is pull and push disk
>> images onto appliances and other physical things.  This is generally
>> done with a little dd magic.   We'll start up the appliance in a
>> virtual machine and mess with it in one way or another, then when
>> we're done we'll take that image and use it to image our appliances
>> that we send out.  So we have this collection of  some_system.img
>> files laying around.  With virt-manager I can just stick the image
>> file in a storage pool somewhere, create a new vm, and attach the
>> image.
>>
>> So my question is how is this done in ovirt. v2v and
>> engine-upload-image all want a pre-configured vm to work with. That is
>> not what I have. Is there anyway to do this? I thought it'd be
>> something like drop an img onto the export domain, and import it,
>> create a vm around it. Once done export the image back to the export
>> domain and move it someplace to be useful. This is not the case as far
>> as I can tell. Am I missing something?
>
> I was just looking at the same thing a few hours ago.. so far I've
> found two possible options:
>
> - Create the VM with your disk, find the uuid of that and dd your
> source image onto this newly created image
> - You should be able to manually create items in your export domain,
> they just need a metadata file.
>
> First is a VM export template and the second is an exported VM
Oops, other way round..

>
> [root@ov-engine1 images]# cat
> 39efaa5f-394c-4842-b791-8eff831bca83/10824522-7e89-4f39-821d-bd7371b23f76.meta
> DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
> VOLTYPE=LEAF
> CTIME=1397108117
> FORMAT=RAW
> IMAGE=39efaa5f-394c-4842-b791-8eff831bca83
> DISKTYPE=2
> PUUID=----
> LEGALITY=LEGAL
> MTIME=1397108118
> POOL_UUID=
> DESCRIPTION=
> TYPE=SPARSE
> SIZE=41943040
> EOF
>
> [root@ov-engine1 images]# cat
> 9efe9fea-fb1d-4945-b10a-93d8914638bc/c06a63de-3761-485a-a6e9-92f6ed586254.meta
> DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
> VOLTYPE=SHARED
> CTIME=1397108361
> FORMAT=RAW
> IMAGE=9efe9fea-fb1d-4945-b10a-93d8914638bc
> DISKTYPE=2
> PUUID=----
> LEGALITY=LEGAL
> MTIME=1397108361
> POOL_UUID=
> SIZE=33554432
> TYPE=SPARSE
> DESCRIPTION=
> EOF
>
> I find the first option would probably be easier. Would be nice to see
> a better alternative, ie. the glance import method is quite nice.
>
>>
>>
>> -jj-
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to import a disk image w/o associated vm

2014-04-09 Thread Andrew Lau
On Wed, Apr 9, 2014 at 11:39 PM, Jeremiah Jahn
 wrote:
> One of the things that I have to where I work, is pull and push disk
> images onto appliances and other physical things.  This is generally
> done with a little dd magic.   We'll start up the appliance in a
> virtual machine and mess with it in one way or another, then when
> we're done we'll take that image and use it to image our appliances
> that we send out.  So we have this collection of  some_system.img
> files laying around.  With virt-manager I can just stick the image
> file in a storage pool somewhere, create a new vm, and attach the
> image.
>
> So my question is how is this done in ovirt. v2v and
> engine-upload-image all want a pre-configured vm to work with. That is
> not what I have. Is there anyway to do this? I thought it'd be
> something like drop an img onto the export domain, and import it,
> create a vm around it. Once done export the image back to the export
> domain and move it someplace to be useful. This is not the case as far
> as I can tell. Am I missing something?

I was just looking at the same thing a few hours ago.. so far I've
found two possible options:

- Create the VM with your disk, find the uuid of that and dd your
source image onto this newly created image
- You should be able to manually create items in your export domain,
they just need a metadata file.

First is a VM export template and the second is an exported VM

[root@ov-engine1 images]# cat
39efaa5f-394c-4842-b791-8eff831bca83/10824522-7e89-4f39-821d-bd7371b23f76.meta
DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
VOLTYPE=LEAF
CTIME=1397108117
FORMAT=RAW
IMAGE=39efaa5f-394c-4842-b791-8eff831bca83
DISKTYPE=2
PUUID=----
LEGALITY=LEGAL
MTIME=1397108118
POOL_UUID=
DESCRIPTION=
TYPE=SPARSE
SIZE=41943040
EOF

[root@ov-engine1 images]# cat
9efe9fea-fb1d-4945-b10a-93d8914638bc/c06a63de-3761-485a-a6e9-92f6ed586254.meta
DOMAIN=a571b1f5-b3c6-45d6-99dc-cdc5bdcdc249
VOLTYPE=SHARED
CTIME=1397108361
FORMAT=RAW
IMAGE=9efe9fea-fb1d-4945-b10a-93d8914638bc
DISKTYPE=2
PUUID=----
LEGALITY=LEGAL
MTIME=1397108361
POOL_UUID=
SIZE=33554432
TYPE=SPARSE
DESCRIPTION=
EOF

I find the first option would probably be easier. Would be nice to see
a better alternative, ie. the glance import method is quite nice.

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


Re: [ovirt-users] [Users] Resizing bootable disk erase OS

2014-04-09 Thread Yusufi M R
I did extend the size of disk from Ovirt Admin Portal after taking VM offline. 
This has crashed my OS and was unable to boot.

Regards,
Yusuf


From: Elad Ben Aharon 
Sent: Wednesday, April 09, 2014 4:38 PM
To: d...@redhat.com; Yusufi M R
Cc: users@ovirt.org; Allon Mureinik; Aharon Canan; Gadi Ickowicz
Subject: Re: [Users] Resizing bootable disk erase OS

For extending the VM disk, as Dafna mentioned,  you should use the ovirt-engine 
webadmin (via 'edit' disk).
If you'd like to extend your OS disk, there is a nice guide for that. it's not 
an official guide AFAIK, but it works :)
http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/

- Original Message -
From: "Dafna Ron" 
To: users@ovirt.org, "Allon Mureinik" , "Aharon Canan" 
, "Elad Ben Aharon" , "Gadi Ickowicz" 

Sent: Wednesday, April 9, 2014 1:29:12 PM
Subject: Re: [Users] Resizing bootable disk erase OS

the OS should not be erased if it's done from the webadmin.
Adding some people to this bug.

you are extending from the webadmin and not by manually sending lvresize
right?

Thanks,
Dafna


On 04/09/2014 11:21 AM, Yusufi M R wrote:
>
> Hello Everyone,
>
> I have Ovirt 3.3 setup and have VMs created using template. If I
> resize (extend) the disk size, the OS is erased. How can I extend the
> size of disk without affecting the OS ?
>
> Regards,
>
> Yusuf
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


Re: [ovirt-users] help.. vm trapped in limbo aka can't acquire exclusive lock

2014-04-09 Thread Jeremiah Jahn
here's the start of the problem. If you really want the WHOLE log I
can do that too, but this is where I ask it to migrate, and where it
fails. After which it just keeps repeating that it can't get the lock.



2014-04-09 14:18:48,050 INFO
[org.ovirt.engine.core.bll.MigrateVmCommand]
(DefaultQuartzScheduler_Worker-33) Lock freed to object EngineLock
[exclusiveLocks= key:
0af0aaf6-85cf-4c67-9744-68a63601ab85 value: VM
, sharedLocks= ]
2014-04-09 14:19:32,177 INFO
[org.ovirt.engine.core.bll.MigrateVmCommand] (ajp--127.0.0.1-8702-1)
[4350ffd] Lock Acquired to object EngineLock [exclusiveLocks= key:
b0108933-deb2-4fa0-ae74-e10cefbb0cea value: VM
, sharedLocks= ]
2014-04-09 14:19:32,199 INFO
[org.ovirt.engine.core.bll.MigrateVmCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] Running command:
MigrateVmCommand internal: false. Entities affected :  ID:
b0108933-deb2-4fa0-ae74-e10cefbb0cea Type: VM
2014-04-09 14:19:32,203 INFO
[org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] Started HA reservation
scoring method
2014-04-09 14:19:32,208 INFO
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] START,
MigrateVDSCommand(HostName = kvm01.virt, HostId =
fa455012-b929-4805-a5c1-50e6c788039a,
vmId=b0108933-deb2-4fa0-ae74-e10cefbb0cea, srcHost=10.10.4.31,
dstVdsId=ce6b5b29-778f-4812-97b5-950f3d3b6c71,
dstHost=10.10.4.34:54321, migrationMethod=ONLINE,
tunnelMigration=false, migrationDowntime=0), log id: 745cd0ba
2014-04-09 14:19:32,209 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd]
VdsBroker::migrate::Entered
(vm_guid=b0108933-deb2-4fa0-ae74-e10cefbb0cea, srcHost=10.10.4.31,
dstHost=10.10.4.34:54321,  method=online
2014-04-09 14:19:32,210 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] START,
MigrateBrokerVDSCommand(HostName = kvm01.virt, HostId =
fa455012-b929-4805-a5c1-50e6c788039a,
vmId=b0108933-deb2-4fa0-ae74-e10cefbb0cea, srcHost=10.10.4.31,
dstVdsId=ce6b5b29-778f-4812-97b5-950f3d3b6c71,
dstHost=10.10.4.34:54321, migrationMethod=ONLINE,
tunnelMigration=false, migrationDowntime=0), log id: 5de39b66
2014-04-09 14:19:32,224 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] FINISH,
MigrateBrokerVDSCommand, log id: 5de39b66
2014-04-09 14:19:32,228 INFO
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] FINISH,
MigrateVDSCommand, return: MigratingFrom, log id: 745cd0ba
2014-04-09 14:19:32,233 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-16) [4350ffd] Correlation ID: 4350ffd,
Job ID: 433cbdce-90b3-41ed-bbfe-3a10ea2c6616, Call Stack: null, Custom
Event ID: -1, Message: Migration started (VM: web.judici, Source:
kvm01.virt, Destination: kvm04, User: admin).
2014-04-09 14:19:33,465 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-62) RefreshVmList vm id
b0108933-deb2-4fa0-ae74-e10cefbb0cea is migrating to vds kvm04
ignoring it in the refresh until migration is done
2014-04-09 14:19:34,268 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-74) VM web.judici
b0108933-deb2-4fa0-ae74-e10cefbb0cea moved from MigratingFrom --> Up
2014-04-09 14:19:34,269 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-74) Adding VM
b0108933-deb2-4fa0-ae74-e10cefbb0cea to re-run list
2014-04-09 14:19:34,269 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
(DefaultQuartzScheduler_Worker-74) START, FullListVdsCommand(HostName
= kvm01.virt, HostId = fa455012-b929-4805-a5c1-50e6c788039a,
vds=Host[kvm01.virt], vmIds=[b0108933-deb2-4fa0-ae74-e10cefbb0cea]),
log id: 6936226f
2014-04-09 14:19:34,279 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
(DefaultQuartzScheduler_Worker-74) FINISH, FullListVdsCommand, return:
[{displaySecurePort=5905, kvmEnable=true, nicModel=rtl8139,pv,
keyboardLayout=en-us, displayIp=0, pauseCode=NOERR, nice=0,
pitReinjection=false, timeOffset=0, transparentHugePages=true,
vmId=b0108933-deb2-4fa0-ae74-e10cefbb0cea, acpiEnable=true, custom={},
spiceSslCipherSuite=DEFAULT, memSize=8192, displayPort=5904, smp=4,
emulatedMachine=rhel6.5.0, status=Up, vmType=kvm,
memGuaranteedSize=1024, display=qxl, pid=30289, smartcardEnable=false,
smpCoresPerSocket=1,
spiceSecureChannels=smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard,
maxVCpus=160, clientIp=10.10.4.242,
devices=[Ljava.lang.Object;@610edb5f, vmName=web.judici,
cpuType=Penryn}], log id: 6936226f
2014-04-09 14:19:34,281 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-74) Received a console Device without
an address when pro

Re: [ovirt-users] [Users] Importing Image from Glance times out

2014-04-09 Thread Andrew Lau
Found the URL - http://glance.ovirt.org:9292/v1/images/imageid

On Thu, Apr 10, 2014 at 11:42 AM, Andrew Lau  wrote:
> Thanks for the quick fix! Is there a way to patch that manually or
> will we need to wait for the next release?
>
> Is there also any chance that those glance images are available
> through a HTTP method or something, I'd be interested in importing
> that through the export domain to dig around a little.
>
> Thanks,
> Andrew.
>
> On Wed, Apr 9, 2014 at 10:08 PM, Oved Ourfalli  wrote:
>> Posted a fix in:
>> http://gerrit.ovirt.org/#/c/26601/
>>
>> Being tested and reviewed as we speak.
>> Andrew + Elad - thank you for bringing this issue up, and helping diagnose 
>> it.
>>
>> Regards,
>> Oved
>>
>> - Original Message -
>>> From: "Andrew Lau" 
>>> To: "Oved Ourfalli" 
>>> Cc: "users" 
>>> Sent: Wednesday, April 9, 2014 1:52:38 PM
>>> Subject: Re: [Users] Importing Image from Glance times out
>>>
>>> Yeah I imported it as a template, I'll try import it as an image now
>>> just to verify.
>>>
>>> On Wed, Apr 9, 2014 at 8:43 PM, Oved Ourfalli  wrote:
>>> > Did you import it as template or just as an image.
>>> > If as template then it can be nice to see if you're getting the same
>>> > NullPointerException that Elad gets (although it was fixed a few weeks
>>> > ago, so perhaps it is another issue).
>>> >
>>> > Thanks,
>>> > Oved
>>> >
>>> > - Original Message -
>>> >> From: "Andrew Lau" 
>>> >> To: "Elad Ben Aharon" 
>>> >> Cc: "Oved Ourfalli" , "users" 
>>> >> Sent: Wednesday, April 9, 2014 1:37:34 PM
>>> >> Subject: Re: [Users] Importing Image from Glance times out
>>> >>
>>> >> Do you still want the log files? Is there anything in specific you're
>>> >> looking for, or should I just upload the whole files
>>> >>
>>> >> I also wonder, could you compare the md5? Out of the two attempts on
>>> >> the centos image (not docker) the md5sum gave me
>>> >> 62bc26a8a07be5adbef63b2eb1a18aeb
>>> >>
>>> >> If it's different to others, we could assume a failed transfer? I'm
>>> >> assuming it's just the timeout of the import process as the smaller
>>> >> CirrOS image worked fine.
>>> >>
>>> >> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon 
>>> >> wrote:
>>> >> > Oved, I had the same thing:
>>> >> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
>>> >> >
>>> >> > - Original Message -
>>> >> > From: "Oved Ourfalli" 
>>> >> > To: "Andrew Lau" 
>>> >> > Cc: "users" 
>>> >> > Sent: Wednesday, April 9, 2014 1:29:57 PM
>>> >> > Subject: Re: [Users] Importing Image from Glance times out
>>> >> >
>>> >> > Do you see any failure in the log?
>>> >> > Can you attach both the engine and the vdsm log?
>>> >> > iirc the SPM (Federico?) should be the one importing the image, so if
>>> >> > you
>>> >> > look for a process with "curl" (ps -ef | grep -i curl) then you'll be
>>> >> > able
>>> >> > to see the import process (just to check whether it is running or not).
>>> >> >
>>> >> > Thank you,
>>> >> > Oved
>>> >> >
>>> >> > - Original Message -
>>> >> >> From: "Andrew Lau" 
>>> >> >> To: "users" 
>>> >> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
>>> >> >> Subject: [Users] Importing Image from Glance times out
>>> >> >>
>>> >> >> Hi,
>>> >> >>
>>> >> >> Using the new 3.4 public glance repository, I was able to successfully
>>> >> >> import the tiny 12mb CirrOS image and it appeared in my data store.
>>> >> >>
>>> >> >> However when trying the larger CentOS image, it took much longer. For
>>> >> >> some reason I can only push 50Kbps from any of the ovirt
>>> >> >> infrastructure so after many hours in the datastore I can see it's
>>> >> >> finished downloading the full 1gb image but it'll remain locked in the
>>> >> >> ovirt engine.
>>> >> >>
>>> >> >> Any thoughts on why this happens?
>>> >> >>
>>> >> >> Thanks,
>>> >> >> Andrew
>>> >> >> ___
>>> >> >> 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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Importing Image from Glance times out

2014-04-09 Thread Andrew Lau
Thanks for the quick fix! Is there a way to patch that manually or
will we need to wait for the next release?

Is there also any chance that those glance images are available
through a HTTP method or something, I'd be interested in importing
that through the export domain to dig around a little.

Thanks,
Andrew.

On Wed, Apr 9, 2014 at 10:08 PM, Oved Ourfalli  wrote:
> Posted a fix in:
> http://gerrit.ovirt.org/#/c/26601/
>
> Being tested and reviewed as we speak.
> Andrew + Elad - thank you for bringing this issue up, and helping diagnose it.
>
> Regards,
> Oved
>
> - Original Message -
>> From: "Andrew Lau" 
>> To: "Oved Ourfalli" 
>> Cc: "users" 
>> Sent: Wednesday, April 9, 2014 1:52:38 PM
>> Subject: Re: [Users] Importing Image from Glance times out
>>
>> Yeah I imported it as a template, I'll try import it as an image now
>> just to verify.
>>
>> On Wed, Apr 9, 2014 at 8:43 PM, Oved Ourfalli  wrote:
>> > Did you import it as template or just as an image.
>> > If as template then it can be nice to see if you're getting the same
>> > NullPointerException that Elad gets (although it was fixed a few weeks
>> > ago, so perhaps it is another issue).
>> >
>> > Thanks,
>> > Oved
>> >
>> > - Original Message -
>> >> From: "Andrew Lau" 
>> >> To: "Elad Ben Aharon" 
>> >> Cc: "Oved Ourfalli" , "users" 
>> >> Sent: Wednesday, April 9, 2014 1:37:34 PM
>> >> Subject: Re: [Users] Importing Image from Glance times out
>> >>
>> >> Do you still want the log files? Is there anything in specific you're
>> >> looking for, or should I just upload the whole files
>> >>
>> >> I also wonder, could you compare the md5? Out of the two attempts on
>> >> the centos image (not docker) the md5sum gave me
>> >> 62bc26a8a07be5adbef63b2eb1a18aeb
>> >>
>> >> If it's different to others, we could assume a failed transfer? I'm
>> >> assuming it's just the timeout of the import process as the smaller
>> >> CirrOS image worked fine.
>> >>
>> >> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon 
>> >> wrote:
>> >> > Oved, I had the same thing:
>> >> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
>> >> >
>> >> > - Original Message -
>> >> > From: "Oved Ourfalli" 
>> >> > To: "Andrew Lau" 
>> >> > Cc: "users" 
>> >> > Sent: Wednesday, April 9, 2014 1:29:57 PM
>> >> > Subject: Re: [Users] Importing Image from Glance times out
>> >> >
>> >> > Do you see any failure in the log?
>> >> > Can you attach both the engine and the vdsm log?
>> >> > iirc the SPM (Federico?) should be the one importing the image, so if
>> >> > you
>> >> > look for a process with "curl" (ps -ef | grep -i curl) then you'll be
>> >> > able
>> >> > to see the import process (just to check whether it is running or not).
>> >> >
>> >> > Thank you,
>> >> > Oved
>> >> >
>> >> > - Original Message -
>> >> >> From: "Andrew Lau" 
>> >> >> To: "users" 
>> >> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
>> >> >> Subject: [Users] Importing Image from Glance times out
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Using the new 3.4 public glance repository, I was able to successfully
>> >> >> import the tiny 12mb CirrOS image and it appeared in my data store.
>> >> >>
>> >> >> However when trying the larger CentOS image, it took much longer. For
>> >> >> some reason I can only push 50Kbps from any of the ovirt
>> >> >> infrastructure so after many hours in the datastore I can see it's
>> >> >> finished downloading the full 1gb image but it'll remain locked in the
>> >> >> ovirt engine.
>> >> >>
>> >> >> Any thoughts on why this happens?
>> >> >>
>> >> >> Thanks,
>> >> >> Andrew
>> >> >> ___
>> >> >> 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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Post-Install Engine VM Changes Feasible?

2014-04-09 Thread Andrew Lau
On Tue, Apr 8, 2014 at 8:52 PM, Andrew Lau  wrote:
> On Mon, Mar 17, 2014 at 8:01 PM, Sandro Bonazzola  wrote:
>> Il 15/03/2014 12:44, Giuseppe Ragusa ha scritto:
>>> Hi Joshua,
>>>
>>> --
>>> Date: Sat, 15 Mar 2014 02:32:59 -0400
>>> From: j...@wrale.com
>>> To: users@ovirt.org
>>> Subject: [Users] Post-Install Engine VM Changes Feasible?
>>>
>>> Hi,
>>>
>>> I'm in the process of installing 3.4 RC(2?) on Fedora 19.  I'm using hosted 
>>> engine, introspective GlusterFS+keepalived+NFS ala [1], across six nodes.
>>>
>>> I have a layered networking topology ((V)LANs for public, internal, 
>>> storage, compute and ipmi).  I am comfortable doing the bridging for each
>>> interface myself via /etc/sysconfig/network-scripts/ifcfg-*.
>>>
>>> Here's my desired topology: 
>>> http://www.asciiflow.com/#Draw6325992559863447154
>>>
>>> Here's my keepalived setup: 
>>> https://gist.github.com/josh-at-knoesis/98618a16418101225726
>>>
>>> I'm writing a lot of documentation of the many steps I'm taking.  I hope to 
>>> eventually release a distributed introspective all-in-one (including
>>> distributed storage) guide.
>>>
>>> Looking at vm.conf.in , it looks like I'd by default end 
>>> up with one interface on my engine, probably on my internal VLAN, as
>>> that's where I'd like the control traffic to flow.  I definitely could do 
>>> NAT, but I'd be most happy to see the engine have a presence on all of the
>>> LANs, if for no other reason than because I want to send backups directly 
>>> over the storage VLAN.
>>>
>>> I'll cut to it:  I believe I could successfully alter the vdsm template 
>>> (vm.conf.in ) to give me the extra interfaces I require.
>>> It hit me, however, that I could just take the defaults for the initial 
>>> install.  Later, I think I'll be able to come back with virsh and make my
>>> changes to the gracefully disabled VM.  Is this true?
>>>
>>> [1] http://www.andrewklau.com/ovirt-hosted-engine-with-3-4-0-nightly/
>>>
>>> Thanks,
>>> Joshua
>>>
>>>
>>> I started from the same reference[1] and ended up "statically" modifying 
>>> vm.conf.in before launching setup, like this:
>>>
>>> cp -a /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in 
>>> /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in.orig
>>> cat << EOM > /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in
>>> vmId=@VM_UUID@
>>> memSize=@MEM_SIZE@
>>> display=@CONSOLE_TYPE@
>>> devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1,
>>> type:drive},specParams:{},readonly:true,deviceId:@CDROM_UUID@,path:@CDROM@,device:cdrom,shared:false,type:disk@BOOT_CDROM@}
>>> devices={index:0,iface:virtio,format:raw,poolID:@SP_UUID@,volumeID:@VOL_UUID@,imageID:@IMG_UUID@,specParams:{},readonly:false,domainID:@SD_UUID@,optional:false,deviceId:@IMG_UUID@,address:{bus:0x00,
>>> slot:0x06, domain:0x, type:pci, 
>>> function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk@BOOT_DISK@}
>>> devices={device:scsi,model:virtio-scsi,type:controller}
>>> devices={index:4,nicModel:pv,macAddr:@MAC_ADDR@,linkActive:true,network:@BRIDGE@,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:@NIC_UUID@,address:{bus:0x00,
>>> slot:0x03, domain:0x, type:pci, 
>>> function:0x0},device:bridge,type:interface@BOOT_PXE@}
>>> devices={index:8,nicModel:pv,macAddr:02:16:3e:4f:c4:b0,linkActive:true,network:lan,filter:vdsm-no-mac-spoofing,specParams:{},address:{bus:0x00,
>>> slot:0x09, domain:0x, type:pci, 
>>> function:0x0},device:bridge,type:interface@BOOT_PXE@}
>>> devices={device:console,specParams:{},type:console,deviceId:@CONSOLE_UUID@,alias:console0}
>>> vmName=@NAME@
>>> spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
>>> smp=@VCPUS@
>>> cpuType=@CPU_TYPE@
>>> emulatedMachine=@EMULATED_MACHINE@
>>> EOM
>>
>>
>> Note that you should also be able to edit /etc/ovirt-hosted-engine/vm.conf 
>> after setup:
>> - put the system in global maintenance
>> - edit the vm.conf file on all the hosts running the hosted engine
>> - shutdown the vm: hosted-engine --vm-shutdown
>> - start again the vm: hosted-engine --vm-start
>> - exit global maintenance
>>
>> Giuseppe, Joshua: can you share your changes in a guide for Hosted engine 
>> users on ovirt.org wiki?
>>
>>
>
> So would you simply just add a new line under the original devices line? ie.
> devices={nicModel:pv,macAddr:00:16:3e:6d:34:78,linkActive:true,network:ovirtmgmt,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:0c8a1710-casd-407a-94e8-5b09e55fa141,address:{bus:0x00,
> slot:0x03, domain:0x, type:pci,
> function:0x0},device:bridge,type:interface}
>
> Are there any good practices for getting the mac addr so it won't be
> possible to clash with ones vdsm would generate? I assume the same
> applies for deviceid?
> Did you also change the s

Re: [ovirt-users] help.. vm trapped in limbo aka can't acquire exclusive lock

2014-04-09 Thread Yair Zaslavsky
Can you please attach full engine.log?

Many thanks,
Yair


- Original Message -
> From: "Jeremiah Jahn" 
> To: users@ovirt.org
> Sent: Thursday, April 10, 2014 2:18:48 AM
> Subject: [ovirt-users] help.. vm trapped in limbo aka can't acquire   
> exclusive lock
> 
> I can't start it, I can't migrate it. I tried to migrate it before,
> but the machine was stuck in a read only state. The migration failed
> because the machine it was being migrated to was also in a read only
> state. somewhere  in the process the lock obviously got lost, and I
> can't get it back...
> 
> 
> 
> 2014-04-09 18:11:16,675 INFO  [org.ovirt.engine.core.bll.RunVmCommand]
> (ajp--127.0.0.1-8702-3) [58b40832] Failed to Acquire Lock to object
> EngineLock [exclusiveLocks= key: b0108933-deb2-4fa0-ae74-e10cefbb0cea
> value: VM
> , sharedLocks= ]
> 
> 
> 2014-04-09 18:11:16,676 WARN  [org.ovirt.engine.core.bll.RunVmCommand]
> (ajp--127.0.0.1-8702-3) [58b40832] CanDoAction of action RunVm failed.
> Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED,$VmName
> web.judici
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] help.. vm trapped in limbo aka can't acquire exclusive lock

2014-04-09 Thread Jeremiah Jahn
I can't start it, I can't migrate it. I tried to migrate it before,
but the machine was stuck in a read only state. The migration failed
because the machine it was being migrated to was also in a read only
state. somewhere  in the process the lock obviously got lost, and I
can't get it back...



2014-04-09 18:11:16,675 INFO  [org.ovirt.engine.core.bll.RunVmCommand]
(ajp--127.0.0.1-8702-3) [58b40832] Failed to Acquire Lock to object
EngineLock [exclusiveLocks= key: b0108933-deb2-4fa0-ae74-e10cefbb0cea
value: VM
, sharedLocks= ]


2014-04-09 18:11:16,676 WARN  [org.ovirt.engine.core.bll.RunVmCommand]
(ajp--127.0.0.1-8702-3) [58b40832] CanDoAction of action RunVm failed.
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED,$VmName
web.judici
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] is ovirt-node.iso supposed to create a readonly filesystem?

2014-04-09 Thread Jeremiah Jahn
I'm assuming the answer is no. But for some reason I seem to be
getting LVM volume group UUID overruns.  I'm using direct attach fiber
channel, and everything looks good, but there appears to be some UUID
or Volume group name in my list of LUNs that matches  some sort of lvm
key from the node root file system.  This only happens on the node
that I installed from the iso. I built all of these nodes in a vm,
then set that image to boot. I did NOT copy that lun from one top the
others, nor are any of the hosts luns visible from any of the other
hosts.  Not sure where to start. I'm going to reinstall from a
bootable cd directly connected to my blade and see if that clears up
the problem.


thanks for any suggestions.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] necessity to run yum update ovirt-engine-setup to update ovirt 3.4

2014-04-09 Thread Tamer Lima
hello,

upgrade from  ovirt 3.3 to 3.4
following the steps on ovirt.org/OVirt_3.4_Release_Notes

I tried update from yum, without success

yum update {ovirt-engine-setup, ovirt-engine , ovirt-release and
ovirt-release-el6 }


Then I tried the following command and it worked fine: engine-setup

Now my ovirt works fine, my cluster is running virtual machines on
compatibility mode 3.3  although ovirt is now 3.4

Then I ask : What is the necessity to execute *yum update
ovirt-engine-setup* if when I execute only *engine-setup* this script
search for updates ?





Failed command list execution
For each command *yum update {ovirt-engine-setup, ovirt-engine ,
ovirt-release and ovirt-release-el6 }* the result was the same :

Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security,
versionlock
Loading mirror speeds from cached hostfile
 * base: mirror.globo.com
 * epel: mirror.globo.com
 * extras: mirror.globo.com
 * ovirt-epel: mirror.globo.com
 * updates: mirror.globo.com
Setting up Update Process
*No Packages marked for Update*






My ovirt.repo contains 3.4
:
[root@srv-0202 yum.repos.d]# more ovirt.repo

[ovirt-stable]
name=Latest oVirt Releases
baseurl=http://ovirt.org/releases/stable/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.4 releases

[ovirt-3.4-stable]
name=Latest oVirt 3.4.z Releases
baseurl=http://ovirt.org/releases/3.4/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.4-prerelease]
name=Latest oVirt 3.4 Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.4_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Latest oVirt 3.3 releases

[ovirt-3.3-stable]
name=Latest oVirt 3.3.z Releases
baseurl=http://resources.ovirt.org/releases/3.3/rpm/EL/$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[ovirt-3.3-prerelease]
name=Latest oVirt 3.3.z Pre Releases (Beta to Release Candidate)
baseurl=http://resources.ovirt.org/releases/3.3_pre/rpm/EL/$releasever/
enabled=0
skip_if_unavailable=1
gpgcheck=0

# Note: for nightly builds see ovirt-nightly.repo



Running engine-setup
[root@srv-0202 ~]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf',
'/etc/ovirt-engine-setup.conf.d/10-pa ckaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140409114215.log
  Version: otopi-1.2.0 (otopi-1.2.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

  --== PRODUCT OPTIONS ==--


  --== PACKAGES ==--

*[ INFO  ] Checking for product updates...*
*  Setup has found updates for some packages, do you wish to update
them now? (Yes, No) [Yes]: yes*
[ INFO  ] Checking for an update for Setup...

  --== NETWORK CONFIGURATION ==--

  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite
current settings.
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: no

  --== DATABASE CONFIGURATION ==--


  --== OVIRT ENGINE CONFIGURATION ==--

  Skipping storing options as database already prepared

  --== PKI CONFIGURATION ==--

  PKI is already configured

  --== APACHE CONFIGURATION ==--


  --== SYSTEM CONFIGURATION ==--


  --== MISC CONFIGURATION ==--


  --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
  During execution engine service will be stopped (OK, Cancel) [OK]:
[ INFO  ] Cleaning stale zombie tasks

  --== CONFIGURATION PREVIEW ==--

  Engine database name: engine
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database host name validation: False
  Engine database port: 5432
  NFS setup   : True
  Firewall manager: iptables
  Update Firewall : False
  Configure WebSocket Proxy   : True
  Host FQDN   : srv-0202.ltitd.br
  NFS mount point : /var/lib/exports/iso
  Set application as default page : True
  Configure Apache SSL: True
  Upgrade packages: True

  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the Engine database consistency

Re: [ovirt-users] [Users] Configuring oVirt 3.3.4-1.el

2014-04-09 Thread Andy Michielsen
Hello Meital,

I plugged my servers in a gigabyte switch and split Communications over 2
nic's. Now the problem of irresponsifness is gone.

Thank you for your help.

Kind regards.
Op 8-apr.-2014 10:53 schreef "Andy Michielsen" :

> Hello,
>
> In the admin screen of the engine everything seems fine.
>
> Only the people who are working on the already existing virtual machines
> experience slow to no response.
>
> I also suspect that the import or the creating from template stalls.
>
> Which logging for the engine do you need ?
>
> Kind regards.
>
>
> 2014-04-08 8:51 GMT+02:00 Meital Bourvine :
>
>> Hi Andy,
>>
>> What do you mean by non responsive? What's the status of the VMs
>> according to the web admin?
>> Could you please attach engine+vdsm logs?
>>
>> --
>>
>> *From: *"Andy Michielsen" 
>> *To: *users@ovirt.org
>> *Sent: *Tuesday, April 8, 2014 9:40:08 AM
>> *Subject: *[Users] Configuring oVirt 3.3.4-1.el
>>
>>
>> Hello all,
>>
>> I 'm having problems when I want to import a new virtual machine or
>> create a new one from a template.
>>
>> Every virtual machine I have running is unresponsive when I try to create
>> a new virtual machine with the import or from template.
>>
>> I'm running a oVirt engine on a Centos 6.5 minimal installation which
>> also function as a NFS server. It has 6 NIC's available, 32 GB of RAM and 2
>> Quad cores.
>> My node has 2 NIC's, 64 GB of RAM and 2 Six cores.
>>
>> How should I configure my network for optimal performance or how can I
>> check why my virtual machines are non responsive. I don't see much CPU
>> activity or disk access at that moment.
>>
>> Kind regards.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Setting up networks in oVirt

2014-04-09 Thread Andy Michielsen
Hello Andrew,

Added the seconden nic only for vm's andere now storage an management is
handled by first nic.

I think I understand now how it works.

Kind regards.
Op 9-apr.-2014 13:50 schreef "Andrew Lau" :

> Install ovirt engine, then go to hosts -> edit networks
>
> it's a drag and drop interface, very easy..
>
> No ipaddress needed for the vm data nic, they will get created as a bridge.
>
> On Wed, Apr 9, 2014 at 9:44 PM, Andy Michielsen
>  wrote:
> > Hello Andrew,
> >
> > Let's say I'm going to implement it like you suggest.
> >
> > The first nic with 2 vlan's for management and storage. The second nic
> for
> > the vm's.
> >
> > What would I go about defining this in ovirt ?
> >
> > Can you give me an example for the vlan for the management and the
> storage ?
> > Do I need to assing a ip-adress to the nic for the vm's or is this
> > transparent ?
> >
> > Kind regards.
> >
> >
> > 2014-04-09 12:16 GMT+02:00 Andrew Lau :
> >
> >> On Wed, Apr 9, 2014 at 7:05 PM, Andy Michielsen
> >>  wrote:
> >> > Hello,
> >> >
> >> > Okay. We do not use vlan's at the moment.
> >> >
> >> > I have my engine setup on a machine with 6 physical nic's available
> >> > which
> >> > also functions as my NFS server.
> >> > My node only has 2 physical nic's.
> >> >
> >> > What setup would you propose in my case.
> >> >
> >>
> >> With only 2 nics, and no vlans it's really quite limited.
> >>
> >> It'll probably be easier just to have like eth0 share management and
> >> storage and eth1 for vm data. Using vlans would be more ideal though..
> >>
> >> ovirt won't let you put multiple non-vlaned networks on the same NIC.
> >>
> >> > Kind regards.
> >> >
> >> >
> >> > 2014-04-09 10:55 GMT+02:00 Andrew Lau :
> >> >
> >> >> On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
> >> >>  wrote:
> >> >> > Hello Andrew,
> >> >> >
> >> >> > Yes that would be a start.
> >> >> >
> >> >> > What are the ranges of the subnets used.
> >> >> > I'm asking because in my setup I connect to the ovirt engine from
> my
> >> >> > subnet
> >> >> > 192.168.203.x and I also use that subnet to access my virtual
> >> >> > machines.
> >> >> > I suppose I can use completely different subnets for the ovirtmgmt
> >> >> > and
> >> >> > storage network ?
> >> >> >
> >> >>
> >> >> You can make up whatever subnetting your network has available. You
> >> >> need to use VLANs to separate the network like in that screenshot..
> >> >> otherwise use separate interfaces with different subnets to isolate
> >> >> your traffic.
> >> >>
> >> >> > Kind regards.
> >> >> >
> >> >> >
> >> >> > 2014-04-09 10:38 GMT+02:00 Andrew Lau :
> >> >> >
> >> >> >> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
> >> >> >>  wrote:
> >> >> >> > Hello,
> >> >> >> >
> >> >> >> > Can anyone give me some screenshot of what a network setup can
> >> >> >> > look
> >> >> >> > like
> >> >> >> > if
> >> >> >> > I wanted to isolate storage and vm traffic from the management
> >> >> >> > traffic.
> >> >> >> >
> >> >> >>
> >> >> >> Something like attached?
> >> >> >>
> >> >> >>
> >> >> >> > Kind regards.
> >> >> >> >
> >> >> >> > ___
> >> >> >> > Users mailing list
> >> >> >> > Users@ovirt.org
> >> >> >> > http://lists.ovirt.org/mailman/listinfo/users
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vdsm dependency rsyslog?

2014-04-09 Thread Sven Kieske
Hi,

I just observed that vdsm
has a hard dependency on rsyslog.

Could anybody enlighten me why this
is needed?

As I understand it's a python
script which could log to any configurable
logging facility.

What about other syslog services?

-- 
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: [ovirt-users] [Users] 2 virtual monitors for Fedora guest

2014-04-09 Thread Gianluca Cecchi
Il 09/apr/2014 18:05 "David Jaša"  ha scritto:
>
> Hi,
>
> René met me in person and we got to root cause:
> when KMS is enabled for qxl (qxl kernel module is loaded), then bug
> https://bugzilla.redhat.com/show_bug.cgi?id=1066422 occurs - you're
> without all agent features (clipboard sharing, arbitrary
> resolution, ...).
> When the qxl driver runs in UMS mode (with qxl blacklisted - add
> module.blacklist=qxl to kernel CLI on reboot), the agent won't crash
> anymore but it still won't be able to do resolution changes or monitor
> enabling for you
>
> The common bug is in qemu:
> https://bugzilla.redhat.com/show_bug.cgi?id=1075139
>
> Gianluca, could you try f20 hosts?

F20 hosts? In which sense?
I remained that they are not supported neither in 3.3.x nor in 3.4...
It is the reason why my aio install is still on f19
Or did you mean f20 client?
Gianluca
>
> What should work in all cases are rhel6 guests on rhel6 hosts...
>
> David
>
>
>
> On Út, 2014-04-08 at 21:25 +0200, Gianluca Cecchi wrote:
> > Some prelimianry tests at my side.
> >
> > oVirt 3.4 on fedora 19 AIO.
> > Datacenter and cluster configured as 3.4 level
> > Some packages on it
> > libvirt-1.1.3.2-1.fc19.x86_64
> > qemu-kvm-1.6.1-2.fc19.x86_64
> > vdsm-4.14.6-0.fc19.x86_64
> > spice-server-0.12.4-3.fc19.x86_64
> >
> > guest is an updated Fedora 19 system configured based on blank
> > template and OS=Linux
> > and
> > xorg-x11-drv-qxl-0.1.1-3.fc19.x86_64
> > spice-vdagent-0.14.0-5.fc19.x86_64
> >
> > Client is an updated Fedora 20 box with virt-viewer-0.6.0-1.fc20.x86_64
> >
> > If I select the "Single PCI" checkbox in console options of guest and
> > connect from the Fedora 20 client I don't see at all an option in
> > remote-viewer to open a second display and no new display detected in
> > guest.
> > And lspci on guest indeed gives only one video controller.
> >
> > BTW: what is this option for, apart the meaning?
> >
> > If I deselect the "Single PCI" checkbox I get the "Display 2" option
> > in remote-viewer but it is greyed out.
> > No new monitor in "detect displays" of guest.
> >
> > In this last situation I have on host this qem-kvm command line:
> > qemu 16664 1 48 21:04 ?00:02:42
> > /usr/bin/qemu-system-x86_64 -machine accel=kvm -name f19 -S -machine
> > pc-1.0,accel=kvm,usb=off -cpu Opteron_G3 -m 2048 -realtime mlock=off
> > -smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid
> > 55d8b95b-f420-4208-a2fb-5f370d05f5d8 -smbios
> > type=1,manufacturer=oVirt,product=oVirt
> >
Node,version=19-8,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=55d8b95b-f420-4208-a2fb-5f370d05f5d8
> > -no-user-config -nodefaults -chardev
> >
socket,id=charmonitor,path=/var/lib/libvirt/qemu/f19.monitor,server,nowait
> > -mon chardev=charmonitor,id=monitor,mode=control -rtc
> > base=2014-04-08T19:04:45,driftfix=slew -no-shutdown -device
> > piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
> > virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device
> > usb-ccid,id=ccid0 -drive
> > if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
> > ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> >
file=/rhev/data-center/mnt/_data_DATA2/b24b94c7-5935-4940-9152-36ecd370ba7c/images/5e99a818-9fd1-47bb-99dc-50bd25374c2f/a2baa1e5-569f-4081-97a7-10ec2a20daab,if=none,id=drive-virtio-disk0,format=raw,serial=5e99a818-9fd1-47bb-99dc-50bd25374c2f,cache=none,werror=stop,rerror=stop,aio=threads
> > -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> > -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
> >
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:55,bus=pci.0,addr=0x3
> > -chardev spicevmc,id=charsmartcard0,name=smartcard -device
> > ccid-card-passthru,chardev=charsmartc
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] 2 virtual monitors for Fedora guest

2014-04-09 Thread David Jaša
Hi,

René met me in person and we got to root cause:
when KMS is enabled for qxl (qxl kernel module is loaded), then bug
https://bugzilla.redhat.com/show_bug.cgi?id=1066422 occurs - you're
without all agent features (clipboard sharing, arbitrary
resolution, ...).
When the qxl driver runs in UMS mode (with qxl blacklisted - add
module.blacklist=qxl to kernel CLI on reboot), the agent won't crash
anymore but it still won't be able to do resolution changes or monitor
enabling for you

The common bug is in qemu:
https://bugzilla.redhat.com/show_bug.cgi?id=1075139

Gianluca, could you try f20 hosts?

What should work in all cases are rhel6 guests on rhel6 hosts...

David



On Út, 2014-04-08 at 21:25 +0200, Gianluca Cecchi wrote:
> Some prelimianry tests at my side.
> 
> oVirt 3.4 on fedora 19 AIO.
> Datacenter and cluster configured as 3.4 level
> Some packages on it
> libvirt-1.1.3.2-1.fc19.x86_64
> qemu-kvm-1.6.1-2.fc19.x86_64
> vdsm-4.14.6-0.fc19.x86_64
> spice-server-0.12.4-3.fc19.x86_64
> 
> guest is an updated Fedora 19 system configured based on blank
> template and OS=Linux
> and
> xorg-x11-drv-qxl-0.1.1-3.fc19.x86_64
> spice-vdagent-0.14.0-5.fc19.x86_64
> 
> Client is an updated Fedora 20 box with virt-viewer-0.6.0-1.fc20.x86_64
> 
> If I select the "Single PCI" checkbox in console options of guest and
> connect from the Fedora 20 client I don't see at all an option in
> remote-viewer to open a second display and no new display detected in
> guest.
> And lspci on guest indeed gives only one video controller.
> 
> BTW: what is this option for, apart the meaning?
> 
> If I deselect the "Single PCI" checkbox I get the "Display 2" option
> in remote-viewer but it is greyed out.
> No new monitor in "detect displays" of guest.
> 
> In this last situation I have on host this qem-kvm command line:
> qemu 16664 1 48 21:04 ?00:02:42
> /usr/bin/qemu-system-x86_64 -machine accel=kvm -name f19 -S -machine
> pc-1.0,accel=kvm,usb=off -cpu Opteron_G3 -m 2048 -realtime mlock=off
> -smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid
> 55d8b95b-f420-4208-a2fb-5f370d05f5d8 -smbios
> type=1,manufacturer=oVirt,product=oVirt
> Node,version=19-8,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=55d8b95b-f420-4208-a2fb-5f370d05f5d8
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/f19.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc
> base=2014-04-08T19:04:45,driftfix=slew -no-shutdown -device
> piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
> virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device
> usb-ccid,id=ccid0 -drive
> if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=/rhev/data-center/mnt/_data_DATA2/b24b94c7-5935-4940-9152-36ecd370ba7c/images/5e99a818-9fd1-47bb-99dc-50bd25374c2f/a2baa1e5-569f-4081-97a7-10ec2a20daab,if=none,id=drive-virtio-disk0,format=raw,serial=5e99a818-9fd1-47bb-99dc-50bd25374c2f,cache=none,werror=stop,rerror=stop,aio=threads
> -device 
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:55,bus=pci.0,addr=0x3
> -chardev spicevmc,id=charsmartcard0,name=smartcard -device
> ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0
> -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.com.redhat.rhevm.vdsm,server,nowait
> -device 
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
> -chardev 
> socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.org.qemu.guest_agent.0,server,nowait
> -device 
> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
> -chardev spicevmc,id=charchannel2,name=vdagent -device
> virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
> -spice 
> tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
> -k en-us -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x2
> -device qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x8
> -device AC97,id=sound0,bus=pci.0,addr=0x4 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
> 
> On guest:
> [root@localhost ~]# lspci
> 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
> 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
> 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
> 00:01.2 USB controller: Intel Corporation 82371SB PII

[ovirt-users] (Belated) Status Update from Community Mgr: April 9

2014-04-09 Thread Brian Proffitt
All:

My sincerest apologies for missing the meeting today on IRC. My calendar was 
still on the wrong time, and during the meeting I had to run my pets out to a 
kennel to be watched as I leave to join my family tonight in San Francisco 
prior to Red Hat Summit.

Here is what I would have reported:

Events

Summit and DevNation are next week, will be busy there. Will keep an eye on 
Oved to make sure he stays out of trouble. Or will that be the other way around?

My talk on oVirt was accepted for CloudOpen Japan. I *may* go, but there has 
been a suggestion that I come to Tel Aviv the week prior to OpenStack Israel 
and stay to help out with that event. This would mean back-to-back trips from 
Japan to TLV, so DV and I will be figuring out the time and the money next week 
at Summit.

Also, I am checking with OSAS on supporting the expenses in some way for the 
aforementioned OPenStack Israel event.

René Koch reports the oVirt workshop he hosted at Linuxtage Graz in Austria 
last weekend went very well! Thanks to he and Frantisek Kobzik for pulling this 
together!

Other

Google Summer of Code: The decisions for proposals have been made, but 
notifications are not going out until after the two rewarded slots have been 
finalized.

Mailing lists: arch and engine-devel mailing lists are now ovirt-devel 
[de...@ovirt.org] and today vdsm-devel subscribers were mass-subscribed to 
ovirt-devel to consolidate their discussions on ovirt-devel. Users has been 
relabeled ovirt-users as well.

Features pages: I have done a full survey of all oVirt features pages and noted 
their owners and/or last person updated. After the Passover shutdown, I will be 
asking everyone to take a look and get their Features pages updated/culled, as 
well as the Feature template applied.

Thanks, 
BKP

-- 
Brian Proffitt - oVirt Community Manager
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Regenerating new SSL certificates for ovirt-engine

2014-04-09 Thread Trey Dockendorf
Given the recent OpenSSL heartbleed vulnerability, I would like to
regenerate the certificates used by my ovirt-engine server.  What are
the steps to regenerate the certificates, and which certificates
should be regenerated?  My ovirt-engine host is on our campus LAN,
which offers no real protection, so I would consider it public facing
despite not being routable across the WAN.  At minimum I'd like to
regenerate the certificates used by Apache.

I'd be happy to document this on the wiki, as the only items I could
find were related to host renaming.

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


[ovirt-users] oVirt Weekly Meeting Minutes -- 2014-04-09

2014-04-09 Thread Doron Fediuck
Minutes:http://ovirt.org/meetings/ovirt/2014/ovirt.2014-04-09-14.05.html
Minutes (text): http://ovirt.org/meetings/ovirt/2014/ovirt.2014-04-09-14.05.txt
Log:
http://ovirt.org/meetings/ovirt/2014/ovirt.2014-04-09-14.05.log.html

=
#ovirt: oVirt Weekly Sync
=


Meeting started by doron at 14:05:49 UTC. The full logs are available at
http://ovirt.org/meetings/ovirt/2014/ovirt.2014-04-09-14.05.log.html .



Meeting summary
---
* Agenda and roll Call  (doron, 14:06:07)
  * infra update  (doron, 14:06:09)
  * 3.3 updates  (doron, 14:06:10)
  * 3.4 status  (doron, 14:06:12)
  * conferences and workshops  (doron, 14:06:15)
  * other topics  (doron, 14:06:16)

* infra update  (doron, 14:07:38)

* 3.3 updates  (doron, 14:12:38)
  * oVirt 3.3.5 GA expected today. This is the last 3.3.x version ovirt
will have. Notification sent to mailing lists.  (doron, 14:14:19)

* 3.4 status  (doron, 14:15:36)
  * 3.4.z release page available in:
http://www.ovirt.org/OVirt_3.4.z_release-management  (doron,
14:17:33)

* 3.5 status  (doron, 14:19:59)
  * infra 3.5 updates: still scoping. Should complete the table for next
time.  (doron, 14:24:32)
  * integration 3.5 updates: all features have a design and published.
Work started already, and community volunteers helping with guest
tools iso.  (doron, 14:28:51)
  * network 3.5 updates: network custom properties work started, after
no feedback in the list. Additionally some nits are in progress, and
per-DC MAC pool mail should be sent soon.  (doron, 14:32:38)
  * LINK: http://www.ovirt.org/Feature/oVirtAppliance   (fabiand,
14:34:07)
  * LINK: http://gerrit.ovirt.org/26201   (fabiand, 14:36:00)
  * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=875088   (fabiand,
14:36:30)
  * node 3.5 updates:  oVirt Appliance page in place. Other feature
pages are in progress. A patch for hosted engine plugin for Node
available:  http://gerrit.ovirt.org/26201  (doron, 14:39:06)
  * sla 3.5 updates: feature pages are in place. A review session was
yesterday and work started on the various features.  (doron,
14:40:01)
  * storage 3.5 updates: a review session will be held tomorrow. most
features on track and pages are in progress.  (doron, 14:43:41)
  * ux 3.5 updates: feature review was earlier today. Feature work is
already in progress. GUI over REST will probably not make it.
(doron, 14:45:42)
  * virt to update offline.  (doron, 14:48:19)

* conferences and workshops  (doron, 14:48:32)
  * no updates on conferences and workshops.  (doron, 14:50:35)

* other topics  (doron, 14:50:43)
  * we had a conference last Friday and Saturday in Graz, Austria.
(doron, 14:54:27)
  * Kudus to Rene Koch for his workshop in Graz.  (doron, 14:55:11)
  * another conference in Austria is in the beginning of May in Vienna.
Will have oVirt stand there too  (doron, 14:55:27)
  * No meeting next week.  (doron, 14:56:59)

Meeting ended at 14:59:44 UTC.




Action Items






Action Items, by person
---
* **UNASSIGNED**
  * (none)




People Present (lines said)
---
* doron (119)
* sbonazzo (20)
* fabiand (17)
* lvernia (9)
* mskrivanek (8)
* ybronhei (8)
* dcaro (5)
* amureini (4)
* ecohen|mtg (3)
* ovirtbot (3)
* jb_netapp (2)
* msivak (1)
* gchaplik__ (1)




Generated by `MeetBot`_ 0.1.4

.. _`MeetBot`: http://wiki.debian.org/MeetBot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] Failure to connect to engine with Nagios

2014-04-09 Thread Dotan Paz



Dotan Paz , Engineering Operations 
Red Hat Israel, LTD 

- Original Message -
> 
> 
> 
> Dotan Paz , Engineering Operations
> Red Hat Israel, LTD
> 
> - Original Message -
> > 
> > On 04/09/2014 09:55 AM, Dotan Paz wrote:
> > >
> > >
> > >
> > > Dotan Paz , Engineering Operations
> > > Red Hat Israel, LTD
> > >
> > > - Original Message -
> > >> On 04/07/2014 07:49 PM, René Koch wrote:
> > >>> Hi Juan,
> > >>>
> > >>> On 04/07/2014 07:27 PM, Juan Hernandez wrote:
> >  Hello,
> > 
> >  We are having some trouble with the Nagios plugin for oVirt. From time
> >  to time it stops working and it isn't able to connect to the engine.
> >  The
> >  error that we get apparently indicates a failure to read the file
> >  where
> >  the session cookie is stored:
> > 
> >  RHEV CRITICAL: Can't connect to RHEVM-API.
> >  Unsuccessful stat on filename containing newline at
> >  /usr/lib/nagios/plugins/check_rhev3 line 1411.
> > 
> >  Any suggestion on how to diagnose/solve this issue?
> > 
> > >>>
> > >>> Can you tell me which version of check_rhev3 you're using?
> > > Hi Rene,
> > >
> > >Name:check_rhev3
> > >Version: 1.2.1
> > >Created: 2012-08-13
> > 
> > Hi Daton,
> > 
> > Can you please try check_rhev3 1.3?
> > https://github.com/ovido/check_rhev3/releases
> Sure , I'll keep you posted .
Still not working , different error though
[root@dpaz ~]# /usr/lib64/nagios/plugins/check_rhev3 -H  -a 
: -D PRODUCTION -l storage -s status
cat: 
/var/tmp/bm90dDA0LmVuZy5sYWIudGx2LnJlZGhhdC5jb20tdmlld2VyQE5PVFQwNC5FTkcuTEFCLlRMVi5S:
 No such file or directory
RHEV UNKNOWN: Failed to connect to RHEVM-API or received invalid response.

Should it be working out of the box , or does it require any configurations ?
> > 
> > 
> > Thanks,
> > René
> > 
> > >
> > >
> > >>>
> > >>>Regards,
> > >>
> > >> Dotan, can you answer this question?
> > >>
> > >> --
> > >> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> > >> 3ºD, 28016 Madrid, Spain
> > >> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat
> > >> S.L.
> > >> ___
> > >> Users mailing list
> > >> Users@ovirt.org
> > >> http://lists.ovirt.org/mailman/listinfo/users
> > >>
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [ANN] oVirt 3.3.5 release

2014-04-09 Thread Sandro Bonazzola
The oVirt development team is pleased to announce the general
availability of oVirt 3.3.5 as of April 9th 2014. This release
solidifies oVirt as a leading KVM management application and open
source alternative to VMware vSphere.

oVirt is available now for Fedora 19 and Red Hat Enterprise Linux 6.5
(or similar).

This release of oVirt includes numerous bug fixes.
See the release notes [1] for a list of the new features and bugs fixed.

The existing repository ovirt-3.3-stable has been updated for delivering this
release without the need of enabling any other repository.
See the release notes[1] for installation and upgrade instructions.

A new oVirt Node and oVirt Live ISO will be available soon in [2].

[1] http://www.ovirt.org/OVirt_3.3.5_release_notes
[2] http://resources.ovirt.org/releases/3.3.5/iso


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


[ovirt-users] off topic = newbie with bugzilla, gerrit and ovirt VDSM 4.14

2014-04-09 Thread Tamer Lima
Hi,

I have a problem with an automatic yum vdsm upgrade  (4.13 to 4.14)  on
ovirt 3.3  : Host x.x.x.x is installed with VDSM version (4.14) and cannot
join cluster Default which is compatible with VDSM versions
[4.13,4.9,4.11,4.12,4.10].

I am searching the solution and one of them (from bz Bug 1083008 ) points
to gerrit site(http://gerrit.ovirt.org/#/c/23456/)

I do not have any experience in solving bugs, neither bz, gerrit,
github
How to initialize in this world and solve the ovirt problem ?

another thing : does downgrade or remove vdms package excludes the
installed virtual machines ?


I know about ovirt 3.4 is the new release, but I want to learn how to solve
some bugs when new releases is not launched;

(off course I am afraid to upgrade to ovirt 3.4 too :) )


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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2014-04-09 Thread Martin Betak
Hi Yair,

Thanks for your response!

Patches are very welcome. Even testing with various android devices
and version would be of great help.

As of now I'm polling the REST API periodically (for events, Vm stats ...)
and the current focus is on stabilization and features. But definitely push
server is on the long term future plan.



- Original Message -
> From: "Yair Zaslavsky" 
> To: "Martin Betak" 
> Cc: users@ovirt.org
> Sent: Wednesday, April 9, 2014 3:47:22 PM
> Subject: Re: [Users] A mobile monitoring application for oVirt
> 
> Awesome,
> Do you need help in developing that?
> Are you getting the information via notification of events, or are you
> polling?
> 
> 
> 
> - Original Message -
> > From: "Martin Betak" 
> > To: users@ovirt.org
> > Sent: Thursday, April 3, 2014 5:37:05 PM
> > Subject: [Users] A mobile monitoring application for oVirt
> > 
> > Hello oVirt users,
> > 
> > I'm in the process of developing a simple monitoring application for oVirt
> > on
> > the Android platform.
> > This is still under heavy development, but first usable version can be
> > found
> > at [1]
> > Please note that this is still a development preview so it can be a little
> > unstable and the UI design is not yet perfect
> > (well ... design by programmer :-)) but I hope it could be useful. All
> > comments, remarks,
> > feature requests and general feedback are very welcome. You can file any
> > issues directly at [2].
> > 
> > Below follow the details of using and configuring the app.
> > 
> > Description:
> > 
> > The goal of this project was to create a simple Android app that would
> > enable
> > oVirt admins to configure conditions on Vms, Clusters,
> > or whole datacenter upon which they want to be notified. At the moment you
> > can configure 3 types of "Triggers":
> > - when Vm CPU is over given level
> > - when Vm Memory usage is over given level
> > - when Vm enters given state (Down, Unknown ...)
> > You can also choose if you want just simple standard android notification
> > or
> > also want the device to vibrate.
> > 
> > You can also define all these triggers on per-Vm, per-Cluster or "global"
> > level.
> > 
> > Configuration:
> > 
> > On first run the app will prompt you to enter connection parameters of your
> > running oVirt engine instance.
> > API URL should be in the form of http://host:port/ovirt-engine/api
> > Username is user@domain i.e. admin@internal
> > Password is ... well the above user's password :-)
> > 
> > sadly only http (not https) is supported so far for endpoint url.
> > 
> > If you have any more questions feel free to use this thread and I'll do my
> > best to answer them :-)
> > 
> > Best regards,
> > 
> > Martin
> > 
> > 
> > [1] https://github.com/matobet/moVirt/blob/master/moVirt/moVirt.apk
> > [2] https://github.com/matobet/moVirt/issues
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2014-04-09 Thread Yair Zaslavsky
Awesome,
Do you need help in developing that?
Are you getting the information via notification of events, or are you polling?



- Original Message -
> From: "Martin Betak" 
> To: users@ovirt.org
> Sent: Thursday, April 3, 2014 5:37:05 PM
> Subject: [Users] A mobile monitoring application for oVirt
> 
> Hello oVirt users,
> 
> I'm in the process of developing a simple monitoring application for oVirt on
> the Android platform.
> This is still under heavy development, but first usable version can be found
> at [1]
> Please note that this is still a development preview so it can be a little
> unstable and the UI design is not yet perfect
> (well ... design by programmer :-)) but I hope it could be useful. All
> comments, remarks,
> feature requests and general feedback are very welcome. You can file any
> issues directly at [2].
> 
> Below follow the details of using and configuring the app.
> 
> Description:
> 
> The goal of this project was to create a simple Android app that would enable
> oVirt admins to configure conditions on Vms, Clusters,
> or whole datacenter upon which they want to be notified. At the moment you
> can configure 3 types of "Triggers":
> - when Vm CPU is over given level
> - when Vm Memory usage is over given level
> - when Vm enters given state (Down, Unknown ...)
> You can also choose if you want just simple standard android notification or
> also want the device to vibrate.
> 
> You can also define all these triggers on per-Vm, per-Cluster or "global"
> level.
> 
> Configuration:
> 
> On first run the app will prompt you to enter connection parameters of your
> running oVirt engine instance.
> API URL should be in the form of http://host:port/ovirt-engine/api
> Username is user@domain i.e. admin@internal
> Password is ... well the above user's password :-)
> 
> sadly only http (not https) is supported so far for endpoint url.
> 
> If you have any more questions feel free to use this thread and I'll do my
> best to answer them :-)
> 
> Best regards,
> 
> Martin
> 
> 
> [1] https://github.com/matobet/moVirt/blob/master/moVirt/moVirt.apk
> [2] https://github.com/matobet/moVirt/issues
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] how to import a disk image w/o associated vm

2014-04-09 Thread Jeremiah Jahn
One of the things that I have to where I work, is pull and push disk
images onto appliances and other physical things.  This is generally
done with a little dd magic.   We'll start up the appliance in a
virtual machine and mess with it in one way or another, then when
we're done we'll take that image and use it to image our appliances
that we send out.  So we have this collection of  some_system.img
files laying around.  With virt-manager I can just stick the image
file in a storage pool somewhere, create a new vm, and attach the
image.

So my question is how is this done in ovirt. v2v and
engine-upload-image all want a pre-configured vm to work with. That is
not what I have. Is there anyway to do this? I thought it'd be
something like drop an img onto the export domain, and import it,
create a vm around it. Once done export the image back to the export
domain and move it someplace to be useful. This is not the case as far
as I can tell. Am I missing something?


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


Re: [ovirt-users] [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Daniel Helgenberger

On Mi, 2014-04-09 at 14:42 +0200, Jiri Moskovcak wrote:
> On 04/09/2014 02:32 PM, Daniel Helgenberger wrote:
> > On Mi, 2014-04-09 at 09:18 +0200, Jiri Moskovcak wrote:
> >> On 04/08/2014 06:09 PM, Daniel Helgenberger wrote:
> >>> Hello,
> >>>
> >>> I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
> >>> production use.
> >>>
> >>> I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
> >>> the engine was running. After powering up, the system did not recover
> >>> itself (it seemed).
> >>> I had to restart the ovirt-hosted-ha service (witch was in a locked
> >>> state) and then manually run 'hosted-engine --vm-start'.
> >>>
> >>> What is the supposed procedure after a shutdown (graceful / ungraceful)
> >>> of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> >>> the running VM's be restarted automatically?
> >>
> >> When this happens the agent should start the engine VM and the engine
> >> should take care of restarting the VMs which were running on that
> >> restarted host and are marked as HA. Can you please provide contents ov
> >> /var/log/ovirt* from the host after the powercut when the engine VM
> >> doesn't come up?
> >>
> > Hello Jirka,
> >
> > I accidentally already send the message without pointing out the
> > interesting part; this is:
> >
> > <<< start logging ha-agent after reboot:
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainTMainThread::INFO::2014-04-08 
> > 15:53:33,862::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) 
> > ovirt-hosted-engine-ha agent 1.1.2-1 started
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:33,936::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname)
> >  Found certificate common name: 192.168.50.201
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:33,937::hosted_engine::363::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
> >  Initializing ha-broker connection
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:33,937::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Starting monitor ping, options {'addr': '192.168.50.1'}
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:33,939::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Success, id 139700911299600
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:33,939::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 
> > 'ovirtmgmt', 'address': '0'}
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,013::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Success, id 139700911300304
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,013::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,015::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Success, id 139700911300112
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,015::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 
> > 'vm_uuid': 'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,018::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Success, id 139700911300240
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,018::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 
> > 'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,024::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
> >  Success, id 139700723857104
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,024::hosted_engine::386::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
> >  Broker initialized, all submonitors started
> > /var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
> > 15:53:34,312::hosted_engine::430::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_cond_start_service)
> >  Starting vdsmd
> > /var/log/ovirt-hosted-engin

Re: [ovirt-users] [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Jiri Moskovcak

On 04/09/2014 02:32 PM, Daniel Helgenberger wrote:

On Mi, 2014-04-09 at 09:18 +0200, Jiri Moskovcak wrote:

On 04/08/2014 06:09 PM, Daniel Helgenberger wrote:

Hello,

I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
production use.

I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
the engine was running. After powering up, the system did not recover
itself (it seemed).
I had to restart the ovirt-hosted-ha service (witch was in a locked
state) and then manually run 'hosted-engine --vm-start'.

What is the supposed procedure after a shutdown (graceful / ungraceful)
of Hosted-Engine HA nodes? Should the engine recover by itself? Should
the running VM's be restarted automatically?


When this happens the agent should start the engine VM and the engine
should take care of restarting the VMs which were running on that
restarted host and are marked as HA. Can you please provide contents ov
/var/log/ovirt* from the host after the powercut when the engine VM
doesn't come up?


Hello Jirka,

I accidentally already send the message without pointing out the
interesting part; this is:

<<< start logging ha-agent after reboot:
/var/log/ovirt-hosted-engine-ha/agent.log:MainTMainThread::INFO::2014-04-08 
15:53:33,862::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) 
ovirt-hosted-engine-ha agent 1.1.2-1 started
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,936::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname)
 Found certificate common name: 192.168.50.201
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,937::hosted_engine::363::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Initializing ha-broker connection
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,937::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor ping, options {'addr': '192.168.50.1'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,939::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911299600
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,939::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 
'ovirtmgmt', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,013::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300304
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,013::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,015::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300112
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,015::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 
'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,018::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300240
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,018::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 
'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,024::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700723857104
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,024::hosted_engine::386::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Broker initialized, all submonitors started
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,312::hosted_engine::430::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_cond_start_service)
 Starting vdsmd
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::CRITICAL::2014-04-08 
15:53:34,442::agent::103::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Could 
not start ha-agent
(10 min nothing)
<<< here I did a 'service ovirt-hosted-ha start'
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:59:16,698::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) 
ovirt-hosted-engine-ha agent 1.1.

Re: [ovirt-users] [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Daniel Helgenberger
On Mi, 2014-04-09 at 09:18 +0200, Jiri Moskovcak wrote:
> On 04/08/2014 06:09 PM, Daniel Helgenberger wrote:
> > Hello,
> >
> > I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
> > production use.
> >
> > I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
> > the engine was running. After powering up, the system did not recover
> > itself (it seemed).
> > I had to restart the ovirt-hosted-ha service (witch was in a locked
> > state) and then manually run 'hosted-engine --vm-start'.
> >
> > What is the supposed procedure after a shutdown (graceful / ungraceful)
> > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> > the running VM's be restarted automatically?
> 
> When this happens the agent should start the engine VM and the engine 
> should take care of restarting the VMs which were running on that 
> restarted host and are marked as HA. Can you please provide contents ov 
> /var/log/ovirt* from the host after the powercut when the engine VM 
> doesn't come up?
> 
Hello Jirka,

I accidentally already send the message without pointing out the
interesting part; this is:

<<< start logging ha-agent after reboot:
/var/log/ovirt-hosted-engine-ha/agent.log:MainTMainThread::INFO::2014-04-08 
15:53:33,862::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) 
ovirt-hosted-engine-ha agent 1.1.2-1 started
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,936::hosted_engine::223::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname)
 Found certificate common name: 192.168.50.201
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,937::hosted_engine::363::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Initializing ha-broker connection
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,937::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor ping, options {'addr': '192.168.50.1'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,939::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911299600
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:33,939::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 
'ovirtmgmt', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,013::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300304
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,013::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,015::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300112
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,015::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 
'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,018::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700911300240
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,018::brokerlink::126::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 
'e68a11c8-1251-4c13-9e3b-3847bbb4fa3d', 'address': '0'}
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,024::brokerlink::137::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 139700723857104
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,024::hosted_engine::386::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Broker initialized, all submonitors started
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:53:34,312::hosted_engine::430::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_cond_start_service)
 Starting vdsmd
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::CRITICAL::2014-04-08 
15:53:34,442::agent::103::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Could 
not start ha-agent  
(10 min nothing)
<<< here I did a 'service ovirt-hosted-ha start'
/var/log/ovirt-hosted-engine-ha/agent.log:MainThread::INFO::2014-04-08 
15:59:16,698::agent::52::ovirt_hosted_engine_ha.agent.agent.Agent::(run) 
ovirt-hosted-en

Re: [Users] Importing Image from Glance times out

2014-04-09 Thread Oved Ourfalli
Posted a fix in:
http://gerrit.ovirt.org/#/c/26601/

Being tested and reviewed as we speak.
Andrew + Elad - thank you for bringing this issue up, and helping diagnose it.

Regards,
Oved

- Original Message -
> From: "Andrew Lau" 
> To: "Oved Ourfalli" 
> Cc: "users" 
> Sent: Wednesday, April 9, 2014 1:52:38 PM
> Subject: Re: [Users] Importing Image from Glance times out
> 
> Yeah I imported it as a template, I'll try import it as an image now
> just to verify.
> 
> On Wed, Apr 9, 2014 at 8:43 PM, Oved Ourfalli  wrote:
> > Did you import it as template or just as an image.
> > If as template then it can be nice to see if you're getting the same
> > NullPointerException that Elad gets (although it was fixed a few weeks
> > ago, so perhaps it is another issue).
> >
> > Thanks,
> > Oved
> >
> > - Original Message -
> >> From: "Andrew Lau" 
> >> To: "Elad Ben Aharon" 
> >> Cc: "Oved Ourfalli" , "users" 
> >> Sent: Wednesday, April 9, 2014 1:37:34 PM
> >> Subject: Re: [Users] Importing Image from Glance times out
> >>
> >> Do you still want the log files? Is there anything in specific you're
> >> looking for, or should I just upload the whole files
> >>
> >> I also wonder, could you compare the md5? Out of the two attempts on
> >> the centos image (not docker) the md5sum gave me
> >> 62bc26a8a07be5adbef63b2eb1a18aeb
> >>
> >> If it's different to others, we could assume a failed transfer? I'm
> >> assuming it's just the timeout of the import process as the smaller
> >> CirrOS image worked fine.
> >>
> >> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon 
> >> wrote:
> >> > Oved, I had the same thing:
> >> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
> >> >
> >> > - Original Message -
> >> > From: "Oved Ourfalli" 
> >> > To: "Andrew Lau" 
> >> > Cc: "users" 
> >> > Sent: Wednesday, April 9, 2014 1:29:57 PM
> >> > Subject: Re: [Users] Importing Image from Glance times out
> >> >
> >> > Do you see any failure in the log?
> >> > Can you attach both the engine and the vdsm log?
> >> > iirc the SPM (Federico?) should be the one importing the image, so if
> >> > you
> >> > look for a process with "curl" (ps -ef | grep -i curl) then you'll be
> >> > able
> >> > to see the import process (just to check whether it is running or not).
> >> >
> >> > Thank you,
> >> > Oved
> >> >
> >> > - Original Message -
> >> >> From: "Andrew Lau" 
> >> >> To: "users" 
> >> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
> >> >> Subject: [Users] Importing Image from Glance times out
> >> >>
> >> >> Hi,
> >> >>
> >> >> Using the new 3.4 public glance repository, I was able to successfully
> >> >> import the tiny 12mb CirrOS image and it appeared in my data store.
> >> >>
> >> >> However when trying the larger CentOS image, it took much longer. For
> >> >> some reason I can only push 50Kbps from any of the ovirt
> >> >> infrastructure so after many hours in the datastore I can see it's
> >> >> finished downloading the full 1gb image but it'll remain locked in the
> >> >> ovirt engine.
> >> >>
> >> >> Any thoughts on why this happens?
> >> >>
> >> >> Thanks,
> >> >> Andrew
> >> >> ___
> >> >> 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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Greg Padgett

Hi Andrew and Martin,

On 04/09/2014 04:07 AM, Andrew Lau wrote:

Hi,

On Apr 9, 2014 5:43 PM, "Martin Sivak" mailto:msi...@redhat.com>> wrote:
 >
 > Hi,
 >
 > > I noticed this happens too, I think the issue is after N attempts the
 > > ovirt-ha-agent process will kill itself if it believes it can't access
 > > the storage or it fails in some other way.
 >
 > If the agent can't access storage or VDSM it waits for 60 seconds and
tries again. After three (iirc) failed attempts it shuts down.

Is there any reason it shuts down? Could it not be possible to just have
it sleep for x minutes? Have that sleep time exponentially scale after
each fail.


It looks like this is a side effect of a fix for a different bug,
https://bugzilla.redhat.com/show_bug.cgi?id=1008505
in which the agent would try to run when it wasn't fully configured.


 >
 > > The ovirt-ha-broker service
 > > however still remains and continues to calculate the score.
 >
 > The broker acts only as a data link, the score is computed by the
agent. The broker is used to propagate it to storage (and to collect data).

Thanks for clarifying, I remember seeing some reference to score in the
broker log. Assumed incorrectly.
 >
 > > It'll be
 > > nice I guess if it could pro-actively restart the ha-agent every now
 > > and then.
 >
 > We actually have a bug that is related to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1030441
 >
 > Greg, are you still working on it?


Sorry, not currently looking at that one.


 >
 > > > What is the supposed procedure after a shutdown (graceful / ungraceful)
 > > > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
 > > > the running VM's be restarted automatically?
 >
 > If the agent-broker pair recovers and sanlock is not preventing taking
the lock (which was not released properly) then the engine VM should be
started automatically.
 >
 > > If all the nodes come up at the same time, in my testing, it took 10
 > > minutes for the ha-agents to settle and then finally decide which host
 > > to bring up the engine.
 >
 > We set a 10 minute mandatory down time for a host when a VM start is
not successful. That might be because the sanlock still things somebody is
running the VM. The /var/log/ovirt-hosted-engine-ha/agent.log would help here.
 >
 > Regards
 > --
 > Martin Sivák
 > msi...@redhat.com 
 > Red Hat Czech
 > RHEV-M SLA / Brno, CZ
 >
 > - Original Message -
 > > On Wed, Apr 9, 2014 at 2:09 AM, Daniel Helgenberger
 > > mailto:daniel.helgenber...@m-box.de>>
wrote:
 > > > Hello,
 > > >
 > > > I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
 > > > production use.
 > > >
 > > > I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
 > > > the engine was running. After powering up, the system did not recover
 > > > itself (it seemed).
 > > > I had to restart the ovirt-hosted-ha service (witch was in a locked
 > > > state) and then manually run 'hosted-engine --vm-start'.
 > >
 > > I noticed this happens too, I think the issue is after N attempts the
 > > ovirt-ha-agent process will kill itself if it believes it can't access
 > > the storage or it fails in some other way. The ovirt-ha-broker service
 > > however still remains and continues to calculate the score. It'll be
 > > nice I guess if it could pro-actively restart the ha-agent every now
 > > and then.
 > >
 > > >
 > > > What is the supposed procedure after a shutdown (graceful / ungraceful)
 > > > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
 > > > the running VM's be restarted automatically?
 > >
 > > I don't think any other VMs get restarted automatically, this is
 > > because the engine is used to ensure that the VM hasn't been restarted
 > > on another host. This is where power management etc comes into play.
 > >
 > > If all the nodes come up at the same time, in my testing, it took 10
 > > minutes for the ha-agents to settle and then finally decide which host
 > > to bring up the engine. Then technically... (untested) any VMs which
 > > you've marked as HA should be automatically brought back up by the
 > > engine. This would be 15-20 minutes to recover which feels a little
 > > slow.. although fairly automatic.
 > >
 > > >
 > > > Thanks,
 > > > Daniel
 > > >
 > > >
 > > >
 > > >
 > > >
 > > >
 > > > ___
 > > > 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] Setting up networks in oVirt

2014-04-09 Thread Andrew Lau
Install ovirt engine, then go to hosts -> edit networks

it's a drag and drop interface, very easy..

No ipaddress needed for the vm data nic, they will get created as a bridge.

On Wed, Apr 9, 2014 at 9:44 PM, Andy Michielsen
 wrote:
> Hello Andrew,
>
> Let's say I'm going to implement it like you suggest.
>
> The first nic with 2 vlan's for management and storage. The second nic for
> the vm's.
>
> What would I go about defining this in ovirt ?
>
> Can you give me an example for the vlan for the management and the storage ?
> Do I need to assing a ip-adress to the nic for the vm's or is this
> transparent ?
>
> Kind regards.
>
>
> 2014-04-09 12:16 GMT+02:00 Andrew Lau :
>
>> On Wed, Apr 9, 2014 at 7:05 PM, Andy Michielsen
>>  wrote:
>> > Hello,
>> >
>> > Okay. We do not use vlan's at the moment.
>> >
>> > I have my engine setup on a machine with 6 physical nic's available
>> > which
>> > also functions as my NFS server.
>> > My node only has 2 physical nic's.
>> >
>> > What setup would you propose in my case.
>> >
>>
>> With only 2 nics, and no vlans it's really quite limited.
>>
>> It'll probably be easier just to have like eth0 share management and
>> storage and eth1 for vm data. Using vlans would be more ideal though..
>>
>> ovirt won't let you put multiple non-vlaned networks on the same NIC.
>>
>> > Kind regards.
>> >
>> >
>> > 2014-04-09 10:55 GMT+02:00 Andrew Lau :
>> >
>> >> On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
>> >>  wrote:
>> >> > Hello Andrew,
>> >> >
>> >> > Yes that would be a start.
>> >> >
>> >> > What are the ranges of the subnets used.
>> >> > I'm asking because in my setup I connect to the ovirt engine from my
>> >> > subnet
>> >> > 192.168.203.x and I also use that subnet to access my virtual
>> >> > machines.
>> >> > I suppose I can use completely different subnets for the ovirtmgmt
>> >> > and
>> >> > storage network ?
>> >> >
>> >>
>> >> You can make up whatever subnetting your network has available. You
>> >> need to use VLANs to separate the network like in that screenshot..
>> >> otherwise use separate interfaces with different subnets to isolate
>> >> your traffic.
>> >>
>> >> > Kind regards.
>> >> >
>> >> >
>> >> > 2014-04-09 10:38 GMT+02:00 Andrew Lau :
>> >> >
>> >> >> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
>> >> >>  wrote:
>> >> >> > Hello,
>> >> >> >
>> >> >> > Can anyone give me some screenshot of what a network setup can
>> >> >> > look
>> >> >> > like
>> >> >> > if
>> >> >> > I wanted to isolate storage and vm traffic from the management
>> >> >> > traffic.
>> >> >> >
>> >> >>
>> >> >> Something like attached?
>> >> >>
>> >> >>
>> >> >> > Kind regards.
>> >> >> >
>> >> >> > ___
>> >> >> > 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] Setting up networks in oVirt

2014-04-09 Thread Andy Michielsen
Hello Andrew,

Let's say I'm going to implement it like you suggest.

The first nic with 2 vlan's for management and storage. The second nic for
the vm's.

What would I go about defining this in ovirt ?

Can you give me an example for the vlan for the management and the storage ?
Do I need to assing a ip-adress to the nic for the vm's or is this
transparent ?

Kind regards.


2014-04-09 12:16 GMT+02:00 Andrew Lau :

> On Wed, Apr 9, 2014 at 7:05 PM, Andy Michielsen
>  wrote:
> > Hello,
> >
> > Okay. We do not use vlan's at the moment.
> >
> > I have my engine setup on a machine with 6 physical nic's available which
> > also functions as my NFS server.
> > My node only has 2 physical nic's.
> >
> > What setup would you propose in my case.
> >
>
> With only 2 nics, and no vlans it's really quite limited.
>
> It'll probably be easier just to have like eth0 share management and
> storage and eth1 for vm data. Using vlans would be more ideal though..
>
> ovirt won't let you put multiple non-vlaned networks on the same NIC.
>
> > Kind regards.
> >
> >
> > 2014-04-09 10:55 GMT+02:00 Andrew Lau :
> >
> >> On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
> >>  wrote:
> >> > Hello Andrew,
> >> >
> >> > Yes that would be a start.
> >> >
> >> > What are the ranges of the subnets used.
> >> > I'm asking because in my setup I connect to the ovirt engine from my
> >> > subnet
> >> > 192.168.203.x and I also use that subnet to access my virtual
> machines.
> >> > I suppose I can use completely different subnets for the ovirtmgmt and
> >> > storage network ?
> >> >
> >>
> >> You can make up whatever subnetting your network has available. You
> >> need to use VLANs to separate the network like in that screenshot..
> >> otherwise use separate interfaces with different subnets to isolate
> >> your traffic.
> >>
> >> > Kind regards.
> >> >
> >> >
> >> > 2014-04-09 10:38 GMT+02:00 Andrew Lau :
> >> >
> >> >> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
> >> >>  wrote:
> >> >> > Hello,
> >> >> >
> >> >> > Can anyone give me some screenshot of what a network setup can look
> >> >> > like
> >> >> > if
> >> >> > I wanted to isolate storage and vm traffic from the management
> >> >> > traffic.
> >> >> >
> >> >>
> >> >> Something like attached?
> >> >>
> >> >>
> >> >> > Kind regards.
> >> >> >
> >> >> > ___
> >> >> > 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] 3.5 UX features overview

2014-04-09 Thread Greg Sheremeta
For the PatternFly adoption, here are the "slides": 
http://tinyurl.com/ovirtpfly 

Greg 
- Original Message -

> The following is a new meeting request:

> Subject: 3.5 UX features overview
> Organizer: "Einav Cohen" 

> Location: BlueJeans / conf: 712 886 7405#
> Time: Wednesday, April 9, 2014, 8:00:00 AM - 9:00:00 AM GMT -05:00 US/Canada
> Eastern

> Invitees: users@ovirt.org; de...@ovirt.org; gsher...@redhat.com;
> vsz...@redhat.com

> *~*~*~*~*~*~*~*~*~*

> - PatternFly adoption (Greg)
> [www.ovirt.org/Features/NewLookAndFeelPatternFlyPhase1‎]

> - GUI over REST API (Vojtech)
> [http://www.ovirt.org/Features/Design/Using_REST_API_In_Web_UI]

> 

> BlueJeans (audio + screen-share, if necessary):
> https://bluejeans.com/7128867405

> Conference call (audio):
> https://www.intercallonline.com/listNumbersByCode.action?confCode=7128867405
> conf code: 712 886 7405#
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 2 virtual monitors for Fedora guest

2014-04-09 Thread Itamar Heim

On 04/09/2014 01:57 PM, René Koch wrote:

On 04/09/2014 11:24 AM, René Koch wrote:

Thanks a lot for testing.
Too bad that multiple monitors didn't work for you, too.

I'll test RHEL next - maybe this works better then Fedora...


I just tested CentOS 6.5 with Gnome desktop and 2 monitors aren't
working, too.
I can see 3 vdagent processes running in CentOS...


adding spice-devel






Regards,
René


On 04/08/2014 09:25 PM, Gianluca Cecchi wrote:

Some prelimianry tests at my side.

oVirt 3.4 on fedora 19 AIO.
Datacenter and cluster configured as 3.4 level
Some packages on it
libvirt-1.1.3.2-1.fc19.x86_64
qemu-kvm-1.6.1-2.fc19.x86_64
vdsm-4.14.6-0.fc19.x86_64
spice-server-0.12.4-3.fc19.x86_64

guest is an updated Fedora 19 system configured based on blank
template and OS=Linux
and
xorg-x11-drv-qxl-0.1.1-3.fc19.x86_64
spice-vdagent-0.14.0-5.fc19.x86_64

Client is an updated Fedora 20 box with virt-viewer-0.6.0-1.fc20.x86_64

If I select the "Single PCI" checkbox in console options of guest and
connect from the Fedora 20 client I don't see at all an option in
remote-viewer to open a second display and no new display detected in
guest.
And lspci on guest indeed gives only one video controller.

BTW: what is this option for, apart the meaning?

If I deselect the "Single PCI" checkbox I get the "Display 2" option
in remote-viewer but it is greyed out.
No new monitor in "detect displays" of guest.

In this last situation I have on host this qem-kvm command line:
qemu 16664 1 48 21:04 ?00:02:42
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name f19 -S -machine
pc-1.0,accel=kvm,usb=off -cpu Opteron_G3 -m 2048 -realtime mlock=off
-smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid
55d8b95b-f420-4208-a2fb-5f370d05f5d8 -smbios
type=1,manufacturer=oVirt,product=oVirt
Node,version=19-8,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=55d8b95b-f420-4208-a2fb-5f370d05f5d8


-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/f19.monitor,server,nowait


-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2014-04-08T19:04:45,driftfix=slew -no-shutdown -device
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device
usb-ccid,id=ccid0 -drive
if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/mnt/_data_DATA2/b24b94c7-5935-4940-9152-36ecd370ba7c/images/5e99a818-9fd1-47bb-99dc-50bd25374c2f/a2baa1e5-569f-4081-97a7-10ec2a20daab,if=none,id=drive-virtio-disk0,format=raw,serial=5e99a818-9fd1-47bb-99dc-50bd25374c2f,cache=none,werror=stop,rerror=stop,aio=threads


-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1


-netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:55,bus=pci.0,addr=0x3


-chardev spicevmc,id=charsmartcard0,name=smartcard -device
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.com.redhat.rhevm.vdsm,server,nowait


-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm


-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.org.qemu.guest_agent.0,server,nowait


-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0


-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0


-spice
tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on


-k en-us -device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x2

-device
qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x8
-device AC97,id=sound0,bus=pci.0,addr=0x4 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7

On guest:
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma]
(rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton
II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE
[Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB
[Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual
graphic card (rev 03)
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 Multimedia audio controller: Intel Corporation 82801AA AC'97
Audio Controller (rev 01)
00:05.0 Communication controller: Red Hat, Inc Virtio console
00:06.0 S

Re: [Users] Resizing bootable disk erase OS

2014-04-09 Thread Elad Ben Aharon
For extending the VM disk, as Dafna mentioned,  you should use the ovirt-engine 
webadmin (via 'edit' disk).
If you'd like to extend your OS disk, there is a nice guide for that. it's not 
an official guide AFAIK, but it works :) 
http://myshell.co.uk/index.php/how-to-extend-a-root-lvm-partition-online/

- Original Message -
From: "Dafna Ron" 
To: users@ovirt.org, "Allon Mureinik" , "Aharon Canan" 
, "Elad Ben Aharon" , "Gadi Ickowicz" 

Sent: Wednesday, April 9, 2014 1:29:12 PM
Subject: Re: [Users] Resizing bootable disk erase OS

the OS should not be erased if it's done from the webadmin.
Adding some people to this bug.

you are extending from the webadmin and not by manually sending lvresize 
right?

Thanks,
Dafna


On 04/09/2014 11:21 AM, Yusufi M R wrote:
>
> Hello Everyone,
>
> I have Ovirt 3.3 setup and have VMs created using template. If I 
> resize (extend) the disk size, the OS is erased. How can I extend the 
> size of disk without affecting the OS ?
>
> Regards,
>
> Yusuf
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


Re: [Users] 2 virtual monitors for Fedora guest

2014-04-09 Thread René Koch

On 04/09/2014 11:24 AM, René Koch wrote:

Thanks a lot for testing.
Too bad that multiple monitors didn't work for you, too.

I'll test RHEL next - maybe this works better then Fedora...


I just tested CentOS 6.5 with Gnome desktop and 2 monitors aren't 
working, too.

I can see 3 vdagent processes running in CentOS...




Regards,
René


On 04/08/2014 09:25 PM, Gianluca Cecchi wrote:

Some prelimianry tests at my side.

oVirt 3.4 on fedora 19 AIO.
Datacenter and cluster configured as 3.4 level
Some packages on it
libvirt-1.1.3.2-1.fc19.x86_64
qemu-kvm-1.6.1-2.fc19.x86_64
vdsm-4.14.6-0.fc19.x86_64
spice-server-0.12.4-3.fc19.x86_64

guest is an updated Fedora 19 system configured based on blank
template and OS=Linux
and
xorg-x11-drv-qxl-0.1.1-3.fc19.x86_64
spice-vdagent-0.14.0-5.fc19.x86_64

Client is an updated Fedora 20 box with virt-viewer-0.6.0-1.fc20.x86_64

If I select the "Single PCI" checkbox in console options of guest and
connect from the Fedora 20 client I don't see at all an option in
remote-viewer to open a second display and no new display detected in
guest.
And lspci on guest indeed gives only one video controller.

BTW: what is this option for, apart the meaning?

If I deselect the "Single PCI" checkbox I get the "Display 2" option
in remote-viewer but it is greyed out.
No new monitor in "detect displays" of guest.

In this last situation I have on host this qem-kvm command line:
qemu 16664 1 48 21:04 ?00:02:42
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name f19 -S -machine
pc-1.0,accel=kvm,usb=off -cpu Opteron_G3 -m 2048 -realtime mlock=off
-smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid
55d8b95b-f420-4208-a2fb-5f370d05f5d8 -smbios
type=1,manufacturer=oVirt,product=oVirt
Node,version=19-8,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=55d8b95b-f420-4208-a2fb-5f370d05f5d8

-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/f19.monitor,server,nowait

-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2014-04-08T19:04:45,driftfix=slew -no-shutdown -device
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device
usb-ccid,id=ccid0 -drive
if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/mnt/_data_DATA2/b24b94c7-5935-4940-9152-36ecd370ba7c/images/5e99a818-9fd1-47bb-99dc-50bd25374c2f/a2baa1e5-569f-4081-97a7-10ec2a20daab,if=none,id=drive-virtio-disk0,format=raw,serial=5e99a818-9fd1-47bb-99dc-50bd25374c2f,cache=none,werror=stop,rerror=stop,aio=threads

-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1

-netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:55,bus=pci.0,addr=0x3

-chardev spicevmc,id=charsmartcard0,name=smartcard -device
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.com.redhat.rhevm.vdsm,server,nowait

-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm

-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.org.qemu.guest_agent.0,server,nowait

-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0

-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0

-spice
tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on

-k en-us -device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x2
-device
qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x8
-device AC97,id=sound0,bus=pci.0,addr=0x4 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7

On guest:
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma]
(rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton
II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE
[Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB
[Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual
graphic card (rev 03)
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 Multimedia audio controller: Intel Corporation 82801AA AC'97
Audio Controller (rev 01)
00:05.0 Communication controller: Red Hat, Inc Virtio console
00:06.0 SCSI storage controller: Red Hat, Inc Virtio block device
00:07.0 RAM memory

Re: [Users] Importing Image from Glance times out

2014-04-09 Thread Andrew Lau
Yeah I imported it as a template, I'll try import it as an image now
just to verify.

On Wed, Apr 9, 2014 at 8:43 PM, Oved Ourfalli  wrote:
> Did you import it as template or just as an image.
> If as template then it can be nice to see if you're getting the same 
> NullPointerException that Elad gets (although it was fixed a few weeks ago, 
> so perhaps it is another issue).
>
> Thanks,
> Oved
>
> - Original Message -
>> From: "Andrew Lau" 
>> To: "Elad Ben Aharon" 
>> Cc: "Oved Ourfalli" , "users" 
>> Sent: Wednesday, April 9, 2014 1:37:34 PM
>> Subject: Re: [Users] Importing Image from Glance times out
>>
>> Do you still want the log files? Is there anything in specific you're
>> looking for, or should I just upload the whole files
>>
>> I also wonder, could you compare the md5? Out of the two attempts on
>> the centos image (not docker) the md5sum gave me
>> 62bc26a8a07be5adbef63b2eb1a18aeb
>>
>> If it's different to others, we could assume a failed transfer? I'm
>> assuming it's just the timeout of the import process as the smaller
>> CirrOS image worked fine.
>>
>> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon  wrote:
>> > Oved, I had the same thing:
>> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
>> >
>> > - Original Message -
>> > From: "Oved Ourfalli" 
>> > To: "Andrew Lau" 
>> > Cc: "users" 
>> > Sent: Wednesday, April 9, 2014 1:29:57 PM
>> > Subject: Re: [Users] Importing Image from Glance times out
>> >
>> > Do you see any failure in the log?
>> > Can you attach both the engine and the vdsm log?
>> > iirc the SPM (Federico?) should be the one importing the image, so if you
>> > look for a process with "curl" (ps -ef | grep -i curl) then you'll be able
>> > to see the import process (just to check whether it is running or not).
>> >
>> > Thank you,
>> > Oved
>> >
>> > - Original Message -
>> >> From: "Andrew Lau" 
>> >> To: "users" 
>> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
>> >> Subject: [Users] Importing Image from Glance times out
>> >>
>> >> Hi,
>> >>
>> >> Using the new 3.4 public glance repository, I was able to successfully
>> >> import the tiny 12mb CirrOS image and it appeared in my data store.
>> >>
>> >> However when trying the larger CentOS image, it took much longer. For
>> >> some reason I can only push 50Kbps from any of the ovirt
>> >> infrastructure so after many hours in the datastore I can see it's
>> >> finished downloading the full 1gb image but it'll remain locked in the
>> >> ovirt engine.
>> >>
>> >> Any thoughts on why this happens?
>> >>
>> >> Thanks,
>> >> Andrew
>> >> ___
>> >> 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] Importing Image from Glance times out

2014-04-09 Thread Oved Ourfalli
Did you import it as template or just as an image.
If as template then it can be nice to see if you're getting the same 
NullPointerException that Elad gets (although it was fixed a few weeks ago, so 
perhaps it is another issue).

Thanks,
Oved

- Original Message -
> From: "Andrew Lau" 
> To: "Elad Ben Aharon" 
> Cc: "Oved Ourfalli" , "users" 
> Sent: Wednesday, April 9, 2014 1:37:34 PM
> Subject: Re: [Users] Importing Image from Glance times out
> 
> Do you still want the log files? Is there anything in specific you're
> looking for, or should I just upload the whole files
> 
> I also wonder, could you compare the md5? Out of the two attempts on
> the centos image (not docker) the md5sum gave me
> 62bc26a8a07be5adbef63b2eb1a18aeb
> 
> If it's different to others, we could assume a failed transfer? I'm
> assuming it's just the timeout of the import process as the smaller
> CirrOS image worked fine.
> 
> On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon  wrote:
> > Oved, I had the same thing:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1085712
> >
> > - Original Message -
> > From: "Oved Ourfalli" 
> > To: "Andrew Lau" 
> > Cc: "users" 
> > Sent: Wednesday, April 9, 2014 1:29:57 PM
> > Subject: Re: [Users] Importing Image from Glance times out
> >
> > Do you see any failure in the log?
> > Can you attach both the engine and the vdsm log?
> > iirc the SPM (Federico?) should be the one importing the image, so if you
> > look for a process with "curl" (ps -ef | grep -i curl) then you'll be able
> > to see the import process (just to check whether it is running or not).
> >
> > Thank you,
> > Oved
> >
> > - Original Message -
> >> From: "Andrew Lau" 
> >> To: "users" 
> >> Sent: Wednesday, April 9, 2014 1:23:59 PM
> >> Subject: [Users] Importing Image from Glance times out
> >>
> >> Hi,
> >>
> >> Using the new 3.4 public glance repository, I was able to successfully
> >> import the tiny 12mb CirrOS image and it appeared in my data store.
> >>
> >> However when trying the larger CentOS image, it took much longer. For
> >> some reason I can only push 50Kbps from any of the ovirt
> >> infrastructure so after many hours in the datastore I can see it's
> >> finished downloading the full 1gb image but it'll remain locked in the
> >> ovirt engine.
> >>
> >> Any thoughts on why this happens?
> >>
> >> Thanks,
> >> Andrew
> >> ___
> >> 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] Importing Image from Glance times out

2014-04-09 Thread Andrew Lau
Do you still want the log files? Is there anything in specific you're
looking for, or should I just upload the whole files

I also wonder, could you compare the md5? Out of the two attempts on
the centos image (not docker) the md5sum gave me
62bc26a8a07be5adbef63b2eb1a18aeb

If it's different to others, we could assume a failed transfer? I'm
assuming it's just the timeout of the import process as the smaller
CirrOS image worked fine.

On Wed, Apr 9, 2014 at 8:32 PM, Elad Ben Aharon  wrote:
> Oved, I had the same thing:
> https://bugzilla.redhat.com/show_bug.cgi?id=1085712
>
> - Original Message -
> From: "Oved Ourfalli" 
> To: "Andrew Lau" 
> Cc: "users" 
> Sent: Wednesday, April 9, 2014 1:29:57 PM
> Subject: Re: [Users] Importing Image from Glance times out
>
> Do you see any failure in the log?
> Can you attach both the engine and the vdsm log?
> iirc the SPM (Federico?) should be the one importing the image, so if you 
> look for a process with "curl" (ps -ef | grep -i curl) then you'll be able to 
> see the import process (just to check whether it is running or not).
>
> Thank you,
> Oved
>
> - Original Message -
>> From: "Andrew Lau" 
>> To: "users" 
>> Sent: Wednesday, April 9, 2014 1:23:59 PM
>> Subject: [Users] Importing Image from Glance times out
>>
>> Hi,
>>
>> Using the new 3.4 public glance repository, I was able to successfully
>> import the tiny 12mb CirrOS image and it appeared in my data store.
>>
>> However when trying the larger CentOS image, it took much longer. For
>> some reason I can only push 50Kbps from any of the ovirt
>> infrastructure so after many hours in the datastore I can see it's
>> finished downloading the full 1gb image but it'll remain locked in the
>> ovirt engine.
>>
>> Any thoughts on why this happens?
>>
>> Thanks,
>> Andrew
>> ___
>> 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] Importing Image from Glance times out

2014-04-09 Thread Elad Ben Aharon
Oved, I had the same thing:
https://bugzilla.redhat.com/show_bug.cgi?id=1085712

- Original Message -
From: "Oved Ourfalli" 
To: "Andrew Lau" 
Cc: "users" 
Sent: Wednesday, April 9, 2014 1:29:57 PM
Subject: Re: [Users] Importing Image from Glance times out

Do you see any failure in the log?
Can you attach both the engine and the vdsm log?
iirc the SPM (Federico?) should be the one importing the image, so if you look 
for a process with "curl" (ps -ef | grep -i curl) then you'll be able to see 
the import process (just to check whether it is running or not).

Thank you,
Oved

- Original Message -
> From: "Andrew Lau" 
> To: "users" 
> Sent: Wednesday, April 9, 2014 1:23:59 PM
> Subject: [Users] Importing Image from Glance times out
> 
> Hi,
> 
> Using the new 3.4 public glance repository, I was able to successfully
> import the tiny 12mb CirrOS image and it appeared in my data store.
> 
> However when trying the larger CentOS image, it took much longer. For
> some reason I can only push 50Kbps from any of the ovirt
> infrastructure so after many hours in the datastore I can see it's
> finished downloading the full 1gb image but it'll remain locked in the
> ovirt engine.
> 
> Any thoughts on why this happens?
> 
> Thanks,
> Andrew
> ___
> 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] Importing Image from Glance times out

2014-04-09 Thread Oved Ourfalli
Do you see any failure in the log?
Can you attach both the engine and the vdsm log?
iirc the SPM (Federico?) should be the one importing the image, so if you look 
for a process with "curl" (ps -ef | grep -i curl) then you'll be able to see 
the import process (just to check whether it is running or not).

Thank you,
Oved

- Original Message -
> From: "Andrew Lau" 
> To: "users" 
> Sent: Wednesday, April 9, 2014 1:23:59 PM
> Subject: [Users] Importing Image from Glance times out
> 
> Hi,
> 
> Using the new 3.4 public glance repository, I was able to successfully
> import the tiny 12mb CirrOS image and it appeared in my data store.
> 
> However when trying the larger CentOS image, it took much longer. For
> some reason I can only push 50Kbps from any of the ovirt
> infrastructure so after many hours in the datastore I can see it's
> finished downloading the full 1gb image but it'll remain locked in the
> ovirt engine.
> 
> Any thoughts on why this happens?
> 
> Thanks,
> Andrew
> ___
> 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] Resizing bootable disk erase OS

2014-04-09 Thread Dafna Ron

the OS should not be erased if it's done from the webadmin.
Adding some people to this bug.

you are extending from the webadmin and not by manually sending lvresize 
right?


Thanks,
Dafna


On 04/09/2014 11:21 AM, Yusufi M R wrote:


Hello Everyone,

I have Ovirt 3.3 setup and have VMs created using template. If I 
resize (extend) the disk size, the OS is erased. How can I extend the 
size of disk without affecting the OS ?


Regards,

Yusuf



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



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


[Users] Importing Image from Glance times out

2014-04-09 Thread Andrew Lau
Hi,

Using the new 3.4 public glance repository, I was able to successfully
import the tiny 12mb CirrOS image and it appeared in my data store.

However when trying the larger CentOS image, it took much longer. For
some reason I can only push 50Kbps from any of the ovirt
infrastructure so after many hours in the datastore I can see it's
finished downloading the full 1gb image but it'll remain locked in the
ovirt engine.

Any thoughts on why this happens?

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


[Users] Resizing bootable disk erase OS

2014-04-09 Thread Yusufi M R
Hello Everyone,

I have Ovirt 3.3 setup and have VMs created using template. If I resize 
(extend) the disk size, the OS is erased. How can I extend the size of disk 
without affecting the OS ?

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


Re: [Users] Setting up networks in oVirt

2014-04-09 Thread Andrew Lau
On Wed, Apr 9, 2014 at 7:05 PM, Andy Michielsen
 wrote:
> Hello,
>
> Okay. We do not use vlan's at the moment.
>
> I have my engine setup on a machine with 6 physical nic's available which
> also functions as my NFS server.
> My node only has 2 physical nic's.
>
> What setup would you propose in my case.
>

With only 2 nics, and no vlans it's really quite limited.

It'll probably be easier just to have like eth0 share management and
storage and eth1 for vm data. Using vlans would be more ideal though..

ovirt won't let you put multiple non-vlaned networks on the same NIC.

> Kind regards.
>
>
> 2014-04-09 10:55 GMT+02:00 Andrew Lau :
>
>> On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
>>  wrote:
>> > Hello Andrew,
>> >
>> > Yes that would be a start.
>> >
>> > What are the ranges of the subnets used.
>> > I'm asking because in my setup I connect to the ovirt engine from my
>> > subnet
>> > 192.168.203.x and I also use that subnet to access my virtual machines.
>> > I suppose I can use completely different subnets for the ovirtmgmt and
>> > storage network ?
>> >
>>
>> You can make up whatever subnetting your network has available. You
>> need to use VLANs to separate the network like in that screenshot..
>> otherwise use separate interfaces with different subnets to isolate
>> your traffic.
>>
>> > Kind regards.
>> >
>> >
>> > 2014-04-09 10:38 GMT+02:00 Andrew Lau :
>> >
>> >> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
>> >>  wrote:
>> >> > Hello,
>> >> >
>> >> > Can anyone give me some screenshot of what a network setup can look
>> >> > like
>> >> > if
>> >> > I wanted to isolate storage and vm traffic from the management
>> >> > traffic.
>> >> >
>> >>
>> >> Something like attached?
>> >>
>> >>
>> >> > Kind regards.
>> >> >
>> >> > ___
>> >> > 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] Failure to connect to engine with Nagios

2014-04-09 Thread Dotan Paz



Dotan Paz , Engineering Operations 
Red Hat Israel, LTD 

- Original Message -
> 
> On 04/09/2014 09:55 AM, Dotan Paz wrote:
> >
> >
> >
> > Dotan Paz , Engineering Operations
> > Red Hat Israel, LTD
> >
> > - Original Message -
> >> On 04/07/2014 07:49 PM, René Koch wrote:
> >>> Hi Juan,
> >>>
> >>> On 04/07/2014 07:27 PM, Juan Hernandez wrote:
>  Hello,
> 
>  We are having some trouble with the Nagios plugin for oVirt. From time
>  to time it stops working and it isn't able to connect to the engine. The
>  error that we get apparently indicates a failure to read the file where
>  the session cookie is stored:
> 
>  RHEV CRITICAL: Can't connect to RHEVM-API.
>  Unsuccessful stat on filename containing newline at
>  /usr/lib/nagios/plugins/check_rhev3 line 1411.
> 
>  Any suggestion on how to diagnose/solve this issue?
> 
> >>>
> >>> Can you tell me which version of check_rhev3 you're using?
> > Hi Rene,
> >
> >Name:check_rhev3
> >Version: 1.2.1
> >Created: 2012-08-13
> 
> Hi Daton,
> 
> Can you please try check_rhev3 1.3?
> https://github.com/ovido/check_rhev3/releases
Sure , I'll keep you posted .
> 
> 
> Thanks,
> René
> 
> >
> >
> >>>
> >>>Regards,
> >>
> >> Dotan, can you answer this question?
> >>
> >> --
> >> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> >> 3ºD, 28016 Madrid, Spain
> >> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-guest-agent on debian?

2014-04-09 Thread Doron Fediuck


- Original Message -
> From: "René Koch" 
> To: "Doron Fediuck" 
> Cc: "Boudewijn Ector" , users@ovirt.org, "Brian 
> Proffitt" 
> Sent: Wednesday, April 9, 2014 12:30:52 PM
> Subject: Re: [Users] ovirt-guest-agent on debian?
> 
> On 04/08/2014 06:06 PM, Doron Fediuck wrote:
> >
> >
> > - Original Message -
> >> From: "René Koch" 
> >> To: "Boudewijn Ector" , users@ovirt.org
> >> Sent: Monday, April 7, 2014 10:27:26 AM
> >> Subject: Re: [Users] ovirt-guest-agent on debian?
> >>
> >> On 04/07/2014 12:01 AM, Boudewijn Ector wrote:
> >>> On 01-04-14 09:48, René Koch wrote:
>  On 04/01/2014 09:18 AM, Sven Kieske wrote:
> > Hi,
> >
> > well I can use the guest agent for ubuntu 12.04 (precise)
> > really well on a debian 7 64 bit.
> 
>  I can confirm this - precise package works fine on Debian.
> 
> >>> Hi Rene,Sven, ea,
> >>>
> >>>
> >>> How did you get it to actually work? I got the deb from
> >>> (http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu/pool/main/o/ovirt-guest-agent/ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb)
> >>> , since I'm not willing to add ubuntu sources to my apt-configuration
> >>> since that might make me run into dependency troubles later on.
> >>
> >> This one works fine with Debian:
> >>
> >> https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu/+files/ovirt-guest-agent_1.0.8.201309301944.gitb7f8f2-1ppa1_all.deb
> >>
> >> The version you try to use is for Ubuntu 13.10.
> >>
> >>
> >> Regards,
> >> René
> >>
> >>
> >>>
> >>> After downloading and dpkg -i'ing it, I ran an apt-get -f install in
> >>> order to get the dependencies. Then I reran dpkg:
> >>>
> >>>
> >>> root@host:~# dpkg -i
> >>> ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb
> >>> (Reading database ... 42961 files and directories currently installed.)
> >>> Preparing to unpack
> >>> ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb ...
> >>> invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
> >>> dpkg: warning: subprocess old pre-removal script returned error exit
> >>> status 100
> >>> dpkg: trying script from the new package instead ...
> >>> invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
> >>> dpkg: error processing archive
> >>> ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb (--install):
> >>>subprocess new pre-removal script returned error exit status 100
> >>> invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
> >>> dpkg: error while cleaning up:
> >>>subprocess installed post-installation script returned error exit
> >>> status 100
> >>> Errors were encountered while processing:
> >>>ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb
> >>>
> >>> There's a configfile regarding initscripts in /etc/init,  but no such
> >>> thing on the sste, (I just had a look at the contents of the ubuntu
> >>> package too).
> >>> How did you resolve this? Creating my own initscript isn't that hard but
> >>> it sucks when it comes to having a maintainable setup...
> >>>
> >>>
> >>> Cheers,
> >>>
> >>> Boudewijn
> >>> ___
> >>> 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
> >>
> >
> > René,
> > do you have a list of distro's / agent you work with?
> 
> I have the following guests:
> RHEL 6- guest agent from EPEL
> CentOS 6  - guest agent from EPEL
> RHEL 5- guest agent from RHEL repositories
> Fedora 20 - guest agent from Fedora repository
> Solaris 10- no guest agent
> Solaris 11- no guest agent
> Ubuntu 12.04  - guest agent from launchpad
> Debian 7  - guest agent from launchpad (Ubuntu Precise)
> 
> I don't have openSUSE running on my new setup anymore, but guest agent
> from build.opensuse.org did work fine. SLES 11 didn't work.
> 
> 
> Regards,
> René
> 
> >
> > We may want to update the wiki with the list you have.
> >
> > Thanks,
> > Doron
> >
> 

Thanks.
I'll make sure it's documented.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failure to connect to engine with Nagios

2014-04-09 Thread René Koch


On 04/09/2014 09:55 AM, Dotan Paz wrote:




Dotan Paz , Engineering Operations
Red Hat Israel, LTD

- Original Message -

On 04/07/2014 07:49 PM, René Koch wrote:

Hi Juan,

On 04/07/2014 07:27 PM, Juan Hernandez wrote:

Hello,

We are having some trouble with the Nagios plugin for oVirt. From time
to time it stops working and it isn't able to connect to the engine. The
error that we get apparently indicates a failure to read the file where
the session cookie is stored:

RHEV CRITICAL: Can't connect to RHEVM-API.
Unsuccessful stat on filename containing newline at
/usr/lib/nagios/plugins/check_rhev3 line 1411.

Any suggestion on how to diagnose/solve this issue?



Can you tell me which version of check_rhev3 you're using?

Hi Rene,

   Name:check_rhev3
   Version: 1.2.1
   Created: 2012-08-13


Hi Daton,

Can you please try check_rhev3 1.3?
https://github.com/ovido/check_rhev3/releases


Thanks,
René






   Regards,


Dotan, can you answer this question?

--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


Re: [Users] ovirt-guest-agent on debian?

2014-04-09 Thread René Koch

On 04/08/2014 06:06 PM, Doron Fediuck wrote:



- Original Message -

From: "René Koch" 
To: "Boudewijn Ector" , users@ovirt.org
Sent: Monday, April 7, 2014 10:27:26 AM
Subject: Re: [Users] ovirt-guest-agent on debian?

On 04/07/2014 12:01 AM, Boudewijn Ector wrote:

On 01-04-14 09:48, René Koch wrote:

On 04/01/2014 09:18 AM, Sven Kieske wrote:

Hi,

well I can use the guest agent for ubuntu 12.04 (precise)
really well on a debian 7 64 bit.


I can confirm this - precise package works fine on Debian.


Hi Rene,Sven, ea,


How did you get it to actually work? I got the deb from
(http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu/pool/main/o/ovirt-guest-agent/ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb)
, since I'm not willing to add ubuntu sources to my apt-configuration
since that might make me run into dependency troubles later on.


This one works fine with Debian:

https://launchpad.net/~zhshzhou/+archive/vdsm-ubuntu/+files/ovirt-guest-agent_1.0.8.201309301944.gitb7f8f2-1ppa1_all.deb

The version you try to use is for Ubuntu 13.10.


Regards,
René




After downloading and dpkg -i'ing it, I ran an apt-get -f install in
order to get the dependencies. Then I reran dpkg:


root@host:~# dpkg -i
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb
(Reading database ... 42961 files and directories currently installed.)
Preparing to unpack
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: warning: subprocess old pre-removal script returned error exit
status 100
dpkg: trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error processing archive
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb (--install):
   subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit
status 100
Errors were encountered while processing:
   ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb

There's a configfile regarding initscripts in /etc/init,  but no such
thing on the sste, (I just had a look at the contents of the ubuntu
package too).
How did you resolve this? Creating my own initscript isn't that hard but
it sucks when it comes to having a maintainable setup...


Cheers,

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



René,
do you have a list of distro's / agent you work with?


I have the following guests:
RHEL 6  - guest agent from EPEL
CentOS 6- guest agent from EPEL
RHEL 5  - guest agent from RHEL repositories
Fedora 20   - guest agent from Fedora repository
Solaris 10  - no guest agent
Solaris 11  - no guest agent
Ubuntu 12.04- guest agent from launchpad
Debian 7- guest agent from launchpad (Ubuntu Precise)

I don't have openSUSE running on my new setup anymore, but guest agent 
from build.opensuse.org did work fine. SLES 11 didn't work.



Regards,
René



We may want to update the wiki with the list you have.

Thanks,
Doron


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


Re: [Users] 2 virtual monitors for Fedora guest

2014-04-09 Thread René Koch

Thanks a lot for testing.
Too bad that multiple monitors didn't work for you, too.

I'll test RHEL next - maybe this works better then Fedora...


Regards,
René


On 04/08/2014 09:25 PM, Gianluca Cecchi wrote:

Some prelimianry tests at my side.

oVirt 3.4 on fedora 19 AIO.
Datacenter and cluster configured as 3.4 level
Some packages on it
libvirt-1.1.3.2-1.fc19.x86_64
qemu-kvm-1.6.1-2.fc19.x86_64
vdsm-4.14.6-0.fc19.x86_64
spice-server-0.12.4-3.fc19.x86_64

guest is an updated Fedora 19 system configured based on blank
template and OS=Linux
and
xorg-x11-drv-qxl-0.1.1-3.fc19.x86_64
spice-vdagent-0.14.0-5.fc19.x86_64

Client is an updated Fedora 20 box with virt-viewer-0.6.0-1.fc20.x86_64

If I select the "Single PCI" checkbox in console options of guest and
connect from the Fedora 20 client I don't see at all an option in
remote-viewer to open a second display and no new display detected in
guest.
And lspci on guest indeed gives only one video controller.

BTW: what is this option for, apart the meaning?

If I deselect the "Single PCI" checkbox I get the "Display 2" option
in remote-viewer but it is greyed out.
No new monitor in "detect displays" of guest.

In this last situation I have on host this qem-kvm command line:
qemu 16664 1 48 21:04 ?00:02:42
/usr/bin/qemu-system-x86_64 -machine accel=kvm -name f19 -S -machine
pc-1.0,accel=kvm,usb=off -cpu Opteron_G3 -m 2048 -realtime mlock=off
-smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid
55d8b95b-f420-4208-a2fb-5f370d05f5d8 -smbios
type=1,manufacturer=oVirt,product=oVirt
Node,version=19-8,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=55d8b95b-f420-4208-a2fb-5f370d05f5d8
-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/f19.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2014-04-08T19:04:45,driftfix=slew -no-shutdown -device
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device
usb-ccid,id=ccid0 -drive
if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/mnt/_data_DATA2/b24b94c7-5935-4940-9152-36ecd370ba7c/images/5e99a818-9fd1-47bb-99dc-50bd25374c2f/a2baa1e5-569f-4081-97a7-10ec2a20daab,if=none,id=drive-virtio-disk0,format=raw,serial=5e99a818-9fd1-47bb-99dc-50bd25374c2f,cache=none,werror=stop,rerror=stop,aio=threads
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:55,bus=pci.0,addr=0x3
-chardev spicevmc,id=charsmartcard0,name=smartcard -device
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0
-chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.com.redhat.rhevm.vdsm,server,nowait
-device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev 
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/55d8b95b-f420-4208-a2fb-5f370d05f5d8.org.qemu.guest_agent.0,server,nowait
-device 
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice 
tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
-k en-us -device
qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x2
-device qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x8
-device AC97,id=sound0,bus=pci.0,addr=0x4 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7

On guest:
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB
[Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual
graphic card (rev 03)
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 Multimedia audio controller: Intel Corporation 82801AA AC'97
Audio Controller (rev 01)
00:05.0 Communication controller: Red Hat, Inc Virtio console
00:06.0 SCSI storage controller: Red Hat, Inc Virtio block device
00:07.0 RAM memory: Red Hat, Inc Virtio memory balloon
00:08.0 Display controller: Red Hat, Inc. QXL paravirtual graphic card (rev 03)

See here Xorg.0.log generated on guest:
https://drive.google.com/f

Re: [Users] how do you connect to a host's serial console

2014-04-09 Thread Itamar Heim

On 04/09/2014 09:47 AM, Michal Skrivanek wrote:


On Apr 8, 2014, at 15:46 , Jeremiah Jahn  wrote:


That's a nice theory you've got there... :) I'd think a little script
management would go a long way until you have _every_ possible use
case in the system. :)


it's not about every possible use case, it's about keeping the code working. 
Letting hooks go wild and unmaintained is not a good idea…
There were discussions on mailing list about having a nice interface in UI for 
hooks  but as far as I remember it was always turned down
Though I personally would welcome at least a monitoring of deployed hooks 
somewhere in the UI…


the ui does show which hooks are deployed on each host?

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


Re: [Users] Setting up networks in oVirt

2014-04-09 Thread Andy Michielsen
Hello,

Okay. We do not use vlan's at the moment.

I have my engine setup on a machine with 6 physical nic's available which
also functions as my NFS server.
My node only has 2 physical nic's.

What setup would you propose in my case.

Kind regards.


2014-04-09 10:55 GMT+02:00 Andrew Lau :

> On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
>  wrote:
> > Hello Andrew,
> >
> > Yes that would be a start.
> >
> > What are the ranges of the subnets used.
> > I'm asking because in my setup I connect to the ovirt engine from my
> subnet
> > 192.168.203.x and I also use that subnet to access my virtual machines.
> > I suppose I can use completely different subnets for the ovirtmgmt and
> > storage network ?
> >
>
> You can make up whatever subnetting your network has available. You
> need to use VLANs to separate the network like in that screenshot..
> otherwise use separate interfaces with different subnets to isolate
> your traffic.
>
> > Kind regards.
> >
> >
> > 2014-04-09 10:38 GMT+02:00 Andrew Lau :
> >
> >> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
> >>  wrote:
> >> > Hello,
> >> >
> >> > Can anyone give me some screenshot of what a network setup can look
> like
> >> > if
> >> > I wanted to isolate storage and vm traffic from the management
> traffic.
> >> >
> >>
> >> Something like attached?
> >>
> >>
> >> > Kind regards.
> >> >
> >> > ___
> >> > 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] Setting up networks in oVirt

2014-04-09 Thread Andrew Lau
On Wed, Apr 9, 2014 at 6:52 PM, Andy Michielsen
 wrote:
> Hello Andrew,
>
> Yes that would be a start.
>
> What are the ranges of the subnets used.
> I'm asking because in my setup I connect to the ovirt engine from my subnet
> 192.168.203.x and I also use that subnet to access my virtual machines.
> I suppose I can use completely different subnets for the ovirtmgmt and
> storage network ?
>

You can make up whatever subnetting your network has available. You
need to use VLANs to separate the network like in that screenshot..
otherwise use separate interfaces with different subnets to isolate
your traffic.

> Kind regards.
>
>
> 2014-04-09 10:38 GMT+02:00 Andrew Lau :
>
>> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
>>  wrote:
>> > Hello,
>> >
>> > Can anyone give me some screenshot of what a network setup can look like
>> > if
>> > I wanted to isolate storage and vm traffic from the management traffic.
>> >
>>
>> Something like attached?
>>
>>
>> > Kind regards.
>> >
>> > ___
>> > 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] Setting up networks in oVirt

2014-04-09 Thread Andy Michielsen
Hello Andrew,

Yes that would be a start.

What are the ranges of the subnets used.
I'm asking because in my setup I connect to the ovirt engine from my subnet
192.168.203.x and I also use that subnet to access my virtual machines.
I suppose I can use completely different subnets for the ovirtmgmt and
storage network ?

Kind regards.


2014-04-09 10:38 GMT+02:00 Andrew Lau :

> On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
>  wrote:
> > Hello,
> >
> > Can anyone give me some screenshot of what a network setup can look like
> if
> > I wanted to isolate storage and vm traffic from the management traffic.
> >
>
> Something like attached?
>
>
> > Kind regards.
> >
> > ___
> > 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] Setting up networks in oVirt

2014-04-09 Thread Andrew Lau
On Wed, Apr 9, 2014 at 6:35 PM, Andy Michielsen
 wrote:
> Hello,
>
> Can anyone give me some screenshot of what a network setup can look like if
> I wanted to isolate storage and vm traffic from the management traffic.
>

Something like attached?


> Kind regards.
>
> ___
> 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] Setting up networks in oVirt

2014-04-09 Thread Andy Michielsen
Hello,

Can anyone give me some screenshot of what a network setup can look like if
I wanted to isolate storage and vm traffic from the management traffic.

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


Re: [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Andrew Lau
Hi,

On Apr 9, 2014 5:43 PM, "Martin Sivak"  wrote:
>
> Hi,
>
> > I noticed this happens too, I think the issue is after N attempts the
> > ovirt-ha-agent process will kill itself if it believes it can't access
> > the storage or it fails in some other way.
>
> If the agent can't access storage or VDSM it waits for 60 seconds and
tries again. After three (iirc) failed attempts it shuts down.

Is there any reason it shuts down? Could it not be possible to just have it
sleep for x minutes? Have that sleep time exponentially scale after each
fail.
>
> > The ovirt-ha-broker service
> > however still remains and continues to calculate the score.
>
> The broker acts only as a data link, the score is computed by the agent.
The broker is used to propagate it to storage (and to collect data).

Thanks for clarifying, I remember seeing some reference to score in the
broker log. Assumed incorrectly.
>
> > It'll be
> > nice I guess if it could pro-actively restart the ha-agent every now
> > and then.
>
> We actually have a bug that is related to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1030441
>
> Greg, are you still working on it?
>
> > > What is the supposed procedure after a shutdown (graceful /
ungraceful)
> > > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> > > the running VM's be restarted automatically?
>
> If the agent-broker pair recovers and sanlock is not preventing taking
the lock (which was not released properly) then the engine VM should be
started automatically.
>
> > If all the nodes come up at the same time, in my testing, it took 10
> > minutes for the ha-agents to settle and then finally decide which host
> > to bring up the engine.
>
> We set a 10 minute mandatory down time for a host when a VM start is not
successful. That might be because the sanlock still things somebody is
running the VM. The /var/log/ovirt-hosted-engine-ha/agent.log would help
here.
>
> Regards
> --
> Martin Sivák
> msi...@redhat.com
> Red Hat Czech
> RHEV-M SLA / Brno, CZ
>
> - Original Message -
> > On Wed, Apr 9, 2014 at 2:09 AM, Daniel Helgenberger
> >  wrote:
> > > Hello,
> > >
> > > I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
> > > production use.
> > >
> > > I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
> > > the engine was running. After powering up, the system did not recover
> > > itself (it seemed).
> > > I had to restart the ovirt-hosted-ha service (witch was in a locked
> > > state) and then manually run 'hosted-engine --vm-start'.
> >
> > I noticed this happens too, I think the issue is after N attempts the
> > ovirt-ha-agent process will kill itself if it believes it can't access
> > the storage or it fails in some other way. The ovirt-ha-broker service
> > however still remains and continues to calculate the score. It'll be
> > nice I guess if it could pro-actively restart the ha-agent every now
> > and then.
> >
> > >
> > > What is the supposed procedure after a shutdown (graceful /
ungraceful)
> > > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> > > the running VM's be restarted automatically?
> >
> > I don't think any other VMs get restarted automatically, this is
> > because the engine is used to ensure that the VM hasn't been restarted
> > on another host. This is where power management etc comes into play.
> >
> > If all the nodes come up at the same time, in my testing, it took 10
> > minutes for the ha-agents to settle and then finally decide which host
> > to bring up the engine. Then technically... (untested) any VMs which
> > you've marked as HA should be automatically brought back up by the
> > engine. This would be 15-20 minutes to recover which feels a little
> > slow.. although fairly automatic.
> >
> > >
> > > Thanks,
> > > Daniel
> > >
> > >
> > >
> > >
> > >
> > >
> > > ___
> > > 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] Failure to connect to engine with Nagios

2014-04-09 Thread Dotan Paz



Dotan Paz , Engineering Operations 
Red Hat Israel, LTD 

- Original Message -
> On 04/07/2014 07:49 PM, René Koch wrote:
> > Hi Juan,
> > 
> > On 04/07/2014 07:27 PM, Juan Hernandez wrote:
> >> Hello,
> >>
> >> We are having some trouble with the Nagios plugin for oVirt. From time
> >> to time it stops working and it isn't able to connect to the engine. The
> >> error that we get apparently indicates a failure to read the file where
> >> the session cookie is stored:
> >>
> >> RHEV CRITICAL: Can't connect to RHEVM-API.
> >> Unsuccessful stat on filename containing newline at
> >> /usr/lib/nagios/plugins/check_rhev3 line 1411.
> >>
> >> Any suggestion on how to diagnose/solve this issue?
> >>
> > 
> > Can you tell me which version of check_rhev3 you're using?
Hi Rene, 

  Name:check_rhev3   
  Version: 1.2.1 
  Created: 2012-08-13


> > 
> >   Regards,
> 
> Dotan, can you answer this question?
> 
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Martin Sivak
Hi,

> I noticed this happens too, I think the issue is after N attempts the
> ovirt-ha-agent process will kill itself if it believes it can't access
> the storage or it fails in some other way.

If the agent can't access storage or VDSM it waits for 60 seconds and tries 
again. After three (iirc) failed attempts it shuts down.

> The ovirt-ha-broker service
> however still remains and continues to calculate the score.

The broker acts only as a data link, the score is computed by the agent. The 
broker is used to propagate it to storage (and to collect data).

> It'll be
> nice I guess if it could pro-actively restart the ha-agent every now
> and then.

We actually have a bug that is related to this: 
https://bugzilla.redhat.com/show_bug.cgi?id=1030441

Greg, are you still working on it?

> > What is the supposed procedure after a shutdown (graceful / ungraceful)
> > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> > the running VM's be restarted automatically?

If the agent-broker pair recovers and sanlock is not preventing taking the lock 
(which was not released properly) then the engine VM should be started 
automatically.

> If all the nodes come up at the same time, in my testing, it took 10
> minutes for the ha-agents to settle and then finally decide which host
> to bring up the engine.

We set a 10 minute mandatory down time for a host when a VM start is not 
successful. That might be because the sanlock still things somebody is running 
the VM. The /var/log/ovirt-hosted-engine-ha/agent.log would help here.

Regards
--
Martin Sivák
msi...@redhat.com
Red Hat Czech
RHEV-M SLA / Brno, CZ

- Original Message -
> On Wed, Apr 9, 2014 at 2:09 AM, Daniel Helgenberger
>  wrote:
> > Hello,
> >
> > I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
> > production use.
> >
> > I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
> > the engine was running. After powering up, the system did not recover
> > itself (it seemed).
> > I had to restart the ovirt-hosted-ha service (witch was in a locked
> > state) and then manually run 'hosted-engine --vm-start'.
> 
> I noticed this happens too, I think the issue is after N attempts the
> ovirt-ha-agent process will kill itself if it believes it can't access
> the storage or it fails in some other way. The ovirt-ha-broker service
> however still remains and continues to calculate the score. It'll be
> nice I guess if it could pro-actively restart the ha-agent every now
> and then.
> 
> >
> > What is the supposed procedure after a shutdown (graceful / ungraceful)
> > of Hosted-Engine HA nodes? Should the engine recover by itself? Should
> > the running VM's be restarted automatically?
> 
> I don't think any other VMs get restarted automatically, this is
> because the engine is used to ensure that the VM hasn't been restarted
> on another host. This is where power management etc comes into play.
> 
> If all the nodes come up at the same time, in my testing, it took 10
> minutes for the ha-agents to settle and then finally decide which host
> to bring up the engine. Then technically... (untested) any VMs which
> you've marked as HA should be automatically brought back up by the
> engine. This would be 15-20 minutes to recover which feels a little
> slow.. although fairly automatic.
> 
> >
> > Thanks,
> > Daniel
> >
> >
> >
> >
> >
> >
> > ___
> > 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] HA

2014-04-09 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> To: users@ovirt.org
> Sent: Tuesday, April 8, 2014 3:41:02 PM
> Subject: Re: [Users] HA
> 
> Or with other words, the SPM and the VM should move almost immediate after
> the storage connections on the hypervisor are gone. I know, I'm asking to
> much maybe, but we would be very happy :-) :-).
> 
> So sketch:
> 
> Mercury1 SPM
> Mercury 2
> 
> Mercury1 loses both fibre connections --> goes in non-operational and the VM
> goes in paused state and stays this way, until I manually reboot the host so
> it fences.
> 
> What I would like is that when mercury 1 loses both fibre connections. He
> fences immediate so the VM's are moved also almost instantly... If this is
> possible... :-)
> 
> Kind regards and thanks for all the help!
> 

Michal, is there a vdsm hook for vm moved to pause?
if so, you could send KILL to it, and engine will identify vm was killed+HA,
so it will be restarted, and no need to reboot the host, it will stay in 
non-operational until storage is fixed.

> 
> 
> 2014-04-08 14:26 GMT+02:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> 
> 
> 
> Ok,
> Thanx already for all the help. I adapted some things for quicker respons:
> engine-config --get FenceQuietTimeBetweenOperationsInSec-->180
> engine-config --set FenceQuietTimeBetweenOperationsInSec=60
> 
> engine-config --get StorageDomainFalureTimeoutInMinutes-->180
> engine-config --set StorageDomainFalureTimeoutInMinutes=1
> 
> engine-config --get SpmCommandFailOverRetries-->5
> engine-config --set SpmCommandFailOverRetries
> 
> engine-config --get SPMFailOverAttempts-->3
> engine-config --set SPMFailOverAttempts=1
> 
> engine-config --get NumberOfFailedRunsOnVds-->3
> engine-config --set NumberOfFailedRunsOnVds=1
> 
> engine-config --get vdsTimeout-->180
> engine-config --set vdsTimeout=30
> 
> engine-config --get VDSAttemptsToResetCount-->2
> engine-config --set VDSAttemptsToResetCount=1
> 
> engine-config --get TimeoutToResetVdsInSeconds-->60
> engine-config --set TimeoutToResetVdsInSeconds=30
> 
> Now the result of this is that when the VM is not running on the SPM that it
> will migrate before going in pause mode.
> But when we tried it, when the vm is running on the SPM, it get's in paused
> mode (for safety reasons, I know ;-) ). And stays there until the host gets
> MANUALLY fenced by rebooting it. So now my question is... How can I make the
> hypervisor fence (so reboots, so vm is moved) quicker?
> 
> Kind regards,
> 
> Koen
> 
> 
> 2014-04-04 16:28 GMT+02:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> 
> 
> 
> 
> 
> Ja das waar. Maar was aan't rijden... Dus ik stuur maar door dan :-). Ik heb
> reeds de time out aangepast. Die stond op 5 min voor hij den time out ging
> geven. Staat nu op 2 min
> On Apr 4, 2014 4:14 PM, "David Van Zeebroeck" <
> david.van.zeebro...@brusselsairport.be > wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> Ik heb ze ook he
> 
> 
> 
> Maar normaal had de fencing moeten werken als ik het zo lees
> 
> Dus daar is ergens iets verkeerd gelopen zo te lezen
> 
> 
> 
> From: Koen Vanoppen [mailto: vanoppen.k...@gmail.com ]
> Sent: vrijdag 4 april 2014 16:07
> To: David Van Zeebroeck
> Subject: Fwd: Re: [Users] HA
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> David Van Zeebroeck
> 
> Product Manager Unix Infrastructure
> 
> Information & Communication Technology
> 
> Brussels Airport Company
> 
> T +32 (0)2 753 66 24
> 
> M +32 (0)497 02 17 31
> 
> david.van.zeebro...@brusselsairport.be
> 
> 
> 
> www.brusselsairport.be
> 
> 
> 
> 
> 
> 
> 
> FOLLOW US ON:
> 
> 
> 
> 
> 
> 
> 
> Company Info
> 
> 
> 
> 
> 
> 
> -- Forwarded message --
> From: "Michal Skrivanek" < michal.skriva...@redhat.com >
> Date: Apr 4, 2014 3:39 PM
> Subject: Re: [Users] HA
> To: "Koen Vanoppen" < vanoppen.k...@gmail.com >
> Cc: "ovirt-users Users" < users@ovirt.org >
> 
> 
> 
> 
> 
> 
> On 4 Apr 2014, at 15:14, Sander Grendelman wrote:
> 
> 
> 
> 
> 
> 
> Do you have power management configured?
> 
> 
> Was the "failed" host fenced/rebooted?
> 
> 
> 
> 
> 
> On Fri, Apr 4, 2014 at 2:21 PM, Koen Vanoppen < vanoppen.k...@gmail.com >
> wrote:
> 
> 
> So... It is possible for a fully automatic migration of the VM to another
> hypervisor in case Storage connection fails?
> 
> 
> How can we make this happen? Because for the moment, when we tested the
> situation they stayed in pause state.
> 
> 
> (Test situation:
> 
> * Unplug the 2 fibre cables from the hypervisor
> * VM's go in pause state
> * VM's stayed in pause state until the failure was solved
> 
> 
> 
> 
> 
> as said before, it's not safe hence we (try to) not migrate them.
> 
> 
> They only get paused when they actually access the storage which may not be
> always the case. I.e. the storage connection is severed, host deemed
> NonOperational and VMs are getting migrated from it, then some of them will
> succeed if they didn't access that "bad" storage … the paused VMs will
> remain (mostly, it can still happen that they appear pau

Re: [Users] Hosted Engine recovery failure of all HA - nodes

2014-04-09 Thread Jiri Moskovcak

On 04/08/2014 06:09 PM, Daniel Helgenberger wrote:

Hello,

I have an oVirt 3.4 hosted engine lab setup witch I am evaluating for
production use.

I "simulated" an ungraceful shutdown of all HA nodes (powercut) while
the engine was running. After powering up, the system did not recover
itself (it seemed).
I had to restart the ovirt-hosted-ha service (witch was in a locked
state) and then manually run 'hosted-engine --vm-start'.

What is the supposed procedure after a shutdown (graceful / ungraceful)
of Hosted-Engine HA nodes? Should the engine recover by itself? Should
the running VM's be restarted automatically?


When this happens the agent should start the engine VM and the engine 
should take care of restarting the VMs which were running on that 
restarted host and are marked as HA. Can you please provide contents ov 
/var/log/ovirt* from the host after the powercut when the engine VM 
doesn't come up?


Thanks,
Jirka



Thanks,
Daniel







___
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