Re: [Users] Resizing disks destroys contents

2013-10-12 Thread Mohsen Saeedi

  
  
We should update both of vdsm and ovirt-engine or
  vdsm is enough? I check ovirt el repo and it does not have new
  version for vdsm. 
On 10/12/2013
  02:11 AM, Dan Kenigsberg wrote:


  On Sat, Oct 12, 2013 at 12:27:02AM +0330, Mohsen Saeedi wrote:

  
   I have same problem too.   I have one node as ovirt engine and as
   hypervisor too. I successfully upgrade our engine from 3.1 to 3.2 and then
   from 3.2 to 3.3 and everything is ok.
   then i upgrade our cluster version to 3.3 and then our datacenter to 3.3.
   I increase 1GB on virtual machine with 20GB thin disk  and I receive
   success message on event and our disk increase to 21GB but after host
   reboot, i saw message that contains no bootable disk is available!!!
    then i try to install new os on that disk (Centos 6.4 minimal) and
   anaconda show the error on screen : No usable disks have found. I think
   disk corrupt after resizing.
   it was test VM but it's very if occur for real and functional VMs.

  
  
Yes, this is indeed a bad bad bug. It was inadvertantly fixed on the
master branch a while ago. Yesterday, we've backported the fix to
3.3.0.1

http://lists.ovirt.org/pipermail/users/2013-October/017018.html

Please avoid trying ovirt-3.3.0's new disk resize feature on file-based storage,
unless you upgrade to vdsm vdsm-4.12.1-4 first.

Dan.



  

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


Re: [Users] Resizing disks destroys contents

2013-10-11 Thread Mohsen Saeedi

  
  
I have same problem too.   I have one node as
  ovirt engine and as hypervisor too. I successfully upgrade our
  engine from 3.1 to 3.2 and then from 3.2 to 3.3 and everything is
  ok. 
  then i upgrade our cluster version to 3.3 and then our datacenter
  to 3.3. 
  I increase 1GB on virtual machine with 20GB thin disk  and I
  receive success message on event and our disk increase to 21GB but
  after host reboot, i saw message that contains no bootable disk is
  available!!! 
   then i try to install new os on that disk (Centos 6.4 minimal)
  and anaconda show the error on screen : No usable disks have
  found. I think disk corrupt after resizing. 
  it was test VM but it's very if occur for real and functional VMs.
  
  

On10/01/2013 10:49 PM, Federico
  Simoncelli wrote:


  Hi Martijn,
 can you post somewhere the relevant vdsm logs (from the spm host)?

Thanks,



  

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


Re: [Users] Resizing disks destroys contents

2013-10-11 Thread Mohsen Saeedi

  
  
I should edit my last email about this topic. I
  deactive hard and then boot from centos minimal cd and get the no
  usable disk error. It was my mistake. I change the disk to active
  disk again and boot with centos cd and i get Storage Device
  Warning window and one of the lines was:
  We could not detect partitions of filesystems on this device. 
  sorry for my wrong report. 
  

On 10/01/2013 10:49 PM, Federico
  Simoncelli wrote:


  Hi Martijn,
 can you post somewhere the relevant vdsm logs (from the spm host)?

Thanks,



  

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


[Users] Datacenter different storage type

2013-08-02 Thread Mohsen Saeedi

  
  
Hi
  I know we can use one storage type per Data Center. If we want to
  use more storage type in Data Center, how is it possible? 
  For example i want to user SAN and NFS and local storage. if it is
  limitation for now and you are working to get ride of this
  limitation please inform me when it will available or it will
  available on which version?
  Thanks

  

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


Re: [Users] Redundant management node

2013-04-28 Thread Mohsen Saeedi
We should use HA on two node with same services (jboss and postges) and
config replication between postgresql?
Is it true?
On 28 Apr 2013 17:59, Itamar Heim ih...@redhat.com wrote:

 On 04/27/2013 10:41 PM, Mohsen Saeedi wrote:

 Hi
 Is it possible to have a extra management node for redundancy? or just
 we must to backup and restore management node for when we missed it. for
 example due to any failure.
 Thanks


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



 you can use clustering technologies for this today (easiest is if
 deploying the engine in a VM).
 this upcoming work will let you do this bare metal
 http://www.ovirt.org/Features/**Self_Hosted_Enginehttp://www.ovirt.org/Features/Self_Hosted_Engine

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


[Users] ISO path is not empty

2013-01-04 Thread Mohsen Saeedi

  
  
Hi
  I have a problem with Ovirt engine-setup. when i run it and in the setup
process then it checks the ISO local path
  and print a error:
  directory /ISO is not empty
I make a new partition
and make ext4 filesystem and
  the i mount it under /ISO. we know it has a lost+found directory. i
think it should be fixed in
newer version. 
Thanks.
  
  

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


[Users] Migrate Ovirt VMs to KVM(Fedora with virt-manager)

2012-12-06 Thread Mohsen Saeedi

  
  
Hi
I want to migrate an VM from Ovirt engine to KVM. for example to
Fedora 17 and managed it with virt-manager.
I know about migrate from KVM to Ovirt but how is vice versa?

what steps required for it?

Thanks.
  

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


[Users] Failed to start service jboss.deployment.subunit.engine.ear.root.war

2012-12-02 Thread Mohsen Saeedi

Hi
I installed Ovirt and i set up two virtual machine and it was working 
very good. then i try to use spice activeX on IE and i changed web.xml 
file as said on this link:

http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal
then i restart jboss-as and ovirt-engine and everything was true. then i 
restart the server and i see some errors on server.log under 
ovirt-engine dir.

and in apache ssl_log i saw this error:
GET / HTTP/1.1 404 -
I attached the server.log. the main error is:

