Re: [Users] Ovirt Engine as a VM

2012-02-19 Thread Shu Ming

On 2012-2-19 2:16, Nathan Stratton wrote:


Had anyone created a how to or notes on how to manage an ovirt engine 
as a guest on the cluster? This should be possible, when the cluster 
is powered up for the first time it would require some specialized 
instructions to fire up the ovirt engine on a node.


Does the guest(VM)  hosting the ovirt-engine be managed by the 
ovirt-engine?  If It does,  it looks like a logical loop here.  Say,  if 
the ovirt-engine stop the hosting VM,  the ovirt-engine will also be 
stopped.




P.S. Are there any plans for redundant ovirt engines in the works?




Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] Network configuration

2012-03-04 Thread Shu Ming

On 2012-3-3 17:47, Dan Yasny wrote:


- Original Message -

From: Andrew James Dunlopand...@dunlop.me.uk
To: users@ovirt.org
Sent: Monday, 6 February, 2012 11:45:20 PM
Subject: [Users] Network configuration


I feel like I have been bombarding this list the last few days,
sorry!
I have been looking at the different possible network configurations
shown at http://www.ovirt.org/wiki/Vdsm_Network and trying to work
out how to achieve the second topology ( bridge over vlan over nic
). I can see that it is possible to assign a logical network to a
physical network on a node but how can you add more than one as this
is a dropdown menu? My nodes have two NICs, one of these is for the
management network but I could like to have a number of logical
networks (with different VLAN tags) connected to the other NIC.
Is this currently possible using the web UI?

Very simple
1. create your logical networks with vlan tags in the data centre
2. assign those networks to the relevant cluster

Now, assuming we are going to assign network X with tag 100 and network Y with 
tag 200 to eth0 on a host:
Edit eth0 on the host - assign network X to it
see how eth0.100 gets created and the X network attached ot that tagged 
interface
Edit eth0 again, assign network Y
see how eth0.200 gets created and Y is attached

repead for additional tagged networks


Yes, we can do these manually if we are the master of the system 
administrator.  But I think we should provide a UI to the user and VDSM 
management API in the backend.  Also, it is a quite a challenge to 
assign the VMs in different host to the same vlan.






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




--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


[Users] permission settings on the specified path do not allow access to the storage

2012-03-06 Thread Shu Ming

Hi,
  My ovirt-engine was setup on a vm host with ip:xxx.xxx.xxx.112.  And 
I am trying to create a new domain with ovirt-engine UI  by the 
Storage-- New Domain.  And the following error happened.  However I 
can mount the  xxx.xxx.xxx.110:/data by mount -t nfs 
xxx.xxx.xxx.110:/data /mnt manually in the ovirt-engine host, also a 
new file can be created under the mounted directory with touch xx.  It 
looks to me that there is no permission problem when I access the remote 
nfs path manually.  So does ovirt-engine enforce additional permission 
check beside the normal unix file permission check here?



[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
2012-03-06 00:38:51,165 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] 
(http--0.0.0.0-8080-6) START, 
ValidateStorageServerConnectionVDSCommand(vdsId = 
46a83d56-66d9-11e1-8004-5254009e821b, storagePoolId = 
----, storageType = NFS, connectionList 
= [{ id: null, connection: xxx.xxx.xxx.110:/data };]), log id: 1899002d
2012-03-06 00:38:51,297 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] 
(http--0.0.0.0-8080-6) FINISH, 
ValidateStorageServerConnectionVDSCommand, return: 
{----=469}, log id: 1899002d
2012-03-06 00:38:51,300 ERROR 
[org.ovirt.engine.core.bll.storage.NFSStorageHelper] 
(http--0.0.0.0-8080-6) The connection with details xxx.xxx.xxx.110:/data 
failed because of error code 469 and error message is: permission 
settings on the specified path do not allow access to the storage.

verify permission settings on the specified storage path.
2012-03-06 00:38:51,300 WARN  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(http--0.0.0.0-8080-6) CanDoAction of action AddStorageServerConnection 
failed. Reasons:ACTION_TYPE_FAILED_STORAGE_CONNECTION
2012-03-06 00:38:51,425 INFO  
[org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand] 
(http--0.0.0.0-8080-4) Running command: 
RemoveStorageServerConnectionCommand internal: false. Entities affected 
:  ID: aaa0----123456789aaa Type: System


--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] permission settings on the specified path do not allow access to the storage

2012-03-06 Thread Shu Ming
It seems that the problem came from the name of the data domain to be 
created.  I used data to be the name.  Is data a reserved name for 
the storage domain?


On 2012-3-6 17:30, Shu Ming wrote:

Hi,
  My ovirt-engine was setup on a vm host with ip:xxx.xxx.xxx.112.  And 
I am trying to create a new domain with ovirt-engine UI  by the 
Storage-- New Domain.  And the following error happened.  However 
I can mount the  xxx.xxx.xxx.110:/data by mount -t nfs 
xxx.xxx.xxx.110:/data /mnt manually in the ovirt-engine host, also a 
new file can be created under the mounted directory with touch xx.  
It looks to me that there is no permission problem when I access the 
remote nfs path manually.  So does ovirt-engine enforce additional 
permission check beside the normal unix file permission check here?



[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
2012-03-06 00:38:51,165 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] 
(http--0.0.0.0-8080-6) START, 
ValidateStorageServerConnectionVDSCommand(vdsId = 
46a83d56-66d9-11e1-8004-5254009e821b, storagePoolId = 
----, storageType = NFS, 
connectionList = [{ id: null, connection: xxx.xxx.xxx.110:/data };]), 
log id: 1899002d
2012-03-06 00:38:51,297 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] 
(http--0.0.0.0-8080-6) FINISH, 
ValidateStorageServerConnectionVDSCommand, return: 
{----=469}, log id: 1899002d
2012-03-06 00:38:51,300 ERROR 
[org.ovirt.engine.core.bll.storage.NFSStorageHelper] 
(http--0.0.0.0-8080-6) The connection with details 
xxx.xxx.xxx.110:/data failed because of error code 469 and error 
message is: permission settings on the specified path do not allow 
access to the storage.

verify permission settings on the specified storage path.
2012-03-06 00:38:51,300 WARN  
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
(http--0.0.0.0-8080-6) CanDoAction of action 
AddStorageServerConnection failed. 
Reasons:ACTION_TYPE_FAILED_STORAGE_CONNECTION
2012-03-06 00:38:51,425 INFO  
[org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand] 
(http--0.0.0.0-8080-4) Running command: 
RemoveStorageServerConnectionCommand internal: false. Entities 
affected :  ID: aaa0----123456789aaa Type: System





--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] permission settings on the specified path do not allow access to the storage

2012-03-06 Thread Shu Ming
The problem was resloved  and It might come from the naming problem 
using 'data' as domain name.

On 2012-3-6 22:55, Xiaofan wrote:

Manually mount and touch with kvm:qemu user/group and see if success?

2012/3/6 Shu Mingshum...@linux.vnet.ibm.com:

It seems that the problem came from the name of the data domain to be
created.  I used data to be the name.  Is data a reserved name for the
storage domain?


On 2012-3-6 17:30, Shu Ming wrote:

Hi,
  My ovirt-engine was setup on a vm host with ip:xxx.xxx.xxx.112.  And I am
trying to create a new domain with ovirt-engine UI  by the Storage--  New
Domain.  And the following error happened.  However I can mount the
  xxx.xxx.xxx.110:/data by mount -t nfs xxx.xxx.xxx.110:/data /mnt manually
in the ovirt-engine host, also a new file can be created under the mounted
directory with touch xx.  It looks to me that there is no permission
problem when I access the remote nfs path manually.  So does ovirt-engine
enforce additional permission check beside the normal unix file permission
check here?


[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
[root@ovirt-engine-112 /]# vim /var/log/ovirt-engine/engine.log
2012-03-06 00:38:51,165 INFO
  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
(http--0.0.0.0-8080-6) START,
ValidateStorageServerConnectionVDSCommand(vdsId =
46a83d56-66d9-11e1-8004-5254009e821b, storagePoolId =
----, storageType = NFS, connectionList = [{
id: null, connection: xxx.xxx.xxx.110:/data };]), log id: 1899002d
2012-03-06 00:38:51,297 INFO
  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
(http--0.0.0.0-8080-6) FINISH, ValidateStorageServerConnectionVDSCommand,
return: {----=469}, log id: 1899002d
2012-03-06 00:38:51,300 ERROR
[org.ovirt.engine.core.bll.storage.NFSStorageHelper] (http--0.0.0.0-8080-6)
The connection with details xxx.xxx.xxx.110:/data failed because of error
code 469 and error message is: permission settings on the specified path do
not allow access to the storage.
verify permission settings on the specified storage path.
2012-03-06 00:38:51,300 WARN
  [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
(http--0.0.0.0-8080-6) CanDoAction of action AddStorageServerConnection
failed. Reasons:ACTION_TYPE_FAILED_STORAGE_CONNECTION
2012-03-06 00:38:51,425 INFO
  [org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand]
(http--0.0.0.0-8080-4) Running command: RemoveStorageServerConnectionCommand
internal: false. Entities affected :  ID:
aaa0----123456789aaa Type: System



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] nfs storage domain problems

2012-03-26 Thread Shu Ming
Is it a master data domain? Does you mean you can not remove the data 
domain from oVirt engine?  It seems that you removed all the meta data 
there, that will make oVirt engine broken. Maybe you need to cleanup the 
engine database.

On 2012-3-26 18:20, Rene Rosenberger wrote:


Hi,

ihave set up an nfs export storage domain under /mnt/nfsexport. Then I 
deleted all folder in there and now it is not longer initialized LI 
also cant remove it. What can I do to get it working again?


Regards,



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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

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


Re: [Users] Importing an existing VM

2012-03-29 Thread Shu Ming

On 2012-3-30 10:14, Andrey Falko wrote:


Hi everyone,

I am new to ovirt and can't find any documentation about how to import 
an existing VM into ovirt. I have a qcow2 image that I know runs under 
a KVM hypervisor. Ideally there would be a way for me to import it as 
a template because I plan to create other virtual machines based off 
this VM.


I tried virt-v2v, but it will only work if I have a datacenter setup 
with NFS. In my case, I have a datacenter setup for local storage hosts.


Don's know where are your datacenters.  If both of your datacenters are 
managed by oVirt,  You can export the existing VM in datacenter.  And 
then let the other datacenter to import it.



Thanks,

Andrey



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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

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


Re: [Users] Unable to add fresh oVirt host

2012-04-27 Thread Shu Ming
How about the ouput of brctl show in your ovirt node?  It looks like 
that the right bridge was not created.

On 2012-4-27 12:39, Andrey F. wrote:
On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. ma3ox...@gmail.com 
mailto:ma3ox...@gmail.com wrote:


Are some more digging. I have discovered the following.

It seems that ovirt is not able to create the bridge. What could
be off?; could I have missed a configuration step or param
somewhere?.


Ugh...I've been over-debugging...I was running the script wrong. 
This was getting caught in my params: 
/tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd 
= ', hense why script was getting returned in this log line: Fri, 27 
Apr 2012 03:33:19 DEBUGgetAddress Entry. url=script


When I run the script correctly, I get the VDS compat output per my 
original post with nothing in the bootstrap log.


is in vds_installer script. It passes -v to bootstrap script:

Fri, 27 Apr 2012 03:14:12 DEBUGtrying to run 
/tmp/vds_bootstrap_51b8d414-
a8fa-44f9-8613-f7819255d2eb.py script cmd = 
'/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O 
salesforce.com http://salesforce.com/ -t 2012-04-27T03:12:27 
http://mgmt.example.com:8080/Components/vds/ node.example.com 
http://node.example.com/ 51b8d414-a8fa-44f9-8613-f7819255d2eb'


I was able to figure that out after changing this:

except:
print main.__doc__
return 0

to this:

except Exception, e:
print e

Why is the exception not printed? Getting this output would have saved 
my a lot of debugging time I feel :(.


It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 
is too old for my ovirt which is at version 
ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source.


Note, that I used the following answers file to install ovirt:


[general]
OVERRIDE_IPTABLES=no
HTTP_PORT=8080
HTTPS_PORT=8443
MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF
ORG_NAME=example.com http://example.com
DC_TYPE=NFS
CONFIG_NFS=no
NFS_MP=
ISO_DOMAIN_NAME=
DB_REMOTE_INSTALL=local
#DB_HOST=localhost
#DB_PORT=5432

HOST_FQDN=mgmt.example.com http://mgmt.example.com
AUTH_PASS=password
DB_LOCAL_PASS=password



On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. ma3ox...@gmail.com
mailto:ma3ox...@gmail.com wrote:

I am attempting to add the first host to a newly setup oVirt.
Here is the error message that I am getting:

2012-04-27 00:09:23,485 ERROR
[org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50)
[57283fb3] Installation of node.example.com
http://node.example.com. No meaningful response recieved
from Host. (Stage: Running first installation script on Host)

The following shows up in engine log before hand or if I try
to run the script manually on the oVirt node:
/tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c
'ssl=true;management_port=54321' -O 'example.com
http://example.com' -t 2012-04-27T00:09:22 -f
/tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p
8080 -b -v http://mgmt.example.com:8080/Components/vds/
http://mgmt.example.com:8080/Components/vds/ node.example.com
http://node.example.com 9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602
False
BSTRAP component='INSTALLER' status='OK' message='Test
platform succeeded'/
BSTRAP component='INSTALLER LIB' status='OK' message='Install
library already exists'/
BSTRAP component='INSTALLER' status='OK'
message='vds_bootstrap.py already exist'/

Usage: vds_compat.py [-r rev_num] [-O
organizationName] [-t systemTime]
[-n netconsole_host:port] [-u (seProductRepo)
true|false ]
[-f firewall_rules_file ] url subject random_num

What can I do to figure what could be wrong?





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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

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


Re: [Users] Static IP for VMs

2012-05-09 Thread Shu Ming



On 2012-5-9 18:03, Itamar Heim wrote:

On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:

Hi folks,

Is there a way to assign a static IP while provisioning a new VM?
I do not want to individually go to the console to specify the Static IP
address. Is there any means for specifying that from the management
UI/ovirt-python-binding to do the same ?
--


not yet. ovirt still doesn't handle ip assignments.

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


Can we create a IP pool in engine and make VDSM to request the IP.   
Then VDSM assign the IP to guest agent  to do the network setup.



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] Static IP for VMs

2012-05-09 Thread Shu Ming

On 2012-5-10 2:08, Itamar Heim wrote:

On 05/09/2012 04:43 PM, Shu Ming wrote:



On 2012-5-9 18:03, Itamar Heim wrote:

On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:

Hi folks,

Is there a way to assign a static IP while provisioning a new VM?
I do not want to individually go to the console to specify the 
Static IP

address. Is there any means for specifying that from the management
UI/ovirt-python-binding to do the same ?
--


not yet. ovirt still doesn't handle ip assignments.

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


Can we create a IP pool in engine and make VDSM to request the IP. Then
VDSM assign the IP to guest agent to do the network setup.




not yet.
engine only deals today with mac address pools, which you can use dhcp 
to assign.


If we don't have such features today,  I would like to initiate a new 
project page about this.  The basic idea is:
I) Engine should have a pool of IPs. Engine also can assign a specific 
IP to the VM or assign a random IP in the pool to the VM
II) ovirt agent in guest should request the IP from VDSM. And VDSM proxy 
its request to engine.

