Re: [Users] how to convince oVirt a VM is down

2012-10-10 Thread Juan Hernandez
On 10/09/2012 11:36 PM, Itamar Heim wrote:
 On 10/09/2012 11:19 PM, Alan Johnson wrote:
 On Tue, Oct 9, 2012 at 4:01 PM, Alan Johnson a...@datdec.com
 mailto:a...@datdec.com wrote:

 You have me thinking... perhaps oVirt thinks they are running on the
 host they were being migrated to.  If so, maybe putting that host
 into maintenance will clear it up.  I'll try that as soon as I get
 the down host back up.


 Nope, the 2 stuck VMs have still not been released from Unknown
 status.  I've rebooted the 3rd host and restarted the engine.  Still no
 love.  Please help.
 
 well, hacking the db will work, but reproducing this and logs for us to 
 fix the actually bug would also help.

We have seen this before, and we thought it was fixed.

Alan, can you describe exactly the sequence of events that leaded to
this problem? When you say that the host died while going to maintenance
what do you mean exactly? It crashed, rebooted, hung, was fenced? It
would be very helpful if you have the engine logs at the time the host
went down.

Once you have those logs in a safe place, the only way to get the VM out
of that status is to update the database manually. First make completely
sure that the VM is not running in any host, then do the following:

  # psql -U engine
  psql (9.1.6)
  Type help for help.

  engine= update vm_dynamic set status = 0 where vm_guid = (select
vm_gui from vm_static where vm_name = 'myvm');
  UPDATE 1

(Assuming that the name of your VM is myvm).

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


Re: [Users] ovirt 3.1 guest pxe boot fails

2012-10-10 Thread Rami Vaknin

On 10/09/2012 01:23 PM, Yuriy Demchenko wrote:

Hi,

I've checked this issue with ipxe-roms-qemu from default fedora repo 
(ipxe-roms-qemu-20120328-1.gitaac9718.fc17) - same behaviour: first 
time system pxe boots fine after domain start, but after guest-reboot 
- pxe boot fails, cant get ip from dhcp and malformed packets on 
bridge interface.
And same situation with fedora host not connected to ovirt (vm created 
with virt-manager)


What is the nic type (virtio, e1000, ...)? could you please try with 
another type too?


Yuriy Demchenko

On 10/05/2012 11:55 AM, Yuriy Demchenko wrote:

Hi,

I cant use ipxe-roms-qemu-20120328-1.gitaac9718.fc17 from default 
repo (cant boot from SAN with it - http://ipxe.org/err/1d704439), so 
i've took srpm and rebuild it with lastest git sources

so now i'm using ipxe-roms-qemu-20120926-1.git09cc63f.fc17

still cant find logical connection between ipxe version and my 
problem, as first boot never fails, only reboots initiated from guest 
system does; same goes for real hardware - i chainload same ipxe rom 
into real machine and it boots/reboots fine. dunno about qemu/kvm not 
connected to ovirt - i'll check it out on a weekend.


Yuriy Demchenko

On 10/05/2012 01:16 AM, Rami Vaknin wrote:

On 10/04/2012 12:49 PM, Yuriy Demchenko wrote:

Hi,

I've started testing ovirt 3.1 in my lab environment and found some 
strange behaviour/bug:
when i create vm and set it to boot from network - first time it 
boots fine
14:23:43.718613 IP 0.0.0.0.68  255.255.255.255.67: BOOTP/DHCP, 
Request from 52:54:00:c7:76:50, length 395


Although you managed to boot from network in the first time, I'm not 
sure that DHCP packet with length of 395 is ok - I think it should 
be ~60, I would start with checking the gpxe-roms-qemu package version.



pxe works, ip address received and machine boots,
but if I'll restart it via guest command 'reboot' (i.e not through 
stop/start from ovirt admin interface) - pxe boot fails, ipxe just 
states timeout on dhcp requests

and with tcpdump i even cannot see any dhcp requests at all!
instead of that i get some weird malformed packets:
14:21:38.529244 00:00:00:00:ff:ff  00:00:00:00:00:00, ethertype 
Unknown (0x), length 447:

0x:   5254 00c7 7650 0800 4500 01a7 0322 ..RT..vP..E
0x0010:   4011 7625     0044 ..@.v%.D
0x0020:  0043 0193 02f7 0101 0600 2c78 5053 000c .C,xPS..
0x0030:          
0x0040:   5254 00c7 7650     ..RT..vP
0x0050:          
0x0060:          
0x0070:          
0x0080:          
0x0090:          
0x00a0:          
0x00b0:          
0x00c0:          
0x00d0:          
0x00e0:          
0x00f0:          
0x0100:          
0x0110:   6382 5363 3501 0139 0205 c05d 0200 ..c.Sc5..9...]..
0x0120:  005e 0301 0201 3c20 5058 4543 6c69 656e .^.PXEClien
0x0130:  743a 4172 6368 3a30 3030 3030 3a55 4e44 t:Arch:0:UND
0x0140:  493a 3030 3230 3031 4d04 6950 5845 3715 I:002001M.iPXE7.
0x0150:  0103 0607 0c0f 112b 3c42 4380 8182 8384 ...+BC.
0x0160:  8586 87af cbaf 2db1 0501 1af4 1000 2201 ..-
0x0170:  0119 0101 2101 0118 0101 1101 0113 0101 !...
0x0180:  1701 0115 0101 2701 0110 0102 1201 01eb ..'.
0x0190:  0301  3d07 0152 5400 c776 5061 1100 =..RT..vPa..
0x01a0:  21b3 bc0f e882 4017 9c20 f3e5 0afd 0547 !.@G
0x01b0:  ff   .