2012-12-02 20:30:33,511 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) {JBAS014653: Composite operation failed 
and was rolled back. Steps that failed: = {Operation step-2 = 
{JBAS014671: Failed services = 
{jboss.deployment.subunit.\engine.ear\.\root.war\.PARSE = 
org.jboss.msc.service.StartException in service 
jboss.deployment.subunit.\engine.ear\.\root.war\.PARSE: Failed to 
process phase PARSE of subdeployment \root.war\ of deployment 
\engine.ear\


2012-12-02 20:30:31,121 INFO  [org.jboss.as.security] (ServerService Thread 
Pool -- 24) JBAS013101: Activating Security Subsystem
2012-12-02 20:30:31,122 INFO  [org.jboss.as.naming] (ServerService Thread Pool 
-- 21) JBAS011800: Activating Naming Subsystem
2012-12-02 20:30:31,124 INFO  [org.jboss.as.security] (MSC service thread 1-25) 
JBAS013100: Current PicketBox version=4.0.7.Final
2012-12-02 20:30:31,135 INFO  [org.jboss.as.connector] (MSC service thread 
1-12) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
2012-12-02 20:30:31,145 INFO  [org.jboss.as.naming] (MSC service thread 1-24) 
JBAS011802: Starting Naming Service
2012-12-02 20:30:31,169 INFO  [org.jboss.as.connector.subsystems.datasources] 
(ServerService Thread Pool -- 15) JBAS010404: Deploying non-JDBC-compliant 
driver class org.postgresql.Driver (version 8.4)
2012-12-02 20:30:31,181 INFO  [org.jboss.as.remoting] (MSC service thread 1-22) 
JBAS017100: Listening on /0.0.0.0:4447
2012-12-02 20:30:31,210 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service 
thread 1-13) Starting Coyote AJP/1.3 on ajp--0.0.0.0-8009
2012-12-02 20:30:31,210 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC 
service thread 1-4) Starting Coyote HTTP/1.1 on http--0.0.0.0-8080
2012-12-02 20:30:31,365 INFO  [org.jboss.as.remoting] (MSC service thread 1-16) 
JBAS017100: Listening on /127.0.0.1:
2012-12-02 20:30:31,375 INFO  [org.jboss.as.server.deployment.scanner] (MSC 
service thread 1-23) JBAS015012: Started FileSystemDeploymentService for 
directory /var/lib/ovirt-engine/deployments
2012-12-02 20:30:31,399 INFO  [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) JBAS015003: Found engine.ear in deployment 
directory. To trigger deployment create a file called engine.ear.dodeploy
2012-12-02 20:30:31,424 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC 
service thread 1-22) Starting Coyote HTTP/1.1 on http--0.0.0.0-8443
2012-12-02 20:30:31,484 INFO  [org.jboss.as.connector.subsystems.datasources] 
(MSC service thread 1-12) JBAS010400: Bound data source [java:/ENGINEDataSource]
2012-12-02 20:30:31,493 INFO  [org.jboss.as] (Controller Boot Thread) 
JBAS015951: Admin console listening on http://127.0.0.1:9990
2012-12-02 20:30:31,494 INFO  [org.jboss.as] (Controller Boot Thread) 
JBAS015874: JBoss AS 7.1.1.Final Brontes started in 1309ms - Started 132 of 
153 services (19 services are passive or on-demand)
2012-12-02 20:30:31,501 INFO  [org.jboss.as.server.deployment] (MSC service 
thread 1-27) JBAS015876: Starting deployment of engine.ear
2012-12-02 20:30:32,528 WARN  [org.jboss.as.server.deployment] (MSC service 
thread 1-27) Class Path entry jaxb-api.jar in 
/var/lib/ovirt-engine/deployments/engine.ear/lib/jaxb-impl-2.1.3.jar  does 
not point to a valid jar for a Class-Path reference.
2012-12-02 20:30:32,529 WARN  [org.jboss.as.server.deployment] (MSC service 
thread 1-27) Class Path entry activation.jar in 
/var/lib/ovirt-engine/deployments/engine.ear/lib/jaxb-impl-2.1.3.jar  does 
not point to a valid jar for a Class-Path reference.
2012-12-02 20:30:32,530 WARN  [org.jboss.as.server.deployment] (MSC service 
thread 1-27) Class Path entry jsr173_1.0_api.jar in 
/var/lib/ovirt-engine/deployments/engine.ear/lib/jaxb-impl-2.1.3.jar  does 
not point to a valid jar for a Class-Path reference.
2012-12-02 20:30:32,531 WARN  [org.jboss.as.server.deployment] (MSC service 
thread 1-27) Class Path entry jaxb1-impl.jar in 
/var/lib/ovirt-engine/deployments/engine.ear/lib/jaxb-impl-2.1.3.jar  does 
not point to a valid jar for a Class-Path reference.
2012-12-02 20:30:32,534 INFO  [org.jboss.as.server.deployment] (MSC service 
thread 1-12) JBAS015876: Starting deployment of ovirtengineweb.war
2012-12-02 20:30:32,534 INFO  [org.jboss.as.server.deployment] (MSC service 
thread 1-18) JBAS015876: Starting deployment of engine-bll.jar
2012-12-02 20:30:32,534 INFO  [org.jboss.as.server.deployment] (MSC service 
thread 1-3) JBAS015876: Starting 

Re: [Users] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Mohsen Saeedi

  
  
Thanks.
  we want to develope spice for multiple concurrent spice console on
  single OS. for example, we want to use windows XP as single VM for
  multiple users. we want to develop it as spice feature. is it
  possible? any help or idea? shall we work on that experimental
  feature?
  Thanks. 


  
  Alon
  Levy al...@redhat.com wrote on Thu, 13 Sep
  2012 05:47:37 -0400 (EDT):

  
On 09/12/2012 07:32 PM, Mohsen Saeedi wrote:


  Hi
I want to know, we are force to install one windows per user? does
spice
can provide a multi remote connection to a single windows XP
machine?
I want to install one windows XP as virtual desktop and then share
it
with more than one users.is it possible in now or in the futures?
Thanks


  
  
Thanks for the interest. There is no support for multiple client connections using spice protocol. There is only experimental known buggy support that still needs more work. There is no concrete plan when that work will happen.


  

  

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




adding spice-devel

___
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] [Spice-devel] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-13 Thread Mohsen Saeedi

  
  


  
  
 John
  A. Sullivan III jsulli...@opensourcedevel.com
  wrote on Thu, 13 Sep 2012 08:38:11 -0400:

  On Thu, 2012-09-13 at 08:06 -0400, Alon Levy wrote:

  

  Hi Mohsen,

multiple sessions to the single VM are not on the roadmap. There is
experimental multi-client support but it is to make more users see
the
same session.



Moshen,

 I misunderstood. In this case, I guess I don't actually see how we could fix your problem without circumventing any mechanism that windows has to count license users.

 Please ignore my lengthy email, it won't help you at all.

Alon
  

You can use some recipe for get ridding windows XP RDP limitation:
http://www.petri.co.il/multiple-remote-desktop-sessions-on-windows-xp-sp3.htm


  


  
  snip
We are actually quite interested in something like this.  In effect, it
is RDS but replaces the RDP protocol with SPICE for the advantages SPICE
brings.

We have also been toying with the idea of using KVM/KSM to move to a
single server per user.  This would provide much greater isolation and
non-repudiation but we are concerned about the overhead of KVM on the
KVM host and deduplication on the SAN.  Thanks - John


I think so, spice has experimental feature for multiple client to
single windows XP now. is it true??
and what is the details for idea of using KVM/KSM to move to a
single server per user? I didn't understand it very well.
Thanks

  


  

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


Re: [Users] multiple concurrent spice consoles (was Ovirt + Spice + VDI)

2012-09-12 Thread Mohsen Saeedi
Thanks itamar
Can you tell me when is it available? Is it available on development
versions?
Best regards
On Sep 13, 2012 1:14 AM, Itamar Heim ih...@redhat.com wrote:

 On 09/12/2012 07:32 PM, Mohsen Saeedi wrote:

 Hi
 I want to know, we are force to install one windows per user? does spice
 can provide a multi remote connection to a single windows XP machine?
 I want to install one windows XP as virtual desktop and then share it
 with more than one users.is it possible in now or in the futures?
 Thanks


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


 adding spice-devel


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


Re: [Users] Ovirt engine.log show WARN before login to web administration portal

2012-09-04 Thread Mohsen Saeedi

  
  
I changed my config and set the ovirt console on
  our private ip address. now it's very fast. but on the slow
  internet link it's very very slow. 
  thanks


  
  Roy
  Golan rgo...@redhat.com wrote on Tue, 4 Sep
  2012 02:48:11 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Roy Golan" rgo...@redhat.com
Cc: users@ovirt.org
Sent: Sunday, September 2, 2012 4:28:03 PM
Subject: Re: [Users] Ovirt engine.log show WARN before login to web administration portal

I attached the logs (engine.log, engine.log.1)

  
  The UI is fetching configuration values from the backend to complete the rendering and I see several seconds passes between each GetConfigurationValue query so it could 
be that _javascript_ performance is slow or the TCP round-trip between UI and backend is long. 

  



Roy Golan rgo...@redhat.com wrote on Sun, 2 Sep 2012 07:49:38 -0400
(EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Itamar Heim"
ih...@redhat.com Cc: users@ovirt.org Sent: Sunday, September 2,
2012 2:24:21 PM
Subject: Re: [Users] Ovirt engine.log show WARN before login to web
administration portal


Now i'm using internal authentication. no directory server is used.
I have just one admin@internal user. but in the most time, it's very
slow to login. I have 3 Ovirt server but i have this problem on one
of them.
Thanks to understand if its a slow login or the UI takes time to load
(browser/client issue?) we have to start with
/var/log/engine/engine.log. can you attach it?

Itamar Heim ih...@redhat.com wrote on Sun, 02 Sep 2012 14:21:03
+0300:

On 09/02/2012 01:42 PM, Mohsen Saeedi wrote:


Hi
I installed Ovirt3.1 and when i'm trying to login to administration
portal i see the below error continuously in the engine.log:

2012-09-02 15:07:24,836 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-11) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:25,043 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-17) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:25,249 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:25,455 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-16) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:25,656 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-15) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:25,862 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-14) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version
2012-09-02 15:07:26,062 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--0.0.0.0-8009-13) calling GetConfigurationValueQuery
(SearchResultsLimit) with null version, using default general for
version

I search on the google and i found the bug was reported to redhat
bugzilla.I thin it should be fixed on Ovirt 3.1 . finally the login
process take longer than 5 minutes or i'm not able to login!!
Thanks.
___
Users mailing list Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users these warning are
mostly harmless.
which type of authentication provider are you using?


___
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 engine.log show WARN before login to web administration portal

2012-09-04 Thread Mohsen Saeedi

  
  


  
  
 Itamar

  Heim ih...@redhat.com wrote on Tue, 04 Sep
  2012 16:57:13 +0300:
On
  09/04/2012 04:22 PM, Mohsen Saeedi wrote:
  
  I changed my config and set the ovirt
console on our private ip address.

now it's very fast. but on the slow internet link it's very very
slow.

thanks

  
  
  first time login may be slow as GWT downloads all the application
  as _javascript_.
  
  post the first login, how long does it take to re-login?
  

