Re: [Users] Restoring Virtual Machines

2012-02-17 Thread ??????
Can I use the data of storage domain, created in the old ovirt to import
virtual machines in a new ovirt?
It is possible to convert the data of storage domain in export domain
manually? To mount it as a Export domain in a new overt



-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Thursday, February 16, 2012 4:36 AM
To: ??
Cc: users@ovirt.org
Subject: Re: [Users] Restoring Virtual Machines

On 02/15/2012 11:43 AM, ?? wrote:
 hi, in the process of testing ovirt some questions:
 1. If you are upgrading ovirt we erased the database postgress, 
 whether it is possible to restore the list of virtual machines without 
 having to restore the database from the dump? Take a virtual machine 
 working on the nodes.

not easily right now.
easiest (other than restore) would probably be to make the storage domain
into an export domain, and import from it in the new engine.

 2. Is it possible to manage virtual machines through the cli?

yes.

 3. Is it possible to arrange a backup of virtual machines without 
 interruption of its performance?

I don't think there is a simple answer to this question.
can you explain what is the exact concern?

thanks,
Itamar


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


[Users] Backup virtual machines on ovirt

2012-02-17 Thread Daniel Rodriguez
Hello,

we are testing ovirt and RHEV in order to install both in our company
instead of Vmware Vsphere. One thing we have seen, googling on Internet,
there is nothing about backup virtual machines. I have seen Acronis as a
backup solution but I found it too expensive for us at this moment. I'm
thinking more something like ghettoVCB.sh
http://communities.vmware.com/docs/DOC-8760on Vmware, a script that can
connect to VCenter / Esx(i) and it's free of cost or a product  with a not
very expensive license.

Thank you very much.

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


[Users] migration failed

2012-02-17 Thread ??????
Hi. 
There are 2 nodes:
10.2.20.8 and 10.1.20.7
Migrate virtual machines from 10.2.20.8 to 10.1.20.7 is successful.
But when trying to migrate from 10.2.20.8 to 10.1.20.7 error: 
Migration failed due to Error: Migration destination has an invalid hostname
(VM: 1, Source Host: 10.1.20.7).