As i'm planning to heavily rely on network booting this issue is 
critical for me, any tips how to solve it?


ovirt 3.1, engine and node on separate hosts, installed on clean 
fedora 17/minimal, node with kernel-3.3.4-5.fc17.x86_64

node has 1 nic, 1 network defined in ovirt - ovirtmgmt











--

Thanks,

Rami Vaknin, QE @ Red Hat, TLV, IL.

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


Re: [Users] Failed to import Vm host to ovirt

2012-10-10 Thread Karli Sjöberg
Thank you so much for catching this, it made my life a bunch more easier!

When we wanted to upgrade from oVirt-3.0 to 3.1, we followed the procedure of 
exporting all of the machines to export domain, crashed the entire system and 
started building it up again. When it was up and running, we tried importing 
the machines back, they all failed and we couldn´t figure anything out from 
just that non-saying error message and cryptic errors in engine log. But then I 
remembered reading something a while back about this, searched back and 
compared our error messages, and they matched. So I then dove into the storage 
and changed all of the references from the old name to the new, and importing 
was all smooth sailing from there:
# sed -i '' 's/oldnetname/newnetname/g' master/vms/*/*.ovf

Devs: I can´t remember, is this explained anywhere in the upgrading documents, 
that the bridge names need to be the same before and after, or that you need to 
modify that afterwards if they´ve changed?

11 sep 2012 kl. 16.22 skrev Thomas Scofield:

Bugs filed.

https://bugzilla.redhat.com/show_bug.cgi?id=856219
https://bugzilla.redhat.com/show_bug.cgi?id=856234


On Tue, Sep 11, 2012 at 1:16 AM, Haim Ateya 
hat...@redhat.commailto:hat...@redhat.com wrote:
On 09/11/2012 12:32 AM, Thomas Scofield wrote:
While trying to import a virtual machine I got very generic error message in 
the web interface Failed to import Vm host to ovirt, in the engine.log I got 
this java exception below.  After doing some digging I realized the problem was 
I did not map the network bridge names from my previous machine to the bridge 
name used on the current machine. After modifing the 
master/vms/e94464d3-ae44-45ac-b09b-0e17f784a378/e94464d3-ae44-45ac-b09b-0e17f784a378.ovf
 file and updating the references to the bridge name the import worked as 
expected.  Could more information be added to the error message to indicate the 
source of the problem?  Are there any plans to allow the network configuration 
to be modified as part of the import?

Hi Thomas,

thanks for your feedback (and nice catch!).
please file 2 new bugs around this issue (one for the unhandled exception and 
another for more informative error message).

https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt


2012-09-10 17:04:29,436 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) START, GetVmsInfoVDSCommand(storagePoolId = 
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false, 
compatabilityVersion = null, storageDomainId = 
913e496b-b0a3-4b2e-a481-7d1a101c89db, vmIdList = null), log id: 223efce6
2012-09-10 17:04:29,446 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] 
(ajp--0.0.0.0-8009-3) FINISH, GetVmsInfoVDSCommand, log id: 223efce6
2012-09-10 17:04:29,470 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] 
(ajp--0.0.0.0-8009-3) START, GetImageDomainsListVDSCommand(storagePoolId = 
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false, 
compatabilityVersion = null, imageGroupId = 
b9d80d3d-0b3d-4249-8f12-3bc7e8b93464), log id: 682b1cec
2012-09-10 17:04:29,483 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] 
(ajp--0.0.0.0-8009-3) FINISH, GetImageDomainsListVDSCommand, return: [], log 
id: 682b1cec
2012-09-10 17:04:29,484 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--0.0.0.0-8009-3) START, DoesImageExistVDSCommand(storagePoolId = 
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false, 
compatabilityVersion = null, storageDomainId = 
913e496b-b0a3-4b2e-a481-7d1a101c89db, imageGroupId = 
b9d80d3d-0b3d-4249-8f12-3bc7e8b93464, imageId = 
60fb55ea-1450-4f3e-b3ac-4ba0db3e80ab), log id: 6677ff61
2012-09-10 17:04:29,548 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--0.0.0.0-8009-3) FINISH, DoesImageExistVDSCommand, return: true, log id: 
6677ff61
2012-09-10 17:04:29,602 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] 
(pool-3-thread-49) [30fbeac] Running command: ImportVmCommand internal: false. 
Entities affected :  ID: 70fc57d2-4f51-4029-a7ce-9e7705b27723 Type: Storage
2012-09-10 17:04:29,607 INFO  
[org.ovirt.engine.core.utils.transaction.TransactionSupport] (pool-3-thread-49) 
[30fbeac] transaction rolled back
2012-09-10 17:04:29,608 ERROR [org.ovirt.engine.core.bll.ImportVmCommand] 
(pool-3-thread-49) [30fbeac] Command org.ovirt.engine.core.bll.ImportVmCommand 
throw exception: java.lang.StringIndexOutOfBoundsException: String index out of 
range: 4
at 
java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766) 
[rt.jar:1.6.0_24]
at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280) 
[rt.jar:1.6.0_24]
at 
org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
 [engine-bll.jar:]