Yes.for the first time is very slow. I guess the previous problem
occur because my internet connection had problem. GWT should be
downloads all application every first time(with new browser or
operating system)?

  


/*Roy Golan rgo...@redhat.com*/ wrote on Tue, 4 Sep 2012
02:48:11

-0400 (EDT):


  
  - Original Message -
  
  From: "Mohsen
    Saeedi"mohsen.sae...@gmail.com

To: "Roy Golan"rgo...@redhat.com

Cc:users@ovirt.org

Sent: Sunday, September 2, 2012 4:28:03 PM

Subject: Re: [Users] Ovirt engine.log show WARN before login
to web administration portal


I attached the logs (engine.log, engine.log.1)

  
  The UI is fetching configuration values from the backend to
  complete the rendering and I see several seconds passes
  between each GetConfigurationValue query so it could
  
  be that _javascript_ performance is slow or the TCP round-trip
  between UI and backend is long.
  
  


Roy Golanrgo...@redhat.com  wrote on Sun, 2 Sep 2012
07:49:38 -0400

(EDT):


- Original Message -


    From: "Mohsen Saeedi"mohsen.sae...@gmail.com  To:
"Itamar Heim"

ih...@redhat.com  Cc:users@ovirt.org  Sent: Sunday,
September 2,

2012 2:24:21 PM

Subject: Re: [Users] Ovirt engine.log show WARN before login
to web

administration portal



Now i'm using internal authentication. no directory server
is used.

I have just one admin@internal user. but in the most time,
it's very

slow to login. I have 3 Ovirt server but i have this problem
on one

of them.

Thanks to understand if its a slow login or the UI takes
time to load

(browser/client issue?) we have to start with

/var/log/engine/engine.log. can you attach it?


Itamar Heimih...@redhat.com  wrote on Sun, 02 Sep
2012 14:21:03

+0300:

    
        On 09/02/2012 01:42 PM, Mohsen Saeedi wrote:



Hi

I installed Ovirt3.1 and when i'm trying to login to
administration

portal i see the below error continuously in the engine.log:


2012-09-02 15:07:24,836 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-11) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default
general for

version

2012-09-02 15:07:25,043 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-17) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default
general for

version

2012-09-02 15:07:25,249 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default
general for

version

2012-09-02 15:07:25,455 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-16) calling GetConfigurationValueQuery

(SearchResultsLimit) with null ve

Re: [Users] engine-cleanup and then engine-setup - Failed to enable SELinux boolean

2012-09-03 Thread Mohsen Saeedi
 is in that 
file on any reboots.

At least that was my problem when I got that error.

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -

From: Mohsen Saeedi mohsen.sae...@gmail.com
To: users@ovirt.org
Sent: Monday, September 3, 2012 6:59:47 AM
Subject: [Users] engine-cleanup and then engine-setup - Failed to enable
SELinux boolean


Hi
i'm usign Ovirt 3.1 on the Centos 6.3 x64.
I use engine-cleanup and then use engine-setup again. everything was
ok but i got the SELinux error at the end of configuration:

Proceed with the configuration listed above? (yes|no): yes

Installing:
AIO: Validating CPU Compatibility... [ DONE ]
Configuring oVirt-engine... [ DONE ]
Creating CA... [ DONE ]
Editing JBoss Configuration... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall (iptables)... [ DONE ]
Starting JBoss Service... [ DONE ]
Handling HTTPD... [ ERROR ]
Failed to enable SELinux boolean
Please check log file
/var/log/ovirt-engine/engine-setup_2012_09_03_01_17_41.log for more
information

I Attached the log file.

___
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] engine-cleanup and then engine-setup - Failed to enable SELinux boolean

2012-09-03 Thread Mohsen Saeedi

I think the error occur with this line:
 # Set selinux configuration
nfsutils.setSELinuxContextForDir(controller.CONF[NFS_MP], 
nfsutils.SELINUX_RW_LABEL)




/*Tim Hildred thild...@redhat.com*/ wrote on Sun, 2 Sep 2012 19:30:39 
-0400 (EDT):

Hey Mohsen;

Did you check /etc/sysconfig/selinux to ensure that SELINUX=enforcing?

If you set it with setenforce, it would have reverted to whatever is in that 
file on any reboots.

At least that was my problem when I got that error.

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -

From: Mohsen Saeedi mohsen.sae...@gmail.com
To: users@ovirt.org
Sent: Monday, September 3, 2012 6:59:47 AM
Subject: [Users] engine-cleanup and then engine-setup - Failed to enable
SELinux boolean


Hi
i'm usign Ovirt 3.1 on the Centos 6.3 x64.
I use engine-cleanup and then use engine-setup again. everything was
ok but i got the SELinux error at the end of configuration:

Proceed with the configuration listed above? (yes|no): yes

Installing:
AIO: Validating CPU Compatibility... [ DONE ]
Configuring oVirt-engine... [ DONE ]
Creating CA... [ DONE ]
Editing JBoss Configuration... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall (iptables)... [ DONE ]
Starting JBoss Service... [ DONE ]
Handling HTTPD... [ ERROR ]
Failed to enable SELinux boolean
Please check log file
/var/log/ovirt-engine/engine-setup_2012_09_03_01_17_41.log for more
information

I Attached the log file.

___
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] Ovirt how to change ip address or fqdn?

2012-09-02 Thread Mohsen Saeedi

  
  
Hi
I want to know how can i change ovirt ip address or fqdn? should i
follow specific steps? or just change fqdn in dns and change server
ip address.
Thanks
  

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


[Users] Ovirt engine.log show WARN before login to web administration portal

2012-09-02 Thread Mohsen Saeedi

Hi
I installed Ovirt3.1 and when i'm trying to login to administration 
portal i see the below error continuously in the engine.log:


2012-09-02 15:07:24,836 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-11) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:25,043 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-17) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:25,249 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:25,455 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-16) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:25,656 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-15) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:25,862 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-14) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version
2012-09-02 15:07:26,062 WARN 
[org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-13) calling GetConfigurationValueQuery 
(SearchResultsLimit) with null version, using default general for version


I search on the google and i found the bug was reported to redhat 
bugzilla.I thin it should be fixed on Ovirt 3.1 .  finally the login 
process take longer than 5 minutes or i'm not able to login!!

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


Re: [Users] Ovirt engine.log show WARN before login to web administration portal

2012-09-02 Thread Mohsen Saeedi

  
  
Now i'm using internal authentication. no
  directory server is used. 
  I have just one admin@internal user. but in the most time, it's
  very slow to login. I have 3 Ovirt server but i have this problem
  on one of them.
  Thanks


  
  
 Itamar

  Heim ih...@redhat.com wrote on Sun, 02 Sep
  2012 14:21:03 +0300:
On
  09/02/2012 01:42 PM, Mohsen Saeedi wrote:
  
  Hi

I installed Ovirt3.1 and when i'm trying to login to
administration

portal i see the below error continuously in the engine.log:


2012-09-02 15:07:24,836 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-11) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:25,043 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-17) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:25,249 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:25,455 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-16) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:25,656 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-15) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:25,862 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-14) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version

2012-09-02 15:07:26,062 WARN

[org.ovirt.engine.core.bll.GetConfigurationValueQuery]

(ajp--0.0.0.0-8009-13) calling GetConfigurationValueQuery

(SearchResultsLimit) with null version, using default general
for version


I search on the google and i found the bug was reported to
redhat

bugzilla.I thin it should be fixed on Ovirt 3.1 .  finally the
login

process take longer than 5 minutes or i'm not able to login!!

Thanks.

___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users

  
  
  these warning are mostly harmless.
  
  which type of authentication provider are you using?
  
  

  

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


Re: [Users] engine-cleanup and then engine-setup - Failed to enable SELinux boolean

2012-09-02 Thread Mohsen Saeedi

  
  
Hi
  yes. i'm expert in selinux. i check the realtime status with
  sestatus and current mode and config mode were enforcing. 
  I teach SELinux course from 6 years ago.
  Thanks.


  
  Tim
  Hildred thild...@redhat.com wrote on Sun, 2
  Sep 2012 19:30:39 -0400 (EDT):

  Hey Mohsen;

Did you check /etc/sysconfig/selinux to ensure that "SELINUX=enforcing"?

If you set it with setenforce, it would have reverted to whatever is in that file on any reboots. 

At least that was my problem when I got that error. 

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -

  
    From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: users@ovirt.org
