Re: [Users] VM Console Issue.

2013-02-11 Thread Omer Frenkel
- Original Message -

 From: Md Akther Hossain Khan mahossai...@gmail.com
 To: users@ovirt.org
 Sent: Sunday, February 10, 2013 5:06:10 PM
 Subject: [Users] VM Console Issue.

 Dear All,

 I am new in this forum.
 I have installed Ovirt 3.1 successfully.
 As per I have done the following tasks:
 1. Adding Data Center.
 2. Adding Storage
 3. Adding ISO Domain. (Name of ISO Domain is cloud12)
 4. Uploaded ISO using the command (engine-iso-uploader upload -i
 cloud12 Centos_6.3_64bit.iso)
 5. Adding HOST.
 6. Create VM (New Server  Desktop) with VNC console.
 But when I view the VNC console..It shows nothing but a Black Window.
did you add disks to the vm? (vm main tab-disks) 
did you attach the cd when you start the vm? (run once - boot options) 

 And I see none remarkable error @ tail -f
 /var/log/ovirt/ovirt-engine/engine.log
 Only the following things:
 No one is waiting for resource
 'Storage.fce396f2-72cb-11e2-acc2-000c29a7b590

 In fact I have been hanging in this place for 3 to 4 days.
 It would be appreciable if you please help me out from this stuck
 situation.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] my VMs starts with just 15MB of RAM

2013-02-11 Thread Michal Skrivanek

On Feb 10, 2013, at 20:18 , Rocky rockyba...@gmail.com wrote:

 Hi,
 
 Today after I reinstalled my hypvervisors I just got 15MB of RAM inside
 my guests. I hade this problem on one of my hypervisors before but if I
 started the VMs on the other hypervisors and then migrate the VM to the
 faulty hypervisor all was ok. Just because of that behavior I then
 started to reinstall my hypervisors today.
 
 I am using Centos 6.3 with Dreyous 3.1 repo.
 
 After the install i enabled and installed the Intel(Fake) CPU-package on
 all of the hypervisors.
VMs are not supposed to work with fake virtualization.
Fake VMs are started with 20MB total memory.

What are you trying to achieve? Why did you install the fake virt package?

 
 Now when Im trying to start a VM I only got 15MB of RAM inside the WM,
 almost impossible to boot of course.
 
 One of the machines is definied to use 2048MB and has 2048MB as
 guaranteed memory.
 
 I have attached the vdsm.log from the hypervisor that the VM try to
 start on.
 
 Regards //Ricky
 
 vdsm_15MB.log___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] my VMs starts with just 15MB of RAM

2013-02-11 Thread Ricky
Hi Michael,

I think I have missunderstod something deeply.

After my reinstall of the hypervisors I got The guest virtual machine
cannot be started: internal error guest CPU is not compatible with
host CPU when trying to run a VM. So I found the Fake package and
after I have restarted vdsmd on the hypervisor Webadmin report
Intel(Fake) CPU and the VM started, but just with 15-20MB RAM.

So what I want to do is to start my VMs on the same hardware they
always have been on. :-)

My hypervisors are equipped AMD Opteron G3.

mvh //Ricky


2013/2/11 Michal Skrivanek michal.skriva...@redhat.com:

 On Feb 10, 2013, at 20:18 , Rocky rockyba...@gmail.com wrote:

 Hi,

 Today after I reinstalled my hypvervisors I just got 15MB of RAM inside
 my guests. I hade this problem on one of my hypervisors before but if I
 started the VMs on the other hypervisors and then migrate the VM to the
 faulty hypervisor all was ok. Just because of that behavior I then
 started to reinstall my hypervisors today.

 I am using Centos 6.3 with Dreyous 3.1 repo.

 After the install i enabled and installed the Intel(Fake) CPU-package on
 all of the hypervisors.
 VMs are not supposed to work with fake virtualization.
 Fake VMs are started with 20MB total memory.

 What are you trying to achieve? Why did you install the fake virt package?


 Now when Im trying to start a VM I only got 15MB of RAM inside the WM,
 almost impossible to boot of course.

 One of the machines is definied to use 2048MB and has 2048MB as
 guaranteed memory.

 I have attached the vdsm.log from the hypervisor that the VM try to
 start on.

 Regards //Ricky

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

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


Re: [Users] VM Console Issue.

2013-02-11 Thread Md Akther Hossain Khan
Thanks Frankel,


We added ISO/NFS Domain  Storage Domain from Disk Tab.
Meanwhile we attached the CD which we uploaded by  (engine-iso-uploader
upload -i cloud12 Centos_6.3_64bit.iso)  this command.
But @ VNC console it shows nothing but a black window.