at 

Re: [Users] call for suggests on oVirt authentication back-end (directory service, etc.)

2012-10-10 Thread Itamar Heim

On 10/09/2012 03:56 PM, Alan Johnson wrote:

Thanks to Tim Hildred, I found out about the need to have a directory
server.  Before I embark on this path, I thought I could ping the
community to get a since for what is common, easy, and/or available to
best suit our wants.

First, what's the easiest one to setup and use?  Something with a simple
GUI would be desirable: a webmin module perhaps?

Most ideal would be something that is in line with our desire to move
towards single sign on, ultimately authenticating against Google Apps.
Does Google provide something supported?  Is there something that can
proxy google apps auth to an oVirt supported protocol?

Alternately, we have an LDAP server, but it does NOT store passwords,
and as such, does not provide authentication for anything.  Will oVirt
store passwords for users created from such an LDAP service, or does
LDAP need to be the authority as well?

Finally, we also have NIS setup (thought we hope to get away from that
soon), so some means of authenticating through the systems local PAM
system would be the next most convenient.

These are just thoughts and I am completely open to suggestions.  Thanks
in advance for any input! =)


in the future, well, everything is possible. for now, your choices are:
freeIPA/IPA
389ds/RHDS
MS AD
Tivoli DS

ovirt does not store passwords (other than for admin@internal)




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


Re: [Users] call for suggests on oVirt authentication back-end (directory service, etc.)

2012-10-10 Thread Yair Zaslavsky



On 10/10/2012 12:13 PM, Itamar Heim wrote:

On 10/09/2012 03:56 PM, Alan Johnson wrote:

Thanks to Tim Hildred, I found out about the need to have a directory
server.  Before I embark on this path, I thought I could ping the
community to get a since for what is common, easy, and/or available to
best suit our wants.

First, what's the easiest one to setup and use?  Something with a simple
GUI would be desirable: a webmin module perhaps?

Most ideal would be something that is in line with our desire to move
towards single sign on, ultimately authenticating against Google Apps.
Does Google provide something supported?  Is there something that can
proxy google apps auth to an oVirt supported protocol?

Alternately, we have an LDAP server, but it does NOT store passwords,
and as such, does not provide authentication for anything.  Will oVirt
store passwords for users created from such an LDAP service, or does
LDAP need to be the authority as well?


Currently oVirt code has SIMPLE and Kerberos authentication.
Queries that are not RootDSE queries must be authenticated.



Finally, we also have NIS setup (thought we hope to get away from that
soon), so some means of authenticating through the systems local PAM
system would be the next most convenient.

These are just thoughts and I am completely open to suggestions.  Thanks
in advance for any input! =)


in the future, well, everything is possible. for now, your choices are:
freeIPA/IPA
389ds/RHDS
MS AD
Tivoli DS

ovirt does not store passwords (other than for admin@internal)




___
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 3.1] Spice USB support