Sent: Monday, September 3, 2012 6:59:47 AM
Subject: [Users] engine-cleanup and then engine-setup - Failed to enable	SELinux boolean


Hi
i'm usign Ovirt 3.1 on the Centos 6.3 x64.
I use engine-cleanup and then use engine-setup again. everything was
ok but i got the SELinux error at the end of configuration:

Proceed with the configuration listed above? (yes|no): yes

Installing:
AIO: Validating CPU Compatibility... [ DONE ]
Configuring oVirt-engine... [ DONE ]
Creating CA... [ DONE ]
Editing JBoss Configuration... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall (iptables)... [ DONE ]
Starting JBoss Service... [ DONE ]
Handling HTTPD... [ ERROR ]
Failed to enable SELinux boolean
Please check log file
/var/log/ovirt-engine/engine-setup_2012_09_03_01_17_41.log for more
information

I Attached the log file.

___
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] Installing Host - action is taking longer than allowed by configuration

2012-09-01 Thread Mohsen Saeedi

  
  
I don't have any problem with ssh. i have problem with yum.
SSHInactivityTimeoutSeconds is for  yum too? my Ovirt engine and
vdsm are installed on the same host!
how can i see the completed list of ovirt options?
Thanks.

  
  
 Dougla
s
  Landgraf dougsl...@redhat.com wrote on Fri, 31
  Aug 2012 18:18:38 -0400:
On
  08/31/2012 05:09 PM, Alon Bar-Lev wrote:
  
  

- Original Message -

From: "Mohsen
  Saeedi"mohsen.sae...@gmail.com
  
  To: users@ovirt.org
  
  Sent: Friday, August 31, 2012 11:57:59 PM
  
  Subject: [Users] Installing Host - action is taking longer
  than allowed by    configuration
  
  
  Hi
  
  I Installed ovirt 3.1 all in one package under centos 6.3 .
  but when
  
  i
  
  trying to install localhost as virtualization node (I have one
  server
  
  with local storage) i got a error:
  
     The required action is taking longer than allowed by
  configuration.
  
  I know the reason for it. i have very slow connection. I think
  ovirt
  
  clean yum metadata and try to get metadata again. but my
  internet
  
  connection  is very slow (about 64Kb/s)  and takes a lot of
  time to
  
  finish. how can i increase the allowed time by configuration
  or some
  
  change on postgresql database.?
  
  Thanks
  
  ___
  
  Users mailing list
  
  Users@ovirt.org
  
  http://lists.ovirt.org/mailman/listinfo/users
  
  

Hi,


You can set the SSHInactivityTimoutSeconds within vdc_options
table.


# psql -d engine -U postgres -c "update vdc_options set
option_value = 600 where option_name =
'SSHInactivityTimoutSeconds';"

  
  or try in Engine side using engine-config tool:
  
  
  # engine-config -s SSHInactivityTimoutSeconds=(timer in sec)
  
  # systemctl restart ovirt-engine.service
  
  
  

  

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


Re: [Users] Installing Host - action is taking longer than allowed by configuration

2012-09-01 Thread Mohsen Saeedi

  
  

  I found the answer for my second questions:

engine-config -l 

  
  
 Dougla
s
  Landgraf dougsl...@redhat.com wrote on Fri, 31
  Aug 2012 18:18:38 -0400:
On
  08/31/2012 05:09 PM, Alon Bar-Lev wrote:
  
  

- Original Message -

From: "Mohsen
  Saeedi"mohsen.sae...@gmail.com
  
  To: users@ovirt.org
  
  Sent: Friday, August 31, 2012 11:57:59 PM
  
  Subject: [Users] Installing Host - action is taking longer
  than allowed by    configuration
  
  
  Hi
  
  I Installed ovirt 3.1 all in one package under centos 6.3 .
  but when
  
  i
  
  trying to install localhost as virtualization node (I have one
  server
  
  with local storage) i got a error:
  
     The required action is taking longer than allowed by
  configuration.
  
  I know the reason for it. i have very slow connection. I think
  ovirt
  
  clean yum metadata and try to get metadata again. but my
  internet
  
  connection  is very slow (about 64Kb/s)  and takes a lot of
  time to
  
  finish. how can i increase the allowed time by configuration
  or some
  
  change on postgresql database.?
  
  Thanks
  
  ___
  
  Users mailing list
  
  Users@ovirt.org
  
  http://lists.ovirt.org/mailman/listinfo/users
  
  

Hi,


You can set the SSHInactivityTimoutSeconds within vdc_options
table.


# psql -d engine -U postgres -c "update vdc_options set
option_value = 600 where option_name =
'SSHInactivityTimoutSeconds';"

  
  or try in Engine side using engine-config tool:
  
  
  # engine-config -s SSHInactivityTimoutSeconds=(timer in sec)
  
  # systemctl restart ovirt-engine.service
  
  
  

  

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


Re: [Users] Installing Host - action is taking longer than allowed by configuration

2012-09-01 Thread Mohsen Saeedi

  
  
Thanks for your answer. the correct option is SSHInactivityTimoutSeconds.I
increased it to 2400 seconds and my problem solved.
I apologize for my boring questions.
Best regards

  
  
 Dougla
s
  Landgraf dougsl...@redhat.com wrote on Fri, 31
  Aug 2012 18:18:38 -0400:
On
  08/31/2012 05:09 PM, Alon Bar-Lev wrote:
  
  

- Original Message -

From: "Mohsen
  Saeedi"mohsen.sae...@gmail.com
  
  To: users@ovirt.org
  
  Sent: Friday, August 31, 2012 11:57:59 PM
  
  Subject: [Users] Installing Host - action is taking longer
  than allowed by    configuration
  
  
  Hi
  
  I Installed ovirt 3.1 all in one package under centos 6.3 .
  but when
  
  i
  
  trying to install localhost as virtualization node (I have one
  server
  
  with local storage) i got a error:
  
     The required action is taking longer than allowed by
  configuration.
  
  I know the reason for it. i have very slow connection. I think
  ovirt
  
  clean yum metadata and try to get metadata again. but my
  internet
  
  connection  is very slow (about 64Kb/s)  and takes a lot of
  time to
  
  finish. how can i increase the allowed time by configuration
  or some
  
  change on postgresql database.?
  
  Thanks
  
  ___
  
  Users mailing list
  
  Users@ovirt.org
  
  http://lists.ovirt.org/mailman/listinfo/users
  
  

Hi,


You can set the SSHInactivityTimoutSeconds within vdc_options
table.


# psql -d engine -U postgres -c "update vdc_options set
option_value = 600 where option_name =
'SSHInactivityTimoutSeconds';"

  
  or try in Engine side using engine-config tool:
  
  
  # engine-config -s SSHInactivityTimoutSeconds=(timer in sec)
  
  # systemctl restart ovirt-engine.service
  
  
  

  

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


[Users] Installing Host - action is taking longer than allowed by configuration

2012-08-31 Thread Mohsen Saeedi

Hi
I Installed ovirt 3.1 all in one package under centos 6.3 . but when i 
trying to install localhost as virtualization node (I have one server 
with local storage) i got a error:

 The required action is taking longer than allowed by configuration.
I know the reason for it. i have very slow connection. I think ovirt 
clean yum metadata and try to get metadata again. but my internet 
connection  is very slow (about 64Kb/s)  and takes a lot of time to 
finish. how can i increase the allowed time by configuration or some 
change on postgresql database.?

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


Re: [Users] Host CPU type is not compatible with Cluster Properties

2012-06-10 Thread Mohsen Saeedi

  
  

  It's Intel Xeon CPU 5130.
  Itamar, as you said i run that command and i paste the command