On Mon, Feb 11, 2013 at 2:17 PM, Omer Frenkel ofren...@redhat.com wrote:



 --

 *From: *Md Akther Hossain Khan mahossai...@gmail.com
 *To: *users@ovirt.org
 *Sent: *Sunday, February 10, 2013 5:06:10 PM
 *Subject: *[Users] VM Console Issue.


 Dear All,

 I am new in this forum.
 I have installed Ovirt 3.1 successfully.
 As per I have done the following tasks:
 1. Adding Data Center.
 2. Adding Storage
 3. Adding ISO Domain. (Name of ISO Domain is cloud12)
 4. Uploaded ISO using the command (engine-iso-uploader upload -i cloud12
 Centos_6.3_64bit.iso)
 5. Adding HOST.
 6. Create VM (New Server  Desktop) with VNC console.
 But when I view the VNC console..It shows nothing but a Black Window.

 did you add disks to the vm? (vm main tab-disks)
 did you attach the cd when you start the vm? (run once - boot options)

 And I see none remarkable error @ tail -f
 /var/log/ovirt/ovirt-engine/engine.log
 Only the following things:
   *  No one is waiting for resource
 'Storage.fce396f2-72cb-11e2-acc2-000c29a7b590*

 In fact I have been hanging in this place for 3 to 4 days.
 It would be appreciable if you please help me out from this stuck
 situation.

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



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


[Users] How do Networks and Vlan-tagging work in oVirt ?

2013-02-11 Thread Matt .
I'm struggeling setting up my network in oVirt at the moment as I would
like to seperate specific VM's from other devices/clients in my network.

I have decent setup switching network using Vlans, this is also the fact
for ovirt and the storage nodes where teh ports are seperated between
storage and management.

Because I want to manage which client can acces which VM I need Vlan
tagging. The question is where are we going to do this, on the VM itself or
on the network I attach the VM's Nic to.

Because of the lacking documentation at this point it's not clear, so I
would like to figure out and maybe change the wiki there.

I also cannot understand why I can set an IP to a network and only the
subnet where I also can set DHCP which puts also the gateway.

I'm not able to set None or DHCP and can only add a network with IP, but
what IP and why ? Or just a 192.16.x.0 with a 255.255.255.0 subnet ?

I hope someone can clear this a little bit more out.

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


Re: [Users] my VMs starts with just 15MB of RAM

2013-02-11 Thread Michal Skrivanek

On Feb 11, 2013, at 11:09 , Ricky rockyba...@gmail.com wrote:

 Hi Michael,
 
 I think I have missunderstod something deeply.
 
 After my reinstall of the hypervisors I got The guest virtual machine
 cannot be started: internal error guest CPU is not compatible with
 host CPU when trying to run a VM. So I found the Fake package and
 after I have restarted vdsmd on the hypervisor Webadmin report
 Intel(Fake) CPU and the VM started, but just with 15-20MB RAM.
Hi,
well, fake package is for something totally different. It won't allow you to 
run anything, it's there for testing purposes only, you won't be able to run a 
VM.
Please try to uninstall it (at worst reinstall the node:-)

Then you should see a proper reporting again. Are you sure your Cluster is 
having the compatible CPU type? Please attach the new logs once the hypervisor 
is without the fake package…

Thanks,
michal

 
 So what I want to do is to start my VMs on the same hardware they
 always have been on. :-)
 
 My hypervisors are equipped AMD Opteron G3.
 
 mvh //Ricky
 
 
 2013/2/11 Michal Skrivanek michal.skriva...@redhat.com:
 
 On Feb 10, 2013, at 20:18 , Rocky rockyba...@gmail.com wrote:
 
 Hi,
 
 Today after I reinstalled my hypvervisors I just got 15MB of RAM inside
 my guests. I hade this problem on one of my hypervisors before but if I
 started the VMs on the other hypervisors and then migrate the VM to the
 faulty hypervisor all was ok. Just because of that behavior I then
 started to reinstall my hypervisors today.
 
 I am using Centos 6.3 with Dreyous 3.1 repo.
 
 After the install i enabled and installed the Intel(Fake) CPU-package on
 all of the hypervisors.
 VMs are not supposed to work with fake virtualization.
 Fake VMs are started with 20MB total memory.
 
 What are you trying to achieve? Why did you install the fake virt package?
 
 
 Now when Im trying to start a VM I only got 15MB of RAM inside the WM,
 almost impossible to boot of course.
 
 One of the machines is definied to use 2048MB and has 2048MB as
 guaranteed memory.
 
 I have attached the vdsm.log from the hypervisor that the VM try to
 start on.
 
 Regards //Ricky
 
 vdsm_15MB.log___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

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


Re: [Users] VM Console Issue.

2013-02-11 Thread Omer Frenkel
- Original Message -

 From: Md Akther Hossain Khan mahossai...@gmail.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, February 11, 2013 12:32:24 PM
 Subject: Re: [Users] VM Console Issue.

 Thanks Frankel,

 We added ISO/NFS Domain  Storage Domain from Disk Tab.
 Meanwhile we attached the CD which we uploaded by
 (engine-iso-uploader upload -i cloud12 Centos_6.3_64bit.iso) this
 command.
 But @ VNC console it shows nothing but a black window.