III)After ovirt agent get the IP, it can configure the system in one time.

--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


[Users] The SPM host node is in unresponsive mode

2012-05-14 Thread Shu Ming

Hi,
  I attached one host node in my engine.  Because it is the only one 
node, it is automatically the SPM node.  And it used to run well in my 
engine.  Yesterday, some errors happened in the network work of the host 
node.  That made the node become unresponsive in the engine.  I am 
sure the network errors are fixed and want to bring the node back to 
life now.  However, I found that the only one node could not  be 
confirm as host been rebooted and could not be set into the 
maintenance mode.   The reason  given there is no active host in the 
datacenter and SPM can not enter into maintenance mode.  It seems that 
it fell into a logic loop here.  Losting network can be quite common in 
developing environment even in production environment, I think we should 
have a way to address this problem on how to repair a host node 
encountering network down for a while.


--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] The SPM host node is in unresponsive mode

2012-05-15 Thread Shu Ming
Some errors in service status, Is engine-notifierd critical to VDSM? Why 
did it say pgrep: invalid user name: engine



[root@ovirt-node1 ~]# service --status-all
/etc/init.d/ceph: ceph conf /etc/ceph/ceph.conf not found; system is not 
configured.

# Generated by ebtables-save v1.0 on Tue May 15 14:08:06 CST 2012
*nat
:PREROUTING ACCEPT
:OUTPUT ACCEPT
:POSTROUTING ACCEPT

pgrep: invalid user name: engine
/etc/init.d/engine-notifierd is stopped
JAVA_EXECUTABLE or HSQLDB_JAR_PATH in '/etc/sysconfig/hsqldb' is set to 
a non-file.

No active sessions
On 2012-5-15 12:19, Haim Ateya wrote:


- Original Message -

From: Shu Mingshum...@linux.vnet.ibm.com
To: users@oVirt.orgusers@ovirt.org
Sent: Tuesday, May 15, 2012 4:56:36 AM
Subject: [Users] The SPM host  node is in unresponsive mode

Hi,
I attached one host node in my engine.  Because it is the only one
node, it is automatically the SPM node.  And it used to run well in
my
engine.  Yesterday, some errors happened in the network work of the
host
node.  That made the node become unresponsive in the engine.  I am
sure the network errors are fixed and want to bring the node back to
life now.  However, I found that the only one node could not  be
confirm as host been rebooted and could not be set into the
maintenance mode.   The reason  given there is no active host in the
datacenter and SPM can not enter into maintenance mode.  It seems
that
it fell into a logic loop here.  Losting network can be quite common
in
developing environment even in production environment, I think we
should
have a way to address this problem on how to repair a host node
encountering network down for a while.

Hi Shu,

first, for the manual fence to work (confirm host have been rebooted) you 
will need
another host in the cluster which will be used as a proxy and send the actual 
manual fence command.
second, you are absolutely right, loss of network is a common scenario, and we 
should be able
to recover, but lets try to understand why your host remain unresponsive after 
network returned.
please ssh to the host and try the following:

- vdsClient -s 0 getVdsCaps (validity check making sure vdsm service is up and 
running and communicate with its network socket from localhost)
- please ping between host and engine
- please make sure there is no firewall on blocking tcp 54321 (on both host and 
engine)

also, please provide vdsm.log (from the time network issues begun) and 
spm-lock.log (both located on /var/log/vdsm/).

as for a mitigation, we can always manipulate db and set it correctly, but 
first, lets try the above.


--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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




--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] The SPM host node is in unresponsive mode

2012-05-15 Thread Shu Ming

On 2012-5-15 12:19, Haim Ateya wrote:


- Original Message -

From: Shu Mingshum...@linux.vnet.ibm.com
To: users@oVirt.orgusers@ovirt.org
Sent: Tuesday, May 15, 2012 4:56:36 AM
Subject: [Users] The SPM host  node is in unresponsive mode

Hi,
I attached one host node in my engine.  Because it is the only one
node, it is automatically the SPM node.  And it used to run well in
my
engine.  Yesterday, some errors happened in the network work of the
host
node.  That made the node become unresponsive in the engine.  I am
sure the network errors are fixed and want to bring the node back to
life now.  However, I found that the only one node could not  be
confirm as host been rebooted and could not be set into the
maintenance mode.   The reason  given there is no active host in the
datacenter and SPM can not enter into maintenance mode.  It seems
that
it fell into a logic loop here.  Losting network can be quite common
in
developing environment even in production environment, I think we
should
have a way to address this problem on how to repair a host node
encountering network down for a while.

Hi Shu,

first, for the manual fence to work (confirm host have been rebooted) you 
will need
another host in the cluster which will be used as a proxy and send the actual 
manual fence command.
second, you are absolutely right, loss of network is a common scenario, and we 
should be able
to recover, but lets try to understand why your host remain unresponsive after 
network returned.
please ssh to the host and try the following:

- vdsClient -s 0 getVdsCaps (validity check making sure vdsm service is up and 
running and communicate with its network socket from localhost)

[root@ovirt-node1 ~]# vdsClient -s 0 getVdsCaps
Connection to 9.181.129.110:54321 refused
[root@ovirt-node1 ~]#

root@ovirt-node1 ~]# ps -ef |grep vdsm
root  1365 1  0 09:37 ?00:00:00 /usr/sbin/libvirtd 
--listen # by vdsm

root  5534  4652  0 13:53 pts/000:00:00 grep --color=auto vdsm
[root@ovirt-node1 ~]# service vdsmd start
Redirecting to /bin/systemctl  start vdsmd.service

root@ovirt-node1 ~]# ps -ef |grep vdsm
root  1365 1  0 09:37 ?00:00:00 /usr/sbin/libvirtd 
--listen # by vdsm

root  5534  4652  0 13:53 pts/000:00:00 grep --color=auto vdsm

It seems that VDSM process was gone while libvirtd spawned by VDSM was 
there.  Then I tried to start the VDSM daemon, however it did nothing.  
After checking the vdsm.log file, the latest message was five hours ago 
and useless.  Also, there was no useful message in libvirtd.log.




- please ping between host and engine

 It works in both ways.



- please make sure there is no firewall on blocking tcp 54321 (on both host and 
engine)


No firewall.



also, please provide vdsm.log (from the time network issues begun) and 
spm-lock.log (both located on /var/log/vdsm/).

as for a mitigation, we can always manipulate db and set it correctly, but 
first, lets try the above.
Also, there is no useful message in spm-lock.log.  The latest message 
was 24 hours ago.



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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




--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] Host can't join the cluster

2012-05-21 Thread Shu Ming

Usually, you can have more information in these files:
in node host:
  /var/log/vdsm/log,  /vdsm/log/libvirt.log

in engine:
  /var/log/engine.log



On 2012-5-16 18:58, ov...@qip.ru wrote:
After upgrade of vdsm  from 4.9.6-0.196.gitb8b79b5 to 
4.9.6-0.201.git98e8078


engine set host in nonoperational mode, the error is


Host kvm04 is compatible with versions (3.0,3.1) and cannot join 
Cluster Default which is set to version 3.1.



--



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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

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


Re: [Users] virsh/virt-manager access on nodes.

2012-05-23 Thread Shu Ming

1) For read only access,
you can try virsh -c qemu:///system -r
2)For read write access
you can try virsh -c qemu:system,  then input authentication 
name: vdsm@rhevh password: shibboleth

On 2012-5-23 23:56, Rahul Upadhyaya wrote:

Hi Folks,

I was trying to use virt-manager on one of the hosts being managed by 
the ovirt-manager. It asks for some authentication to connect to 
libvirt. I get the same thing when I tried to connect via virsh.As I 
understand , VDSM acquires a lock over libvirt. But is it possible to 
connect to libvirt (may be only read-only) ?. What authentication does 
it require ? how do I get the credentials. ?


--
Regards,
Rahul
===



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



--
Shu Mingshum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

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


Re: [Users] SPM host in unknown status

2012-05-27 Thread Shu Ming
How about your /var/log/vdsm.log in the two nodes?  It  seems that VDSM 
got some problems.


On 2012-5-28 11:04, T-Sinjon wrote:

1,on node1, vdsm seems strange , it's sleeping
[root@ovirt-node-1 ~]# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
 Loaded: loaded (/lib/systemd/system/vdsmd.service; enabled)
 Active: active (running) since Mon, 28 May 2012 02:43:22 +; 9min ago
Process: 1157 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited, 
status=0/SUCCESS)

Main PID: 2228 (respawn)
 CGroup: name=systemd:/system/vdsmd.service
 ? 2228 /bin/bash -e /usr/share/vdsm/respawn --minlifetime...
 ? 3573 sleep 900
2,no firewall blocked
3,network is ok, i can ssh into node1 from engine

I have used the fence option (confirm host has been rebooted), but SPM 
did not changed to other node, below is the engine.log when i do this 
action:


