Re: [ovirt-users] Spam Satellite/Spacewalk API

2014-06-26 Thread Sven Kieske


Am 26.06.2014 03:04, schrieb Maurice James:
 Are there any oVirt connectors or connections with Spacewalk/Satellite? 
 Currently Satellite has api access with Susestudio, so
 I can push images from Susestudio to a virtulization host that is
managed by Spacewalk.

Not any I am aware of, there is integration in foreman/puppet
and afaik this will be the base for the next red hat satellite as
spacewalk will no longer be used.

it's just so sad foreman is so tightly coupled with puppet
and it seems it can't be used with other config management tools like
salt (at least not that deep integrated).

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ip spoofing

2014-06-26 Thread Dan Kenigsberg
On Thu, Jun 26, 2014 at 12:22:23PM +0800, Punit Dambiwal wrote:
 Hi Dan,
 
 The permission looks ok...
 
 
 [root@gfs1 ~]# su - vdsm -s
 /bin/bash
 -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
 total 8
 -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
 -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
 -bash-4.1$ exit
 logout
 [root@gfs1 ~]#

I'm out of guesses. It should not make any change, but please
`service vdsmd stop`, wait a bit, and `service vdsmd start`.

 
 But the strange thing is noipspoof hook not display in the host hooks
 windows

That's not so strange - it is updated only when the host becomes
operational. If you restart vdsmd as explained above, they should show
up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ip spoofing

2014-06-26 Thread Sven Kieske
Well this is strange, and this should not be the reason
but can you attach a .py ending to the file names (maybe vdsm performs
some strange checks)?
your permissions look good.
the only other thing I can think of are selinux
restrictions, can you check them with:
#this gives you the actual used selinux security level:
getenforce
:this gives you the selinux attributes for the folder:
ls -lZ /usr/libexec/vdsm/hooks/before_device_create

I first thought it might be related to vdsms sudoers
rights but a plain python script should be executed
without modification to the sudoers config.

HTH

Am 26.06.2014 06:22, schrieb Punit Dambiwal:
 Hi Dan,
 
 The permission looks ok...
 
 
 [root@gfs1 ~]# su - vdsm -s
 /bin/bash
 -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
 total 8
 -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
 -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
 -bash-4.1$ exit
 logout
 [root@gfs1 ~]#
 
 But the strange thing is noipspoof hook not display in the host hooks
 windows

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ip spoofing

2014-06-26 Thread Antoni Segura Puimedon


- Original Message -
 From: Sven Kieske s.kie...@mittwald.de
 To: users@ovirt.org
 Sent: Thursday, June 26, 2014 9:12:31 AM
 Subject: Re: [ovirt-users] Ip spoofing
 
 Well this is strange, and this should not be the reason
 but can you attach a .py ending to the file names (maybe vdsm performs
 some strange checks)?

We do not ;-)

 your permissions look good.
 the only other thing I can think of are selinux
 restrictions, can you check them with:
 #this gives you the actual used selinux security level:
 getenforce

That could be it

 :this gives you the selinux attributes for the folder:
 ls -lZ /usr/libexec/vdsm/hooks/before_device_create
 
 I first thought it might be related to vdsms sudoers
 rights but a plain python script should be executed
 without modification to the sudoers config.
 
 HTH
 
 Am 26.06.2014 06:22, schrieb Punit Dambiwal:
  Hi Dan,
  
  The permission looks ok...
  
  
  [root@gfs1 ~]# su - vdsm -s
  /bin/bash
  -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
  total 8
  -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
  -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
  -bash-4.1$ exit
  logout
  [root@gfs1 ~]#
  
  But the strange thing is noipspoof hook not display in the host hooks
  windows
 
 --
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
 ___
 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: [ovirt-users] Ip spoofing

2014-06-26 Thread Punit Dambiwal
Hi Sven,

I already give the sudo user permission to VDSM user...

Yes..after VDSM restart i can see this hook in host tabI will test it
again and udpate you guys if still not solve


On Thu, Jun 26, 2014 at 4:03 PM, Antoni Segura Puimedon asegu...@redhat.com
 wrote:



 - Original Message -
  From: Sven Kieske s.kie...@mittwald.de
  To: users@ovirt.org
  Sent: Thursday, June 26, 2014 9:12:31 AM
  Subject: Re: [ovirt-users] Ip spoofing
 
  Well this is strange, and this should not be the reason
  but can you attach a .py ending to the file names (maybe vdsm performs
  some strange checks)?

 We do not ;-)

  your permissions look good.
  the only other thing I can think of are selinux
  restrictions, can you check them with:
  #this gives you the actual used selinux security level:
  getenforce

 That could be it

  :this gives you the selinux attributes for the folder:
  ls -lZ /usr/libexec/vdsm/hooks/before_device_create
 
  I first thought it might be related to vdsms sudoers
  rights but a plain python script should be executed
  without modification to the sudoers config.
 
  HTH
 
  Am 26.06.2014 06:22, schrieb Punit Dambiwal:
   Hi Dan,
  
   The permission looks ok...
  
  
   [root@gfs1 ~]# su - vdsm -s
   /bin/bash
   -bash-4.1$ ls -l /usr/libexec/vdsm/hooks/before_device_create
   total 8
   -rwxr-xr-x. 1 root root 1702 Jun 10 05:25 50_macspoof
   -rwxr-xr-x. 1 root root 2490 Jun 23 17:47 50_noipspoof
   -bash-4.1$ exit
   logout
   [root@gfs1 ~]#
  
   But the strange thing is noipspoof hook not display in the host hooks
   windows
 
  --
  Mit freundlichen Grüßen / Regards
 
  Sven Kieske
 
  Systemadministrator
  Mittwald CM Service GmbH  Co. KG
  Königsberger Straße 6
  32339 Espelkamp
  T: +49-5772-293-100
  F: +49-5772-293-333
  https://www.mittwald.de
  Geschäftsführer: Robert Meyer
  St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
 Oeynhausen
  Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
 Oeynhausen
  ___
  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