2012-10-10 Thread Andres Gonzalez
On Tue, Oct 9, 2012 at 7:37 PM, Itamar Heim ih...@redhat.com wrote:

 On 10/09/2012 09:55 PM, Andres Gonzalez wrote:

 On Tue, Oct 9, 2012 at 5:09 PM, Michal Skrivanek
 michal.skriva...@redhat.com 
 mailto:michal.skrivanek@**redhat.commichal.skriva...@redhat.com
 wrote:


 On 9 Oct 2012, at 15:21, Andres Gonzalez wrote:

  On Tue, Oct 9, 2012 at 4:00 AM, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:

 On 10/08/2012 04:34 PM, Andres Gonzalez wrote:

 On Mon, Oct 8, 2012 at 12:02 PM, Itamar Heim
 ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:

 On 10/08/2012 03:29 PM, Andres Gonzalez wrote:

 On Mon, Oct 8, 2012 at 4:02 AM, Itamar Heim
 ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:

  On 10/08/2012 04:29 AM, Andres Gonzalez wrote:

  Hi !!

  I have a Windows 7 VM with spice protocol
 with usb
 redirection
  enabled
  but I cannot access to e.g. to a pendrive.
  It's already supported this feature ?


  (adding spice-devel)
  please note only the native spice usb mode is
 supported
 (legacy is not).
  which client?
  which guest?
  which ovirt version?



 The mode is set yo legacy, I tried to switch to
 native but the VM
 doesn't starts, and show the following error: VM
 Win7 is down. Exit
 message: internal error Process exited while
 reading console log
 output:
 qemu-kvm: -device
 piix3-usb-uhci,id=usb,bus=pci.**0,addr=0x1.0x2:


 Duplicate ID 'usb' for device .


 legacy isn't relevant to ovirt (its legacy...).
 the native error was already fixed.
 which versions of ovirt engine are you using?


 - oVirt version: oVirt Engine Version:3.1.0-3.19.el6



 - client:
 RHEV-Agent 3.0.10
 RHEV-Block 3.0.8
 RHEV-Network 3.0.6
 RHEV-Serial 3.0.5
 RHEV-Spice 3.0.5
 RHEV-Spice-Agent 3.0.4
 RHEV-Tools 3.0.37
 RHEV-USB 3.0.8


 wait, these are rhev, not ovirt?
 (rhev does have legacy usb mode)


 I downloaded those package from the Internet, what are the
 guest
 packages supposed to be installed ?


 1. not sure where you downloaded them from - they are not
 re-distributable in their binary form afair.

 2. these are the guest tools, you would need the client tools
 as well, which in legacy mode require some proprietary
 3rdparty software (hence it is legacy)

 3. i recommend trying the new native mode (i.e, which spice
 client supports, open source based).


 3. to try the new native mode, I should upgrade oVirt version ?

 Those RHEV packages should be removed
 The latest 3.1 should work.

 Thanks,
 michal


 OK, is there any similar package from oVirt to windows guest ?


 spice native usb doesn't need anything in the guest


I switch to native and the same error doesn't allow to start the VM
(qemu-kvm: -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2: Duplicate
ID 'usb' for device).
I'm using oVirt Engine 3.1.0-319 under CentOS 6.3


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


[Users] oVirt Weekly Meeting Minutes -- 2012-10-10

2012-10-10 Thread Mike Burns
Minutes:http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-10-14.00.html
Minutes (text): http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-10-14.00.txt
Log:
http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-10-14.00.log.html

=
#ovirt: oVirt Weekly Sync
=


Meeting started by mburns at 14:00:21 UTC. The full logs are available
at http://ovirt.org/meetings/ovirt/2012/ovirt.2012-10-10-14.00.log.html
.



Meeting summary
---
* Agenda and roll call  (mburns, 14:00:28)

* Release Status  (mburns, 14:03:59)
  * LINK: http://wiki.ovirt.org/wiki/OVirt_3.2_release-management
(mburns, 14:04:03)
  * Beta/Feature Freeze target:  Nov 14  (mburns, 14:04:24)
  * GA Target:  Dec 12  (mburns, 14:04:31)
  * Test Day target: Nov 19  (mburns, 14:04:48)
  * all features that i know about are listed on the 3.2 release
management page linked above  (mburns, 14:06:00)
  * ACTION: mburns to work with maintainers to get feature pages created
(mburns, 14:24:52)
  * LINK: http://wiki.ovirt.org/wiki/Detailed_feature_template
(mburns, 14:26:15)
  * LINK: http://wiki.ovirt.org/wiki/Feature_template   (mburns,
14:26:21)

* sub-project status -- node  (mburns, 14:30:49)
  * new ovirt-node 2.5.2-0.1 posted last week  (mburns, 14:31:03)
  * this includes new vdsm build to work around the nfs issue  (mburns,
14:31:17)
  * as for 3.2 -- we're working on some new features (some captured on
the release page)  (mburns, 14:31:50)
  * most work is behind the scenes to make things more
stable/reliable/extensible  (mburns, 14:32:25)

* sub-project status -- vdsm  (mburns, 14:32:50)
  * new vdsm build posted to work around the nfs issue  (mburns,
14:33:00)

* sub-project status -- engine  (mburns, 14:34:31)
  * no updates from engine team  (mburns, 14:37:24)

* sub-project status -- infra  (mburns, 14:37:34)
  * new infra meeting time:  Mondays at 1500 UTC  (mburns, 14:38:12)
  * hosting proposal submitted to the board for review (Alter Way)
(mburns, 14:39:25)
  * Infra now using Trac to track team work tasks  (quaid, 14:40:12)
  * LINK: http://fedorahosted.org/ovirt   (quaid, 14:40:20)
  * Infra team will write up some documentation, etc. on how to report
tickets, as well as how we do our own workflow  (quaid, 14:40:38)
  * We'll get a basic hosting agreement from Alter Way and have that
reviewed by Red Hat Legal  (quaid, 14:41:35)
  * working on MediaWiki upgrade so we can apply new skin and run it on