can you attach vdsm log contains the creation of the vm? 

 On Mon, Feb 11, 2013 at 2:17 PM, Omer Frenkel  ofren...@redhat.com 
 wrote:

   From: Md Akther Hossain Khan  mahossai...@gmail.com 
  
 
   To: users@ovirt.org
  
 
   Sent: Sunday, February 10, 2013 5:06:10 PM
  
 
   Subject: [Users] VM Console Issue.
  
 

   Dear All,
  
 

   I am new in this forum.
  
 
   I have installed Ovirt 3.1 successfully.
  
 
   As per I have done the following tasks:
  
 
   1. Adding Data Center.
  
 
   2. Adding Storage
  
 
   3. Adding ISO Domain. (Name of ISO Domain is cloud12)
  
 
   4. Uploaded ISO using the command (engine-iso-uploader upload -i
   cloud12 Centos_6.3_64bit.iso)
  
 
   5. Adding HOST.
  
 
   6. Create VM (New Server  Desktop) with VNC console.
  
 
   But when I view the VNC console..It shows nothing but a Black
   Window.
  
 
  did you add disks to the vm? (vm main tab-disks)
 
  did you attach the cd when you start the vm? (run once - boot
  options)
 

   And I see none remarkable error @ tail -f
   /var/log/ovirt/ovirt-engine/engine.log
  
 
   Only the following things:
  
 
   No one is waiting for resource
   'Storage.fce396f2-72cb-11e2-acc2-000c29a7b590
  
 

   In fact I have been hanging in this place for 3 to 4 days.
  
 
   It would be appreciable if you please help me out from this stuck
   situation.
  
 
   ___
  
 
   Users mailing list
  
 
   Users@ovirt.org
  
 
   http://lists.ovirt.org/mailman/listinfo/users
  
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error

2013-02-11 Thread Nicolas Ecarnot

Le 09/02/2013 11:26, Nicolas Ecarnot a écrit :

Le 08/02/2013 21:54, Richard W.M. Jones a écrit :

On Thu, Feb 07, 2013 at 04:48:13PM +0100, Nicolas Ecarnot wrote:

Hi,

After having successfully migrated Debian, XP, 2003, 2008 VMs, I'm
stuck with a migration I was expecting to be easy : RHAS3.

Here is the error log I get :


# virt-v2v -i libvirt -ic qemu+ssh://@/system -o rhev -os
:/data/vmexport -of qcow2 -oa sparse -n ovirtmgmt
serv-rhas3-vm1 serv-rhas3-vm1_copy.raw: 100%
[=]D

0h10m14s virt-v2v: Pas de capability dans la configuration
correspondant à os='linux' name='virtio' distro='rhel' major='3'
minor='0' virt-v2v: Pas de capability dans la configuration
correspondant à os='linux' name='cirrus' distro='rhel' major='3'
minor='0' virt-v2v: WARNING: Le pilote d'affichage a été modifié
en cirrus, mais il est impossible d'installer le pilote cirrus. X
pourrait ne pas fonctionner correctement virt-v2v: WARNING:
/boot/grub/device.map fait référence à un périphérique /dev/fd0
inconnu. Cette entrée doit être corrigée manuellement après la
conversion. virt-v2v: WARNING: /boot/grub/device.map fait
référence à un périphérique /dev/sda inconnu. Cette entrée doit
être corrigée manuellement après la conversion. sh: sh:  at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm
line 200. at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm
line 2321


I don't mind the warnings and I also had such errors I was able to
correct manually.

But here, the last two lines are lethal.

It seems oVirt tries to guess which OS is imported, and tries to
do specific actions, and do them bad. Either there's a way o
prevent oVirt from guessing, either there's a way to correct the
actions oVirt is failing to do...

Googling was not that helpful about this issue.


I'm not totally clear what RHAS 3 is, but you're correct that
virt-v2v has to detect[1] the type of operating system in the guest
in order to determine what operations it has to perform on that
guest.


RHAS stands for redhat advanced server. In our case, this is just an old
Red Hat Enterprise Linux AS release 3 (Taroon).



It uses the configuration file /etc/virt-v2v.conf to map the guest
type into drivers that have to be installed, but some of this is
also hard-coded inside the program.