output below:
  [root@kvm01 ~]# vdsClient -s 0 getVdsCaps grep -i flags
    HBAInventory = {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:9c1d1149e962'}], 'FC': []}
    ISCSIInitiatorName = iqn.1994-05.com.redhat:9c1d1149e962
    bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'},
'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '',
'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond1': {'addr':
'', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [],
'hwaddr': '00:00:00:00:00:00'}, 'bond2': {'addr': '', 'cfg': {},
'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
'00:00:00:00:00:00'}, 'bond3': {'addr': '', 'cfg': {}, 'mtu':
'1500', 'netmask': '', 'slaves': [], 'hwaddr':
'00:00:00:00:00:00'}}
    clusterLevels = ['3.0', '3.1']
    cpuCores = 4
    cpuFlags =
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,tm2,ssse3,cx16,xtpr,pdcm,dca,lahf_lm,dts,tpr_shadow
    cpuModel = Intel(R) Xeon(R) CPU    5130  @ 2.00GHz
    cpuSockets = 2
    cpuSpeed = 1999.793
    emulatedMachines = ['rhel6.2.0', 'pc', 'rhel6.1.0',
'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
    guestOverhead = 65
    hooks = {'before_vm_start': {'50_vhostmd': {'md5':
'2aa9ac48ef07de3c94e3428975e9df1a'}, '10_simpleqemu': {'md5':
'2c88a35172c02f2125fafe39c1c95fa9'}}, 'after_vm_destroy':
{'50_vhostmd': {'md5': '47f8d385859e4c3c96113d8ff446b261'}},
'before_vm_dehibernate': {'50_vhostmd': {'md5':
'2aa9ac48ef07de3c94e3428975e9df1a'}},
'before_vm_migrate_destination': {'50_vhostmd': {'md5':
'2aa9ac48ef07de3c94e3428975e9df1a'}}}
    kvmEnabled = true
    lastClient = 217.219.236.9
    lastClientIface = ovirtmgmt
    management_ip = 
    memSize = 7868
    networks = {'ovirtmgmt': {'addr': '217.219.236.9', 'cfg':
{'DNS2': '4.2.2.1', 'DNS1': '8.8.8.8', 'IPADDR':
'217.219.236.9', 'GATEWAY': '217.219.236.20', 'DELAY': '0',
'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO':
'none', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT':
'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off',
'bridged': True, 'gateway': '217.219.236.20', 'ports':
['eth2']}}
    nics = {'eth2': {'hwaddr': '00:1b:78:02:5f:a6', 'netmask':
'', 'speed': 1000, 'addr': '', 'mtu': '1500'}, 'eth1':
{'hwaddr': '00:23:7d:28:db:ba', 'netmask': '', 'speed': 0,
'addr': '', 'mtu': '1500'}, 'eth0': {'hwaddr':
'00:23:7d:28:db:b8', 'netmask': '255.255.255.0', 'speed': 1000,
'addr': '192.168.1.241', 'mtu': '1500'}}
    operatingSystem = {'release': '2.el6.centos.7', 'version':
'6', 'name': 'oVirt Node'}
    packages2 = {'kernel': {'release': '220.17.1.el6.x86_64',
'buildtime': 1337110297.0, 'version': '2.6.32'}, 'spice-server':
{'release': '5.el6', 'buildtime': '1323304307', 'version':
'0.8.2'}, 'vdsm': {'release': '0.274.git937a4b7.el6',
'buildtime': '1339052732', 'version': '4.9.6'}, 'qemu-kvm':
{'release': '2.209.el6_2.5', 'buildtime': '1336984850',
'version': '0.12.1.2'}, 'libvirt': {'release': '23.el6_2.8',
'buildtime': '1334928354', 'version': '0.9.4'}, 'qemu-img':
{'release': '2.209.el6_2.5', 'buildtime': '1336984850',
'version': '0.12.1.2'}}
    reservedMem = 321
    software_revision = 0.274
    software_version = 4.9
    supportedProtocols = ['2.2', '2.3']
    supportedRHEVMs = ['3.0', '3.1']
    uuid =
34313638-3934-435A-4A37-313230394E30_00:1b:78:02:5f:a6
    version_name = Snow Man
    vlans = {}
    vmTypes = ['kvm']
  Thanks
  
  
  Haim
  Ateya hat...@redhat.com wrote on Sat, 09 Jun
  2012 11:36:46 -0400 (EDT):

  

- Original Message -

  
From: "Itamar Heim" ih...@redhat.com
To: "Mohsen Saeedi" mohsen.sae...@gmail.com
Cc: users@ovirt.org
Sent: Saturday, June 9, 2012 5:35:45 PM
Subject: Re: [Users] Host CPU type is not compatible with Cluster Properties

On 06/09/2012 04:02 PM, Mohsen Saeedi wrote:


  Hi

I have problem with cpu type in Ovirt. I have a HP server with
Intel(R)
Xeon(R) CPU  5130  @ 2.00GHz. when i try to add this host as Ovirt
host
in default cluster, i get the error message:

Host CPU type is not com

[Users] Host CPU type is not compatible with Cluster Properties

2012-06-09 Thread Mohsen Saeedi

  
  

  Hi
  I have problem with cpu type in Ovirt. I have a HP server with
Intel(R) Xeon(R) CPU  5130  @ 2.00GHz. when i try to add this
host as Ovirt host in default cluster, i get the error message:
  Host CPU type is not compatible with Cluster Properties
  I know this CPU support VT-x and it's enable in bios. I tested
it with KVM and virt-manager and i saw Qemu/KVM when i try to
add new virtual machine.
  
  
  Thanks
  
  
  
  

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


[Users] Fedora 17 installation problem with Ovirt

2012-06-08 Thread Mohsen Saeedi

  
  

  Hi
  I'm trying to install Fedora 17 x86_64
under Ovirt this week. It stays on the starting shell on hvc0. I
changed kernel boot parameters and used various parameters. but
whit no success.
  
  
  anyone has any idea? I installed other
linux very well. I test installation of Fedora 17 with KVM under
Fedora 16 without any problem.
  I used Ovirt and vdsm under CentOS 6.2
  
  Thanks
  
  
  
  
  

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


Re: [Users] Fedora 17 install­ation problem with Ovirt

2012-06-08 Thread Mohsen Saeedi

  
  

  I tried to install Fedora 16 and Fedora 15 and both of them was
ok. but i have problem with Fedora 17 and in all of the my test,
it report same error that i said on the first email.
  
  
  Thanks
  
  
  ov...@qip.ru
  wrote on Fri, 08 Jun 2012 22:19:31 +0400:
I have the same problem with fedora16 under ovirt, i can't test
  fedora17 because it is not possible now to install any VM under ovirt 3.1 by CD
  issue.
  fedora16 starting only in single mode
  
  
  
  Птн
08 Июн 2012
19:46:07 +0400, Mohsen
Saeedi
mohsen.sae...@gmail.com написал:
  

  Hi
  I'm trying to install Fedora 17
x86_64 under Ovirt
this week. It stays on the starting shell on hvc0. I
changed kernel boot parameters and used various parameters.
but whit no success.
  
  
  anyone has any idea? I installed
other linux
very well. I test installation of Fedora 17 with KVM under
Fedora 16 without any problem.
  I used Ovirt and vdsm under CentOS 6.2
  
  Thanks
  
  

  
  
  
  --
  

  

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


Re: [Users] Ovirt - double use of PCI Address

2012-06-06 Thread Mohsen Saeedi

  
  

  Thanks. we should help each other in open source product. I'm
trying to work with Ovirt everyday and if i find new problem or
bug, i'll send it to lists.
  I didn't define any pool. as default pool is exist? 
  i make snapshot from my VM and then create new clone based on
snapshot. then i try to start new vm. it failed with double of
pci address.then i removed new clone VM. then i try to start old
VM (that i created snapshot from it) . but i saw it failed too!
  
  then i sent email to this lists and you helped me to solve this
problem.
  thanks. 
  
  
  Oved
  Ourfalli ov...@redhat.com wrote on Wed, 06 Jun
  2012 03:20:16 -0400 (EDT):

  Fix is now merged upstream:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=242636a161a1f7ee44bfad2f9a80002b589b685e

I verified it on my environment, testing both snapshots and pools.

I guess that old VMs you have, that are part of a pool, or were restored from snapshots, can be damaged (as not only the monitors were duplicated, but all the other devices as well, besides disks).

Thank you for helping us find the problem,
Oved

- Original Message -

  
From: "Yair Zaslavsky" yzasl...@redhat.com
To: users@ovirt.org
Cc: "mohsen saeedi" mohsen.sae...@gmail.com, "Oved Ourfalli" oourf...@redhat.com
Sent: Tuesday, June 5, 2012 7:16:12 PM
Subject: Re: [Users] Ovirt - double use of PCI Address

On 06/05/2012 06:46 PM, Oved Ourfalli wrote:


  I think that the problem is related to snapshots.
I saw that when working with a VM pool, defining some pre-started
VMs, then when shutting down a VM then all the devices are created
again, which leads to these duplications.
Still need to investigate/debug it, on a clean environment, but
looks like it is the issue.





  
Oved


I would also like to add that maybe its worth to get the XML of the
configuration of the snapshot.
This information is stored as "text" under the vm_configuration
column
of "snapshots" table.
You will always have an "active" snapshot - this is not the snapshot
you're interested at, simply query the snapshots table according to
the
snapshot description, and you will have the OVF that describes the VM
when the snapshot was created.
I wonder if the OVF is correctly kept at the snapshot (just
suggesting
another point of investigation)

Yair





  
- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Oved Ourfalli" ov...@redhat.com
Cc: users@ovirt.org, "Igor Lvovsky" ilvov...@redhat.com
Sent: Tuesday, June 5, 2012 6:34:18 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Ok. thanks. I'm trying to do all of the under my home server with
Ovirt. I'll update you about any problem in this case.



Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012
11:20:03
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved
Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 6:10:30 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Hi Again

I just defined new server on Ovirt admin portal. I think define
monitor is for desktop virtualization. is it true?

I switched more than two time between spice and vnc. do you think
switching between vnc and spice is the reason for this problem?
And
did the problem occur?
Trying to reproduce it now and I can't, although I seem to have
some
VMs with more than one monitor in the vm_device table, but all
have
this property set to 1.
I'll update you in case I understand the reason. If you have a
solid
reproduction then please share it.

Thank you,
Oved

I'm going to delete extra video card. but it's very interesting
for
me to know about reason of this problem.




Thanks

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012
10:16:07
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved
Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 5:06:55 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Thanks. But i didn't add 3 video card! why there is 3 video
card?is
it bug? Basically the number of devices should grow or shrink,
according to the number of monitors you choose in the VM
properties.
If it has more then it is a bug.
I'll take a look at it.

can you please explain more about how can i fix this problem? i
must
go to the database and then i leave the address as is? i don't
understand last your sentence.
Thanks for you attention. Thinking of it, if you don't want 3
devices
you can just delete two of the three video contr

Re: [Users] Ovirt - double use of PCI Address

2012-06-06 Thread Mohsen Saeedi

  
  

  
  
  
  Oved
  Ourfalli ov...@redhat.com wrote on Wed, 06 Jun
  2012 05:03:28 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Oved Ourfalli" ov...@redhat.com
Cc: users@ovirt.org, "Yair Zaslavsky" yzasl...@redhat.com
Sent: Wednesday, June 6, 2012 11:24:14 AM
Subject: Re: [Users] Ovirt - double use of PCI Address




Thanks. we should help each other in open source product. I'm trying
to work with Ovirt everyday and if i find new problem or bug, i'll
send it to lists.

I didn't define any pool. as default pool is exist?


  
  No.
But pool uses snapshots for stateless VMs, and that's where I originally reproduced the problem.

oh. yes. I saw stateless but what is the meaning of stateless VMs?
I'm sorry to ask a lot of question! 
Thanks

  

  
i make snapshot from my VM and then create new clone based on
snapshot. then i try to start new vm. it failed with double of pci
address.then i removed new clone VM. then i try to start old VM
(that i created snapshot from it) . but i saw it failed too!

then i sent email to this lists and you helped me to solve this
problem.

thanks.

Oved Ourfalli ov...@redhat.com wrote on Wed, 06 Jun 2012 03:20:16
-0400 (EDT):

Fix is now merged upstream:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=242636a161a1f7ee44bfad2f9a80002b589b685e
I verified it on my environment, testing both snapshots and pools.

I guess that old VMs you have, that are part of a pool, or were
restored from snapshots, can be damaged (as not only the monitors
were duplicated, but all the other devices as well, besides disks).

Thank you for helping us find the problem,
Oved

- Original Message -

From: "Yair Zaslavsky" yzasl...@redhat.com To: users@ovirt.org Cc:
"mohsen saeedi" mohsen.sae...@gmail.com , "Oved Ourfalli"
oourf...@redhat.com Sent: Tuesday, June 5, 2012 7:16:12 PM
Subject: Re: [Users] Ovirt - double use of PCI Address

On 06/05/2012 06:46 PM, Oved Ourfalli wrote:

I think that the problem is related to snapshots.
I saw that when working with a VM pool, defining some pre-started
VMs, then when shutting down a VM then all the devices are created
again, which leads to these duplications.
Still need to investigate/debug it, on a clean environment, but
looks like it is the issue.

Oved I would also like to add that maybe its worth to get the XML of
the
configuration of the snapshot.
This information is stored as "text" under the vm_configuration
column
of "snapshots" table.
You will always have an "active" snapshot - this is not the snapshot
you're interested at, simply query the snapshots table according to
the
snapshot description, and you will have the OVF that describes the VM
when the snapshot was created.
I wonder if the OVF is correctly kept at the snapshot (just
suggesting
another point of investigation)

Yair

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 6:34:18 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Ok. thanks. I'm trying to do all of the under my home server with
Ovirt. I'll update you about any problem in this case.



Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012
11:20:03
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved
Ourfalli" ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 6:10:30 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Hi Again

I just defined new server on Ovirt admin portal. I think define
monitor is for desktop virtualization. is it true?

I switched more than two time between spice and vnc. do you think
switching between vnc and spice is the reason for this problem?
And
did the problem occur?
Trying to reproduce it now and I can't, although I seem to have
some
VMs with more than one monitor in the vm_device table, but all
have
this property set to 1.
I'll update you in case I understand the reason. If you have a
solid
reproduction then please share it.

Thank you,
Oved

I'm going to delete extra video card. but it's very interesting
for
me to know about reason of this problem.




Thanks

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012
10:16:07
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved
Ourfalli" ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 5:06:55 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Thanks. But i didn't add 3 video card! why there is 3 video
card?is
i

[Users] Ovirt - double use of PCI Address

2012-06-05 Thread Mohsen Saeedi

  
  

  Hi
  I setup ovirt and some other things. I make a virtual machine
(CentOS 6.2). installed and configured it. then power off it and
make a snapshot and create clone image from it. 
  when i trying to start new machine, i got this error:
  2012-06-05 13:16:15.433+: 2375: error :
qemuCollectPCIAddress:743 : XML error: Attempted double use of
PCI Address '0:0:2.0'
  I remove the new machine and try to start old machine. i get
the error again! and i'm enable to start old machine. 
  
  
  Any idea?
  Thanks.
  
  
  
  

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


Re: [Users] Ovirt - double use of PCI Address

2012-06-05 Thread Mohsen Saeedi

  
  

  Thanks. But i didn't add 3 video card! why there is 3 video
card?is it bug? 
  
  can you please explain more about how can i fix this problem? i
must go to the database and then i leave the address as is? i
don't understand last your sentence. 
  
  Thanks for you attention. 
  
  Oved
  Ourfalli ov...@redhat.com wrote on Tue, 05 Jun
  2012 10:01:00 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Oved Ourfalli" ov...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, June 5, 2012 4:42:09 PM
Subject: Re: [Users] Ovirt - double use of PCI Address



/*Oved Ourfalli ov...@redhat.com*/ wrote on Tue, 05 Jun 2012
09:29:19
-0400 (EDT):


  
- Original Message -

  
    From: "Mohsen Saeedi"mohsen.sae...@gmail.com
To: users@ovirt.org
Sent: Tuesday, June 5, 2012 4:24:46 PM
Subject: [Users] Ovirt - double use of PCI Address





Hi

I setup ovirt and some other things. I make a virtual machine
(CentOS
6.2). installed and configured it. then power off it and make a
snapshot and create clone image from it.

when i trying to start new machine, i got this error:

2012-06-05 13:16:15.433+: 2375: error :
qemuCollectPCIAddress:743
: XML error: Attempted double use of PCI Address '0:0:2.0'

I remove the new machine and try to start old machine. i get the
error again! and i'm enable to start old machine.


  
  Can you please attach the engine.log and vdsm.log files?


Yes, I attached both of them.


  Are you working with the most updated upstream code?


I'm working with build from git -
faef6297b0d01203e88040b2707f9abfbd754d3f. more information is
available
here:
http://www.dreyou.org/ovirt/

  
  
You can see the issue in vdsm.log file. You have 3 video cards, all on the same address.

		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci" bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video
		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci" bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video
		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci" bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video

Looking at the vdsm code (in vdsm/libvirtvm.py), you can see why such a thing might happen (also look at the FIXME comment :-) ).

# FIXME. We have an identification problem here.
# Video card device has not unique identifier, except the alias
# (but backend not aware to device's aliases).
# So, for now we can only assign the address according to devices order.
for vc in self._devices[vm.VIDEO_DEVICES]:
if not hasattr(vc, 'address') or not hasattr(vc, 'alias'):
vc.alias = alias
vc.address = address
break
# Update vm's conf with address
for dev in self.conf['devices']:
if (dev['type'] == vm.VIDEO_DEVICES) and \
   (not dev.get('address') or not dev.get('alias')):
dev['address'] = address
dev['alias'] = alias
break

The code above is responsible to return the engine core the device addresses, after libvirt executes the VM, so that they will be persistent, and used in future executions of the VM.

Now, the engine core is aware of the alias (as of the exact commit you used :-) ), but the first time you run the VM, you can get the addresses wrong, as the alias isn't taken into account.