2012-05-28 10:49:51,846 INFO 
 [org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Lock Acquired to object EngineLock 
[exclusiveLocks= key: 
org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand value: 
ae567034-5d8e-11e1-bdc9-a7168ad4d39f

, sharedLocks= ]
2012-05-28 10:49:51,847 INFO 
 [org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Running command: FenceVdsManualyCommand 
internal: false. Entities affected :  ID: 
ae567034-5d8e-11e1-bdc9-a7168ad4d39f Type: VDS
2012-05-28 10:49:51,927 INFO 
 [org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Trying to fence spm ovirt-node-1.local 
via vds ovirt-node-2.local
2012-05-28 10:49:51,933 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceSpmStorageVDSCommand] 
(pool-5-thread-49) [72d88732] START, FenceSpmStorageVDSCommand(vdsId = 
a522a6a6-a72e-11e1-baa3-bba876a88ef4, storagePoolId = 
524a7003-edec-4f52-a38e-b15cadfbe3ef, prevId=1, prevLVER=17), log id: 
530cb694
2012-05-28 10:49:51,965 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-5-thread-49) [72d88732] Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.FenceSpmStorageVDSCommand 
return value
 Class Name: 
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
mStatus   Class Name: 
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc

mCode 654
mMessage  Not SPM


2012-05-28 10:49:51,966 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-5-thread-49) [72d88732] Vds: ovirt-node-2.local
2012-05-28 10:49:51,966 ERROR 
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-5-thread-49) 
[72d88732] Command FenceSpmStorageVDS execution failed. Exception: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Not SPM
2012-05-28 10:49:51,966 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceSpmStorageVDSCommand] 
(pool-5-thread-49) [72d88732] FINISH, FenceSpmStorageVDSCommand, log 
id: 530cb694
2012-05-28 10:49:51,967 WARN 
 [org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Could not fence spm on vds 
ovirt-node-2.local
2012-05-28 10:49:51,971 ERROR 
[org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Transaction rolled-back for command: 
org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand.
2012-05-28 10:49:51,971 INFO 
 [org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand] 
(pool-5-thread-49) [72d88732] Lock freed to object EngineLock 
[exclusiveLocks= key: 
org.ovirt.engine.core.bll.storage.FenceVdsManualyCommand value: 
ae567034-5d8e-11e1-bdc9-a7168ad4d39f

, sharedLocks= ]
2012-05-28 10:49:57,457 INFO 
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-79) hostFromVds::selectedVds - 
ovirt-node-2.local, spmStatus Free, storage pool BLC
2012-05-28 10:49:57,461 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-79) SPM Init: could not find reported vds or 
not up - pool:BLC vds_spm_id: 1
2012-05-28 10:49:57,466 INFO 
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-79) SPM selection - vds seems as spm 
ovirt-node-1.local
2012-05-28 10:49:57,466 WARN 
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-79) spm vds is non responsive, stopping spm 
selection.
2012-05-28 10:50:00,002 INFO 
 [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-87) Checking autorecoverable hosts
2012-05-28 10:50:00,004 INFO 
 [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-87) Checking autorecoverable hosts done
2012-05-28 10:50:00,004 INFO 
 [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-87) Checking autorecoverable storage domains
2012-05-28 10:50:00,006 INFO 
 [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-87) Checking autorecoverable 

[Users] How can I create a snapshot for virtual disks only?

2012-06-27 Thread Shu Ming

Hi,

I am testing oVirt engine 3.1 beta release 06-07.   I tried 
snapshots--create button for a VM and it looked like that the 
snapshot to be created was for both the running state of the system and 
the virtual disks.I am wondering if there is any way to create the 
snapshot only for the virtual disks of the VM in engine?


--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] How can I create a snapshot for virtual disks only?

2012-06-27 Thread Shu Ming

On 2012-6-27 23:19, Dafna Ron wrote:

Hi,

no. the snapshot is for the entire vm and it's disks.


On 06/27/2012 05:31 PM, Shu Ming wrote:

Hi,

I am testing oVirt engine 3.1 beta release 06-07.   I tried
snapshots--create button for a VM and it looked like that the
snapshot to be created was for both the running state of the system
and the virtual disks.I am wondering if there is any way to create
the snapshot only for the virtual disks of the VM in engine?




Do we have future plan to make snapshot for it's disks?

--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] How can I create a snapshot for virtual disks only?

2012-06-27 Thread Shu Ming

On 2012-6-27 23:30, Michal Skrivanek wrote:

That would make sense only when you are powered off, wouldn't it?
Otherwise what's the point of disk snapshot with open transactions, buffers in 
mem, etc, without saving the state of the VM too?


I understand syncing virtual disk state with the OS cache is a quite 
challenge to a snapshot tool developers.  However, it is a handy feature 
for the users just want to back up their data in the disks without 
stopping VM.  As  other virtualization solution support this feature,  
we should narrow the gap to attract more users to oVirt.




Thanks,
michal

On 27 Jun 2012, at 17:26, Shu Ming shum...@linux.vnet.ibm.com wrote:


On 2012-6-27 23:19, Dafna Ron wrote:

Hi,

no. the snapshot is for the entire vm and it's disks.


On 06/27/2012 05:31 PM, Shu Ming wrote:

Hi,

I am testing oVirt engine 3.1 beta release 06-07.   I tried
snapshots--create button for a VM and it looked like that the
snapshot to be created was for both the running state of the system
and the virtual disks.I am wondering if there is any way to create
the snapshot only for the virtual disks of the VM in engine?


Do we have future plan to make snapshot for it's disks?

--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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



--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] How can I create a snapshot for virtual disks only?

2012-06-27 Thread Shu Ming

On 2012-6-28 9:20, Itamar Heim wrote:

On 06/27/2012 08:57 PM, Shu Ming wrote:

On 2012-6-27 23:30, Michal Skrivanek wrote:

That would make sense only when you are powered off, wouldn't it?
Otherwise what's the point of disk snapshot with open transactions,
buffers in mem, etc, without saving the state of the VM too?


I understand syncing virtual disk state with the OS cache is a quite
challenge to a snapshot tool developers. However, it is a handy feature
for the users just want to back up their data in the disks without
stopping VM. As other virtualization solution support this feature, we
should narrow the gap to attract more users to oVirt.



actually, live snapshot today is only supported for disks, without the 
RAM.
 I can not find the button to create a snapshot for disk only in engine 
3.1 beta release.  Are you talking about a undergoing project?




Thanks,
michal

On 27 Jun 2012, at 17:26, Shu Ming shum...@linux.vnet.ibm.com wrote:


On 2012-6-27 23:19, Dafna Ron wrote:

Hi,

no. the snapshot is for the entire vm and it's disks.


On 06/27/2012 05:31 PM, Shu Ming wrote:

Hi,

I am testing oVirt engine 3.1 beta release 06-07. I tried
snapshots--create button for a VM and it looked like that the
snapshot to be created was for both the running state of the system
and the virtual disks. I am wondering if there is any way to create
the snapshot only for the virtual disks of the VM in engine?


Do we have future plan to make snapshot for it's disks?

--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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








--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] How can I create a snapshot for virtual disks only?

2012-06-27 Thread Shu Ming

On 2012-6-28 10:38, Itamar Heim wrote:

On 06/27/2012 10:29 PM, Shu Ming wrote:


Sorry for confusion here. I attached the snapshot created. I don't think
it is a standalone snapshot for disks(all eight) only. And the usage of
the disk image snapshot should be bound with OS memory snapshot. The


there is currently no OS memory snapshot


Enhh, interesting.  So it is not live snapshot?   The VM must be paused 
to do the snapshot in my engine.   Also,  I hit a bug to resume the VM 
after the snapshot was done.  The VM was always in pause state after I 
clicked the resume button after the snapshot was done.  I looked into 
the VM by VNC and VNC console showed that the VM was in frozen state.  
Has anyone seen these or has it been fixed in the upstream?





other problem is the VM must be paused when the snapshot is undergoing.

On 2012-6-28 10:16, Itamar Heim wrote:

On 06/27/2012 09:54 PM, Rami Vaknin wrote:

On 06/28/2012 04:51 AM, Itamar Heim wrote:

On 06/27/2012 09:38 PM, Shu Ming wrote:

On 2012-6-28 9:20, Itamar Heim wrote:

On 06/27/2012 08:57 PM, Shu Ming wrote:

On 2012-6-27 23:30, Michal Skrivanek wrote:

That would make sense only when you are powered off, wouldn't it?
Otherwise what's the point of disk snapshot with open 
transactions,

buffers in mem, etc, without saving the state of the VM too?


I understand syncing virtual disk state with the OS cache is a 
quite

challenge to a snapshot tool developers. However, it is a handy
feature
for the users just want to back up their data in the disks without
stopping VM. As other virtualization solution support this
feature, we
should narrow the gap to attract more users to oVirt.



actually, live snapshot today is only supported for disks, without
the
RAM.
I can not find the button to create a snapshot for disk only in 
engine

3.1 beta release. Are you talking about a undergoing project?


The is no option to save a single disk in webadmin.


live snapshot is for disks only, not for RAM.
so the live snapshot button only snapshots the disks already.


there is a mix of two things here:
1. taking snapshot of a subset of the disks.
2. taking snapshot of disks + ram








Thanks,
michal

On 27 Jun 2012, at 17:26, Shu Ming shum...@linux.vnet.ibm.com
wrote:


On 2012-6-27 23:19, Dafna Ron wrote:

Hi,

no. the snapshot is for the entire vm and it's disks.


On 06/27/2012 05:31 PM, Shu Ming wrote:

Hi,

I am testing oVirt engine 3.1 beta release 06-07. I tried
snapshots--create button for a VM and it looked like 
that the

snapshot to be created was for both the running state of the
system
and the virtual disks. I am wondering if there is any way to
create
the snapshot only for the virtual disks of the VM in engine?


Do we have future plan to make snapshot for it's disks?

--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


___
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













--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


[Users] Deleting a snapshot of eight disks took more than fifteen minutes

2012-07-03 Thread Shu Ming
Is it reasonable?   I created snapshot1 and snapshot2 for the eight 
disks and then tried to delete snapshot2.   And it took 15+ minutes to 
finish the operation.


Here is the disk list:

my-vm1_Disk1  40 GB   3 GB  
   data   Thin Provision VirtIO  OK 
 2012-Jun-27, 13:24:01
my-vm1_Disk2 10 GB10 GB 
  data   Preallocated   VirtIO  OK  
2012-Jun-25, 23:19:00
my-vm1_Disk3  4 GB   1 GB  
   data   Thin Provision VirtIO  OK
  2012-Jun-26, 23:27:40
my-vm1_Disk4  3 GB  3 GB
data   Thin Provision VirtIO  
OK  2012-Jun-27, 13:24:01
my-vm1_Disk5  3 GB  3 GB
data  Thin Provision VirtIO   
OK   2012-Jun-27, 13:24:01
my-vm1_Disk6  4 GB  4 GB
data  Thin Provision VirtIO   
OK   2012-Jun-27, 13:24:02
my-vm1_Disk7  5 GB  5 GB
data  Thin Provision VirtIO   
OK  2012-Jun-27, 13:24:02
my-vm1_Disk8  6 GB  6 GB
data  Thin Provision VirtIO   
OK  2012-Jun-27, 13:24:02



--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] Deleting a snapshot of eight disks took more than fifteen minutes

2012-07-03 Thread Shu Ming

On 2012-7-3 17:01, Simon Grinberg wrote:

It depends.

Block device or NFS?


NFS


Did you had data on the deleted snapshot?

Got some. Not too much


Did you had wipe after delete marked or not?

No.


Did the snapshots contain data?

Got some. Not too much


Did you delete a snapshot or did you revert to a snapshot?

Just deleting a snapshot.







- Original Message -

From: Shu Ming shum...@linux.vnet.ibm.com
To: users@oVirt.org users@ovirt.org
Sent: Tuesday, July 3, 2012 11:48:35 AM
Subject: [Users] Deleting a snapshot of eight disks took more than fifteen  
minutes

Is it reasonable?   I created snapshot1 and snapshot2 for the eight
disks and then tried to delete snapshot2.   And it took 15+ minutes
to
finish the operation.

Here is the disk list:

my-vm1_Disk1  40 GB   3 GB
 data   Thin
Provision VirtIO  OK  2012-Jun-27,
13:24:01
my-vm1_Disk2 10 GB10 GB
   data   Preallocated
   VirtIO  OK  2012-Jun-25, 23:19:00
my-vm1_Disk3  4 GB   1 GB
 data   Thin Provision
 VirtIO  OK  2012-Jun-26, 23:27:40
my-vm1_Disk4  3 GB  3 GB
data   Thin Provision
 VirtIO  OK  2012-Jun-27, 13:24:01
my-vm1_Disk5  3 GB  3 GB
data  Thin Provision
 VirtIO   OK   2012-Jun-27, 13:24:01
my-vm1_Disk6  4 GB  4 GB
data  Thin Provision
 VirtIO   OK   2012-Jun-27, 13:24:02
my-vm1_Disk7  5 GB  5 GB
data  Thin Provision
 VirtIO   OK  2012-Jun-27, 13:24:02
my-vm1_Disk8  6 GB  6 GB
data  Thin Provision
 VirtIO   OK  2012-Jun-27, 13:24:02



--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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




--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


[Users] What does this small icon mean in engine?

2012-07-04 Thread Shu Ming

Hi,

Please check the attachment to see the information about my two disks.  
And both of disk2 and disk3  do have a small icon like a hand in the 
fourth column.   The first column is Alias and the second is ID.  
There is no description in the third and the fourth column.   What dose 
the small icon mean?


--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory

attachment: junk.JPG___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Online snapshot

2012-07-04 Thread Shu Ming
After looking into a qemu a bit,  I believe the snapshot operation on 
the disk in oVirt is not a live snapshot, because the guest VM will be 
paused by qemu when the snapshot is undergoing.That is what qemu 
monitor command snapshot_blkdev does and VDSM depends on that command 
in low level.Most likely,  the pausing time is non-trival for a 
normal snapshot.