[ovirt-users] Difference between run run-once

2014-06-26 Thread Punit Dambiwal
Hi,

Please let me know the difference between run and run-once...

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


Re: [ovirt-users] Difference between run run-once

2014-06-26 Thread Eli Mesika


- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, June 26, 2014 12:32:13 PM
 Subject: [ovirt-users] Difference between run  run-once
 
 Hi,
 
 Please let me know the difference between run and run-once...

When you use Run Once you can change some parameters just for this run (for 
example boot order) , if you run the VM with run after that , it will use its 
original changes 
So, its a way to change some VM parameters once without affecting the preserved 
settings 

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


[ovirt-users] Cloud init API issue

2014-06-26 Thread Shanil S
Hi,

I am using ovirt REST API function to create vm. Virtual machine is not
creating with the cloud init and i am unable to login. The following xml is
which i used for creating vm

vm
  name$name/name
  cluster
nameWTC/name
  /cluster
  template
name$templatetype/name
  /template
  memory$memory/memory
  os
 boot dev=\hd\/
  /os
initialization
 cloud_init
host
  address/address
   /host
   authorized_keys
 authorized_key
   user
 user_nameroot/user_name
   /user
   key/key
 /authorized_key
   /authorized_keys
   regenerate_ssh_keystrue/regenerate_ssh_keys
   timezoneAsia/Jerusalem/timezone
   users
 user
   user_nameroot/user_name
   passwordmypass/password
 /user
   /users
 network_configuration
 nics
   nic
 nameeth0/name
 boot_protocolSTATIC/boot_protocol
 network
ip address='' netmask='255.255.255.0' gateway='/
 /network
 on_boottrue/on_boot
   /nic
 /nics
dns
   servers
 host
   address/address
 /host
 host
   address/address
 /host
   /servers
   search_domains
 host
   address/address
 /host
/search_domains
 /dns
 /network_configuration
files
 file
   name/name
   content/content
   typePLAINTEXT/type
 /file
   /files
/cloud_init
   /initialization
/vm

could you please check if there any issues with the xml data ? i am able to
create VM from the ovirt panel and its working but this problem is only
when i use the REST Api to do this
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cloud init API issue

2014-06-26 Thread Oved Ourfali
Hi

Logs / error messages can be helpful.

Also, see example in http://www.ovirt.org/Features/Cloud-Init_Integration

Oved

- Original Message -
 From: Shanil S xielessha...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, June 26, 2014 1:11:44 PM
 Subject: [ovirt-users] Cloud init API issue
 
 Hi,
 
 I am using ovirt REST API function to create vm. Virtual machine is not
 creating with the cloud init and i am unable to login. The following xml is
 which i used for creating vm
 
 vm
 name$name/name
 cluster
 nameWTC/name
 /cluster
 template
 name$templatetype/name
 /template
 memory$memory/memory
 os
 boot dev=\hd\/
 /os
 initialization
 cloud_init
 host
 address/address
 /host
 authorized_keys
 authorized_key
 user
 user_nameroot/user_name
 /user
 key/key
 /authorized_key
 /authorized_keys
 regenerate_ssh_keystrue/regenerate_ssh_keys
 timezoneAsia/Jerusalem/timezone
 users
 user
 user_nameroot/user_name
 passwordmypass/password
 /user
 /users
 network_configuration
 nics
 nic
 nameeth0/name
 boot_protocolSTATIC/boot_protocol
 network
 ip address='' netmask='255.255.255.0' gateway='/
 /network
 on_boottrue/on_boot
 /nic
 /nics
 dns
 servers
 host
 address/address
 /host
 host
 address/address
 /host
 /servers
 search_domains
 host
 address/address
 /host
 /search_domains
 /dns
 /network_configuration
 files
 file
 name/name
 content/content
 typePLAINTEXT/type
 /file
 /files
 /cloud_init
 /initialization
 /vm
 
 could you please check if there any issues with the xml data ? i am able to
 create VM from the ovirt panel and its working but this problem is only when
 i use the REST Api to do this
 
 
 
 ___
 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: [ovirt-users] Cloud init API issue

2014-06-26 Thread Shahar Havivi
It may be initialization issue,
The initialization data (cloud-init and sysprep) is only running the first time
when the VM is not initialized, if you do want to re-initialize the VM you need
to use run-once in the UI and in REST you need to start the VM with the
vm../vm tag including the initialization section