OpenShift  (quaid, 14:42:46)
  * We'll be using Puppet/Foreman to roll out new hosts on new hosting
(quaid, 14:43:18)
  * New hosting will provide 2 bare metal servers: one for just Jenkins
master, one to hold a few VMs that include Gerrit  Mailman  (quaid,
14:43:42)
  * Migration schedules will be discussed on developer mailing list
(quaid, 14:44:06)
  * Infra will be renaming arch@ = devel@ (iirc) ideally this week
(quaid, 14:44:31)

* Workshop -- Bangalore  (mburns, 14:46:13)
  * live oVirt iso being finalized by mgoldboi now  (mburns, 14:48:29)
  * should be posted to ovirt.org in a few hours  (mburns, 14:48:39)

* Workshops -- Barcelona  (mburns, 14:49:36)
  * update on # of attendees coming later today  (mburns, 14:49:54)
  * LINK: http://go.linuxfoundation.org/lceu_elce12_sponsor_guide   (lh,
14:50:18)
  * LINK: http://go.linuxfoundation.org/lceu_elce12_sponsor_guide
(mburns, 14:50:56)
  * schedule should be published later this week  (mburns, 14:51:40)
  * if you need a visa to attend, please talk to the linux foundation
for an invitation  (mburns, 14:52:37)
  * dneary and jbrooks will be helping with promoting the workshop as
soon as we have a schedule  (mburns, 14:53:37)
  * demo at the booth will be from a laptop, real hardware was too
difficult to get  (mburns, 14:55:10)

* other topics  (mburns, 14:57:51)
  * no other topics  (mburns, 15:00:23)

Meeting ended at 15:00:30 UTC.




Action Items

* mburns to work with maintainers to get feature pages created




Action Items, by person
---
* mburns
  * mburns to work with maintainers to get feature pages created
* **UNASSIGNED**
  * (none)




People Present (lines said)
---
* mburns (94)
* sgordon (30)
* lh (16)
* quaid (16)
* ovirtbot (10)
* oschreib (8)
* mgoldboi (5)
* jb_netapp (2)
* aglitke (2)
* ewoud (1)
* dustins (1)
* jbrooks (1)
* fsimonce (1)
* doronf (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: [Users] Spice windows xp, vista and 7.

2012-10-10 Thread victor nunes
Ok

2012/10/10 Itamar Heim ih...@redhat.com

 please resend with the mailing list in cc.
 thanks


 On 10/10/2012 01:24 PM, victor nunes wrote:

 OK.

 I tested the machine where it is installed prória oVirt oo-engine, and I
 could access with the spice.

 Maybe I need to describe how is my environment.
 I installed the package oVirt-engine-setup-plugin-**allinone and vdsm
 installed on the same machine that oVirt-manage.

 I did the procedures regarding the creation of domains and ISOs and
 created the virtual machine.

 Virtviewer installed on a machine windows xp and windows 7, but when
 trying to use the console as a spice, the error reported in the previous
 email.

 I can use VNC like console mode to access the VM.

 Att,


 2012/10/8 Itamar Heim ih...@redhat.com mailto:ih...@redhat.com


 On 10/08/2012 08:02 PM, victor nunes wrote:

 Thanks for the reply.

 Is showing an error when using virt-viewer to connect to the VM.

 The message unable to connect to server graphic

 I cleaned all iptables rules and let the INPUT, OUTPUT, FORWARD,
 all
 like ACCEPT, but still the message keeps appearing.


 i may have missed this, but i don't remember seeing
 --spice-host-subject in your command line.
 i may have also missed you stating if this worked or not, but can
 you first try with ovirt-shell or spice-xpi from a linux client?




 Anyone had this kind of problem?

 Em 10 de setembro de 2012 05:30, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com escreveu:



  On 09/10/2012 05:06 AM, victor nunes wrote:

  Hello, use of spice in windows xp and 7 environments
 possible?
  Where can I find some tips on how I can install on
 windows spice?


 http://wiki.ovirt.org/wiki/___**_How_to_Connect_to_SPICE_**
 Console_With_Portalhttp://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal
 http://wiki.ovirt.org/wiki/__**How_to_Connect_to_SPICE___**
 Console_With_Portalhttp://wiki.ovirt.org/wiki/__How_to_Connect_to_SPICE___Console_With_Portal
 

 http://wiki.ovirt.org/wiki/__**How_to_Connect_to_SPICE___**
 Console_With_Portalhttp://wiki.ovirt.org/wiki/__How_to_Connect_to_SPICE___Console_With_Portal
 http://wiki.ovirt.org/wiki/**How_to_Connect_to_SPICE_**
 Console_With_Portalhttp://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal
 
 http://wiki.ovirt.org/wiki/___**_How_to_Connect_to_SPICE_**
 Console_Without_Portalhttp://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_Without_Portal
 http://wiki.ovirt.org/wiki/__**How_to_Connect_to_SPICE___**
 Console_Without_Portalhttp://wiki.ovirt.org/wiki/__How_to_Connect_to_SPICE___Console_Without_Portal
 



 http://wiki.ovirt.org/wiki/__**How_to_Connect_to_SPICE___**
 Console_Without_Portalhttp://wiki.ovirt.org/wiki/__How_to_Connect_to_SPICE___Console_Without_Portal
 http://wiki.ovirt.org/wiki/**How_to_Connect_to_SPICE_**
 Console_Without_Portalhttp://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_Without_Portal
 

  Att,



  --
  “Encarada do ponto de vista da juventude, a vida parece
 um futuro
  indefinidamente longo, ao passo que, na velhice, ela
 parece um
  passado
  deveras curto. Assim, a vida no seu início se apresenta
 do mesmo
  modo
  que as coisas quando as olhamos através de um binóculo
 usado ao
  contrário; mas, ao
  seu final, ela se parece com as coisas  tal qual são
 vistas quando o
  binóculo
  é usado de modo normal. Um homem precisa ter
 envelhecido e vivido
  bastante para perceber como a vida é curta”.

 (Poema de Arthur Schopenhauer)


  __**_
  Users mailing list
 Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org
 mailto:Users@ovirt.org
 
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users
 
 http://lists.ovirt.org/__**mailman/listinfo/usershttp://lists.ovirt.org/__mailman/listinfo/users
 


  
 http://lists.ovirt.org/__**mailman/listinfo/usershttp://lists.ovirt.org/__mailman/listinfo/users
 
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users
 






 --
 “Encarada do ponto de vista da juventude, a vida parece um futuro
 indefinidamente longo, ao passo que, na velhice, ela parece um
 passado
 deveras curto. Assim, a vida no seu início se apresenta do mesmo
 modo
  

Re: [Users] [Spice-devel] [oVirt 3.1] Spice USB support

2012-10-10 Thread Alon Levy
 
 I switch to native and the same error doesn't allow to start the VM
 (qemu-kvm: -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2:
 Duplicate ID 'usb' for device).
 I'm using oVirt Engine 3.1.0-319 under CentOS 6.3
 

This is a libvirt error, it is producing an invalid command line to qemu, I 
suggest you report it to the relevant list.

 
 
 --
 AGD
 
 ___
 Spice-devel mailing list
 spice-de...@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/spice-devel
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] call for suggests on oVirt authentication back-end (directory service, etc.)