On 2012-6-29 0:37, Itamar Heim wrote:

On 06/28/2012 09:20 AM, Eric Blake wrote:

On 06/28/2012 07:07 AM, Dave Allan wrote:

On Thu, Jun 28, 2012 at 06:34:25AM -0400, Itamar Heim wrote:

On 06/28/2012 04:40 AM, Winfried de Heiden wrote:

Hi all,

It seems live snapshot is available in the Fedora 17 qemu-kvm. On my
laptop with kvm, virt-manager, libvirt, virsh etc. I created a 
virtual

machine and tried  to make a live snapshot:





virsh # snapshot-create RHEL55_NTP
Domain snapshot 1340871802 created


That's a system-checkpoint snapshot, because you didn't use --disk-only.
  When you say 'live snapshot' were you intending the fast operation of
just a disk snapshot (via the 'transaction' or 'blockdev-snapshot-sync'
monitor command) or the slow operation of a checkpoint (via the 'savevm'
monitor command)?


[root@kvm ~]# rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64

[wdh@laptop-winfried ~]$ rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64


This qemu does not support the 'transaction' monitor command, so libvirt
has to fall back to the non-atomic 'blockdev-snapshot-sync', or else
give up because of missing functionality.



dave - who can help us elaborate on this libvirt error:
reuse is not supported with
this QEMU binary





this is the relevant error coming from libvirt.
maybe fedora 17 qemu-kvm does not have live snapshot support?

Thread-306::ERROR::2012-06-27
12:46:40,178::libvirtvm::1782::vm.Vm::(snapshot)
vmId=`ef978066-09c8-40aa-8e0b-4accfacc15bd`::Unable to take snapshot
Traceback (most recent call last):
   File /usr/share/vdsm/libvirtvm.py, line 1780, in snapshot
 libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT))


OK, so this is a case of VDSM driving a different use of the API than
what you did with your virsh command line.  VDSM is attempting to do the
equivalent of 'virsh snapshot-create --disk-only --reuse-ext', but
because your qemu doesn't support the 'transaction' command, libvirt
can't make qemu do what VDSM wants.  Basically, the
'blockdev-snapshot-sync' command in qemu 1.0 lacks the ability to reuse
qcow2 metadata already present in the file pre-created by VDSM; this
wasn't added until the 'transaction' command of qemu 1.1.



ok, i guess the question is then when qemu 1.1 is expected in fedora
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] Migrating from KVM to oVirt 3.1 fails - corrupt OVF

2012-07-22 Thread Shu Ming

On 2012-7-22 19:51, Ayal Baron wrote:


- Original Message -

On 07/20/2012 09:19 PM, Trey Dockendorf wrote:

On Fri, Jul 20, 2012 at 11:32 AM, Itamar Heim ih...@redhat.com
wrote:

On 07/20/2012 07:21 PM, Trey Dockendorf wrote:

On Fri, Jul 20, 2012 at 3:52 AM, Itamar Heim ih...@redhat.com
wrote:

On 07/20/2012 02:08 AM, Trey Dockendorf wrote:


On Thu, Jul 19, 2012 at 4:00 AM, Matthew Booth
mbo...@redhat.com
wrote:


On 18/07/12 23:52, Itamar Heim wrote:



On 07/18/2012 06:00 PM, Trey Dockendorf wrote:



I'm attempting to fine-tune the process of getting my
KVM/Libvirt
managed VMs over into my new oVirt infrastructure, and the
virt-v2v
import is failing in the WUI with Failed to read VM
'dh-imager01'
OVF, it may be corrupted.  I've attached both engine and
vdsm logs
that are a snapshot from when I ran the virt-v2v command
until I saw
the failure under Events.




matt - any thoughts?




Nothing springs to mind immediately, but it sounds like v2v is
producing
an
invalid OVF. If somebody can diagnose what the problem with
the OVF is
I
can
fix v2v.

Matt



virt-v2v command used...

# virt-v2v -i libvirtxml -o rhev -os
dc-vmarchitect.tamu.edu:/exportdomain dh-imager01.xml
dh-imager01_sys.qcow2: 100%



[===]D

0h00m37s
virt-v2v: dh-imager01 configured with virtio drivers.

The xml has been modified numerous times based on past
mailing list
comments to have VNC and Network information removed, but
still the
same failure.  I've attached the latest XML that was used in
the
log's
failure as dh-imager01.xml.  I've also tried passing hte
bridge
device
(ovirtmgmt) in the above command with same failure results.

Node and Engine are both CentOS 6.2, with vdsm-4.10.0-4 and
ovirt-engine-3.1 respectively.

Please let me know what other configuration information
could be
helpful to debug / troubleshoot this.

Are there any other methods besides a virt-v2v migration
that can
allow me to use my previous KVM VMs within oVirt?


Thanks
- Trey



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





--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490



Attached is the virt-v2v generated ovf that's in my NFS export
domain

Any other means to get KVM/libvirt/virt-manager based VMs into
oVirt?
Possibly something as crude as provisioning new VMs with oVirt
then
replacing the virtual hard drives?


this would work - just create the VM on an NFS storage domain
with a disk
the same size as origin, and copy over the disk you had.
a bit trickier for iscsi, so i'd do this with nfs.


Thanks
- Trey




Why is it trickier with iSCSI?  Currently the only Data Center I
have
functioning in oVirt only has iSCSI storage available.


with iscsi, you will have to create the disks as pre-allocated,
and use DD
to overwrite them.
NFS doesn't have to be pre-allocated.
and since you are using pre-allocated, you need to use the RAW
format iirc



Currently most of my KVM VMs are qcow2, so converting them to raw
would not be a problem.  However, why is DD necessary?  Why can't I
overwrite the image_name.img with my *.img file ?  Since I've
used
mostly qcow2 in my time with KVM/libvirt I may lack some
understanding
of how to correctly handle raw images.

in both cases there aren't any .img files.
you can convert you qcow2 to raw before copying them over to iscsi or
nfs using qemu-img convert.
it is not necessary, but will save you failing on small details
between
the two.
using the export domain is safest, even though it doubles the amount
of IO


Would a qcow2 image with preallocation=metadata be possible on an
iSCSI data store?

ayal?


nope.  metadata preallocation means that each logical block has a corresponding 
physical block.
Ayal, by saying logical block and physical block here,  what do they 
stand for in linux systems?  I guess, physical block is the scsi lun 
disk, logical block is lvm disk? right?



With files this is fine as you can seek wherever you want and the file will 
remain sparse.  With block devices this makes little sense as the second the 
guest accesses a block which is mapped to an unallocated physical block we'd 
have to allocate all the area up to that point.
(btw, qemu-img will fail if you try to create such an image on a block device)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
Shu Ming shum...@linux.vnet.ibm.com
IBM China Systems and Technology Laboratory


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


Re: [Users] ovirt 3.1 and live snapshots

2012-08-10 Thread Shu Ming

I am afraid you should upgrade qemu manually to 1.1 at least.

On 2012-8-10 17:41, Winfried de Heiden wrote:

Hi all,

As mentioned in the oVirt 3.1 release notes:

Live snapshotting of virtual machines running on virtualization hosts
with QEMU 1.1 or higher is now supported.

What about Fedora 17? The Fedora version is still at 1.01:

rpm -qi qemu-system-x86
Name: qemu-system-x86
Epoch   : 2
Version : 1.0.1
Release : 1.fc17
Architecture: x86_64
Install Date: vr 10 aug 2012 11:33:59 CEST
Group   : Development/Tools
Size: 13594005
License : GPLv2+ and LGPLv2+ and BSD
Signature   : RSA/SHA256, ma 30 jul 2012 20:05:08 CEST, Key ID
50e94c991aca3465
Source RPM  : qemu-1.0.1-1.fc17.src.rpm
Build Date  : ma 30 jul 2012 03:34:33 CEST
Build Host  : x86-01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager: Fedora Project
Vendor  : Fedora Project
URL : http://www.qemu.org/
Summary : QEMU system emulator for x86

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




--
---
Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] qcow2 image import.

2012-08-19 Thread Shu Ming

On 2012-8-19 18:22, Omer Frenkel wrote:





*From: *Andres Gonzalez tuc...@gmail.com
*To: *users@ovirt.org
*Sent: *Saturday, August 18, 2012 5:30:34 AM
*Subject: *[Users] qcow2 image import.

Hello !!

I'm wondering if it's possible to import a VM disk on qcow2 format
on oVirt to use it as a VM hard disk.


   The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.



Regards.

-- 
AGD


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

As far as i remember, there is no way to import just a disk,
only vm/template.
i guess you could find a way to create an OVF to represent a vm that 
attached to that disk,

import it and then detach the disk from the fake vm


Do we have such a tool in oVirt? Or just create the OVF file manually?  
After I get the OVF file,  where should I put the OVF file and the disk 
file to be imported?





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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


[Users] Is this dd operation harmful?

2012-10-11 Thread Shu Ming
Hi,

I found some dd operations were launched contiguously in my vdsm.log.
Is this harmful? How was this operation caused?

From vdsm.log:

Dummy-51000::DEBUG::2012-10-11
15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:38:57,305::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0388821 s, 26.3 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:38:59,313::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:38:59,375::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0398412 s, 25.7 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:39:01,383::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:39:01,445::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0393934 s, 26.0 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:39:03,453::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:39:03,515::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0391104 s, 26.2 MB/s\n'; rc = 0

-- 
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Is this dd operation harmful?

2012-10-11 Thread Shu Ming

After reading the code, every mailbox should be 4096 byte size.
And the total mailbox size is host * 4096. Ony one host is here, so
the total mailbox size here is 4096. why should the 'dd' operation
read 1024000 byte which is 1000K byte much lager than 4096 here?

2012-10-11 18:54, Dan Kenigsberg:

On Thu, Oct 11, 2012 at 03:44:25PM +0800, Shu Ming wrote:

Hi,

I found some dd operations were launched contiguously in my vdsm.log.
Is this harmful? How was this operation caused?

That's storage.storage_mailbox.SPM_MailMonitor, polling for lvextend
requests. dd is used, since in the old days, vdsm did not have
storage.fileUtils.DirectFile.

The behavior is expected, but I cannot say that it is harmless.
The mailbox should be high on
http://wiki.ovirt.org/wiki/Vdsm_TODO#refactoring
since forking so much is a waste, as well as using strings instead of
bytearrays. Making the module as a separate, testable entity, is important,
too.


 From vdsm.log:

Dummy-51000::DEBUG::2012-10-11
15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)



--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Hot Snapshotting of virtual disks

2012-10-17 Thread Shu Ming
Basically, backup is different from snapshotting. Backup should have 
another storage different from the current share storage to store the 
disk content. oVirt 3.1 does have support for live snapshot of the VM 
disks and Qemu 1.1 is required at least to support this operation. In 
oVirt 3.1, you can also create an backup domain to store the VM disks, 
but I think it is not the real backup to another physical storage. So 
you may have to copy the snapshot made to other physical storage manually .


2012-10-18 9:20, Jason Lawer:

Hi,

Can anyone give advice on what they are using for backup on their ovirt 
deployments. We have been using tar balls  rsync on our linux servers, but are 
looking for something more manageable and the number of servers grows rapidly.

I ask because I have been looking at a few options. The first idea that came to 
mind was a hot snapshot of the virtual disk, however from what I can see ovirt 
won't allow that. Most of the others have serious drawbacks, so I wanted to 
know if anyone had a silver bullet before I put more time into it.


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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Images not appearing in ISO domain

2012-10-18 Thread Shu Ming
, GetFloppyListVDSCommand, return: [], log
id: 69594af5

Not sure what to try next though.

Thanks for all your assistance so far.

Regards.

Neil Wilson.



Going to your host console, what do you see on the owner and permitions of
the ISO domain? I had a similar issue with a ubuntu server that exported the
NFS share as nobody.nobody instead of vdsm.kvm on the host. That domain was
activated but I couldn't get to the share with a permeation denied error

Strangely enough, I see a similar issue...

drwxr-xr-x. 3 vdsm nobody 4096 Oct 16 17:37 10.251.193.5:_iso-domain

Any ideas how to correct it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Ovirt Memory Page Sharing or to less memory

2012-10-18 Thread Shu Ming

Mathok :



2012/10/17 Alan Johnson a...@datdec.com mailto:a...@datdec.com

On Wed, Oct 17, 2012 at 5:02 PM, Mathok math...@googlemail.com
mailto:math...@googlemail.com wrote:

Same here with ovirt 3.1.0-2 i can't see a change in the UI.
But i'm able to start more VMs and hava a higher usag of my
swap partiotion so i think the change had the desired effect