Would you like to try to fix this issue? The fix will be to make a better logic in the code above. Similar examples can be found in this file, for example in the section that does the same for controllers.

If not, let me know and I'll go ahead and fix that.

In the meantime, you can workaround this issue by going to the vm_device table, identifying these three devices, leave the address as is for the first video card of your VM (you probably have video0/1/2 as aliases), and try to run the VM again.
Now, the engine will pass the one with the correct address as the first, and libvirt will allocate the right addresses to the other two.
Hopefully this will be enough.

Oved

  

  
We had an issue with the monitors, in which the order of the
monitor devices is important, as the first one needs to get the
address 0:0:2.0, but that issue was fixed.
Are you using more than one monitor?


No, I'm using spice or vnc just for getting 

Re: [Users] Ovirt - double use of PCI Address

2012-06-05 Thread Mohsen Saeedi

  
  

  Ok. thanks. I'm trying to do all of the under my home server
with Ovirt. I'll update you about any problem in this case.
  
  
  
  Oved
  Ourfalli ov...@redhat.com wrote on Tue, 05 Jun
  2012 11:20:03 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Oved Ourfalli" ov...@redhat.com
Cc: users@ovirt.org, "Igor Lvovsky" ilvov...@redhat.com
Sent: Tuesday, June 5, 2012 6:10:30 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Hi Again