On 26.06.14 06:25, Oved Ourfali wrote:
 Hi
 
 Logs / error messages can be helpful.
 
 Also, see example in http://www.ovirt.org/Features/Cloud-Init_Integration
 
 Oved
 
 - Original Message -
  From: Shanil S xielessha...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, June 26, 2014 1:11:44 PM
  Subject: [ovirt-users] Cloud init API issue
  
  Hi,
  
  I am using ovirt REST API function to create vm. Virtual machine is not
  creating with the cloud init and i am unable to login. The following xml is
  which i used for creating vm
  
  vm
  name$name/name
  cluster
  nameWTC/name
  /cluster
  template
  name$templatetype/name
  /template
  memory$memory/memory
  os
  boot dev=\hd\/
  /os
  initialization
  cloud_init
  host
  address/address
  /host
  authorized_keys
  authorized_key
  user
  user_nameroot/user_name
  /user
  key/key
  /authorized_key
  /authorized_keys
  regenerate_ssh_keystrue/regenerate_ssh_keys
  timezoneAsia/Jerusalem/timezone
  users
  user
  user_nameroot/user_name
  passwordmypass/password
  /user
  /users
  network_configuration
  nics
  nic
  nameeth0/name
  boot_protocolSTATIC/boot_protocol
  network
  ip address='' netmask='255.255.255.0' gateway='/
  /network
  on_boottrue/on_boot
  /nic
  /nics
  dns
  servers
  host
  address/address
  /host
  host
  address/address
  /host
  /servers
  search_domains
  host
  address/address
  /host
  /search_domains
  /dns
  /network_configuration
  files
  file
  name/name
  content/content
  typePLAINTEXT/type
  /file
  /files
  /cloud_init
  /initialization
  /vm
  
  could you please check if there any issues with the xml data ? i am able to
  create VM from the ovirt panel and its working but this problem is only when
  i use the REST Api to do this
  
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cloud init API issue

2014-06-26 Thread Sven Kieske
You supply no ip address but a network mask
the UI would block you from doing this, so I
think this might be an error.

but the rest api should return an error code for you
as well, didn't you get any?

Am 26.06.2014 12:11, schrieb Shanil S:
  nameeth0/name
  boot_protocolSTATIC/boot_protocol
  network
 ip address='' netmask='255.255.255.0' gateway='/
  /network

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [QE] [ACTION NEEDED] oVirt 3.5.0 Test Day wiki

2014-06-26 Thread Lior Vernia
I edited the document earlier this week, but today tried again and got
the following error:

You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.

Known issue?


On 23/06/14 17:23, Sandro Bonazzola wrote:
 Hi,
 as you should know we're going to have oVier 3.5 first test day on Jul 1st.
 Maintainers and community, please start filling test day wiki [1]
 with relevant tests needed.
 
 [1] http://www.ovirt.org/OVirt_3.5_TestDay
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [QE] [ACTION NEEDED] oVirt 3.5.0 Test Day wiki

2014-06-26 Thread Sandro Bonazzola
Il 26/06/2014 13:00, Lior Vernia ha scritto:
 I edited the document earlier this week, but today tried again and got
 the following error:
 
 You do not have permission to edit this page, for the following reason:
 The action you have requested is limited to users in the group: Users.
 
 Known issue?

Did you logged in to the wiki today?
If yes, I think this is a new issue.

 
 
 On 23/06/14 17:23, Sandro Bonazzola wrote:
 Hi,
 as you should know we're going to have oVier 3.5 first test day on Jul 1st.
 Maintainers and community, please start filling test day wiki [1]
 with relevant tests needed.

 [1] http://www.ovirt.org/OVirt_3.5_TestDay



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [QE] [ACTION NEEDED] oVirt 3.5.0 Test Day wiki

2014-06-26 Thread Lior Vernia


On 26/06/14 14:03, Sandro Bonazzola wrote:
 Il 26/06/2014 13:00, Lior Vernia ha scritto:
 I edited the document earlier this week, but today tried again and got
 the following error:

 You do not have permission to edit this page, for the following reason:
 The action you have requested is limited to users in the group: Users.

 Known issue?
 
 Did you logged in to the wiki today?
 If yes, I think this is a new issue.
 

Logged in since yesterday. Logged out and back in now and everything
worked fine, sorry for the noise :)



 On 23/06/14 17:23, Sandro Bonazzola wrote:
 Hi,
 as you should know we're going to have oVier 3.5 first test day on Jul 1st.
 Maintainers and community, please start filling test day wiki [1]
 with relevant tests needed.

 [1] http://www.ovirt.org/OVirt_3.5_TestDay

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


Re: [ovirt-users] Mask the CPU model

2014-06-26 Thread Dan Kenigsberg
On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
  Hi Sven,
  
  Please let me know which VDSM hook can be used for the same,is there any
  hook available for the same... ??
 
 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:
 
 Do you know of a hook that manipulates the emulated CPU model?

Within the Vdsm code tree, only faqemu does that (and it only drops,
causing qemu to do its best). You can build on top of faqemu to set to
your favorite guest cpu.

However, I think that Engine was once capable of setting a specific
cpuType - is it still possible without hacking its DB, Arik?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mask the CPU model

2014-06-26 Thread Michal Skrivanek

On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:

 On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
 Hi Sven,
 
 Please let me know which VDSM hook can be used for the same,is there any
 hook available for the same... ??
 
 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:
 
 Do you know of a hook that manipulates the emulated CPU model?
 
 Within the Vdsm code tree, only faqemu does that (and it only drops,
 causing qemu to do its best). You can build on top of faqemu to set to
 your favorite guest cpu.
 
 However, I think that Engine was once capable of setting a specific
 cpuType - is it still possible without hacking its DB, Arik?