Oh, does this take advantage of host swap space as well?  I
thought I had read oVirt could do that somewhere, but I have been
reading about so many different virtualization systems over the
last few months that when the RHEV 3.1 Admin Guide

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1-Beta/html-single/Administration_Guide/index.html
did not mention swap space in section 4.2.2.2. Memory
Optimization Settings Explained, I was not sure if it applied
here.  This is all it says at the moment:

Memory page sharing allows virtual machines to use up to 200%
of their allocated memory by utilizing unused memory in other
virtual machines. This process is based on the assumption that
the virtual machines in your Red Hat Enterprise Virtualization
environment will not all be running at full capacity at the
same time, allowing unused memory to be temporarily allocated
to a particular virtual machine.


Do you have a reference handy that confirms and explains this?  I
put some speedy SSDs in my hosts to hopefully take advantage of
this (and maybe run gluster), so I am hoping to see that in print
somewhere.  I'll dig it up if you don't have it handy, but a
confirmation that this is your experience and understanding would
make me feel better in the mean time.


let me explain my (now fixed) problem i have a ovirt host with 8 GB 
Ram and 12 VMs every with 256 MB Physical Memory Guarantee. When i 
start my two mysql-cluster vms they will use the 256 PMG plus 3,75 GB 
MS they have defined a max of 4 GB MS. At this poitn now the problem 
begins the mysql taken the hole memory in both vms and now there is no 
more free ram at the host and it is not possible to start more vms.


In my understanding, you need to hard cap the physical memory used by 
the cluster VM.  That will  make sure all of the physical memory used by 
the VM will not exceed the cap, say 2G.  In total,  the two cluster VMs 
will use 4G memory at  most, then the host will have 4G memory at least 
to start other VMs.  Is that what you want?





(this is also speculation im not a expert) So i need for my 
understanding a higher rate of memory overcommit to be able to start 
all vms, and for that the host must use the swap to have enough memory 
for overcomit to start all vms and yes the higher the rate, the worse 
the performance. I'm not sure if this is the right or good way tho fix 
this problem


(sorry for my bad english I hope this is understandable)



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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] ovirt iscsi mulitpath

2012-10-21 Thread Shu Ming


2012Jorick Astrego:

Dear all,

After some problems I have my ovirt setup running now. But I run into 
a new problem with the network configuration.


We have a quad nic with 4 gigabit connections over 2 switches (2X2) 
and an active/passive iscsi SAN. The first is connected to switch 1 
and the second to switch 2 with a 10Gbe link.


Do you mean you have a host(ovirt node) with a quad nics conneting to 
switches? And one SAN connecting to the switch 1 in another side, the 
other SAN conecting to switch 2 with a 10Gbe lnk?

I think a picture will make the text description more comprehensive.




Now I would like to use iSCSI multipathing instead of bonding but I 
cannot use the same vlan for multiple storage networks and I cannot 
assign the same storage network to several nic's.


I could use bonding, but we use 4 links over 2 switches and if I read 
everything correctly bonding only works through a single switch.


How do other people achieve this?




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Live snapshot deletion

2012-11-22 Thread Shu Ming
I think it is because Qemu doesn't support the live snapshot deleting 
yet.  Can you create your snapshot while the VM is running? What is your 
Qemu version? You can get your Qemu version by qemu-kvm --version in FC17.


2012-11-22 21:29, Vincent Miszczak


Hi,

I've tried live VM disks snapshot. Its ok. It appears I cannot delete 
those snapshots while the VM is running.


Is it a bug? If not, is there any plan for this ?

Regards

Vince


--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, and is
believed to be clean.


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Storage domain issue iSCSI

2012-12-02 Thread Shu Ming
I think the error is clear.  Engine was expecting a master storage 
domain metadata format version 3, while the master storage metadata gave 
version 4.   I am wondering if the master storage domain metadata was 
corrupted during the power off.


See: the error came from.
Thread-54::ERROR::2012-11-29 
20:06:02,491::sp::1532::Storage.StoragePool::(getMasterDomain) Requested 
master domain 68d8b0e2-c348-4cfe-a896-08c62d491dfb does not have 
expected version 3 it is version 4


See: 'MASTER_VERSION=4' below:

Thread-49::DEBUG::2012-11-29 
20:05:58,337::persistentDict::234::Storage.PersistentDict::(refresh) 
read lines (VGTagMetadataRW)=['VERSION=2', 
u'PV0=pv:36001405c2f5e9d2d3be7d41a8db27dd6,uuid:b62d1B-zFVl-LKrH-fekH-vprs-znOZ-IF6jJy,pestart:0,pecount:4093,mapoffset:0', 
'TYPE=ISCSI', 'LOGBLKSIZE=512', 
'SDUUID=68d8b0e2-c348-4cfe-a896-08c62d491dfb', 'LEASERETRIES=3', 
'LOCKRENEWALINTERVALSEC=5', 'LOCKPOLICY=', 'PHYBLKSIZE=512', 
'VGUUID=q7sGQ7-1G03-s9mh-dIyx-NSmo-P0zk-23c3Ad', 'DESCRIPTION=512gb2', 
'CLASS=Data', 'POOL_UUID=f1b40ecc-b6a9-44e7-92cb-0fdf445e3175', 
'IOOPTIMEOUTSEC=10', 'LEASETIMESEC=60', 'MASTER_VERSION=4'_,_ 
'ROLE=Master', 'POOL_DESCRIPTION=UB1', 
u'POOL_DOMAINS=afec8026-ccac-4366-bb4b-2150d8731e4c:Active,c2b01420-fc73-4ccc-a560-3e1c5aa28a9f:Active,45fa93a8-1761-4522-bafb-c5d3ab45f731:Attached,68d8b0e2-c348-4cfe-a896-08c62d491dfb:Active', 
'POOL_SPM_LVER=541', 
'_SHA_CKSUM=d54ce32f30c8040449f2a91ccc6e115e35894a5e', 'POOL_SPM_ID=-1']



2012-11-30 4:08, Simon Donnellan:

Hi Yeela,

Thanks for the reply, I've attached a vdsm.log file containing an 
attempt to activate the host, then activate the iSCSI storage domain.


Thanks

Simon


On Thu, Nov 29, 2012 at 6:03 PM, Yeela Kaplan ykap...@redhat.com 
mailto:ykap...@redhat.com wrote:


Hi Simon,
We could use some more information in order to understand the problem,
could you please attach the vdsm logs?
Thanks,
Yeela

- Original Message -
 From: Simon Donnellan f...@baconwho.re mailto:f...@baconwho.re
 To: users@ovirt.org mailto:users@ovirt.org
 Sent: Thursday, November 29, 2012 7:35:18 PM
 Subject: [Users] Storage domain issue iSCSI


 Hi Everyone,

 I'm having an issue following a power cut, none of my 3 nodes (All
 Fedora 17 / oVirt 3.1) are able to attach the master Domain.

 in /var/log/messages I see the following on each node:

 Nov 29 17:15:41 hades vdsm Storage.StoragePool ERROR Requested
master
 domain 68d8b0e2-c348-4cfe-a896-08c62d491dfb does not have expected
 version 3 it is version 4
 Nov 29 17:15:41 hades vdsm TaskManager.Task ERROR
 Task=`f06fd1bb-46d1-47d7-80ca-c2e01becdc51`::Unexpected error
 Nov 29 17:15:41 hades vdsm Storage.Dispatcher.Protect ERROR
 {'status': {'message': Wrong Master domain or its version:
 'SD=68d8b0e2-c348-4cfe-a896-08c62d491dfb,
 pool=f1b40ecc-b6a9-44e7-92cb-0fdf445e3175', 'code': 324}}

 I've tried reboots/restarts/node re-installs

 I can see the PV and the iSCSI sessions fine from the shell.

 As this is the master, none of my nodes will start.

 Any help would be great.

 Kind Regards

 Simon

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





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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] VM has paused due to unknown storage error

2012-12-03 Thread Shu Ming

David Wilson:

Hi everyone,

Some feedbackon this error, and a question I hope that someone could 
possibly assist with.
I managed to get the guest running again byusing dd and qemu-img to 
export the filesystem image and base image, convert to raw format and 
run a fsck on the looped partition.
I am happy you make that work.   Can you describe more details about how 
you dd the guest image? And how did you use qemu-img to export the 
filesystem image and base image.



When mounted as a loop filesystem, fsck easily repaired it.

Any ideas why oVirt kept pausing the guest and did not allow fsck to 
repair the filesystem?





Get important Linux and industry-related news at: facebook.com/dcdata 
http://facebook.com/dcdata


Kind regards,

David Wilson
CNS,CLS, LINUX+, CLA, DCTS, LPIC3
*LinuxTech CC t/a DcData*
CK number: 2001/058368/23
*Website:*  http://www.dcdata.co.za
*Support:*  +27(0)860-1-LINUX
*Mobile:*   +27(0)824147413
*Tel:*  +27(0)333446100
*Fax:*  +27(0)866878971

On 12/02/2012 11:17 AM, David Wilson wrote:

Hi everyone,

Sunday fun :)

One of our critical Linux VMs ran out of disk space. I cleared up 
space by removing old application logs within the guest, rebooted the 
guest and was presented with the following information message during 
bootup when the filesystem ext3/4 scan runs:

/Clearing orhpaned inode ./
Shortly after this message the the guest is paused by oVirt and the 
VM has paused due to unknown storage error message is displayed in 
the oVirt web GUI.


On the physical node itself, I found the following error 
in/var/log/vdsm/vdsm.log:
/libvirtEventLoop::INFO::2012-12-02 
09:05:50,296::libvirtvm::1965::vm.Vm::(_onAbnormalStop) 
vmId=`23b9212c-1e25-4003-aa18-b1e819bf6bb1`::abnormal vm stop device 
ide0-0-1 error eother/


Any ideas on how to get more informationon what exactly the error is?

I've tried booting the guest into rescue mode, run a manual fsck on 
the logical volume but each time the guest is automaticall paused due 
to the unknown storage error.


We are using a FC SAN for storage, sowhat I've decided to try is 
export the disk using dd on the physical node and then try 
repairing it by mounting it as a loop filesystem on another physical 
server, and then use dd to import it back in again.


Is this the right approach to take to get the system back online?



--


Get important Linux and industry-related news at: facebook.com/dcdata 
http://facebook.com/dcdata


Kind regards,

David Wilson
CNS,CLS, LINUX+, CLA, DCTS, LPIC3
*LinuxTech CC t/a DcData*
CK number: 2001/058368/23
*Website:*  http://www.dcdata.co.za
*Support:*  +27(0)860-1-LINUX
*Mobile:*   +27(0)824147413
*Tel:*  +27(0)333446100
*Fax:*  +27(0)866878971





Time to evaluate your email security provider? Watch the video 
http://www.mimecast.com/emailsecurity/ and take advantage of 
Mimecast's first ever limited promotion.




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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] What do you want to see in oVirt next?

2013-01-04 Thread Shu Ming
1) I would like to have the ability to import an existing VM image from 
outside as a template into oVirt, then new VMs can be cloned from this 
template.
2) I would like to have an oVirt trial package based on nested-kvm. This 
package will contain several vdsm node images, one engine image and one 
storage several image. After the package is installed into a physical 
server, the images can be started as VMs including the engine, the VDSM 
nodes, the storage server. The VDSM nodes must support nested-kvm to 
have nested VM on them. It is very quick and simple for a new-comer to 
try the oVirt envionment.


Itamar Heim:

Hi Everyone,

as we wrap oVirt 3.2, I wanted to check with oVirt users on what they 
find good/useful in oVirt, and what they would like to see 
improved/added in coming versions?


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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Failed to import Vm from export to storagedomain

2013-01-05 Thread Shu Ming
How did you export the old VMs to ovf files?  Was it a exporting bug 
causing wrong ovf file entries?


2013-1-5 19:47, Ricky :


Hi, I found that to, in all my VMs. It seems not to be linked ovirt as 
I found other People have the issue in kvm forum.


Regards Ricky

Den 5 jan 2013 10:45 skrev Haim Ateya hat...@redhat.com 
mailto:hat...@redhat.com:


Hi Ricky,

its really interesting, the vm process failed to start as libvirt
identified double use of same PCI address:

Thread-3111::ERROR::2013-01-03
16:30:27,373::vm::617::vm.Vm::(_startUnderlyingVm)
vmId=`9741c58b-e7b2-41d8-9f35-8ea79ca81528`::The vm start process
failed
Traceback (most recent call last):
  File /usr/share/vdsm/vm.py, line 579, in _startUnderlyingVm
self._run()
  File /usr/share/vdsm/libvirtvm.py, line 1421, in _run
self._connection.createXML(domxml, flags),
  File