Matt (CC'd) might have some more suggestions.


I'll be glad to hear from him.



Rich.

[1] You can find out what virt-v2v (actually, what libguestfs)
thinks is in your guest by doing:

virt-inspector serv-rhas3-vm1

(virt-inspector2 if this is RHEL 6).


I had to install libguestfs-tools.x86_64 to get virt-inspector, and it
correctly find it is a RH 3.

Am I missing some more packages for the perl scripts to work correctly?



This issue looks very similar to what is discussed here:

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

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


Re: [Users] VM Console Issue.

2013-02-11 Thread Md Akther Hossain Khan
Thanks Frenkel.

I have attached the vm creation log of VDSM.


On Mon, Feb 11, 2013 at 4:47 PM, Omer Frenkel ofren...@redhat.com wrote:



 --

 *From: *Md Akther Hossain Khan mahossai...@gmail.com
 *To: *Omer Frenkel ofren...@redhat.com
 *Cc: *users@ovirt.org
 *Sent: *Monday, February 11, 2013 12:32:24 PM
 *Subject: *Re: [Users] VM Console Issue.


 Thanks Frankel,


 We added ISO/NFS Domain  Storage Domain from Disk Tab.
 Meanwhile we attached the CD which we uploaded by  (engine-iso-uploader
 upload -i cloud12 Centos_6.3_64bit.iso)  this command.
 But @ VNC console it shows nothing but a black window.

 can you attach vdsm log contains the creation of the vm?


 On Mon, Feb 11, 2013 at 2:17 PM, Omer Frenkel ofren...@redhat.com wrote:



 --

 *From: *Md Akther Hossain Khan mahossai...@gmail.com
 *To: *users@ovirt.org
 *Sent: *Sunday, February 10, 2013 5:06:10 PM
 *Subject: *[Users] VM Console Issue.


 Dear All,

 I am new in this forum.
 I have installed Ovirt 3.1 successfully.
 As per I have done the following tasks:
 1. Adding Data Center.
 2. Adding Storage
 3. Adding ISO Domain. (Name of ISO Domain is cloud12)
 4. Uploaded ISO using the command (engine-iso-uploader upload -i cloud12
 Centos_6.3_64bit.iso)
 5. Adding HOST.
 6. Create VM (New Server  Desktop) with VNC console.
 But when I view the VNC console..It shows nothing but a Black Window.

 did you add disks to the vm? (vm main tab-disks)
 did you attach the cd when you start the vm? (run once - boot options)

 And I see none remarkable error @ tail -f
 /var/log/ovirt/ovirt-engine/engine.log
 Only the following things:
   *  No one is waiting for resource
 'Storage.fce396f2-72cb-11e2-acc2-000c29a7b590*

 In fact I have been hanging in this place for 3 to 4 days.
 It would be appreciable if you please help me out from this stuck
 situation.

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





Thread-329::DEBUG::2013-02-11 19:51:34,006::BindingXMLRPC::161::vds::(wrapper) 
[192.168.71.71]
Thread-329::DEBUG::2013-02-11 
19:51:34,007::task::568::TaskManager.Task::(_updateState) 
Task=`5ff2773d-21ee-422f-a4df-4bc20cacac67`::moving from state init - state 
preparing
Thread-329::INFO::2013-02-11 19:51:34,007::logUtils::37::dispatcher::(wrapper) 
Run and protect: getAllTasksStatuses(spUUID=None, options=None)
Thread-329::DEBUG::2013-02-11 
19:51:34,008::taskManager::102::TaskManager::(getAllTasksStatuses) Entry.
Thread-329::DEBUG::2013-02-11 
19:51:34,008::taskManager::93::TaskManager::(getTaskStatus) Entry. taskID: 
7f2adac1-8eff-4381-8420-5c450d60959a
Thread-329::DEBUG::2013-02-11 
19:51:34,008::taskManager::96::TaskManager::(getTaskStatus) Return. Response: 
{'code': 0, 'message': '1 jobs completed successfully', 'taskState': 
'finished', 'taskResult': 'success', 'taskID': 
'7f2adac1-8eff-4381-8420-5c450d60959a'}
Thread-329::DEBUG::2013-02-11 
19:51:34,008::taskManager::113::TaskManager::(getAllTasksStatuses) Return: 
{'7f2adac1-8eff-4381-8420-5c450d60959a': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '7f2adac1-8eff-4381-8420-5c450d60959a'}}
Thread-329::INFO::2013-02-11 19:51:34,008::logUtils::39::dispatcher::(wrapper) 
Run and protect: getAllTasksStatuses, Return response: {'allTasksStatus': 
{'7f2adac1-8eff-4381-8420-5c450d60959a': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '7f2adac1-8eff-4381-8420-5c450d60959a'}}}
Thread-329::DEBUG::2013-02-11 
19:51:34,009::task::1151::TaskManager.Task::(prepare) 
Task=`5ff2773d-21ee-422f-a4df-4bc20cacac67`::finished: {'allTasksStatus': 
{'7f2adac1-8eff-4381-8420-5c450d60959a': {'code': 0, 'message': '1 jobs 
completed successfully', 'taskState': 'finished', 'taskResult': 'success', 
'taskID': '7f2adac1-8eff-4381-8420-5c450d60959a'}}}
Thread-329::DEBUG::2013-02-11 
19:51:34,009::task::568::TaskManager.Task::(_updateState) 
Task=`5ff2773d-21ee-422f-a4df-4bc20cacac67`::moving from state preparing - 
state finished
Thread-329::DEBUG::2013-02-11 
19:51:34,009::resourceManager::809::ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-329::DEBUG::2013-02-11 
19:51:34,009::resourceManager::844::ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-329::DEBUG::2013-02-11 
19:51:34,010::task::957::TaskManager.Task::(_decref) 
Task=`5ff2773d-21ee-422f-a4df-4bc20cacac67`::ref 0 aborting False
Thread-330::DEBUG::2013-02-11 19:51:34,099::BindingXMLRPC::161::vds::(wrapper) 
[192.168.71.71]
Thread-330::DEBUG::2013-02-11 
19:51:34,100::task::568::TaskManager.Task::(_updateState) 
Task=`338da6a5-402b-40ed-9a4c-184d267d5ee0`::moving from state init - state 
preparing
Thread-330::INFO::2013-02-11 19:51:34,100::logUtils::37::dispatcher::(wrapper) 
Run and protect: 