I just defined new server on Ovirt admin portal. I think define
monitor is for desktop virtualization. is it true?

I switched more than two time between spice and vnc. do you think
switching between vnc and spice is the reason for this problem?


  
  And did the problem occur?
Trying to reproduce it now and I can't, although I seem to have some VMs with more than one monitor in the vm_device table, but all have this property set to 1.
I'll update you in case I understand the reason. If you have a solid reproduction then please share it.

Thank you,
Oved


  
I'm going to delete extra video card. but it's very interesting for
me to know about reason of this problem.




Thanks

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012 10:16:07
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 5:06:55 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Thanks. But i didn't add 3 video card! why there is 3 video card?is
it bug? Basically the number of devices should grow or shrink,
according to the number of monitors you choose in the VM properties.
If it has more then it is a bug.
I'll take a look at it.

can you please explain more about how can i fix this problem? i must
go to the database and then i leave the address as is? i don't
understand last your sentence.
Thanks for you attention. Thinking of it, if you don't want 3 devices
you can just delete two of the three video controllers in order to
workaround the issue.
In order to do that you'll have to do the following in the database:
1. Find the vm_id of your VM. You can do that by looking at the
vm_static table.
2. Then, in the vm_device table, find the video devices.
3. Delete two of the three devices.

Let me know if you need more help.

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012 10:01:00
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org Sent: Tuesday, June 5, 2012
4:42:09 PM
Subject: Re: [Users] Ovirt - double use of PCI Address



/*Oved Ourfalli ov...@redhat.com */ wrote on Tue, 05 Jun 2012
09:29:19
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: users@ovirt.org
Sent: Tuesday, June 5, 2012 4:24:46 PM
Subject: [Users] Ovirt - double use of PCI Address





Hi

I setup ovirt and some other things. I make a virtual machine
(CentOS
6.2). installed and configured it. then power off it and make a
snapshot and create clone image from it.

when i trying to start new machine, i got this error:

2012-06-05 13:16:15.433+: 2375: error :
qemuCollectPCIAddress:743
: XML error: Attempted double use of PCI Address '0:0:2.0'

I remove the new machine and try to start old machine. i get the
error again! and i'm enable to start old machine. Can you please
attach the engine.log and vdsm.log files? Yes, I attached both of
them.

Are you working with the most updated upstream code? I'm working with
build from git -
faef6297b0d01203e88040b2707f9abfbd754d3f. more information is
available
here: http://www.dreyou.org/ovirt/ You can see the issue in vdsm.log
file. You have 3 video cards, all on the same address.

		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci"
			bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video
		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci"
			bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video
		video
			address  domain="0x"  function="0x0"  slot="0x02"  type="pci"
			bus="0x00"/
			model heads="1" type="qxl" vram="65536"/
		/video

Looking at the vdsm code (in vdsm/libvirtvm.py), you can see why such
a thing might happen (also look at the FIXME comment :-) ).

# FIXME. We have an identification problem here.
# Video card device has not unique identifier, except the
alias

Re: [Users] Ovirt - double use of PCI Address

2012-06-05 Thread Mohsen Saeedi

  
  

  Yes. I agree too with your idea. I had this problem just when i
create snapshot from CentOS. and then i try to start origin
virtual machine and new clone. both of them send the same error
double use of PCI Address.
  Thanks
  
  
  Oved
  Ourfalli ov...@redhat.com wrote on Tue, 05 Jun
  2012 11:46:21 -0400 (EDT):

  I think that the problem is related to snapshots.
I saw that when working with a VM pool, defining some pre-started VMs, then when shutting down a VM then all the devices are created again, which leads to these duplications.
Still need to investigate/debug it, on a clean environment, but looks like it is the issue.

Oved

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Oved Ourfalli" ov...@redhat.com
Cc: users@ovirt.org, "Igor Lvovsky" ilvov...@redhat.com
Sent: Tuesday, June 5, 2012 6:34:18 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Ok. thanks. I'm trying to do all of the under my home server with
Ovirt. I'll update you about any problem in this case.



Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012 11:20:03
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 6:10:30 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Hi Again

I just defined new server on Ovirt admin portal. I think define
monitor is for desktop virtualization. is it true?

I switched more than two time between spice and vnc. do you think
switching between vnc and spice is the reason for this problem? And
did the problem occur?
Trying to reproduce it now and I can't, although I seem to have some
VMs with more than one monitor in the vm_device table, but all have
this property set to 1.
I'll update you in case I understand the reason. If you have a solid
reproduction then please share it.

Thank you,
Oved

I'm going to delete extra video card. but it's very interesting for
me to know about reason of this problem.




Thanks

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012 10:16:07
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org , "Igor Lvovsky"
ilvov...@redhat.com Sent: Tuesday, June 5, 2012 5:06:55 PM
Subject: Re: [Users] Ovirt - double use of PCI Address





Thanks. But i didn't add 3 video card! why there is 3 video card?is
it bug? Basically the number of devices should grow or shrink,
according to the number of monitors you choose in the VM properties.
If it has more then it is a bug.
I'll take a look at it.

can you please explain more about how can i fix this problem? i must
go to the database and then i leave the address as is? i don't
understand last your sentence.
Thanks for you attention. Thinking of it, if you don't want 3 devices
you can just delete two of the three video controllers in order to
workaround the issue.
In order to do that you'll have to do the following in the database:
1. Find the vm_id of your VM. You can do that by looking at the
vm_static table.
2. Then, in the vm_device table, find the video devices.
3. Delete two of the three devices.

Let me know if you need more help.

Oved Ourfalli ov...@redhat.com wrote on Tue, 05 Jun 2012 10:01:00
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Oved Ourfalli"
ov...@redhat.com Cc: users@ovirt.org Sent: Tuesday, June 5, 2012
4:42:09 PM
Subject: Re: [Users] Ovirt - double use of PCI Address



/*Oved Ourfalli ov...@redhat.com */ wrote on Tue, 05 Jun 2012
09:29:19
-0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: users@ovirt.org
Sent: Tuesday, June 5, 2012 4:24:46 PM
Subject: [Users] Ovirt - double use of PCI Address





Hi

I setup ovirt and some other things. I make a virtual machine
(CentOS
6.2). installed and configured it. then power off it and make a
snapshot and create clone image from it.

when i trying to start new machine, i got this error:

2012-06-05 13:16:15.433+: 2375: error :
qemuCollectPCIAddress:743
: XML error: Attempted double use of PCI Address '0:0:2.0'

I remove the new machine and try to start old machine. i get the
error again! and i'm enable to start old machine. Can you please
attach the engine.log and vdsm.log files? Yes, I attached both of
them.