/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py,
line 83, in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 2489,
in createXML
if ret is None:raise libvirtError('virDomainCreateXML()
failed', conn=self)
libvirtError: XML error: Attempted double use of PCI Address
'0:0:1.2' (may need multifunction='on' for device on function 0
Thread-3111::DEBUG::2013-01-03
16:30:27,377::vm::933::vm.Vm::(setDownStatus)
vmId=`9741c58b-e7b2-41d8-9f35-8ea79ca81528`::Changed state to
Down: XML error: Attempted double use of PCI Address '0:0:1.2'
(may need multifunction='on' for device on function 0

from the VM xml, I see you trying to use 6 devices of USB with
same PCI address:

controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller
controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller
controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller
controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller
controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller
controller type=usb
address bus=0x00 domain=0x
function=0x2 slot=0x01 type=pci/
/controller

need to understand what went wrong there, was it the export
attempt that created this problematic entry in the OVF file or was
it the import?
anyway, please open a bug for it.

Haim

- Original Message -
 From: Ricky rockyba...@gmail.com mailto:rockyba...@gmail.com
 To: Users@ovirt.org mailto:Users@ovirt.org
 Sent: Thursday, January 3, 2013 7:00:21 PM
 Subject: [Users] Failed to import Vm from export to storagedomain

 Hi,

 So, Finally I reinstalled the whole cluster after I have exported
 every VM.

 I followed this wiki
 http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_start31.

 Everything went up except that I just have one host installed in the
 cluster. The other host is still serving the old cluster

 When trying to import my old VMs I got problems with some of
them not
 beeing imported. But 3 of my VMs did and one of them was my
 mailserver... but when I try to start the VM I hit the wall again.

 I have attached the vdsm.log, right now I cant see the forest
for all
 the trees

 Regards //Ricky

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




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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Storage domain mount options

2013-01-08 Thread Shu Ming

Alexandru Vladulescu:


Hello Guys,


I would like to ask you help for the following problem I am facing 
right now.


As we know, on the Storage tab we can configure storage domains in 
many types. I am using NFS, and when configuring a such export on the 
Advanced Parameters section we can only adjust the NFS version, 
Retrans and Timeout.


After a successful configuration setup, on all hypervisors I have the 
mount share declared attached. The result of mount for the share 
datastore looks like below:


nas01.net:/datastore01/nas01.ISO on 
/rhev/data-center/mnt/nas01.net:_datastore01_nas01.ISO type nfs 
(rw,soft,nosharecache,timeo=10,retrans=6,vers=4,addr=10.20.30.10,clientaddr=10.20.30.102)


All good and sound but how can I tune the NFS mounting command, for 
example let's say adding noatime value to the mount option list ?

New domain --- Advanced Parameters.






Many thanks,
Alex.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Storage domain mount options

2013-01-08 Thread Shu Ming

Alexandru Vladulescu :


Dear Shu,


Exactly what I was saying, in that section we can only change in the 
Advanced Parameters the NFS version, the Retransmissions and the Timeout.
Sorry, was not seeing these. I am afraid you can not append other 
options, for neither ovirt engine nor VDSM accepts other options than 
Retransmissions and the Timeout.




Therefore I see exactly no field for additional mount options.

As I know there is a thread on the mailing list about the new features 
that should be included in the 3.2 version release. I think would be 
useful to include this one too to the GUI, but again my question, how 
could this be modified in the stable 3.1 release ?



Alex


On 01/08/2013 03:31 PM, Shu Ming wrote:

Alexandru Vladulescu:


Hello Guys,


I would like to ask you help for the following problem I am facing 
right now.


As we know, on the Storage tab we can configure storage domains in 
many types. I am using NFS, and when configuring a such export on 
the Advanced Parameters section we can only adjust the NFS version, 
Retrans and Timeout.


After a successful configuration setup, on all hypervisors I have 
the mount share declared attached. The result of mount for the share 
datastore looks like below:


nas01.net:/datastore01/nas01.ISO on 
/rhev/data-center/mnt/nas01.net:_datastore01_nas01.ISO type nfs 
(rw,soft,nosharecache,timeo=10,retrans=6,vers=4,addr=10.20.30.10,clientaddr=10.20.30.102) 



All good and sound but how can I tune the NFS mounting command, for 
example let's say adding noatime value to the mount option list ?

New domain --- Advanced Parameters.




Many thanks,
Alex.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users









--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Configure NFS resource from Host

2013-01-09 Thread Shu Ming

jj197005:

Hello everybody,

I'm trying to configure and install oVirt for test in our University 
faculty. I have installed an engine an a host, both of them with 
Fedora 17. The engine is working and I can log-in in the Data Center 
with admin user. I have tried to add my host to the data center portal 
and I successfully done. After that I have tried to add a NFS resource 
which is in the host that I have added. If I open a console in the 
engine and log-in as vdsm user, I can mount the NFS resource without 
problems. The problem is when I tried to add this NFS resource to the 
Data Center.


Have you tryied to open an console in the host and tried the same 
command in the host as in the engine?




I have followed the tutorial 
http://www.ovirt.org/Quick_Start_Guide#Configure_Storage, but when I 
have completed the form and pressed Ok, after one or two minutes I 
receive one screen with bellow error:


Error: A Request to the Server failed with the following Status Code: 
500


I'm attaching the vdsm.log file with the lines that are created with 
this operation. I hope that someone can show me what is the problem. 
If you need more information aboout the installation I can show it.


Many thanks in avanced,

Juanjo.




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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Installing a lab setup from scratch using F18

2013-01-21 Thread Shu Ming

2013-1-22 2:11, Joop:
As promised on IRC (jvandewege) I'll post my findings of setting up an 
ovirt lab environment from scratch using F18.

First some background:
- 2 hosts for testing storage cluster with replicated gluster data and 
iso domains (HP ML110 G5)

gluster data or cluster data?


- 2 hosts for VMs (HP DL360 G5?)
- 1 managment server (HP ML110 G5)
All physical servers have atleast 1Gb connection and they also have 2 
10Gb ethernet ports connected to two Arista switches.
Complete setup (except for the managment srv) is redundant. Using 
F18-x64 DVD and using minimal server with extra tools, after install 
the ovirt.repo and the beta gluster repo is activated.

This serves as a proof of concept for a bigger setup.

Problems sofar:
- looks like F18 uses a different path to access video since using the 
defaults leads to garbled video, need to use nomodeset as a kernel option
Do you mean the VDSM host installed with F18 or the guest in the host 
with FC 18 here? I suppose you don't have much chance to access the 
graphics screen of the VDSM host.


- upgrading the minimal install (yum upgrade) gives me 
kernel-3.7.2-204 and the boot process halts with soft locks on 
different cpus, reverting to 3.6.10-4.fc18.x86_64 fixes that. 
Managment is using 3.7.2 kernel without problems BUT it doesn't use 
libvirt/qemu-kvm/vdsm, my guess its related.
- need to disable NetworkManager and enable network (and ifcfg-xxx) to 
get network going
- adding the storage hosts from de webui works but after reboot vdsm 
is not starting, reason seems to be that network isn't initialised 
until after all interfaces are done with their dhcp requests. There 
are 4 interfaces which use dhcp, setting those to bootprotocol=none 
seems the help.
Usually, I use the static IP for each server because the engine add the 
VDSM host by IPs.


- during deploy their is a warning about 'cannot set tuned profile', 
seems harmless but hadn't seen that one until now.
- the deployment script discovers during deployment that the ID of the 
second storage server is identical to the first one and abort the 
deployment (Blame HP!) shouldn't it generate a unique one using uuidgen??



Things that are OK sofar:
- ovirt-engine setup (no problems with postgresql)
- creating/activating gluster volumes (no more deadlocks)

Adding virt hosts has to wait til tomorrow, got problems getting the 
dvd iso onto an usb stick, will probably burn a DVD to keep going.


Joop

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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] oVirt 3.2 Test Day

2013-01-28 Thread Shu Ming
A quick questions: Doesn't oVirt 3.2 support FC17? I can only find the
directory for FC18FC19 in the oVirt release repositories.

Mike Burns:
 The test day for oVirt 3.2 will be held on Thursday January 31. For
 information of the Test Day, please follow:

 http://www.ovirt.org/Testing/OvirtTestDay

 Thanks

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



-- 
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] VM migrations failing

2013-01-30 Thread Shu Ming

Hi,

Just curiously,  did you install  oVirt packages from 
http://resources.ovirt.org/releases/nightly/rpm/EL/6/noarch/  ?

And there is no stable oVirt release 3.1/3.2 for RHEL.

Dead Horse:

The nodes are EL6.3 based.

Currently installed libvirt packages:

libvirt-lock-sanlock-0.9.10-21.el6_3.8.x86_64
libvirt-cim-0.6.1-3.el6.x86_64
libvirt-0.9.10-21.el6_3.8.x86_64
libvirt-python-0.9.10-21.el6_3.8.x86_64
libvirt-client-0.9.10-21.el6_3.8.x86_64

and qemu packages:
qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64
qemu-kvm-tools-0.12.1.2-2.295.el6_3.10.x86_64
qemu-img-0.12.1.2-2.295.el6_3.10.x86_64

Thus my presumption here given the above is that 
virDomainMigrateToURI2 has not yet been patched and/or back-ported 
into the EL6.x libvirt/qemu?


virDomainMigrateToURI2() is supported in libvirt-0.9.10, I am not sure 
if qemu-kvm-0.12.1.2 supports it.

/var/log/libvirtd.log may help to verify this assumption



- DHC


On Wed, Jan 30, 2013 at 1:28 PM, Dan Kenigsberg dan...@redhat.com 
mailto:dan...@redhat.com wrote:


On Wed, Jan 30, 2013 at 11:04:00AM -0600, Dead Horse wrote:
 Engine Build -- Commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b
 VDSM Build: -- Commit: da89a27492cc7d5a84e4bb87652569ca8e0fb20e
+ patch
 -- http://gerrit.ovirt.org/#/c/11492/

 Engine Side:
 2013-01-30 10:56:38,439 ERROR
 [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
 (QuartzScheduler_Worker-70) Rerun vm
887d764a-f835-4112-9eda-836a772ea5eb.
 Called from vds lostisles
 2013-01-30 10:56:38,506 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) START, MigrateStatusVDSCommand(HostName =
lostisles,
 HostId = e042b03b-dd4e-414c-be1a-b2c65ac000f5,
 vmId=887d764a-f835-4112-9eda-836a772ea5eb), log id: 6556e75b
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Failed in MigrateStatusVDS method
 2013-01-30 10:56:38,510 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Error code migrateErr and error message
 VDSGenericException: VDSErrorException: Failed to
MigrateStatusVDS, error =
 Fatal error during migration
 2013-01-30 10:56:38,511 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
 (pool-3-thread-49) Command

org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand
return
 value
  StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=12,
 mMessage=Fatal error during migration]]


 VDSM Side:
 Thread-43670::ERROR::2013-01-30
10:56:37,052::vm::200::vm.Vm::(_recover)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::this function is
not supported
 by the connection driver: virDomainMigrateToURI2
 Thread-43670::ERROR::2013-01-30 10:56:37,513::vm::288::vm.Vm::(run)
 vmId=`887d764a-f835-4112-9eda-836a772ea5eb`::Failed to migrate
 Traceback (most recent call last):
   File /usr/share/vdsm/vm.py, line 273, in run
 self._startUnderlyingMigration()
   File /usr/share/vdsm/libvirtvm.py, line 504, in
 _startUnderlyingMigration
 None, maxBandwidth)
   File /usr/share/vdsm/libvirtvm.py, line 540, in f
 ret = attr(*args, **kwargs)
   File
/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line
 111, in wrapper
 ret = f(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/libvirt.py, line
1103, in
 migrateToURI2
 if ret == -1: raise libvirtError ('virDomainMigrateToURI2()
failed',
 dom=self)
 libvirtError: this function is not supported by the connection
driver:
 virDomainMigrateToURI2

Could it be that you are using an ancient libvirt with no
virDomainMigrateToURI2? What are your libvirt and qemu-kvm
versions (on
both machines)?




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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Install problems

2013-02-06 Thread Shu Ming
:33:53 host1 systemd[1]: ovirt-engine.service: main process 
exited, code=exited, status=1
Feb 6 14:33:53 host1 engine-service.py[25230]: The engine PID file 
/var/run/ovirt-engine.pid contains 25213, but that process doesn't 
exist.
Feb 6 14:33:53 host1 systemd[1]: ovirt-engine.service: control process 
exited, code=exited status=1
Feb 6 14:33:53 host1 systemd[1]: Unit ovirt-engine.service entered 
failed state.


Any ideas?

Thanks

Jon







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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] snapshot taken while live VM operates cause unresponsive hypervisor behavior