Re: [Users] Add NIC directly to VM (Dedicated)

2013-02-11 Thread Dan Kenigsberg
On Sun, Feb 10, 2013 at 05:07:08PM +0100, Matt . wrote:
 
 2013/2/10 Shahar Havivi shah...@redhat.com
 
  On 10.02.13 16:36, Matt . wrote:
   Hi,
  
   I'm thinking about the way how I did that with the dedicated NIC to the
  VM.
   I was discussing this a couple of months ago on IRC but I can't remeber
  and
   I already tried to do this... no luck yet. I remember that the NICS were
   just available when adding a nic to the VM, by MAC-address. Can't figure
  it
   out yet what I did those except of not sleeping that much :)
  I don't remember that, sorry...
  
   About the error that I get I do the following:
  
  
   Hosts  Network Interfaces  Setup Host Networks.
  
   When I drag a network I created to a NIC and I don't set an IP or DHCP or
   None I get that error: Error while executing action Setup Networks:
   Illegal or Incomplete IP Address
  
   When I set and IP to that network that is draaged to the Nic I don't get
  an
   error, but why only and IP and no GW as this is IP seems to be bridged in
   the host to the VM where you add a Nic to with that same network you just
   gave an IP.
  
   When saying the above, could have been possible that I have set the
   Mac-Address of the real Nic @ the VM Nic ? As this is possible that might
   have been the solution I used ?
  
   For the rest this software is good and the support is superb!
  I can't reproduce this error,

Neither do I. Which ovirt-engine version do you have installed?

  its look like UI validation...
  Alona,Moti did you encounter this error?

 Here: http://www.mail-archive.com/users@ovirt.org/msg06261.html

Do you mean that your issue is the same? Does it go away if you make
sure that the ip and subnet fields are blank (even when you select
None)?

Would you attach the vdsm.log section with 'call setupNetwork', and
maybe a screenshot of the dialog that is opened after you press the
little pencil?

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


Re: [Users] Error while executing action Setup Networks

2013-02-11 Thread Alona Kaplan

 I found the issue, there is a little icon of a pencil that you need
 to click on in order to specify what IP you want the connection to
 use. Once I did that it worked perfectly.
 
 Also, I noticed that the interface for assigning virtual networks to
 physical interfaces does NOT work correctly in the latest version of
 google chrome.  I had to flip into firefox ... I'm not sure if that
 is documented any where.