In the logs on the vdsm.log 10.1.20.7:
Thread-5217 :: DEBUG :: 2012-02-17 11:07:08,435 :: clientIF :: 54 :: vds ::
(wrapper) [10.1.20.2] :: call migrate with ({'src': '10 .1 .20.7 ',' dst ':
'10 .2.20.8:54321', 'vmId': '616938ca-d34f-437d-9e10-760d55eeadf6 ',' method
':' online '},) {}
Thread-5217 :: DEBUG :: 2012-02-17 11:07:08,436 :: clientIF :: 357 :: vds ::
(migrate) {'src': '10 .1.20.7 ',' dst ': '10 .2. 20.8:54321 ',' vmId ':
'616938ca-d34f-437d-9e10-760d55eeadf6', 'method': 'online'}
Thread-5218 :: DEBUG :: 2012-02-17 11:07:08,437 :: vm :: 122 :: vm.Vm ::
(_setupVdsConnection) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` ::
Destination server is: https://10.2.20.8:54321
Thread-5217 :: DEBUG :: 2012-02-17 11:07:08,438 :: clientIF :: 59 :: vds ::
(wrapper) return migrate with {'status': {'message': 'Migration process
starting' , 'code': 0}}
Thread-5218 :: DEBUG :: 2012-02-17 11:07:08,438 :: vm :: 124 :: vm.Vm ::
(_setupVdsConnection) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` ::
Initiating connection with destination
Thread-5218 :: DEBUG :: 2012-02-17 11:07:08,490 :: vm :: 170 :: vm.Vm ::
(_prepareGuest) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` :: migration
Process begins
Thread-5218 :: DEBUG :: 2012-02-17 11:07:08,493 :: vm :: 217 :: vm.Vm ::
(run) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` :: migration semaphore
acquired
Thread-5218 :: ERROR :: 2012-02-17 11:07:08,517 :: vm :: 176 :: vm.Vm ::
(_recover) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` :: migration
destination error: Migration destination has an invalid hostname
Thread-5218 :: ERROR :: 2012-02-17 11:07:08,570 :: vm :: 231 :: vm.Vm ::
(run) vmId = `616938ca-d34f-437d-9e10-760d55eeadf6` :: Traceback (most
recent call last):
  File / usr / share / vdsm / vm.py, line 223, in run
self._startUnderlyingMigration ()
  File / usr / share / vdsm / libvirtvm.py, line 400, in
_startUnderlyingMigration
raise RuntimeError ('migration destination error:' + response ['status']
['message'])
RuntimeError: migration destination error: Migration destination has an
invalid hostname

Thread-5220 :: DEBUG :: 2012-02-17 11:07:09,299 :: clientIF :: 54 :: vds ::
(wrapper) [10.1.20.2] :: call getVmStats with ('616938ca-d34f-437d-
9e10-760d55eeadf6 ',) {}
Thread-5220 :: DEBUG :: 2012-02-17 11:07:09,300 :: clientIF :: 59 :: vds ::
(wrapper) return getVmStats with {'status': {' message ':' Done ',' code ':
0},' statsList ': [{' status ':' Up ',' username ':' Unknown ',' memUsage ':
'0', 'acpiEnable': 'true', 'pid': '8620 ',' displayIp ': '0', 'displayPort':
u'5903 ',' session ':' Unknown ',' displaySecurePort ': u'5904',
'timeOffset': '0 ',' clientIp ':'' , 'kvmEnable': 'true', 'network':
{u'vnet3 ': {' macAddr ': u'00: 1a: 4a: a8: 7a: 06', 'rxDropped': '0 ','
rxErrors' : '0 ',' txDropped ': '0', 'txRate': '0 .0 ',' rxRate ': '0 .0',
'txErrors': '0 ',' state ':' unknown ',' speed ':' 1000 ',' name ':
u'vnet3'}}, 'vmId': '616938ca-d34f-437d-9e10-760d55eeadf6 ','
monitorResponse ': '0', 'cpuUser': '0 .00 ',' disks': {u'vda ': {'
readLatency ': '0', 'apparentsize': '1073741824 ',' writeLatency ': '0',
'imageID': '4 b62aa22-c3e8-423e-b547-b4bc21c24ef7 ',' flushLatency ' : '0
',' readRate ': '0 .00', 'truesize': '1073745920 ',' writeRate ': '0 .00'}},
'boot': 'c', 'statsAge': '0 .05 ',' cpuIdle ' : '100 .00 ',' elapsedTime ':
'833', 'vmType': 'kvm', 'cpuSys': '0 .00', 'appsList': [], 'guestIPs':'','
displayType ':' qxl ' , 'nice':''}]}
Thread-5221 :: DEBUG :: 2012-02-17 11:07:09,317 :: clientIF :: 54 :: vds ::
(wrapper) [10.1.20.2] :: call migrateStatus with ('616938ca-d34f-437d-
9e10-760d55eeadf6 ',) {}
Thread-5221 :: DEBUG :: 2012-02-17 11:07:09,317 :: clientIF :: 59 :: vds ::
(wrapper) return migrateStatus with {'status': {' message ':' Migration
destination has an invalid hostname ',' code ': 39}}



In the logs on the vdsm.log 10.2.20.8:

Thread-1825::DEBUG::2012-02-17 11:09:06,431::clientIF::54::vds::(wrapper)
[10.1.20.7]::call getVmStats with ('616938ca-d34f-437d-9e10-760d55eeadf6',)
{}
Thread-1825::DEBUG::2012-02-17 11:09:06,432::clientIF::59::vds::(wrapper)
return getVmStats with {'status': {'message': 'Virtual machine does not
exist', 'code': 1}}
Thread-1826::DEBUG::2012-02-17 11:09:06,454::clientIF::54::vds::(wrapper)
[10.1.20.7]::call migrationCreate with ({'bridge': 'ovirtmgmt',
'acpiEnable': 'true', 'emulatedMachine': 'pc', 'afterMigrationStatus': 'Up',
'spiceSecureChannels': 'smain,sinputs', 'vmId':
'616938ca-d34f-437d-9e10-760d55eeadf6', 'transparentHugePages': 'true',
'displaySecurePort': '5904', 'spiceSslCipherSuite': 'DEFAULT', 'cpuType':
'Conroe', 'custom': {}, 'migrationDest': 'libvirt', 'macAddr':
'00:1a:4a:a8:7a:06', 'boot': 'c', 'smp': '1', 

Re: [Users] ANNOUNCE: ovirt-engine-cli 2.0

2012-02-17 Thread Ofer Schreiber
I'll add then first thing on Sunday. 



On 17 Feb 2012, at 10:44, зоррыч zo...@megatrone.ru wrote:

 Hi.
 SRС RPM packages are not found
 
 [root@noc-2-synt ~]# yum install ovirt-engine-cli
 Loaded plugins: fastestmirror, security
 Loading mirror speeds from cached hostfile
 * elrepo: jur-linux.org
 * sl: ftp2.scientificlinux.org
 * sl-debuginfo: ftp2.scientificlinux.org
 * sl-fastbugs: ftp2.scientificlinux.org
 * sl-security: ftp2.scientificlinux.org
 * sl-testing: ftp2.scientificlinux.org
 * sl-testing-source: ftp2.scientificlinux.org
 Setting up Install Process
 Resolving Dependencies
 -- Running transaction check
 --- Package ovirt-engine-cli.noarch 0:2.0-1.fc16 will be installed
 -- Processing Dependency: python(abi) = 2.7 for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 -- Processing Dependency: ovirt-engine-sdk = 1.5 for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 -- Processing Dependency: python-ply for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 -- Processing Dependency: python-setuptools for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 -- Running transaction check
 --- Package ovirt-engine-cli.noarch 0:2.0-1.fc16 will be installed
 -- Processing Dependency: python(abi) = 2.7 for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 -- Processing Dependency: python-ply for package:
 ovirt-engine-cli-2.0-1.fc16.noarch
 --- Package ovirt-engine-sdk.noarch 0:1.5-1.fc16 will be installed
 -- Processing Dependency: python(abi) = 2.7 for package:
 ovirt-engine-sdk-1.5-1.fc16.noarch
 --- Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed
 -- Finished Dependency Resolution
 Error: Package: ovirt-engine-cli-2.0-1.fc16.noarch (ovirt-engine)
   Requires: python(abi) = 2.7
   Installed: python-2.6.6-29.el6.x86_64 (@sl/6.1)
   python(abi) = 2.6
 Error: Package: ovirt-engine-cli-2.0-1.fc16.noarch (ovirt-engine)
   Requires: python-ply
 Error: Package: ovirt-engine-sdk-1.5-1.fc16.noarch (ovirt-engine)
   Requires: python(abi) = 2.7
   Installed: python-2.6.6-29.el6.x86_64 (@sl/6.1)
   python(abi) = 2.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 
 
 
 
 [root@noc-2-synt ~]# yumdownloader --source ovirt-engine-cli
 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
 * elrepo: jur-linux.org
 * sl: ftp2.scientificlinux.org
 * sl-debuginfo: ftp2.scientificlinux.org
 * sl-fastbugs: ftp2.scientificlinux.org
 * sl-security: ftp2.scientificlinux.org
 * sl-testing: ftp2.scientificlinux.org
 * sl-testing-source: ftp2.scientificlinux.org
 Enabling sl-source repository
 No source RPM found for ovirt-engine-cli-1.2-1.fc16.x86_64
 No source RPM found for ovirt-engine-cli-2.0-1.fc16.noarch
 
 [root@noc-2-synt ~]# cat /etc/yum.repos.d/ovirt-engine.repo
 [ovirt-engine]
 name=ovirt-engine
 baseurl=http://www.ovirt.org/releases/nightly/fedora/16/
 enabled=1
 gpgcheck=0
 
 
 -Original Message-
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
 Michael Pasternak
 Sent: Thursday, February 16, 2012 10:55 PM
 To: users@ovirt.org
 Subject: Re: [Users] ANNOUNCE: ovirt-engine-cli 2.0
 
 
 Please use second release (it's fixes typo in 'create vm' template argument)
 
 ovirt-engine-sdk-1.5-2.fc16.noarch.rpm
 ovirt-engine-cli-2.0-2.fc16.noarch.rpm
 
 On 02/16/2012 01:27 PM, Michael Pasternak wrote:
 
 Hi All,
 
 I'm happy to announce the general oVirt CLI 2.0 availability,
 
 New features:
 
 
 - New application core.
 - Added support for commands history stack.
 - Added support for context aware auto-completion.
 - Dynamic ovirt-engine-sdk metadata discovering.
 - Dynamic help for each command and resource.
 - Removed restriction for specific version of ovirt-engine-sdk
  from 1.5 and further ovirt-engine-cli can work with any
  version of sdk (unless sdk introduced cli incompatible change).
 - same naming convention in ovirt-engine-cli and ovirt-engine-sdk.
 - reformatted output to support reduced and expended modes in
  'list' in 'show' commands by --show-all argument.
 - new object fields formatting.
 - added support for linux bash commands from the cli.
 - shell redirection support.
 - added SSL connection capabilities to 'connect' command.
 - added API version discovering mechanism.
 
 RPMs
 
 
 http://www.ovirt.org/releases/nightly/fedora/16/ovirt-engine-sdk-1.5-1
 .fc16.noarch.rpm 
 http://www.ovirt.org/releases/nightly/fedora/16/ovirt-engine-cli-2.0-1
 .fc16.noarch.rpm
 
 
 Misc
 
 
 - use 'help' for syntax/arguments questions.
 - use TAB completion for option variables as they get converted to
  command line options with different syntax.
 - cli still requires super-user, this restriction will be drooped at
  next version.
 
 
 
 -- 
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 ___
 Users mailing list
 Users@ovirt.org
 

[Users] Setting UUID

2012-02-17 Thread Nathan Stratton


Is there anyway to set a specific UUID for a VM?




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


Re: [Users] Setting UUID

2012-02-17 Thread Itamar Heim

On 02/18/2012 12:40 AM, Nathan Stratton wrote:


Is there anyway to set a specific UUID for a VM?


no.
may i ask why?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users