I'm not sure what do you actually mean
hide what from whom?
the guest sees particular CPU, there's nothing like Virtual xyz, it either 
sees flags matching e.g. Nehalem or not. You can select different CPU at the 
cluster level if you wish, and that's what the guest will see, regardless what 
your host has

faqemu is changing the configured CPU type to fully emulated CPU…I don't think 
you meant that...

Thanks,
michal
 ___
 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: [ovirt-users] Mask the CPU model

2014-06-26 Thread Sven Kieske


Am 26.06.2014 13:28, schrieb Michal Skrivanek:
 
 On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:
 
 On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:


 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
 Hi Sven,

 Please let me know which VDSM hook can be used for the same,is there any
 hook available for the same... ??

 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:

 Do you know of a hook that manipulates the emulated CPU model?

 Within the Vdsm code tree, only faqemu does that (and it only drops,
 causing qemu to do its best). You can build on top of faqemu to set to
 your favorite guest cpu.

 However, I think that Engine was once capable of setting a specific
 cpuType - is it still possible without hacking its DB, Arik?
 
 I'm not sure what do you actually mean
 hide what from whom?
 the guest sees particular CPU, there's nothing like Virtual xyz, it either 
 sees flags matching e.g. Nehalem or not. You can select different CPU at the 
 cluster level if you wish, and that's what the guest will see, regardless 
 what your host has
 
 faqemu is changing the configured CPU type to fully emulated CPU…I don't 
 think you meant that...

I guess he refers to the cpu_model mentioned here:
http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html

But I still do not see the benefit of faking a certain cpu model.


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mask the CPU model

2014-06-26 Thread Michal Skrivanek

On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote:

 
 
 Am 26.06.2014 13:28, schrieb Michal Skrivanek:
 
 On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:
 
 On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
 Am 25.06.2014 11:43, schrieb Punit Dambiwal:
 Hi Sven,
 
 Please let me know which VDSM hook can be used for the same,is there any
 hook available for the same... ??
 
 I don't know any hook that does this, it should be relatively simple,
 though.
 Maybe someone else can assist, CC'ing Dan:
 
 Do you know of a hook that manipulates the emulated CPU model?
 
 Within the Vdsm code tree, only faqemu does that (and it only drops,
 causing qemu to do its best). You can build on top of faqemu to set to
 your favorite guest cpu.
 
 However, I think that Engine was once capable of setting a specific
 cpuType - is it still possible without hacking its DB, Arik?
 
 I'm not sure what do you actually mean
 hide what from whom?
 the guest sees particular CPU, there's nothing like Virtual xyz, it either 
 sees flags matching e.g. Nehalem or not. You can select different CPU at the 
 cluster level if you wish, and that's what the guest will see, regardless 
 what your host has
 
 faqemu is changing the configured CPU type to fully emulated CPU…I don't 
 think you meant that...
 
 I guess he refers to the cpu_model mentioned here:
 http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html

yes, that's what we have at cluster level and there is an RFE for per-VM level

 
 But I still do not see the benefit of faking a certain cpu model.

there is no faking, it is always real for the guest.
so yes, you can make it look(and actually perform) less capable so you can 
migrate across heterogenous hosts; or make it less capable just if you wish so, 
but that's it.

Thanks,
michal

 
 
 -- 
 Mit freundlichen Grüßen / Regards
 
 Sven Kieske
 
 Systemadministrator
 Mittwald CM Service GmbH  Co. KG
 Königsberger Straße 6
 32339 Espelkamp
 T: +49-5772-293-100
 F: +49-5772-293-333
 https://www.mittwald.de
 Geschäftsführer: Robert Meyer
 St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
 Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

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


[ovirt-users] oVirt and VDSM isolatedprivatevlan hook

2014-06-26 Thread Matjaž Črnko
Hello,

I'm looking for a way to prevent the users/administrators of our virtual
machines to change their ip.
One of the interesting solutions I stumbled upon is the isolatedprivatevlan
hook[1]

I installed the hook via yum, added the Custom VM Setting
(UserDefinedVMProperties=isolatedprivatevlan=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}),(?:[0-9]{1,3}\.){3}[0-9]{1,3}$),
that I'm not sure if it's correct as it was written up quickly.

Now when I set the custom setting via the panel and try to start the VM I
get the following error:
VM TestVM is down. Exit message: XML error: Invalid specification of
multiple filterrefs in a single interface.  If I read the wiki[1]
correcty the interface should have multiple filterrefs when this hook
is activated. So I'm wondering if the hook is simply out of date/not
working or am I missing something else?

I'm running oVirt 3.4.2-1.el6 on CentOS 6 (everything up to date).

Any help would be greatly appreciated, (including other ways of preventing
the VM ip changes from users)
Črnko

[1] - http://www.ovirt.org/VDSM-Hooks/isolatedprivatevlan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Fwd: [ OWF 2014 ] CFP Deadline extended until 15th of July

2014-06-26 Thread Brian Proffitt