Can you please give more details of what didn't work for you on chrome?

 I tried to post this to the list earlier today but my message did not
 go to the list only directly to myself ... sorry for wasting your
 time.
 
 
 Jake Sallee
 Godfather of Bandwidth
 Network Engineer
 University of Mary Hardin-Baylor
 
 900 College St.
 Belton, Texas
 76513
 
 Fone: 254-295-4658
 Phax: 254-295-4221
 
 
 From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of
 Antoni Segura Puimedon [asegu...@redhat.com]
 Sent: Wednesday, February 06, 2013 5:07 PM
 To: users@ovirt.org
 Subject: Re: [Users] Error while executing action Setup Networks
 
 Hi,
 
 I can see that you set a PREFIX, but I can't see any IPADDR in the
 ifcfg-eth0, nor
 in the setupNetworks command. Which IPADDR do you intend to set?
 
 
 - Original Message -
  From: Stephen Sallee (Jake) jake.sal...@umhb.edu
  To: users@ovirt.org
  Sent: Wednesday, February 6, 2013 6:50:14 PM
  Subject: [Users] Error while executing action Setup Networks
 
  I'm trying to add the ovirtmgmt role to my network connection on my
  all-in-one box but when I do I get this error:
 
  Error while executing action Setup Networks: Illegal or Incomplete
  IP
  Address
 
  The IP is correct as I am accessing the portal from a different
  computer, also when I look at the ifcfg-eth0 file:
 
  DEVICE=eth0
  ONBOOT=yes
  HWADDR=[REDACTED]
  BRIDGE=ovirtmgmt
  NM_CONTROLLED=yes
  DOMAIN=UMHB.edu
  IPV6INIT=no
  LAST_CONNECT=1360136903
  DNS2=[REDACTED]
  DNS1=[REDACTED]
  DEFROUTE=yes
  IPV4_FAILURE_FATAL=yes
  PREFIX=24
  UUID=[REDACTED] ... it just feels right, i know its probably
  useless
  to a hacker but I fell better, okay?
 
  I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
  difference.
 
  Here is the snippet from the engine log:
 
  [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
  2013-02-06 11:20:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
  skipping
  2013-02-06 11:20:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-43) Autorecovering storage domains is
  disabled, skipping
  2013-02-06 11:25:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
  skipping
  2013-02-06 11:25:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-98) Autorecovering storage domains is
  disabled, skipping
  2013-02-06 11:30:00,000 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
  skipping
  2013-02-06 11:30:00,000 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-60) Autorecovering storage domains is
  disabled, skipping
  2013-02-06 11:35:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
  skipping
  2013-02-06 11:35:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-11) Autorecovering storage domains is
  disabled, skipping
  2013-02-06 11:40:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-65) Autorecovering hosts is disabled,
  skipping
  2013-02-06 11:40:00,001 INFO
   [org.ovirt.engine.core.bll.AutoRecoveryManager]
  (QuartzScheduler_Worker-65) Autorecovering storage domains is
  disabled, skipping
  2013-02-06 11:40:46,131 INFO
   [org.ovirt.engine.core.bll.SetupNetworksCommand]
  (ajp--127.0.0.1-8702-2) [6cf1af54] Running command:
  SetupNetworksCommand internal: false. Entities affected :  ID:
  8a682fca-7032-11e2-8be0-cb1656457e1f Type: VDS
  2013-02-06 11:40:46,133 INFO
   [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
  (ajp--127.0.0.1-8702-2) [6cf1af54] START,
  SetupNetworksVDSCommand(HostName = local_host, HostId =
  8a682fca-7032-11e2-8be0-cb1656457e1f, force=false,
  checkConnectivity=true, conectivityTimeout=120,
  networks=[ovirtmgmt {id=6990dee0-6a13-4b74-811b-5accbae04194,
  description=Management Network, subnet=null, gateway=null,
  type=null, vlan_id=null, stp=false,
  storage_pool_id=501286c6-46d0-4f6f-a73c-e09e21778b1c, mtu=0,
  vmNetwork=true, cluster=network_cluster {id={clusterId=null,
  networkId=null}, status=Operational, is_display=false,
  required=true}}],
  bonds=[],
  interfaces=[eth0 {id=c2ceb17b-0ae1-4409-bfab-c84be5c8030b,
  

Re: [Users] Add NIC directly to VM (Dedicated)

2013-02-11 Thread Shahar Havivi
Matt,
I attached a hook that will give you a kick start on the promisc mode,
it implemented only the mirror mode which is a part of vdsm now but you can
look at the comments and the README file that have the appropriate in-line mode
commands and implementation.

Shahar Havivi.

On 10.02.13 17:07, Matt . wrote:
 Here: http://www.mail-archive.com/users@ovirt.org/msg06261.html
 
 
 2013/2/10 Shahar Havivi shah...@redhat.com
 
  On 10.02.13 16:36, Matt . wrote:
   Hi,
  
   I'm thinking about the way how I did that with the dedicated NIC to the
  VM.
   I was discussing this a couple of months ago on IRC but I can't remeber
  and
   I already tried to do this... no luck yet. I remember that the NICS were
   just available when adding a nic to the VM, by MAC-address. Can't figure
  it
   out yet what I did those except of not sleeping that much :)
  I don't remember that, sorry...
  
   About the error that I get I do the following:
  
  
   Hosts  Network Interfaces  Setup Host Networks.
  
   When I drag a network I created to a NIC and I don't set an IP or DHCP or
   None I get that error: Error while executing action Setup Networks:
   Illegal or Incomplete IP Address
  
   When I set and IP to that network that is draaged to the Nic I don't get
  an
   error, but why only and IP and no GW as this is IP seems to be bridged in
   the host to the VM where you add a Nic to with that same network you just
   gave an IP.
  
   When saying the above, could have been possible that I have set the
   Mac-Address of the real Nic @ the VM Nic ? As this is possible that might
   have been the solution I used ?
  
   For the rest this software is good and the support is superb!
  I can't reproduce this error,
  its look like UI validation...
  Alona,Moti did you encounter this error?
 
  
   Thanks so far again.
  
   Matt
  
  
   2013/2/10 Shahar Havivi shah...@redhat.com
  
On 10.02.13 16:16, Matt . wrote:
 Hi Shahar,

 Thanks, I need to work this out further to have it 100% visible.

 I wonder why I was able in the past (3.1) to dedicate an NIC to a VM.

 Do you also have an explanation why I cannot save a network
  configuration
 with a nic in DHCP mode ? It complains about a wrong IP and I have
  seen
it
 should be a bug. Is this right ?
How did you that...
I.e can you tell me the steps that you made in the UI? (for both cases)

 Cheers,

 Matt


 2013/2/10 Shahar Havivi shah...@redhat.com

  On 10.02.13 14:13, Dan Kenigsberg wrote:
   On Sun, Feb 10, 2013 at 12:19:57PM +0100, Matt . wrote:
Hi,
   
For setting up a firewall in a VM I would like to add 2 of my 4
nics
directly to a VM.
   
In my previous setup I thought I have done that, but at the
  moment
I
  cannot
figure this out and cannot find the docs to accomplish this.
   
I would like to dedicate those 2 nics to my firewall VM's to
  avoid
  sharing
them using a network per accident to other VM's.
   
How is this be done at the moment ?
  
   AFAIK it can be done only with a vdsm hook. You'd need to define
your VM
   with no interface at all, but instead, mark it with a special
  custom
   property you define. Then, you should write a hook that adds the
  two
   host interfaces to the VM, by means of either
   http://libvirt.org/formatdomain.html#elementsNICSDirect or
   http://libvirt.org/formatdomain.html#elementsNICSHostdev
  
   Most probably, you would need to pin your firewall VM to a
  specific
   host.
  
   Writing a hook is not too complex, but it requires understanding
  of
how
   vdsm and libvirt works. You can take
  
  http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=tree;f=vdsm_hooks/vmfexas a
   reference, or ask for specific guidance here.
  
   Dan.
  Dan is right,
  Currently you can do it via hook,
  We do have promisc mode but currently we have mirroring mode only
  (ie
you
  can
  monitor each VM traffic but cannot intercept it).
  The way to do it is via layer 2.
 
  its best to implement after_vm_start hook and use ebtables.
  you can pass to the hook the network name.
  when you have the network name you can prob for its mac address
  and in
the
  libvirt xml
  you can view the interfaces that are part of that network and get
  the
mac
  addresses as well. (look at other hooks as Dan point out)
 
  when you have the network name the network mac and the target
interface you
  can use ebtables:
  1. set the bridge in promisc mode
 $ ifconfig netwok name promisc
  2. traffic to the monitoring machine
 $ ebtables -t nat -A PREROUTING -d 00:1a:4a:16:01:51 -i eth0 -j
  dnat
  --to-destination 00:1a:4a:16:01:11
  3. traffic from the monitoring machine
 $ ebtables -t 

Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error

2013-02-11 Thread Nicolas Ecarnot

Le 11/02/2013 11:47, Nicolas Ecarnot a écrit :

This issue looks very similar to what is discussed here:

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


I'm so sorry to debug that issue in a so crappy manner, but I have to 
keep going.


I just commented out _configure_boot($kernel, $virtio, $g, $root, 
$desc); in Redhat.pm and it ran with no error.


I'd be very glad to hear from Matt...

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


Re: [Users] windows guest user agent

2013-02-11 Thread Dave Neary

Hi Stephen,

Just to be clear: there is a moderation queue for wiki accounts, but we 
hand those things out completely freely - it is purely an anti-spam measure.


Head on over to http://www.ovirt.org/Special:RequestAccount and I will 
approve your request ASAP!


Thanks,
Dave.

On 02/08/2013 09:52 PM, Sallee, Stephen (Jake) wrote:

I would love to.

I thought I needed to have some special account. You know, have some street 
cred first :)


Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
900 College St.
Belton TX. 76513
Fone: 254-295-4658
Phax: 254-295-4221
HTTP://WWW.UMHB.EDU


-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Friday, February 08, 2013 1:23 AM
To: Sallee, Stephen (Jake)
Cc: users@ovirt.org
Subject: Re: [Users] windows guest user agent

On 07/02/2013 20:19, Sallee, Stephen (Jake) wrote:

Perfect THANK YOU!

Why couldn't I find that link anywhere?  I would think that it would
at least be on the ovirt website.


so how about helping the next guy and wiki-fying it?

Thanks,
 Itamar



Jake Sallee

Godfather of Bandwidth

System Engineer

University of Mary Hardin-Baylor

900 College St.

Belton TX. 76513

Fone: 254-295-4658

Phax: 254-295-4221

HTTP://WWW.UMHB.EDU

*From:*Gianluca Cecchi [mailto:gianluca.cec...@gmail.com]
*Sent:* Thursday, February 07, 2013 12:15 PM
*To:* Sallee, Stephen (Jake)
*Cc:* users
*Subject:* Re: [Users] windows guest user agent


Il giorno 07/feb/2013 19:05, Sallee, Stephen (Jake)
jake.sal...@umhb.edu mailto:jake.sal...@umhb.edu ha scritto:
  
   I have been googeling trying to find info on how to install the
guest agent for windows, can anyone give me some insight?
  
  
  
   I did find some instructions on how to build it from inside the VM,
but the instructions a several months old and before I try them I
would like to make sure they are still the best method.
  
  
  
  
http://gerrit.ovirt.org/gitweb?p=ovirt-guest-agent.git;a=blob;f=ovirt-
guest-agent/README-windows.txt;h=bf6bb3c18567537489b56e6888b2eb7f025cc
4f9;hb=HEAD
  
  
  
  
  
   Jake Sallee
  
   Godfather of Bandwidth
  
   System Engineer
  
   University of Mary Hardin-Baylor
  
   900 College St.
  
   Belton TX. 76513
  
   Fone: 254-295-4658
  
   Phax: 254-295-4221
  
   HTTP://WWW.UMHB.EDU
  
  
  
  
   ___
   Users mailing list
   Users@ovirt.org mailto:Users@ovirt.org  
http://lists.ovirt.org/mailman/listinfo/users
  
See here the spice-guest-tools iso:
http://spice-space.org/download.html

http://spice-space.org/download/binaries/spice-guest-tools/spice-guest
-tools-0.3.exe
Hih,
Gianluca



___
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



--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error

2013-02-11 Thread Matthew Booth
On Fri, 2013-02-08 at 20:54 +, Richard W.M. Jones wrote:
 On Thu, Feb 07, 2013 at 04:48:13PM +0100, Nicolas Ecarnot wrote:
  Hi,
  
  After having successfully migrated Debian, XP, 2003, 2008 VMs, I'm
  stuck with a migration I was expecting to be easy : RHAS3.
  
  Here is the error log I get :
  
  # virt-v2v -i libvirt -ic qemu+ssh://@/system -o rhev -os 
  :/data/vmexport -of qcow2 -oa sparse -n ovirtmgmt serv-rhas3-vm1
  serv-rhas3-vm1_copy.raw: 100% 
  [=]D
   0h10m14s
  virt-v2v: Pas de capability dans la configuration correspondant à 
  os='linux' name='virtio' distro='rhel' major='3' minor='0'
  virt-v2v: Pas de capability dans la configuration correspondant à 
  os='linux' name='cirrus' distro='rhel' major='3' minor='0'
  virt-v2v: WARNING: Le pilote d'affichage a été modifié en cirrus, mais il 
  est impossible d'installer le pilote cirrus. X pourrait ne pas fonctionner 
  correctement
  virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique 
  /dev/fd0 inconnu. Cette entrée doit être corrigée manuellement après la 
  conversion.
  virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique 
  /dev/sda inconnu. Cette entrée doit être corrigée manuellement après la 
  conversion.
  sh: sh:  at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm 
  line 200.
   at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 
   2321

I'd need to know exactly which version of virt-v2v you're running in
order to diagnose the above. I think the unknown fd0 was fixed a while
back, though. Are you running the latest available version?

Matt

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


[Users] Move single vmdk (or else) disk into oVirt/RHEV

2013-02-11 Thread Nicolas Ecarnot

Hi,

I find it hard to find any information about the way I have to follow to 
convert/import a vmdk/qcow/raw/etc... single disk into an oVirt disks list.


I know how to use virt-v2v to import complete VMs (disk AND config), but 
don't know how to handle a single data disk.


Regards,

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


Re: [Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error

2013-02-11 Thread Gianluca Cecchi
On Mon, Feb 11, 2013 at 3:07 PM, Matthew Booth  wrote:
 I'd need to know exactly which version of virt-v2v you're running in

at the beginning of this same thread, after I asked the same thing, on
Feb 8th Nicolas wrote:

- Fedora 17 64 bits
- virt-v2v.x86_64version 0.8.8-1.fc17
- every ovirt component is of the family 3.1.0-4.fc17

I presume it remained the same
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rhevm_admin_password = engine_admin_password ?

2013-02-11 Thread Mike Burns

On 02/08/2013 11:45 AM, Yair Zaslavsky wrote:



- Original Message -

From: Jorick Astrego jor...@netbulae.eu
To: users@ovirt.org
Sent: Friday, February 8, 2013 6:07:50 PM
Subject: [Users] rhevm_admin_password = engine_admin_password ?

Hi,

Just a quick question. I have PXE boot setup correctly now and like
to
do an unattended install.

In the rhev-m documentation I see the parameter
rhevm_admin_password .
Is this engine_admin_password in ovirt?


Probably yes,
Are you referring to the password of the administrator of oVirt?



This sounds more like an ovirt-node parameter.  It is a parameter that 
sets the password on ovirt-node that you can use when you add an 
ovirt-node host to ovirt engine by clicking New Host.


It sets a password on ovirt-node.

Mike







--
Regards,

Jorick Astrego

Netbulae B.V.
Site:  http://www.netbulae.eu


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


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



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


[Users] Fedora 17 firefox not optimal for 3.2 beta

2013-02-11 Thread Gianluca Cecchi
Hello,
connecting to ovirt 3.2 beta from F17 with firefox-18.0-1.fc17.x86_64 I receive

This Browser version isn't optimal for displaying the application
graphics (refer to Documentation for details)

How is the check made to show or not the warning?
What is the current status of supported browsers?
I remember someone posting a page with browser support but I'm unable
to find it right now...

I remember also on December the thread

[Users] Using the chrome/chromium browser with oVirt

Did it go ahead with chrome spice-xpi patches applied and so now
chrome usable in f17 / f18 (btw on my f17 I have
google-chrome-stable-24.0.1312.69-180721.x86_64 if needed for
testing)?



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


Re: [Users] Fedora 17 firefox not optimal for 3.2 beta

2013-02-11 Thread Kanagaraj

On 02/12/2013 11:32 AM, Gianluca Cecchi wrote:

Hello,
connecting to ovirt 3.2 beta from F17 with firefox-18.0-1.fc17.x86_64 I receive

This Browser version isn't optimal for displaying the application
graphics (refer to Documentation for details)

How is the check made to show or not the warning?
What is the current status of supported browsers?
'Firefox 17 on Linux' and 'Internet Explorer 9+ on any OS'. If you use 
any browser other than these, you will see the 'isn't optimal' warning.


Thanks,
Kanagaraj

I remember someone posting a page with browser support but I'm unable
to find it right now...

I remember also on December the thread

[Users] Using the chrome/chromium browser with oVirt

Did it go ahead with chrome spice-xpi patches applied and so now
chrome usable in f17 / f18 (btw on my f17 I have
google-chrome-stable-24.0.1312.69-180721.x86_64 if needed for
testing)?



Thanks,
Gianluca
___
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