2013-02-07 Thread Shu Ming

The libvirt and qemu version in the VDSM host may help the debugging.
Alexandru Vladulescu:


Hi,


Using 3.1.0-3.19 from dreyou's repo on Centos 6.3 version, running 
multiple VM on the hypervisor node and attempting to take a snapshot 
from one of the running VMs generates errors for VDSM daemon as show 
below:

/
//[root@hyper02 ~]# vdsClient -s 0 list//
//Traceback (most recent call last)://
//  File /usr/share/vdsm/vdsClient.py, line 2275, in module//
//code, message = commands[command][0](commandArgs)//
//  File /usr/share/vdsm/vdsClient.py, line 280, in do_list//
//response = self.s.list(True, vms)//
//  File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__//
//return self.__send(self.__name, args)//
//  File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request//
//verbose=self.__verbose//
//  File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request//
//return self._parse_response(h.getfile(), sock)//
//  File /usr/lib64/python2.6/xmlrpclib.py, line 1392, in 
_parse_response//

//return u.close()//
//  File /usr/lib64/python2.6/xmlrpclib.py, line 838, in close//
//raise Fault(**self._stack[0])//
//Fault: Fault 1: type 'exceptions.TypeError':cannot marshal None 
unless allow_none is enabled/



Paste from ovirt admin GUI log:

/2013-Feb-07, 15:29:59 VM ipa01 is down. Exit message: User shut down//
//2013-Feb-07, 15:29:34 Migration failed due to Error: Fatal error 
during migration (VM: ipa01, Source Host: Hyper02).//
//2013-Feb-07, 15:29:32 Starting migration of VM ipa01 from Host 
Hyper02 to Host Hyper01 (User: admin@internal.).//
//2013-Feb-07, 15:29:10 Migration failed due to Error: Fatal error 
during migration (VM: ipa01, Source Host: Hyper02).//
//2013-Feb-07, 15:29:10 Migration failed due to Error: Fatal error 
during migration (VM: ipa01, Source Host: Hyper02). Trying to migrate 
to another Host.//
//2013-Feb-07, 15:29:08 Starting migration of VM ipa01 from Host 
Hyper02 to Host Hyper01 (User: admin@internal.).//
//2013-Feb-07, 15:24:58 Detected new Host Hyper02. Host state was set 
to Up.//
//2013-Feb-07, 15:24:53 Host Hyper02 is initializing. Message: 
Recovering from crash or Initializing//
//2013-Feb-07, 15:22:18 VM ipa01 was resumed by admin@internal (Host: 
Hyper02).//
//2013-Feb-07, 15:22:18 VM ipa01 was resumed by admin@internal (Host: 
Hyper02).//
//2013-Feb-07, 15:20:43 Snapshot [initial installation][after ipa 
server installation] creation for VM ipa01 has been completed.//

//2013-Feb-07, 15:20:43 VM ipa01 has paused due to unknown storage error./

Looking through htop command could see that VM were still running and 
responsive but any vdsclient command failed with the upper code paste 
I have given. Solution here was to connect to each VM, shut it down 
and restart vdsmd and power it up again. There's no problem with the 
storage size as it has aprox 800GB free of space and running through 
NFS. All nfs mount points were running okay at that time.


After the VM has been snapshoot-ed went into pause mode and had to 
un-pause it from GUI, but the VM was still responsive through network 
and operations.


Has anybody seen something related to this by now or it's just related 
to 3.1 version ? Mentioning the fact that I did a research on the 
similar mailing list topics and could not find something related to 
this error. I would happily provide logs if needed.



Regards,
Alex


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] Install problems

2013-02-07 Thread Shu Ming

Bug was filed here.

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

It seems that it is a openjdk bug.
https://community.jboss.org/message/796347?_sscc=t#796347
Jonathan Archer:

Hi All,

Just wondering if anyone could shed some light on an issue I'm seeing?

I've followed the instructions on the wiki to try and get an ovirt 
setup running. (F17 minimal, updated, add repo, yum install 
ovirt-engine, engine-setup)
All that seemed to go OK, and the database creation etc seemed to be 
fine, however starting the ovirt-engine service seems to have failed 
to start, was getting a http 503 error on trying the web interface.


Looking deeper into it, it seems that jboss-as seems to be failing to 
start with some errors around logging.
when I run systemctl start ovirt-engine.service i get the following in 
the logs:
Feb 6 14:33:52 host1 engine-service.py[25212]: Started engine process 
25213.
Failed to configure handler FILE on Logger '' in context 
org.jboss.logmanager.LogContext@afc824e: Handler FILE has no class name

Exception in thread main java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the java.util.logging.manager 
system property to org.jboss.logmanager.LogManager)

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.clinit(BridgeRepositorySelector.java:42)

... 7 more
Feb 6 14:33:53 host1 systemd[1]: ovirt-engine.service: main process 
exited, code=exited, status=1
Feb 6 14:33:53 host1 engine-service.py[25230]: The engine PID file 
/var/run/ovirt-engine.pid contains 25213, but that process doesn't 
exist.
Feb 6 14:33:53 host1 systemd[1]: ovirt-engine.service: control process 
exited, code=exited status=1
Feb 6 14:33:53 host1 systemd[1]: Unit ovirt-engine.service entered 
failed state.


Any ideas?

Thanks

Jon







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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Configure spice plugin for wan

2013-02-26 Thread Shu Ming

Itamar Heim:

On 26/02/2013 15:13, Gianluca Cecchi wrote:

I remember someone talking about an option of setting spice to operate
over wan, in the sense that this way automatically it would disable
effects in windows 7 VM, ecc...
I don't remember if this is a VM parameter, hook or other...
Or if this is an option available only in RHEV-M


iirc, it's a checkbox in the user portal to pass the wan option flag 
to spice.


Does this checkbox mean there are some optimization for spice on wan? 
How does the checkbox affect the remote video stream support? It seems 
that spice protocol waste many cycles on mjpeg encoding and decoding for 
video stream.





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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Ovirt + Spice + VDI

2013-03-05 Thread Shu Ming

Mohsen Saeedi:

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?
I think you are talking about mutiple sessions in one windows desktop 
servers.I believe you must use RDP protocol to access those 
sessions.  Spice is for one window desktop per user.




Thanks


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] 关于ovirt 3.2支持glusterfs问题

2013-03-07 Thread Shu Ming

Let me help to translate those characters below.

---
I installed oVirt 3.2 on my system and used engine-setup to create a 
new engine server.  In the question process of engine-setup, the 
different answeres for storage type made the different results.  If 
glusterfs type was chosen, the data center was not created and the 
storage domain could not be added neither.   If both was chosen, there 
was no gluster-fs type when adding a data center, only other types 
listed.  If posix compliant fs was chosen, adding glusterfs volume 
failure was shown in the WEB UI.  However, the gluster volume was 
successfully created in the node shown by gluster volume info.  Any clues?

---

Dave Neary:

Hi,

I'm sorry, this is an English language mailing list, and I do not 
speak Chinese.


Google translate suggests that your question relates to an 
installation issue - you installed oVirt 3.2, ran engine-setup, 
selected a POSIX FS type data center, and do not see any storage 
domain. However, the Gluster volume is visible in the node view. Is 
that correct?


Have you had any issues using the Gluster volume outside oVirt?

I hope someone can help you with your query!

Thanks,
Dave.

On 02/28/2013 06:16 AM, 胡阳阳 wrote:

您好!
我安装的ovirt版本为3.2。使用engine-setup设置时如果存储选择glusterfs,打
开WEB UI之后无法看到data center,也无法增加storage domain。如果选择
both,增加data center的时候没有type项没有gluster fs,只有以下几个。
选择posix compliant fs之后,增加glusterfs的volume在WEB UI上提示不成功,
但是在node上使用gluster volume info查看已成功创建。
请问一下这个问题如果解决。
谢谢!
以下为我的版本信息

贵州沃尔康科技有限公司
系统集成部 胡阳阳
地址:贵州省贵阳市南明区中创联合大厦6楼D座
邮箱:huyangy...@wolk-tech.com mailto:huyangy...@wolk-tech.com
手机:18798828131
电话:0851-5989268

 



本邮件及其附件含有沃尔康公司的保密信息,仅限于发送给上面地址中列出的个人
或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复
制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发
件人并删除本邮件!
This e-mail and its attachments contain confidential information from
WOLK, which is intended only for the person or entity whose address is
listed above. Any use of the information contained herein in any way
(including, but not limited to, total or partial disclosure,
reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please
notify the sender by phone or email immediately and delete it!

 





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






--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] 关于ovirt 3.2支持glusterfs问题

2013-03-07 Thread Shu Ming

Let me help to translate those characters below.

---
I installed oVirt 3.2 on my system and used engine-setup to create a 
new engine server.  In the question process of engine-setup, the 
different answeres for storage type made the different results.  If 
glusterfs type was chosen, the data center was not created and the 
storage domain could not be added neither.   If both was chosen, there 
was no gluster-fs type when adding a data center, only other types 
listed.  If posix compliant fs was chosen, adding glusterfs volume 
failure was shown in the WEB UI.  However, the gluster volume was 
successfully created in the node shown by gluster volume info.  Any clues?

---


Dave Neary:

Hi,

I'm sorry, this is an English language mailing list, and I do not 
speak Chinese.


Google translate suggests that your question relates to an 
installation issue - you installed oVirt 3.2, ran engine-setup, 
selected a POSIX FS type data center, and do not see any storage 
domain. However, the Gluster volume is visible in the node view. Is 
that correct?


Have you had any issues using the Gluster volume outside oVirt?

I hope someone can help you with your query!

Thanks,
Dave.

On 02/28/2013 06:16 AM, 胡阳阳 wrote:

您好!
我安装的ovirt版本为3.2。使用engine-setup设置时如果存储选择glusterfs,打
开WEB UI之后无法看到data center,也无法增加storage domain。如果选择
both,增加data center的时候没有type项没有gluster fs,只有以下几个。
选择posix compliant fs之后,增加glusterfs的volume在WEB UI上提示不成功,
但是在node上使用gluster volume info查看已成功创建。
请问一下这个问题如果解决。
谢谢!
以下为我的版本信息

贵州沃尔康科技有限公司
系统集成部 胡阳阳
地址:贵州省贵阳市南明区中创联合大厦6楼D座
邮箱:huyangy...@wolk-tech.com mailto:huyangy...@wolk-tech.com
手机:18798828131
电话:0851-5989268

 



本邮件及其附件含有沃尔康公司的保密信息,仅限于发送给上面地址中列出的个人
或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复
制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发
件人并删除本邮件!
This e-mail and its attachments contain confidential information from
WOLK, which is intended only for the person or entity whose address is
listed above. Any use of the information contained herein in any way
(including, but not limited to, total or partial disclosure,
reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please
notify the sender by phone or email immediately and delete it!

 





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






--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Export domain

2013-03-14 Thread Shu Ming

Dafna Ron:

ovirt should not react in any way :)
the size should be updated by queries that are sent to vdsm on domains
status.
I think vdsm domains do have their own meta-data except the lvm or posix 
file system meta data.



If you want to be extra careful you can always put the export domain in
maintenance before the extend :)
If the export domain come back to life, I think the domain meta data 
should be invalidated after the extend.






On 03/13/2013 09:45 PM, Jonathan Horne wrote:

What would happen if the export domain (via NFS) was extended (say,
while the server was doing a reboot?)  id like to extend the space of
my export domain from 200 to 500GB (with lvm commands).

  


How will ovirt react to finding the size of the export domain
changed?  Pleased or unpleased?

  


Thanks,

jonathan



This is a PRIVATE message. If you are not the intended recipient,
please delete without copying and kindly advise us by e-mail of the
mistake in delivery. NOTE: Regardless of content, this e-mail shall
not operate to bind SKOPOS to any order or other contract unless
pursuant to explicit written agreement or government initiative
expressly permitting the use of e-mail for such purpose.


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





--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Export domain

2013-03-14 Thread Shu Ming
So you have a block device in NFS server to be extended from 200 to 
50GB?I think you should extend both the block device and the file 
system on the block device in the server side.   To oVirt,  it doesn't 
save the size in storage domain' meta-data and I believe the size is 
only stored in the engine server.  The only issue is before the engine 
refresh its metadata in the next time, there is a window with the 
meta-data out of sync.   Please let us know if it is successful.


Jonathan Horne:


What would happen if the export domain (via NFS) was extended (say, 
while the server was doing a reboot?) id like to extend the space of 
my export domain from 200 to 500GB (with lvm commands).


How will ovirt react to finding the size of the export domain 
changed?  Pleased or unpleased?


Thanks,

jonathan