Open World Forum 2014  (http://www.openworldforum.paris/en/)

View this email in your browser 
(http://us2.campaign-archive2.com/?u=135959c7d6d8cb5b4d119799eid=5d98457353e=86db4bd8d0)

http://www.openworldforum.paris/fr/
Deadline extended for the CFP : 15th of July 
(http://www.openworldforum.paris/en/cfp/)
http://www.openworldforum.paris/en/cfp/

Classic and essential subjects such as Cloud computing, Data, Internet of 
Things, Dev, etc. will be treated from the point of view of users. We will also 
put a strong emphasis on trending topics : Security, Privacy, Trust and 
Mobility.

If you wish to submit a proposal about one of these topics and many more, 
please do so on the page dedicated to the Call for Paper 
(http://openworldforum.org/en/cfp/) .

http://www.openworldforum.paris/en/news/an-open-world-for-citizens/
THINK (http://www.openworldforum.paris/en/news/an-open-world-for-citizens/)
Open Access: for an Open and accessible to all Research ?
http://www.openworldforum.org/en/code/
CODE (http://www.openworldforum.org/en/code/)
Openness to take back technical control
http://www.openworldforum.org/en/experiment/
EXPERIMENT (http://www.openworldforum.org/en/experiment/)
An Open World Forum for Citizens


** (http://mondomaine.paris/)

Assuming its pioneering role, the Open World Forum is ranked within the first 
hundred websites to switch to the “.paris” TLD Wednesday 4th of June. It 
represents one more step towards a strong digital space for the OWF, giving us 
a complementary approach to the physical space on which the OWF was based upon. 
As an ambassador of this innovative initiative which promotes business activity 
on our territory, the OWF gets a local anchorage that measures up to its 
international ambition.

Registrars, selected websites representatives and political figures were 
gathered at the first floor of the Eiffel tower to welcome this new domain name 
providing an original link between a digital location and a geographical 
location which has benefits from an excellent brand image. During the press 
conference, the OWF's team stood alongside with Anne Hidalgo, mayor of Paris, 
Jean-Louis Missika, the Deputy Mayor who has been carrying the project for six 
years, and a lot of others famour ambassadors (such as RATP, Desley, Paris 
Airport, DS World, Spotteo, Bercy Arena or the Eiffel tower).

** cont...@openworldforum.org (mailto:cont...@openworldforum.org)

** sponsor...@openworldforum.org (mailto:sponsor...@openworldforum.org)

** pr...@openworldforum.org (mailto:pr...@openworldforum.org)

** (http://openworldforum.org/en/)

Copyright © 2014 OpenWorldForum, All rights reserved.
 You are receiving this email because you were registered to previous editions 
of OWF

Our mailing address is:
OpenWorldForum
8 Avenue de la Vauve
Palaiseau 91127
France
** unsubscribe from this list 
(http://openworldforum.us2.list-manage1.com/unsubscribe?u=135959c7d6d8cb5b4d119799eid=8b79da4dd2e=86db4bd8d0c=5d98457353)
** update subscription preferences 
(http://openworldforum.us2.list-manage.com/profile?u=135959c7d6d8cb5b4d119799eid=8b79da4dd2e=86db4bd8d0)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Spam oVirt Power management

2014-06-26 Thread Maurice James
Does anyone know where on the filesystem or the database does the engine store 
the power management information? Username and IP info for drac? 


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


Re: [ovirt-users] oVirt and VDSM isolatedprivatevlan hook

2014-06-26 Thread Sven Kieske
In short:
I believe this hook is out of date,
you can define logical networks in ovirt and assign
them v-lans, so you can go with one logical network
per vm and assign a unique vlan to that, ovirt
takes care of the complete deploy process, you need no
hook.

the only thing you need of course is some network hardware
which is capable of vlan tagging.

HTH

Am 26.06.2014 14:02, schrieb Matjaž Črnko:
 Hello,
 
 I'm looking for a way to prevent the users/administrators of our virtual
 machines to change their ip.
 One of the interesting solutions I stumbled upon is the isolatedprivatevlan
 hook[1]
 
 I installed the hook via yum, added the Custom VM Setting
 (UserDefinedVMProperties=isolatedprivatevlan=^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}),(?:[0-9]{1,3}\.){3}[0-9]{1,3}$),
 that I'm not sure if it's correct as it was written up quickly.
 
 Now when I set the custom setting via the panel and try to start the VM I
 get the following error:
 VM TestVM is down. Exit message: XML error: Invalid specification of
 multiple filterrefs in a single interface.  If I read the wiki[1]
 correcty the interface should have multiple filterrefs when this hook
 is activated. So I'm wondering if the hook is simply out of date/not
 working or am I missing something else?
 
 I'm running oVirt 3.4.2-1.el6 on CentOS 6 (everything up to date).
 
 Any help would be greatly appreciated, (including other ways of preventing
 the VM ip changes from users)
 Črnko
 
 [1] - http://www.ovirt.org/VDSM-Hooks/isolatedprivatevlan


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [QE] [ACTION NEEDED] oVirt 3.5.0 Beta / branching delay

2014-06-26 Thread Sandro Bonazzola
Hi,
I started building ovirt-engine this morning as soon as ovirt infra team 
patches have been merged.
The build is still running since 6 hours ago due to heavy load of jenkins 
slaves, so we couldn't perform basic sanity tests on the build yet.
The build is based on git hash 54d6a0bba7e9d62f2ec3bd16157ca2387b57ab58 and is 
running here [1]
As soon as it finishes we'll publish it on nightly master snapshot and will be 
tested tomorrow morning.
If sanity test passes, the ovirt-engine-3.5 branch will be created from above 
hash with the content of the snapshot including the build [1].

Any other change to the repo other than critical fixes (like missing dependency 
fixes or new builds addressing critical issues) shouldn't be allowed
in that yum repository. If you're aware of any critical issue fixed later than 
54d6a0bba7e9d62f2ec3bd16157ca2387b57ab58 please let us know as soon as
possible.

Note to VDSM team, I see VDSM already branched a few days ago but in nightly 
snapshot builds are still coming from master branch and no jenkins job
has been created for building from 3.5 yet.
Please provide the right RPM needed for this beta release or the one built from 
master will be taken.

I'm sorry for the delay.

[1] http://jenkins.ovirt.org/job/ovirt-engine_master_create-rpms_merged/2105/



-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Spam oVirt Power management

2014-06-26 Thread Artyom Lukianov
If I understand correct it must be under vds table in engine database: select 
pm_password from vds;(it's for password).

- Original Message -
From: Maurice James mja...@media-node.com
To: users users@ovirt.org
Sent: Thursday, June 26, 2014 3:45:57 PM
Subject: [ovirt-users] Spam  oVirt Power management

Does anyone know where on the filesystem or the database does the engine store 
the power management information? Username and IP info for drac? 



___
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


[ovirt-users] network issue with vm

2014-06-26 Thread Tiemen Ruiten
Hello,

I set up an oVirt cluster and created my first VM. However I can not
seem to get any network connectivity going. The VM is set up to receive
an IP address via DHCP. I can see the DHCP request come in on the
DHCP-server, but subsequently, the offer is lost somewhere. Even when I
configure a fixed IP, I can not ping any host but the VM itself and the
IP in the same VLAN on the hypervisor. My network settings are in the
attachment (output of sudo vdsClient -s localhost getVdsCaps  caps.txt
on the hypervisor). Is there something I should configure on the switch
maybe (it's a Cisco 3560G)?

-- 
Tiemen Ruiten
Systems Engineer
RD Media

HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:a9a64744ebad'}]}
ISCSIInitiatorName = 'iqn.1994-05.com.redhat:a9a64744ebad'
bondings = {'bond0': {'addr': '',
  'cfg': {'BONDING_OPTS': 'mode=4 miimon=100',
  'DEVICE': 'bond0',
  'HOTPLUG': 'no',
  'MTU': '1500',
  'NM_CONTROLLED': 'no',
  'ONBOOT': 'yes'},
  'hwaddr': 'a0:d3:c1:fb:64:58',
  'ipv6addrs': ['fe80::a2d3:c1ff:fefb:6458/64'],
  'mtu': '1500',
  'netmask': '',
  'slaves': ['em1', 'em2', 'em3', 'em4']}}
bridges = {';vdsmdummy;': {'addr': '',
   'cfg': {},
   'gateway': '',
   'ipv6addrs': [],
   'ipv6gateway': '::',
   'mtu': '1500',
   'netmask': '',
   'ports': [],
   'stp': 'off'},
   'backend': {'addr': '',
   'cfg': {'DEFROUTE': 'no',
   'DELAY': '0',
   'DEVICE': 'backend',
   'HOTPLUG': 'no',
   'NM_CONTROLLED': 'no',
   'ONBOOT': 'yes',
   'STP': 'no',
   'TYPE': 'Bridge'},
   'gateway': '',
   'ipv6addrs': ['fe80::a2d3:c1ff:fefb:6458/64'],
   'ipv6gateway': '::',
   'mtu': '1500',
   'netmask': '',
   'ports': ['bond0.120'],
   'stp': 'off'},
   'gluster': {'addr': '10.100.3.40',
   'cfg': {'BOOTPROTO': 'none',
   'DEFROUTE': 'no',
   'DELAY': '0',
   'DEVICE': 'gluster',
   'HOTPLUG': 'no',
   'IPADDR': '10.100.3.40',
   'NETMASK': '255.255.255.0',
   'NM_CONTROLLED': 'no',
   'ONBOOT': 'yes',
   'STP': 'no',
   'TYPE': 'Bridge'},
   'gateway': '',
   'ipv6addrs': ['fe80::a2d3:c1ff:fefb:6458/64'],
   'ipv6gateway': '::',
   'mtu': '1500',
   'netmask': '255.255.255.0',
   'ports': ['bond0.103'],
   'stp': 'off'},
   'web': {'addr': '',
   'cfg': {'DEFROUTE': 'no',
   'DELAY': '0',
   'DEVICE': 'web',
   'HOTPLUG': 'no',
   'NM_CONTROLLED': 'no',
   'ONBOOT': 'yes',
   'STP': 'no',
   'TYPE': 'Bridge'},
   'gateway': '',
   'ipv6addrs': ['fe80::a2d3:c1ff:fefb:6458/64'],
   'ipv6gateway': '::',
   'mtu': '1500',
   'netmask': '',
   'ports': ['bond0.110'],
   'stp': 'off'}}
clusterLevels = ['3.0', '3.1', '3.2', '3.3', '3.4']
cpuCores = '16'
cpuFlags = 

Re: [ovirt-users] oVirt and VDSM isolatedprivatevlan hook

2014-06-26 Thread Dan Kenigsberg
On Thu, Jun 26, 2014 at 01:38:16PM +, Sven Kieske wrote:
 In short:
 I believe this hook is out of date,

Correct. It happens to have been broken quite long time ago (ovirt-3.1)
with the introduction of no-mac-spoof filtering.

I remember reviewing a gerrit post that aimed to change things there,
but I fail to find it now (could the author has retracted a draft?)

Basically, the hook should replace (and not add) a filterref. Anybody
cares to send a quick fix or file a BZ?

 you can define logical networks in ovirt and assign
 them v-lans, so you can go with one logical network
 per vm and assign a unique vlan to that, ovirt
 takes care of the complete deploy process, you need no
 hook.
 
 the only thing you need of course is some network hardware
 which is capable of vlan tagging.

Alternatively, we can consume libvirt's clean-traffic filter. Given
the onslaght of requests regarding this, I've file
http://www.ovirt.org/Features/Avoid_IP_Spoofing; a user filing an RFE
could help, too.

Integrating this with Engine may take a while, so I'd be pleased if you
try out this suggestion for a noipspoof hook
http://gerrit.ovirt.org/29093

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


[ovirt-users] USB support?

2014-06-26 Thread Demeter Tibor
Hi, 

Is there any possibility for using the host's usb ports for a guest? 
I need to migrate a physical windows based machine that using usb tokens. 

Thanks in advance. 
Tibor 

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


[ovirt-users] Spam Cluster Polcies

2014-06-26 Thread Maurice James
Can someone explain the cluster policies to me? The explanation at 
http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking 
for me. 



* HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as 
overloaded. ( Understood ) 
* MigrationThreshold - defines a buffer before we start migrating VMs from 
the host ( Not quite grasping. If my High limit is 5 does this mean that it 
will only begin to move VMs when the count reaches 10? ) 
* SPMVMCountGrace - defines how many slots for VMs should be reserved on 
SPM hosts (the SPM host should have less load than others, so this variable 
defines how many VM less it should have) ( Does this mean that if I have a host 
with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount 
minus SpmVmGrace count?) 


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


[ovirt-users] Spam CPU Flags

2014-06-26 Thread Maurice James
Is it possible to pass the vmx extension to a guest? Is that what the vhost 
custom property is for? 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Spam Latency

2014-06-26 Thread Maurice James
I noticed that the following operations take way, way too long: 

Any type of import/export (VM, template. etc.) 
Disk migration 
Snapshot deletion 

These operations take over 60 minutes, most of the time pushing 90 minutes. I 
know I don't have the fastest storage disks but wow, up to 90 minutes?. 
My NFS storage is on a 4 disk RAID 5. 7200rpm disks. 2GBps network connection. 

Specs: 
Cluster of 4 Dell R420 
Dual 6 core Xeon 
32 GB Ram per server 
4 500GB 7200 rpm disks RAID 5 


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


[ovirt-users] Spam Misreporting network activity

2014-06-26 Thread Maurice James
My setup is reporting that one of the NICs in a bond pair is receiving 770Mbps 
even though I shut it off (ifconfig em2 down). I refreshed the page several 
times. I even restarted the engine just in case it was a caching issue. I 
thought that it was a caching issue because rx is always at 770Mbps and tx is 
always at 350Mbps. I put the node into maintenance mode because it was 
constantly showing 77% network utilization 

My troubleshooting steps were 
Put the node into maintenance mode 
Migrate all VMs to another host 
Restart network services on the host 
Restart the ovirt-engine 
Restart the interface 


Logging into the engine via Firefox and Chrome yields the exact same results 
even with em2 in a down state 

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


[ovirt-users] Stats for oVirt Downloads: Jan-May 2014

2014-06-26 Thread Brian Proffitt
All:

For some time, traffic statistics for the sites in the ovirt.org domain (lists, 
resources, gerrit, and linode01) have been collected and organized using 
awstats[1] at stats.ovirt.org[2]. From the data provided for resources, I have 
been able to put together what should be a fairly definitive set of statistics 
for software downloads within the oVirt Project.

Methodology

The statistics that were analyzed were for five parts of the project:

* Engine
* Live
* Node
* Engine Reports
* Engine dwh

Downloads of the Engine RPM file, it was determined, would be indicative of 
actual oVirt installs. The allinone RPMs were not analyzed at this time, since 
installing this RPM is a choice made during the installation process itself. 
Tracking the Engine Reports and dwh RPMs was done to determine the popularity 
of these two tools and to ensure their numbers were comparable.

To count downloads, data was gathered each month that listed the total 
downloads of every file, a number derived from the total hits each file had, 
minus any 206 hits, which indicated incomplete downloads. Key files for Engine, 
Engine Reports, and Engine dwh were identified and the data filtered to include 
counts for each one of the files, in whatever version released.

Tracking of Live and Node RPMs was already set up within the awstats reporting, 
and was taken directly from awstats in each month.

If there is any part of this methodology that is in error, feedback is very 
much appreciated.

Presentation of Data

Data was aggregated using Pivot Tables in Google Docs, and the application of 
SUMIFS functions in the same spreadsheet document. This document is still being 
formatted into a more presentable form, but until then, I wanted to deliver 
some preliminary results to the community for the first five months of the 
year. 

It will be noted that in general, download numbers are on the rise, 
particularly around the time oVirt 3.4 was released. There are significant gaps 
in downloads of Engine Reports and Engine dwh. I am still investigating the 
cause of this lack of data.

Engine

Jan 5815
Feb 4251
Mar 1980
Apr 10509
May 12043


Engine Reports
Jan 0
Feb 1209
Mar 0
Apr 10282
May 9647

Engine dwh
Jan 0
Feb 603
Mar 0
Apr 9974
May 10311

Live
Jan 845
Feb 757
Mar 739
Apr 1981
May 1187

Node
Jan 95
Feb 757
Mar 739
Apr 1981
May 1187

Thanks for Alon Bar-Lev and Michael Scherer for their invaluable assistance 
with this data gathering and reporting.

BKP 


[1] http://awstats.sourceforge.net/
[2] http://stats.ovirt.org/

-- 
Brian Proffitt

oVirt Community Manager
Project Atomic Community Lead
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mask the CPU model

2014-06-26 Thread Punit Dambiwal
Hi,

I don't want to faking a CPU model.my main concern is to create the
homogeneous environment,so the guest can be migrate between hosts with
diffrent CPU (If i can change the CPU model with the custom name).



On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek 
michal.skriva...@redhat.com wrote:


 On Jun 26, 2014, at 13:42 , Sven Kieske s.kie...@mittwald.de wrote:

 
 
  Am 26.06.2014 13:28, schrieb Michal Skrivanek:
 
  On Jun 26, 2014, at 13:18 , Dan Kenigsberg dan...@redhat.com wrote:
 
  On Wed, Jun 25, 2014 at 11:19:17AM +, Sven Kieske wrote:
 
 
  Am 25.06.2014 11:43, schrieb Punit Dambiwal:
  Hi Sven,
 
  Please let me know which VDSM hook can be used for the same,is there
 any
  hook available for the same... ??
 
  I don't know any hook that does this, it should be relatively simple,
  though.
  Maybe someone else can assist, CC'ing Dan:
 
  Do you know of a hook that manipulates the emulated CPU model?
 
  Within the Vdsm code tree, only faqemu does that (and it only drops,
  causing qemu to do its best). You can build on top of faqemu to set to
  your favorite guest cpu.
 
  However, I think that Engine was once capable of setting a specific
  cpuType - is it still possible without hacking its DB, Arik?
 
  I'm not sure what do you actually mean
  hide what from whom?
  the guest sees particular CPU, there's nothing like Virtual xyz, it
 either sees flags matching e.g. Nehalem or not. You can select different
 CPU at the cluster level if you wish, and that's what the guest will see,
 regardless what your host has
 
  faqemu is changing the configured CPU type to fully emulated CPU…I
 don't think you meant that...
 
  I guess he refers to the cpu_model mentioned here:
 
 http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html

 yes, that's what we have at cluster level and there is an RFE for per-VM
 level

 
  But I still do not see the benefit of faking a certain cpu model.

 there is no faking, it is always real for the guest.
 so yes, you can make it look(and actually perform) less capable so you can
 migrate across heterogenous hosts; or make it less capable just if you wish
 so, but that's it.

 Thanks,
 michal

 
 
  --
  Mit freundlichen Grüßen / Regards
 
  Sven Kieske
 
  Systemadministrator
  Mittwald CM Service GmbH  Co. KG
  Königsberger Straße 6
  32339 Espelkamp
  T: +49-5772-293-100
  F: +49-5772-293-333
  https://www.mittwald.de
  Geschäftsführer: Robert Meyer
  St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
 Oeynhausen
  Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
 Oeynhausen


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


Re: [ovirt-users] Convert vmware vm

2014-06-26 Thread Koen Vanoppen
II created this document for the company where I work. Maybe it is userfull
for you too:

Migrate from VMWare to oVirt

1.On VmWare:

a.Export the VM to ovf format. There is a smb/nfs share on virt-v2v you
can use as storage.
i.NFS: Virtv2v.:/media/Storage
ii.SMB: virtv2v.  share: virtv2v

2.with virtv2v

a.Log in on the virt-v2v vm.
b.Locate and Extract the ovf file with tar –xvf
c.Convert the extracted vmdk file to raw disk format with the following
command:
vboxmanage clonehd --format RAW VMNAME.vmdk NewVMName.raw
d.Convert the created RAW file to a qemu2 img:
qemu-img convert -f raw VM-Name.raw -O qcow2 VMName.qcow2
e.Run the vm in virsh:
virt-install --connect qemu:///system --ram 1024 -n griffu -r 2048
--os-type=linux --os-variant=rhel6 --disk
path=/media/Storage/VMName.qcow2,device=disk,format=qcow2 --vcpus=2 --vnc
--noautoconsole –import
f.Take a xml dump of the VM and copy the result in a new file
VMName.xml
virsh dumpxml VMName
g.Now let’s move the vm to ovirt. Make sure the nfs is attached to the
TestDev Datacenter.
virt-v2v -i libvirtxml -ic qemu+ssh://FQDN-Hypervisor /system -o rhev -os
FQDN-NFS-exportdomainserver:/media/NfsProgress -n ovirtmgmt VMName.xml



2014-06-24 15:19 GMT+02:00 Massimo Mad mad196...@gmail.com:

 Hello,
 I downloaded an image .vmdk from a repository and wanted to import it into
 my oVirt infrastructure.
 Is it possible?
 If it is possible how?
 Thanks,
 Massimo

 ___
 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