2012-10-10 Thread Charlie
LDAP-accessible core directories are pretty much required for any
large enterprise for the forseeable future.  Products like email
gateways, remote support hosts, clustered services, cloud
environments, etc. etc. all need highly available consistent user
provisioning and AAA service, and everybody's building in LDAP clients
to achieve this.  You get a bomgar box or an Ironport and it wants
LDAP.  If you have 250 linux/Solaris/HP-UX servers you can choose
LDAP, NIS/YP or Hesiod, but LDAP is best.

Microsoft's ADS is simply their embraced and extended LDAP, designed
to pull you into the Microsoft support structure forever by providing
capabilities and consistency slightly extended beyond what
RFC-compliant LDAP servers provide.

TL;DR version - if you have 400 or more employees build a core
directory with user passwords in it.  If you are a Microsoft shop use
ADS and be happy, if you are not a Microsoft shop think very carefully
about letting the camel's nose into the tent.

--Charlie

On Wed, Oct 10, 2012 at 6:47 AM, Yair Zaslavsky yzasl...@redhat.com wrote:


 On 10/10/2012 12:13 PM, Itamar Heim wrote:

 On 10/09/2012 03:56 PM, Alan Johnson wrote:

 Thanks to Tim Hildred, I found out about the need to have a directory
 server.  Before I embark on this path, I thought I could ping the
 community to get a since for what is common, easy, and/or available to
 best suit our wants.

 First, what's the easiest one to setup and use?  Something with a simple
 GUI would be desirable: a webmin module perhaps?

 Most ideal would be something that is in line with our desire to move
 towards single sign on, ultimately authenticating against Google Apps.
 Does Google provide something supported?  Is there something that can
 proxy google apps auth to an oVirt supported protocol?

 Alternately, we have an LDAP server, but it does NOT store passwords,
 and as such, does not provide authentication for anything.  Will oVirt
 store passwords for users created from such an LDAP service, or does
 LDAP need to be the authority as well?


 Currently oVirt code has SIMPLE and Kerberos authentication.
 Queries that are not RootDSE queries must be authenticated.



 Finally, we also have NIS setup (thought we hope to get away from that
 soon), so some means of authenticating through the systems local PAM
 system would be the next most convenient.

 These are just thoughts and I am completely open to suggestions.  Thanks
 in advance for any input! =)


 in the future, well, everything is possible. for now, your choices are:
 freeIPA/IPA
 389ds/RHDS
 MS AD
 Tivoli DS

 ovirt does not store passwords (other than for admin@internal)




 ___
 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] call for suggests on oVirt authentication back-end (directory service, etc.)