This is a PRIVATE message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the 
mistake in delivery. NOTE: Regardless of content, this e-mail shall 
not operate to bind SKOPOS to any order or other contract unless 
pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.



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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] High Availability

2013-03-17 Thread Shu Ming

Tim Hildred:

If one host is down because of network interrupt or power
failure, the engine should know how many HA VMs are down and find
out the VM images on the storage domain to start the VM instances on
another host in the cluster. Why do we need power manager to be
configured?

Power management allows the Manager to start highly available virtual machines 
on new hosts without worrying that virtual machine hard disk images will be 
corrupted.

Imagine a situation in which the Manager cannot communicate with the host a 
highly available virtual machine is running on. If the host is still running as 
expected, and the virtual machine is also still running, the virtual machine is 
writing to its hard disk image.

Tim,

Thanks for clarification. That is what I expected.



If the Manager starts that virtual machine on another host in the cluster, then 
both virtual machine instances will try and write to the disk image, and cause 
hard disk corruption.

Power management lets the Manager be sure that only one instance of the highly 
available virtual machine is running, because the instance on the host the 
Manager couldn't communicate cannot survive a host reboot.

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: Shu Ming shum...@linux.vnet.ibm.com
To: Tim Hildred thild...@redhat.com
Cc: d...@redhat.com, Users@ovirt.org
Sent: Monday, March 18, 2013 1:31:12 PM
Subject: Re: [Users] High Availability


Tim,

Thanks for your information. I am not sure why we need power
management to be configured for the hosts running HA virtual
machines.  We only need a method to check the VM or host status and
a method to restart the VM instances with existing VM images on
another host. Is it required to force powering down the failing host
forever to make sure the failing host will not come back to live
again?




 *
Power management must be configured for the hosts running the highly
available virtual machines.
 *
The host running the highly available virtual machine must be part of
a cluster which has other available hosts.
 *
The destination host must be running.
 *
The source and destination host must have access to the data domain
on which the virtual machine resides.
 *
The source and destination host must have access to the same virtual
networks and VLANs.
 *
There must be enough CPUs on the destination host that are not in use
to support the virtual machine's requirements.
 *
There must be enough RAM on the destination host that is not in use
to support the virtual machine's requirements.


Tim Hildred:


You might also find this helpful:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Administration_Guide/High_availability_considerations.html
The topics before and after it explain a bit more about high
availability.

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: Dafna Ron d...@redhat.com To: supo...@logicworks.pt Cc:
Users@ovirt.org Sent: Monday, March 18, 2013 4:46:51 AM
Subject: Re: [Users] High Availability

I think that there is some confusion here so I will explain what are
the
configurations for fail-over.

power management will reboot your host if a connectivity issue is
detected so all your vm's will be killed.
resilience policy will allow you to choose vm migration policy during
a
host failure and its configured in the cluster level (clusters -
select
cluster - general sub tab - edit policy)
High Availability is configured only for servers type vm's and what
it
does is re-run the vm in case the pid of the vm is killed (so most
commonly, if you have power management configured, and the host is
rebooted, the vm will start automatically on a different host).

so it really depends what you want. if you want vm migration than
look
into cluster policy, if you want a specific vm to always be up and
you
don't care about the other vm's than configure power management and a
HA
vm. it really depends on what you need.




On 03/17/2013 07:15 PM, supo...@logicworks.pt wrote:

Is it Mandatory to have power manamement enabled? if yes what
equipment do you recommend to use with it?

Regards
Jose


- Mensagem original -
De: René Koch r.k...@ovido.at Para: supo...@logicworks.pt ,
Users@ovirt.org Enviadas: Domingo, 17 Março, 2013 16:47:41
Assunto: RE: [Users] High Availability

Hi,

You have to configure power management to make high availability
working and mark the vms high availability checkbox...


Regards,
René
  
  
-Original message-


From:supo...@logicworks.pt supo...@logicworks.pt Sent: Sunday 17th
March 2013 17:28
To: Users@ovirt.org Subject: [Users] High Availability

What should I

Re: [Users] Does anyone run the engine on a VM in the cluster itself?

2013-03-31 Thread Shu Ming

Ernest Beinrohr:

I have to maintan a separate VM environment just for the engine.
If it were running on one of the hypervisors, how can I start it if
the engine itself is off?
You can use virsh to manage the VM if you know the user and password to 
libvirtd.

The default SASL user: vdsm@ovirt
The default password: shibboleth



thanks.
--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360 
callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


The bureaucracy is expanding to meet the needs of the expanding 
bureaucracy. -- Oscar Wilde



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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] way to edit iSCSI storage domain?

2013-04-02 Thread Shu Ming

Yuriy Demchenko:

Hi,

is there any way to edit iSCSI storage domain: change/add targets ? 
(lun, id, sn and actual content wouldn't be affected) Without VM 
export/import process - downtime should be as little as possible.


I'm researching possibility to use oVirt in env where I have only FC 
storage, connected to 2 servers (and sadly, second server will be 
available later, hence my question about changing targets in oVirt) 
and bunch of blades, on which i would like to run virtualization (no 
fc storage connectivity) - so idea is to share storage via iSCSI/tgtd 
and use multipathd with failover mode to protect from storage 
I am not sure if the multipathd can recognize the FC path to the storage 
when the second server is available and regards it as the same as the 
iSCSI path used before. If it is not, I think the device under 
/dev/mapper may change when you cut the iSCSI path off and then enable 
FC path. That will definitely corrupt the meta data of the volume group 
which the storage domain is sitting on and the storage domain will be 
corrupted finally.



corruption.




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] way to edit iSCSI storage domain?

2013-04-03 Thread Shu Ming

Yuriy Demchenko:

I guess you misunderstood me
I'm going to try this scheme:
   |STORAGE|
FC /   \
|SERV1/tgtd||SERV2/tgtd|
iSCSI   \  /
 |ethernet switches|
iSCSI
   |blades|blades|blades|


I am still confused if SERV1/SERV2 are used as a iSCSI bridge to the 
storage only or used as VDSM host also?  If they are used as VDSM host 
and both of them can have FC channel to the storage, why not create FC 
storage domain for them instead of iSCSI domain?




serv1/serv2 - connectivity isnt a problem, multipathed FC scheme, all 
good. Same lun accessible for both servers and than exported via tgtd 
to iSCSI: with different target names (iqn.2013-03.serv1:store, 
iqn.2013-03.serv2:store), but same vendor_id, product_id, scsi_sn, 
scsi_id. That way client can login into both targets and see lun as 
multipathed device.
And multipath failover scheme (via custom config with 
path_grouping_policy=failover for corresponding vendor_id/product_id) 
is on blades-clients - so they use only one target at time (no 
round-robin or similar stuff), but with ability to switch to another 
target in case one of serv1/serv2 is down.


However, in my case serv2 would not be available during oVirt setup 
(need to setup ovirt and virtual servers to move stuff first), so i 
cant enter both targets on storage domain initialization - that's why 
I'm asking if there's any way to edit storage domain details after 
initialization without destroying it (maybe directly via sql or 
something).


Yuriy Demchenko

On 04/02/2013 06:26 PM, Shu Ming wrote:
I am not sure if the multipathd can recognize the FC path to the 
storage when the second server is available and regards it as the 
same as the iSCSI path used before. If it is not, I think the device 
under /dev/mapper may change when you cut the iSCSI path off and then 
enable FC path. That will definitely corrupt the meta data of the 
volume group which the storage domain is sitting on and the storage 
domain will be corrupted finally. 





--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail:shum...@cn.ibm.com  
orshum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] SPM is always contending - resolved

2013-04-06 Thread Shu Ming

Which type of storage domain was in your engine? NFS? iSCSI? or other types?
Andy Singleton:

Problem resolved.

The clue was obviously in the engine.log (FSCK error) but I couldn't 
see what was needing an fsck or why this would prevent the storage of 
every vm from being mounted.

I still dont understand the whole of the ovirt storage mechanism.

More information was in the node vdsm.log - It pointed here. 
/dev/mapper/9ed5a2fe--ae4c--433f--a15f--2c710ed5156f-master


One fsck later problem resolved.

Thanks
Andy



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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] VDI using oVirt

2013-04-09 Thread Shu Ming
oVirt project was initiated from virtual desktop project. It supported 
an open desktop protocol SPICE from the beginning which gave a nice 2D 
performance driven by the various graphics drivers on different OSs. Do 
you have a target in mind? Like what is ratio of virtual desktops per 
physical servers? Does the virtual desktop support support video 
playback? Do you need to support other client protocol besides SPICE?


2013-4-10 5:34, John Baldwin:

Any good guides on setting up VDI using oVirt???

John Baldwin Sr. UnIx System Admin, Clearwater, FL


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



--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] virt-v2v

2013-04-17 Thread Shu Ming

You can get the mount path from the admin portal.
system---storage---select a storage domain---In the general tab page, 
you can have the nfs export path.

supo...@logicworks.pt:
well, I run the virt-v2v from the engine server, if I do a showmount 
-e it will show me the iso domain. The NFS/export storage is located 
at a NAS on the LAN, so I think I need the path to that NAS, how can I 
found it?




*De: *Jonathan Horne jho...@skopos.us
*Para: *supo...@logicworks.pt, Users@ovirt.org
*Enviadas: *Quarta-feira, 17 Abril, 2013 20:33:29
*Assunto: *RE: virt-v2v

I imagine “showmount -e” will show you the NFS path. I recently 
imported some VMs from KvM, and my syntax was like this:


virt-v2v -i libvirt -ic qemu+ssh://root@source-server/system -o rhev 
-os ovirt-exportnfs-server:/opt/nfs -of qcow2 -oa sparse -n ovirtmgmt 
exactname-of-kvm-vm


jonathan

*From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On 
Behalf Of *supo...@logicworks.pt

*Sent:* Wednesday, April 17, 2013 12:06 PM
*To:* Users@ovirt.org
*Subject:* [Users] virt-v2v

Hi,

Im trying to migrate a VM from a qemu kvm server. I'm not sure of the 
correct syntax:


virt-v2v -ic qemu+ssh://root@/server_ip_addr//system -op 
/export_domain/ --bridge ovirtmgmt /kvm_vm_name/


I have setup a NFS/export storage on the manager, for the export 
domain. How can I find the correct path of the export_domain?


regards

--



Jose Ferradeira
http://www.logicworks.pt



This is a PRIVATE message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the 
mistake in delivery. NOTE: Regardless of content, this e-mail shall 
not operate to bind SKOPOS to any order or other contract unless 
pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.
I imagine “showmount -e” will show you the NFS path. I recently 
imported some VMs from KvM, and my syntax was like this:


virt-v2v -i libvirt -ic qemu+ssh://root@source-server/system -o rhev 
-os ovirt-exportnfs-server:/opt/nfs -of qcow2 -oa sparse -n ovirtmgmt 
exactname-of-kvm-vm


jonathan

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
Behalf Of supo...@logicworks.pt

Sent: Wednesday, April 17, 2013 12:06 PM
To: Users@ovirt.org
Subject: [Users] virt-v2v

Hi,

Im trying to migrate a VM from a qemu kvm server. I'm not sure of the 
correct syntax:


virt-v2v -ic qemu+ssh://root@server_ip_addr/system -op export_domain 
--bridge ovirtmgmt kvm_vm_name


I have setup a NFS/export storage on the manager, for the export 
domain. How can I find the correct path of the export_domain?


regards

--

Jose Ferradeira
http://www.logicworks.pt



This is a PRIVATE message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the 
mistake in delivery. NOTE: Regardless of content, this e-mail shall 
not operate to bind SKOPOS to any order or other contract unless 
pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.




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



--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Lun snapshots by a san

2013-04-17 Thread Shu Ming

pierre Labanowski:

Hello everybody,

I have a question, or more precisely information or best practice.

I use oVirt 3.1 with an attachment on fiber channel on my SAN. Makes it
even the San snapshots that are replicated on a remote site.

it's a procedure for adding a new Storage Domain to another Data
Centers (oVirt) in order to recover the state of a VM snapshoted by the SAN?


If I understand correctly, the remote SAN of you can snapshot the 
storage domain(physical lun in the SAN) lively. And you hope to recover 
the storage domain with the previous snapshot stored in the SAN.
So you create a new storage domain for another data center and restart 
the VM from the newstorage domain. I am not sure if the VM disks in the 
storage domain snapshot is in consistent date if the SAN snapshot the VM 
in a running state. I think the VM OS should be notified and make sure 
it is in consistent state before the SAN can do the snapshot, also the 
VM OS should be notified with the finish of the snapshotting..


I've read the documentation on Disaster Recovery but it's for the
site-to-site failover (i don't have dual architecture of ovirt) while my
demand here is for the state recovered a current domain. And only to
export the VM(snapshoted by a san) for restore in the current storage
(production).

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




--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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