Are you working with the most updated upstream code? I'm working with
build from git -
faef6297b0d01203e88040b2707f9abfbd754d3f. more information is
available
here: http://www.dreyou.org/ovirt/ You can see the issue in vdsm.log
file. You have 3 video cards, all on the same address.

		video
			address  domain="0x"  function=&qu

Re: [Users] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  

  Hi again
  I used the following command and it worked for me! great
  psql engine -U postgres -c "UPDATE vdc_options set option_value
= 'rhel6.2.0' where option_name = 'EmulatedMachine'"
  
  
  but why? I want to know about this problem concept. I know
about psql command.
  
  
  Itamar
  Heim ih...@redhat.com wrote on Thu, 26 Apr
  2012 10:06:39 +0300:
On
  04/26/2012 09:19 AM, Mohsen Saeedi wrote:
  
  Hi


I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured
anything

correctly. I defined ISO Domain and Data Domain for iso file and
virtual

machine file under NFS storage. I made new virtual server with
CentOS

6.2 x64 and assigned redhat 6.2 x64 as linux type.


But when i start VM it failed to start. I read libvirtd log and
it write

a error on libvirtd.log:


2012-04-25 21:04:59.952+: 1705: error :

qemuProcessReadLogOutput:1005 : internal error Process exited
while

reading console log output: Supported machines are:

pc RHEL 6.2.0 PC (alias of rhel6.2.0)

rhel6.2.0 RHEL 6.2.0 PC (default)

rhel6.1.0 RHEL 6.1.0 PC

rhel6.0.0 RHEL 6.0.0 PC

rhel5.5.0 RHEL 5.5.0 PC

rhel5.4.4 RHEL 5.4.4 PC

rhel5.4.0 RHEL 5.4.0 PC


What is the problem. I'm experience user on RHEL with 10 more
years work

as administrator and i have good knowledge about KVM and virt
manager

but i'm semi-pro on ovrit!



Thanks for help



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users

  
  
  look at EmulatedMachine parameter:
  
  http://lists.ovirt.org/pipermail/users/2012-January/000278.html
  
  http://www.ovirt.org/wiki/User:Lhornyak
  
  http://ovirt.org/wiki/Engine_Node_Integration
  
  http://gerrit.ovirt.org/#change,3893
  

  

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


Re: [Users] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  

  Thanks. but i have another problem. I changed attach cd but i
got error when ovirt trying to updagte VM!
  2012-04-26 18:08:55.451+: 1629: error :
virNetSocketReadWire:911 : End of file while reading data:
Input/output error
2012-04-26 18:43:53.498+: 1636: error :
qemuMonitorJSONCheckError:318 : internal error unable to execute
QEMU command 'change': Device 'drive-ide0-1-0' is locked
2012-04-26 18:45:35.922+: 1633: warning :
qemuDomainObjTaint:1123 : Domain id=4 name='Fedora'
uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted:
custom-monitor
  It's unable to eject cd. what's the solution?
  and another question is where can i get the patch you told in
your answer? i didn't see any file or link.
  
  Thanks.
  
  
  Andrew
  Cathrow acath...@redhat.com wrote on Thu, 26
  Apr 2012 15:00:43 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Itamar Heim" ih...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, April 26, 2012 2:53:01 PM
Subject: Re: [Users] Failed to start VM





Hi again

I used the following command and it worked for me! great

psql engine -U postgres -c "UPDATE vdc_options set option_value =
'rhel6.2.0' where option_name = 'EmulatedMachine'"




but why? I want to know about this problem concept. I know about psql
command.

  
  
We need a stable machine type to ensure migration, you can have different qemu-kvm versions on different hosts but as long as they support the same stable machine type they will have compatibility for migration.
The setting which you set in database (but see patch below to make it a config option) allows you to specify the required machine type.
Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL users different machine types.



  

Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
+0300:

On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:


Hi

I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured anything
correctly. I defined ISO Domain and Data Domain for iso file and
virtual
machine file under NFS storage. I made new virtual server with CentOS
6.2 x64 and assigned redhat 6.2 x64 as linux type.

But when i start VM it failed to start. I read libvirtd log and it
write
a error on libvirtd.log:

2012-04-25 21:04:59.952+: 1705: error :
qemuProcessReadLogOutput:1005 : internal error Process exited while
reading console log output: Supported machines are:
pc RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0 RHEL 6.2.0 PC (default)
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
rhel5.5.0 RHEL 5.5.0 PC
rhel5.4.4 RHEL 5.4.4 PC
rhel5.4.0 RHEL 5.4.0 PC

What is the problem. I'm experience user on RHEL with 10 more years
work
as administrator and i have good knowledge about KVM and virt manager
but i'm semi-pro on ovrit!


Thanks for help


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

look at EmulatedMachine parameter:
http://lists.ovirt.org/pipermail/users/2012-January/000278.html
http://www.ovirt.org/wiki/User:Lhornyak
http://ovirt.org/wiki/Engine_Node_Integration
http://gerrit.ovirt.org/#change,3893

___
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] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  
what is the solution for complete unmount older CD
  and attach new cd to VM?
  
  Andrew
  Cathrow acath...@redhat.com wrote on Thu, 26
  Apr 2012 15:13:56 -0400 (EDT):

  

- Original Message -

  
From: "Andrew Cathrow" acath...@redhat.com
To: "Mohsen Saeedi" mohsen.sae...@gmail.com
Cc: users@ovirt.org, "Itamar Heim" ih...@redhat.com
Sent: Thursday, April 26, 2012 3:13:43 PM
Subject: Re: [Users] Failed to start VM



- Original Message -----

    
  From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Andrew Cathrow" acath...@redhat.com
Cc: users@ovirt.org, "Itamar Heim" ih...@redhat.com
Sent: Thursday, April 26, 2012 3:05:00 PM
Subject: Re: [Users] Failed to start VM




Thanks. but i have another problem. I changed attach cd but i got
error when ovirt trying to updagte VM!

2012-04-26 18:08:55.451+: 1629: error :
virNetSocketReadWire:911
: End of file while reading data: Input/output error
2012-04-26 18:43:53.498+: 1636: error :
qemuMonitorJSONCheckError:318 : internal error unable to execute
QEMU command 'change': Device 'drive-ide0-1-0' is locked
2012-04-26 18:45:35.922+: 1633: warning :
qemuDomainObjTaint:1123
: Domain id=4 name='Fedora'
uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted:
custom-monitor

It's unable to eject cd. what's the solution?

and another question is where can i get the patch you told in your
answer? i didn't see any file or link.





Last link at the bottom - http://gerrit.ovirt.org/#change,3893

  
  
well, that's part of a series of changes ...

  



  Thanks.

Andrew Cathrow acath...@redhat.com wrote on Thu, 26 Apr 2012
15:00:43 -0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Itamar Heim"
ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, April 26,
2012 2:53:01 PM
Subject: Re: [Users] Failed to start VM





Hi again

I used the following command and it worked for me! great

psql engine -U postgres -c "UPDATE vdc_options set option_value =
'rhel6.2.0' where option_name = 'EmulatedMachine'"




but why? I want to know about this problem concept. I know about
psql
command. We need a stable machine type to ensure migration, you can
have different qemu-kvm versions on different hosts but as long as
they support the same stable machine type they will have
compatibility for migration.
The setting which you set in database (but see patch below to make
it
a config option) allows you to specify the required machine type.
Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL
users different machine types.

Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
+0300:

On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:


Hi

I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured
anything
correctly. I defined ISO Domain and Data Domain for iso file and
virtual
machine file under NFS storage. I made new virtual server with
CentOS
6.2 x64 and assigned redhat 6.2 x64 as linux type.

But when i start VM it failed to start. I read libvirtd log and it
write
a error on libvirtd.log:

2012-04-25 21:04:59.952+: 1705: error :
qemuProcessReadLogOutput:1005 : internal error Process exited while
reading console log output: Supported machines are:
pc RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0 RHEL 6.2.0 PC (default)
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
rhel5.5.0 RHEL 5.5.0 PC
rhel5.4.4 RHEL 5.4.4 PC
rhel5.4.0 RHEL 5.4.0 PC

What is the problem. I'm experience user on RHEL with 10 more years
work
as administrator and i have good knowledge about KVM and virt
manager
but i'm semi-pro on ovrit!


Thanks for help


___
Users mailing list Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users look at
EmulatedMachine parameter:
http://lists.ovirt.org/pipermail/users/2012-January/000278.html
http://www.ovirt.org/wiki/User:Lhornyak
http://ovirt.org/wiki/Engine_Node_Integration
http://gerrit.ovirt.org/#change,3893
___
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