2012-10-10 Thread Jason Brooks

On 10/09/2012 06:56 AM, Alan Johnson wrote:

Thanks to Tim Hildred, I found out about the need to have a directory
server.  Before I embark on this path, I thought I could ping the
community to get a since for what is common, easy, and/or available to
best suit our wants.

First, what's the easiest one to setup and use?  Something with a simple
GUI would be desirable: a webmin module perhaps?

Most ideal would be something that is in line with our desire to move
towards single sign on, ultimately authenticating against Google Apps.
Does Google provide something supported?  Is there something that can
proxy google apps auth to an oVirt supported protocol?


I did some testing with FreeIPA: 
http://freeipa.org/page/InstallAndDeploy. It was easy to set up, works 
with oVirt, and has a web gui.


Jason



Alternately, we have an LDAP server, but it does NOT store passwords,
and as such, does not provide authentication for anything.  Will oVirt
store passwords for users created from such an LDAP service, or does
LDAP need to be the authority as well?

Finally, we also have NIS setup (thought we hope to get away from that
soon), so some means of authenticating through the systems local PAM
system would be the next most convenient.

These are just thoughts and I am completely open to suggestions.  Thanks
in advance for any input! =)

___
Alan Johnson
a...@datdec.com mailto:a...@datdec.com


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




--

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


Re: [Users] [oVirt 3.1] Spice USB support

2012-10-10 Thread Itamar Heim

On 10/10/2012 10:09 AM, Andres Gonzalez wrote:

On Tue, Oct 9, 2012 at 7:37 PM, Itamar Heim ih...@redhat.com
mailto:ih...@redhat.com wrote:

On 10/09/2012 09:55 PM, Andres Gonzalez wrote:

On Tue, Oct 9, 2012 at 5:09 PM, Michal Skrivanek
michal.skriva...@redhat.com
mailto:michal.skriva...@redhat.com
mailto:michal.skrivanek@__redhat.com
mailto:michal.skriva...@redhat.com wrote:


 On 9 Oct 2012, at 15:21, Andres Gonzalez wrote:

 On Tue, Oct 9, 2012 at 4:00 AM, Itamar Heim
ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@redhat.com wrote:

 On 10/08/2012 04:34 PM, Andres Gonzalez wrote:

 On Mon, Oct 8, 2012 at 12:02 PM, Itamar Heim
 ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com wrote:

 On 10/08/2012 03:29 PM, Andres Gonzalez wrote:

 On Mon, Oct 8, 2012 at 4:02 AM, Itamar Heim
 ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
 mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com
 mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com
 mailto:ih...@redhat.com
mailto:ih...@redhat.com mailto:ih...@redhat.com
mailto:ih...@redhat.com wrote:

  On 10/08/2012 04:29 AM, Andres
Gonzalez wrote:

  Hi !!

  I have a Windows 7 VM with
spice protocol
 with usb
 redirection
  enabled
  but I cannot access to e.g. to
a pendrive.
  It's already supported this
feature ?


  (adding spice-devel)
  please note only the native spice
usb mode is
 supported
 (legacy is not).
  which client?
  which guest?
  which ovirt version?



 The mode is set yo legacy, I tried to
switch to
 native but the VM
 doesn't starts, and show the following
error: VM
 Win7 is down. Exit
 message: internal error Process exited
while
 reading console log
 output:
 qemu-kvm: -device
 piix3-usb-uhci,id=usb,bus=pci.__0,addr=0x1.0x2:


 Duplicate ID 'usb' for device .


 legacy isn't relevant to ovirt (its legacy...).
 the native error was already fixed.
 which versions of ovirt engine are you using?


 - oVirt version: oVirt Engine
Version:3.1.0-3.19.el6



 - client:
 RHEV-Agent 3.0.10
 RHEV-Block 3.0.8
 RHEV-Network 3.0.6
 RHEV-Serial 3.0.5
 RHEV-Spice 3.0.5
 RHEV-Spice-Agent 3.0.4
 RHEV-Tools 3.0.37
 RHEV-USB 3.0.8


 wait, these are rhev, not ovirt?
 (rhev does have legacy usb mode)


 I downloaded those package from the Internet,
what are the
 guest
 packages supposed to be installed ?


 1. not sure where you downloaded them from - they
are not
 re-distributable in their binary form afair.

 2. these are the guest tools, you would need the
client tools
 as well, which in legacy mode require some proprietary
 3rdparty software (hence it is legacy)

 3. i recommend trying the new native mode (i.e,
  

[Users] [oVirt 3.1] reinstallation

2012-10-10 Thread Andres Gonzalez
Hi,

I'm trying to reinstall but when I execute: engine-cleanup I get the
following errors:


[root@test ~]# engine-cleanup
WARNING: Executing oVirt Engine cleanup utility.
This utility will wipe all existing data including configuration settings,
certificates and database.
In addition, all existing DB connections will be closed.
Would you like to proceed? (yes|no): yes

Stopping ovirt-engine service...[ ERROR ]

Error: Couldn't connect to the database server.Check that connection is
working and rerun the cleanup utility
Error: Cleanup failed.
please check log at
/var/log/ovirt-engine/engine-cleanup_2012_10_10_23_38_30.log


And If I execute engine-setup, those ones:


[root@test ~]# engine-setup
Welcome to oVirt Engine setup utility

In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service? (yes|no): yes
Stopping ovirt-engine service... Error: Can't stop the ovirt-engine service
Please check log file
/var/log/ovirt-engine/engine-setup_2012_10_10_23_49_28.log for more
information


Log file:


2012-10-10 23:49:29::DEBUG::common_utils::335::root:: stderr =
2012-10-10 23:49:29::DEBUG::common_utils::336::root:: retcode = 0
2012-10-10 23:49:29::DEBUG::engine-setup::1992::root:: Found a match,
amount of memory: 2887
2012-10-10 23:49:29::WARNING::engine-setup::2003::root:: There is less then
4096 available memory
2012-10-10 23:49:29::DEBUG::engine-setup::1897::root:: Entered
main(configFile='None')
2012-10-10 23:49:29::DEBUG::engine-setup::1684::root:: stopping
ovirt-engine service
2012-10-10 23:49:29::DEBUG::common_utils::815::root:: asking user: Would
you like to stop the ovirt-engine service? (yes|no):
2012-10-10 23:49:30::DEBUG::common_utils::819::root:: user answered: yes
2012-10-10 23:49:30::DEBUG::common_utils::1059::root:: stopping ovirt-engine
2012-10-10 23:49:30::DEBUG::common_utils::1096::root:: executing action
ovirt-engine on service stop
2012-10-10 23:49:30::DEBUG::common_utils::294::root:: Executing command --
'/sbin/service ovirt-engine stop'
2012-10-10 23:49:30::DEBUG::common_utils::334::root:: output = Stopping
engine-service: [FAILED]

2012-10-10 23:49:30::DEBUG::common_utils::335::root:: stderr =
2012-10-10 23:49:30::DEBUG::common_utils::336::root:: retcode = 1
2012-10-10 23:49:30::DEBUG::engine-setup::1771::root:: *** The following
params were used as user input:
2012-10-10 23:49:30::ERROR::engine-setup::2170::root:: Traceback (most
recent call last):
  File /usr/bin/engine-setup, line 2164, in module
main(confFile)
  File /usr/bin/engine-setup, line 1911, in main
if not _stopEngine(configFile):
  File /usr/bin/engine-setup, line 1693, in _stopEngine
jservice.stop(True)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1064, in stop
raise Exception(output_messages.ERR_FAILED_STOP_SERVICE % self.name)
Exception: Error: Can't stop the ovirt-engine service



I removed all oVirt packages and installed again (yum), but the same error.
What can I do ?

Regards.-





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


Re: [Users] [oVirt 3.1] reinstallation

2012-10-10 Thread Alon Bar-Lev


- Original Message -
 From: Andres Gonzalez tuc...@gmail.com
 To: users@ovirt.org users@ovirt.org
 Sent: Thursday, October 11, 2012 3:52:16 AM
 Subject: [Users] [oVirt 3.1] reinstallation

snip

 
 
 I removed all oVirt packages and installed again (yum), but the same
 error.
 What can I do ?
 

Make sure you do not have java process running, if you have, just kill it.

remove:
/var/run/ovirt-engine*
/var/lib/ovirt-engine
/var/log/ovirt-engine
/var/cache/virt-engine
/etc/ovirt-engine

remove all packages, and install them again, or simply reinstall 'ovirt-engine*'

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


Re: [Users] [oVirt 3.1] reinstallation

2012-10-10 Thread Andres Gonzalez
On Wed, Oct 10, 2012 at 11:56 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Andres Gonzalez tuc...@gmail.com
  To: users@ovirt.org users@ovirt.org
  Sent: Thursday, October 11, 2012 3:52:16 AM
  Subject: [Users] [oVirt 3.1] reinstallation

 snip

 
 
  I removed all oVirt packages and installed again (yum), but the same
  error.
  What can I do ?
 

 Make sure you do not have java process running, if you have, just kill it.

 remove:
 /var/run/ovirt-engine*
 /var/lib/ovirt-engine
 /var/log/ovirt-engine
 /var/cache/virt-engine
 /etc/ovirt-engine

 remove all packages, and install them again, or simply reinstall
 'ovirt-engine*'

 Alon.


I killed a java proces that was running, removed everything (except
/var/cache/virt-engine that didn't exist), then removed all ovirt-engine*
and reinstall it (yum install) but still happening the same thing.

It's like is trying to stop the overt-engine process that isn't running.



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