Re: [Users] (no subject)

2014-02-24 Thread Shahar Havivi
On 20.02.14 16:06, Koen Vanoppen wrote:
 Thanx, for the answer. But he successfully created a ticket and received a
 number, but when he then starts the client again, as asked ( Connect to
 the client again (again, r-v will ask for the password in a pop-up
 window): ) He has to give a password. Maybe important. The username field
 is empty and can't be modified.
How did you set the ticket?
it should be something like that (JavaScript code, the ticket is the Password
field)

spice.HostIP = '192.168.1.1';
spice.Port = '1212';
spice.Password = 'MyTicketPassword'
spice.Connect();

 
 
 Kind regards,
 
 Koen
 
 
 2014-02-20 16:03 GMT+01:00 Yedidyah Bar David d...@redhat.com:
 
  *From: *Koen Vanoppen vanoppen.k...@gmail.com
  *To: *users@ovirt.org
  *Sent: *Thursday, February 20, 2014 4:56:10 PM
  *Subject: *[Users] (no subject)
 
  Hey Guys,
 
  I'm back ;-). This time I have a question from one of our programmers.
  He's trying this:
 
  http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API
 
  But he bumps into this:
 
  Connect to the client again (again, r-v will ask for the password in a
  pop-up window):
 
   bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject 
  ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*
 
  Now, the question is What's the password? Or where can I find it?
 
 
  I think you need to set it with setVmTicket - see that page for an example.
  --
  Didi
 
 

 ___
 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] Fwd: Sample code for setting NIC - CloudInit

2014-02-24 Thread Tejesh M
Thanks. It worked.


On Fri, Feb 21, 2014 at 4:25 PM, Juan Hernandez jhern...@redhat.com wrote:

 On 02/21/2014 08:13 AM, Tejesh M wrote:
 
  When i try to execute with the ovirt sdk 3.3.3 and do operations on
  RHEV-M 3.3, it fails with below error
 

 This happens because the oVirt SDK is compiled with Java 7, and you are
 probably using Java 6.

 I suggest to switch to Java 7, unless there is a very good reason to
 stick to Java 6. Java 6 end of life was declared by Oracle on Feb 1023.

 However, the OpenJDK community still support Java 6, so if you really
 need it please tell us, and we can try to make a version of the oVirt
 SDK compatible with Java 6.

  Exception in thread main java.lang.UnsupportedClassVersionError:
  org/ovirt/engine/sdk/Api
  at rhvm.callAPI(rhvm.java:238)
  at rhvm.main(rhvm.java:278)
 
 
  On Fri, Feb 21, 2014 at 12:19 AM, Juan Hernandez jhern...@redhat.com
  mailto:jhern...@redhat.com wrote:
 
  On 02/20/2014 05:56 PM, Tejesh M wrote:
   Ok. Will it take long time for that sdk to release?
  
 
  No, it should be released soon.
 
  Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is
  almost identical to the RHEV-M Jaa SDK.
 
  If you are using maven these are the coordinates of the artifact:
 
  dependency
  groupIdorg.ovirt.engine.sdk/groupId
  artifactIdovirt-engine-sdk-java/artifactId
  version3.3.3.0/version
  /dependency
 
  If you aren't using maven you can still download the .jar file from
  here:
 
 
 http://search.maven.org/#artifactdetails|org.ovirt.engine.sdk|ovirt-engine-sdk-java|3.3.3.0|jar
 
   On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com
  mailto:masa...@redhat.com
   mailto:masa...@redhat.com mailto:masa...@redhat.com wrote:
  
  
  
   - Original Message -
From: Tejesh M tejes...@gmail.com
  mailto:tejes...@gmail.com mailto:tejes...@gmail.com
  mailto:tejes...@gmail.com
To: users@oVirt.org users@ovirt.org
  mailto:users@ovirt.org mailto:users@ovirt.org
  mailto:users@ovirt.org
Sent: Wednesday, February 19, 2014 3:24:40 PM
Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
   
Hi,
   
Can someone share me sample java code for assigning IP
  address for
   VM on eth0
through Java SDK via CloudInit ?
   
  
   Hi Tejesh,
  
   I've attached a sample code that sends the required request
  (as the
   output is demonstrated in debug mode).
   Note that the code is jdk-7 compliant.
   I haven't configured cloud-init and haven't tested it
 end-to-end.
   Please try to test it on your environment and provide a
  feedback for it.
  
   Thanks,
   Moti
  
Something Like this but in Java:
network_configuration
 nics
   nic
 nameeth0/name
 boot_protocolSTATIC/boot_protocol
 network
   ip address=192.168.2.11
 netmask=255.255.0.0
   gateway=192.168.2.1 /
 /network
 on_boottrue/on_boot
   /nic
   nic
 nameeth1/name
 boot_protocolDHCP/boot_protocol
   /nic
   nic
 nameeth2/name
 boot_protocolNONE/boot_protocol
 on_boottrue/on_boot
   /nic
 /nics
 dns
   servers
 host
   address1.1.2.2/address
 /host
 host
   address1.2.3.4/address
 /host
   /servers
   search_domains
 host
   addressqa.lab/address
 /host
 host
   address google.com http://google.com
  http://google.com /address
 /host
   /search_domains
 /dns
   /network_configuration
   
   

 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.




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


[Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Ricky Schneberger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Why is the Windows VMs always lost their activation against Microsoft
after that I have upgrade ovirt?
Is there så big changes in hardware drivers etc that it will hit the
activation mechanism?

I think there should be a way to preserve the activation even after an
upgrade.

regards

- -- 
Ricky Schneberger
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMLA7wACgkQOap81biMC2MTUQCbBEkMwhuWuCEAHuj7YT1vTQ/F
Kg8An1+5n1SgIFG4KS/9vRkqng9VGyp9
=/Xos
-END PGP SIGNATURE-



0xB88C0B63.asc
Description: application/pgp-keys
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Karli Sjöberg
On Mon, 2014-02-24 at 09:33 +0100, Ricky Schneberger wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 Why is the Windows VMs always lost their activation against Microsoft
 after that I have upgrade ovirt?
 Is there så big changes in hardware drivers etc that it will hit the
 activation mechanism?
 
 I think there should be a way to preserve the activation even after an
 upgrade.
 
 regards
 
 - -- 
 Ricky Schneberger
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.14 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iEYEARECAAYFAlMLA7wACgkQOap81biMC2MTUQCbBEkMwhuWuCEAHuj7YT1vTQ/F
 Kg8An1+5n1SgIFG4KS/9vRkqng9VGyp9
 =/Xos
 -END PGP SIGNATURE-
 

Hmm, we have also upgraded from 3.2 to 3.3 with Windows guests and we
never had this issue. Are you sure it´s really related to the upgrade?
Maybe it´s a different issue that surfaced at the same time?



-- 

Med Vänliga Hälsningar

---
Karli Sjöberg
Swedish University of Agricultural Sciences Box 7079 (Visiting Address
Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.se
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
Can you tel me how do i assign Logical Network(s) to one of the Physical
Nic on the Host.


On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote:

 h

 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: users@oVirt.org users@ovirt.org
  Sent: Thursday, February 20, 2014 11:48:56 AM
  Subject: [Users] Creating Logical Network issue - API
 
  Hi ,
 
  I'm trying to create Logical Network and assign it to cluster  want to
 bond
  this to one of the Network Interface on Host. so that i can isolate my VM
  from other networks.
 
  The issue is even if i set Cluster while creating Logical Network, it is
 not
  setting the cluster. In Web Admin it is in unset state.
 
  Also, let me know how do i bind this Logical network on Host Interface.
 
  Java code:
 
  Network nw1=new Network();
  VLAN vlan = new VLAN();
  vlan.setId(2000);
  nw1.setVlan(vlan);
  IP ip = new IP();
  ip.setAddress(192.168.1.151);
  ip.setGateway(192.168.1.1);
  ip.setNetmask(255.255.255.0);

 Note that the stated IP above will not be used to set the address on the
 host itself.
 In order to do so you should use either the 'setup networks' api on host's
 nics level.
 (Alternately, you can send POST request to /hosts/{host:id}/nics which
 utilize the
 former api (it is a bit simpler than using the setup networks api).

 Should look like:
 Host host = api.getHosts().get(host_name);
 Action action = new Action();
 action.setCheckConnectivity(true); //required for rollback in case of
 configuration failure
 action.setHostNics(...); // should contain the target configuration
 host.getHostNics().setupnetworks(action);

 where the action should contain the entire desired network configuration.

 You can find various python-sdk example for setup networks on my blog [1]
 I'll post few examples using the java sdk earlier next week.

 [1] https://motiasayag.wordpress.com/

  nw1.setIp(ip);
  nw1.setName(apiNetwork);
 
  nw1.setDataCenter(api.getDataCenters().get(testDC));
  nw1.setCluster(api.getClusters().get(testCluster));
 
  org.ovirt.engine.sdk.decorators.Network nw2 = api.getNetworks().add(nw1);
 
  --
  Thanks  Regards
  Tejesh
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




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


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Nir Soffer
- Original Message -
 From: Ricky Schneberger ri...@schneberger.se
 To: users users@ovirt.org
 Sent: Monday, February 24, 2014 10:33:00 AM
 Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their  
 activation  against Microsoft
 
 Why is the Windows VMs always lost their activation against Microsoft
 after that I have upgrade ovirt?
 Is there så big changes in hardware drivers etc that it will hit the
 activation mechanism?
 
 I think there should be a way to preserve the activation even after an
 upgrade.

I think you should complain about this to the OS vendor :-)

CCing Daniel.

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


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Ricky Schneberger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2014-02-24 09:53, Karli Sjöberg wrote:
 On Mon, 2014-02-24 at 09:33 +0100, Ricky Schneberger wrote:
 Hi,

 Why is the Windows VMs always lost their activation against Microsoft
 after that I have upgrade ovirt?
 Is there så big changes in hardware drivers etc that it will hit the
 activation mechanism?

 I think there should be a way to preserve the activation even after an
 upgrade.

 regards



 Hmm, we have also upgraded from 3.2 to 3.3 with Windows guests and we
 never had this issue. Are you sure it´s really related to the upgrade?
 Maybe it´s a different issue that surfaced at the same time?




Hi,
Yes I am sure its related to the upgrade.

In the application log of the VM we can see  hardware has changed from
previous boot and also we have a licensing system on another host that
got in a stucked state because of the same reason - hardware has
changed from previous boot.

regards

Ricky Schneberger
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMLDy4ACgkQOap81biMC2PTRACfY6QKLeHcrIUxqh+hZhCc3g2L
iDkAn0sIPUYoktN+svC/1GYRdn/JJViA
=wPWR
-END PGP SIGNATURE-



0xB88C0B63.asc
Description: application/pgp-keys
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Setting up a test enviroment

2014-02-24 Thread Andy Michielsen
Hello,

I 'm starting to set up an ovirt enviroment to provide our test users a
free but decent setup.

I have two servers and I would like to use one for NFS storage because of
the availability of 1 Tb and the the other server only as a node. I'm not
sure where to install the ovirt-engine on.

The NFS server has two quadcores and 32 Gb of RAM and 6 NIC's

The Node has two sixcores and 64 Gb of RAM and only 2 NIC's

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


Re: [Users] Setting up a test enviroment

2014-02-24 Thread Meital Bourvine
Hi Andy, 

I would suggest installing hosted engine on the node [1]. 

[1] http://www.ovirt.org/Features/Self_Hosted_Engine 

- Original Message -

 From: Andy Michielsen andy.michiel...@gmail.com
 To: users@ovirt.org
 Sent: Monday, February 24, 2014 11:32:28 AM
 Subject: [Users] Setting up a test enviroment

 Hello,

 I 'm starting to set up an ovirt enviroment to provide our test users a free
 but decent setup.

 I have two servers and I would like to use one for NFS storage because of the
 availability of 1 Tb and the the other server only as a node. I'm not sure
 where to install the ovirt-engine on.

 The NFS server has two quadcores and 32 Gb of RAM and 6 NIC's

 The Node has two sixcores and 64 Gb of RAM and only 2 NIC's

 Kind regards.

 ___
 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] Host installation failed. SSH session closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

2014-02-24 Thread Alon Bar-Lev


- Original Message -
 From: Udaya Kiran P ukiran...@yahoo.in
 To: d...@redhat.com, Meital Bourvine mbour...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 6:58:13 AM
 Subject: Re: [Users] Host installation failed. SSH sessionclosed  during  
 connection (ovirt-node-iso-3.0.3-1.1.fc19)
 
 Hi Dafna/ All,
 
 There isn't any logs in the folder /var/logs/ovirt-engine/host-deploy. The
 host-deploy folder is empty (screenshot attached).
 
 Any pointers to what might be causing the issue?
 

Please do not attach pictures, plain text should be available.

What version of ovirt-engine do you use?

Can you please via cmdline execute and paste output:

 ssh - root@host address

No need to authenticate, just send the output.

Thanks!

 Please suggest.
 
 Thank You,
 
 Regards,
 Udaya Kiran
 
 
 On Thursday, 20 February 2014 5:37 PM, Dafna Ron d...@redhat.com wrote:
 all installation failures will log the ssh issue in engine.
 this is why debugging host deployment should be done from the
 host-deploy/logs and not from the engine log.
 Please look under /var/log/ovirt-engine/host-deploy/ and paste the error
 from the appropriate log.
 
 Thanks,
 Dafna
 
 On 02/20/2014 07:02 AM, Udaya Kiran P wrote:
  Hi Meital,
  
  I have added the Host by entering oVirt Engine Details in the Host and
  then trying to approve the Host from the oVirt Management.
  
  Engine - oVirt Engine 3.3, on Fedora 19
  Host - oVirtNode Hypervisor (ovirt-node-iso-3.0.3-1.1.fc19)
  
  Initially, I was not able ssh from the Engine to Host. After
  setenforce 0 at Host, I was able to do ssh.
  
  However, I was able to do ssh from Host to Engine without any trouble.
  
  Appreciate your inputs.
  
  Thank You,
  
  Regards,
  Udaya Kiran
  
  
  On Wednesday, 19 February 2014 5:13 PM, Meital Bourvine
   mbour...@redhat.com  wrote:
  Hi,
  
  It seems that it's not related to the bug that you mentioned.
  Can you please answer what I asked (about how did you add the host)?
  
  Also, please try SSH from the engine to the host - is it working?
  
  
  
  
  *From: *Udaya Kiran P  ukiran...@yahoo.in 
  *To: *Nir Soffer  nsof...@redhat.com , mbour...@redhat.com ,
  Itamar Heim  ih...@redhat.com 
  *Cc: *users  users@ovirt.org 
  *Sent: *Wednesday, February 19, 2014 1:26:15 PM
  *Subject: *Re: [Users] Host installation failed. SSH session
  closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)
  
  Hi All,
  
  I have disabled the selinux by setenforce 0.
  
  Not sure if its related to the bug apache-sshd downgrading
  mentioned in - https://bugzilla.redhat.com/show_bug.cgi?id=1021273
  
  Below are the errors logged in engine.log.
  
  Appreciate your help.
  
  
  
  2014-02-19 05:06:45,232 INFO
  [org.ovirt.engine.core.register.RegisterServlet]
  (ajp--127.0.0.1-8702-7) [1cb2fef] Succeeded to run RegisterVds.
  2014-02-19 05:58:01,374 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:04,397 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:09,433 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:14,428 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:14,909 ERROR
  [org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery]
  (ajp--127.0.0.1-8702-11) Could not fetch fingerprint of host
  10.10.155.240 with message: IOException: SSH session closed during
  connection '10.10.155.240'
  2014-02-19 05:58:19,436 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:24,572 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:29,337 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:34,379 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:39,335 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:44,340 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-6) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:49,337 ERROR
  

Re: [Users] Nodes lose storage at random

2014-02-24 Thread Nir Soffer
- Original Message -
 From: Johan Kooijman m...@johankooijman.com
 To: Nir Soffer nsof...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 2:45:59 AM
 Subject: Re: [Users] Nodes lose storage at random
 
 Interestingly enough - same thing happened today, around the same time.
 Logs from this host are attached.
 
 Around 1:10 AM stuff starts to go wrong again. Same pattern - we reboot the
 node and the node is fine again.

So we made some progress, we know that it is not a problem with old kernel.

In messages we see the same picture:

1. sanlock fail to renew the lease
2. after 80 secodns, kill vdsm
3. sanlock and vdsm cannot access the storage
4. kernel complain about nfs server timeouts
   (explains why sanlock failed to renew the lease)
5. after reboot, nfs is accessible again
6. after few days goto step 1

This looks like kernel nfs issue.

Could be also kvm issue (running bsd on the one of the vm?)

Could be also some incompatibility with the nfs server - maybe you are using
esoteric configuration options?

CCing Ronen, in case this is related to kvm.

thread: http://lists.ovirt.org/pipermail/users/2014-February/021507.html

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


Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
While setting Logical Network, it fails with below error:
code  : 400
reason: Bad Request
detail: Previous network name is required.

Code:
  String nw_name=ApiNetWork;
  org.ovirt.engine.sdk.decorators.Host hst =
api.getHosts().get(rhevhost);

hst.getHostNics().get(eth1).setNetwork(api.getNetworks().get(nw_name));
  //hst.getHostNics().get(eth1).setCheckConnectivity(true);
  //hst.getHostNics().get(eth1).setOverrideConfiguration(true);
  hst.getHostNics().get(eth1).update();



On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com wrote:

 Can you tel me how do i assign Logical Network(s) to one of the Physical
 Nic on the Host.


 On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote:

 h

 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: users@oVirt.org users@ovirt.org
  Sent: Thursday, February 20, 2014 11:48:56 AM
  Subject: [Users] Creating Logical Network issue - API
 
  Hi ,
 
  I'm trying to create Logical Network and assign it to cluster  want to
 bond
  this to one of the Network Interface on Host. so that i can isolate my
 VM
  from other networks.
 
  The issue is even if i set Cluster while creating Logical Network, it
 is not
  setting the cluster. In Web Admin it is in unset state.
 
  Also, let me know how do i bind this Logical network on Host Interface.
 
  Java code:
 
  Network nw1=new Network();
  VLAN vlan = new VLAN();
  vlan.setId(2000);
  nw1.setVlan(vlan);
  IP ip = new IP();
  ip.setAddress(192.168.1.151);
  ip.setGateway(192.168.1.1);
  ip.setNetmask(255.255.255.0);

 Note that the stated IP above will not be used to set the address on the
 host itself.
 In order to do so you should use either the 'setup networks' api on
 host's nics level.
 (Alternately, you can send POST request to /hosts/{host:id}/nics which
 utilize the
 former api (it is a bit simpler than using the setup networks api).

 Should look like:
 Host host = api.getHosts().get(host_name);
 Action action = new Action();
 action.setCheckConnectivity(true); //required for rollback in case of
 configuration failure
 action.setHostNics(...); // should contain the target configuration
 host.getHostNics().setupnetworks(action);

 where the action should contain the entire desired network configuration.

 You can find various python-sdk example for setup networks on my blog [1]
 I'll post few examples using the java sdk earlier next week.

 [1] https://motiasayag.wordpress.com/

  nw1.setIp(ip);
  nw1.setName(apiNetwork);
 
  nw1.setDataCenter(api.getDataCenters().get(testDC));
  nw1.setCluster(api.getClusters().get(testCluster));
 
  org.ovirt.engine.sdk.decorators.Network nw2 =
 api.getNetworks().add(nw1);
 
  --
  Thanks  Regards
  Tejesh
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --
 Thanks  Regards
 Tejesh




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


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Vinzenz Feenstra

On 02/24/2014 10:21 AM, Nir Soffer wrote:

- Original Message -

From: Ricky Schneberger ri...@schneberger.se
To: users users@ovirt.org
Sent: Monday, February 24, 2014 10:33:00 AM
Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their 
activation  against Microsoft

Why is the Windows VMs always lost their activation against Microsoft
after that I have upgrade ovirt?
Is there så big changes in hardware drivers etc that it will hit the
activation mechanism?

I think there should be a way to preserve the activation even after an
upgrade.

I think you should complain about this to the OS vendor :-)
It simply means that the `Hardware` changed and I don't think that this 
should happen, for larger setups that's a pretty big problem, if you 
suddenly have to re-activate thousands of VM's due to the upgrade.


CCing Daniel.

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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R  D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

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: [Users] Host installation failed. SSH session closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

2014-02-24 Thread Alon Bar-Lev


- Original Message -
 From: Udaya Kiran P ukiran...@yahoo.in
 To: Alon Bar-Lev alo...@redhat.com
 Cc: d...@redhat.com, Meital Bourvine mbour...@redhat.com, users 
 users@ovirt.org
 Sent: Monday, February 24, 2014 12:13:00 PM
 Subject: Re: [Users] Host installation failed. SSH sessionclosed  during  
 connection (ovirt-node-iso-3.0.3-1.1.fc19)
 
 Hi Alon,
 
 I am using oVirt Engine 3.3

3.3.z, where z=?

 
 Below the output for ssh - root@10.10.120.244
 

snip

 debug2: dh_gen_key: priv key bits set: 112/256
 debug2: bits set: 505/1024
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Server host key: DSA aa:26:ce:b4:13:7c:07:87:bc:1b:6b:c7:10:32:31:04

Do you have rsa key associated with sshd at remote server?

/etc/ssh/ssh_host_rsa_key*

Do you have disabled rsa algorithm at /etc/sshd/sshd_config ?

Thanks,
Alon

 
 Appreciate your help.
 
 Thank You.
 
 Regards,
 Udaya Kiran
 
 
 
 On Monday, 24 February 2014 3:01 PM, Alon Bar-Lev alo...@redhat.com wrote:
  
 
 
 - Original Message -
  From: Udaya Kiran P ukiran...@yahoo.in
  To: d...@redhat.com, Meital Bourvine mbour...@redhat.com
  Cc: users users@ovirt.org
  Sent: Monday, February 24, 2014 6:58:13 AM
  Subject: Re: [Users] Host installation failed. SSH session    closed
      during    connection (ovirt-node-iso-3.0.3-1.1.fc19)
  
  Hi Dafna/ All,
  
  There isn't any logs in the folder /var/logs/ovirt-engine/host-deploy. The
  host-deploy folder is empty (screenshot attached).
  
  Any pointers to what might be causing the issue?
  
 
 Please do not attach pictures, plain text should be available.
 
 What version of ovirt-engine do you use?
 
 Can you please via cmdline execute and paste output:
 
 ssh - root@host address
 
 No need to authenticate, just send the output.
 
 Thanks!
 
  Please suggest.
  
  Thank You,
  
  Regards,
  Udaya Kiran
  
  
  On Thursday, 20 February 2014 5:37 PM, Dafna Ron d...@redhat.com wrote:
  all installation failures will log the ssh issue in engine.
  this is why debugging host deployment should be done from the
  host-deploy/logs and not from the engine log.
  Please look under /var/log/ovirt-engine/host-deploy/ and paste the error
  from the appropriate log.
  
  Thanks,
  Dafna
  
  On 02/20/2014 07:02 AM, Udaya Kiran P wrote:
   Hi Meital,
   
   I have added the Host by entering oVirt Engine Details in the Host and
   then trying to approve the Host from the oVirt Management.
   
   Engine - oVirt Engine 3.3, on Fedora 19
   Host - oVirtNode Hypervisor (ovirt-node-iso-3.0.3-1.1.fc19)
   
   Initially, I was not able ssh from the Engine to Host. After
   setenforce 0 at Host, I was able to do ssh.
   
   However, I was able to do ssh from Host to Engine without any trouble.
   
   Appreciate your inputs.
   
   Thank You,
   
   Regards,
   Udaya Kiran
   
   
   On Wednesday, 19 February 2014 5:13 PM, Meital Bourvine
mbour...@redhat.com  wrote:
   Hi,
   
   It seems that it's not related to the bug that you mentioned.
   Can you please answer what I asked (about how did you add the host)?
   
   Also, please try SSH from the engine to the host - is it working?
   
   
   
   
   *From: *Udaya Kiran P  ukiran...@yahoo.in 
   *To: *Nir Soffer  nsof...@redhat.com , mbour...@redhat.com ,
   Itamar Heim  ih...@redhat.com 
   *Cc: *users  users@ovirt.org 
   *Sent: *Wednesday, February 19, 2014 1:26:15 PM
   *Subject: *Re: [Users] Host installation failed. SSH session
   closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)
   
   Hi All,
   
   I have disabled the selinux by setenforce 0.
   
   Not sure if its related to the bug apache-sshd downgrading
   mentioned in - https://bugzilla.redhat.com/show_bug.cgi?id=1021273
   
   Below are the errors logged in engine.log.
   
   Appreciate your help.
   
   
   
   2014-02-19 05:06:45,232 INFO
   [org.ovirt.engine.core.register.RegisterServlet]
   (ajp--127.0.0.1-8702-7) [1cb2fef] Succeeded to run RegisterVds.
   2014-02-19 05:58:01,374 ERROR
   [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
   (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
   in: /usr/share/ovirt-node-iso
   2014-02-19 05:58:04,397 ERROR
   [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
   (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
   in: /usr/share/ovirt-node-iso
   2014-02-19 05:58:09,433 ERROR
   [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
   (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
   in: /usr/share/ovirt-node-iso
   2014-02-19 05:58:14,428 ERROR
   [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
   (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
   in: /usr/share/ovirt-node-iso
   2014-02-19 05:58:14,909 ERROR
   [org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery]
   (ajp--127.0.0.1-8702-11) Could not fetch fingerprint of host
   10.10.155.240 with message: 

Re: [Users] Host installation failed. SSH session closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

2014-02-24 Thread Alon Bar-Lev

oh... it is ovirt-node...

Fabian, can it be that rsa key for sshd is not initialized?

- Original Message -
 From: Alon Bar-Lev alo...@redhat.com
 To: Udaya Kiran P ukiran...@yahoo.in
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 12:27:59 PM
 Subject: Re: [Users] Host installation failed. SSHsession closed  during  
 connection (ovirt-node-iso-3.0.3-1.1.fc19)
 
 
 
 - Original Message -
  From: Udaya Kiran P ukiran...@yahoo.in
  To: Alon Bar-Lev alo...@redhat.com
  Cc: d...@redhat.com, Meital Bourvine mbour...@redhat.com, users
  users@ovirt.org
  Sent: Monday, February 24, 2014 12:13:00 PM
  Subject: Re: [Users] Host installation failed. SSH session  closed  during
  connection (ovirt-node-iso-3.0.3-1.1.fc19)
  
  Hi Alon,
  
  I am using oVirt Engine 3.3
 
 3.3.z, where z=?
 
  
  Below the output for ssh - root@10.10.120.244
  
 
 snip
 
  debug2: dh_gen_key: priv key bits set: 112/256
  debug2: bits set: 505/1024
  debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  debug1: Server host key: DSA
  aa:26:ce:b4:13:7c:07:87:bc:1b:6b:c7:10:32:31:04
 
 Do you have rsa key associated with sshd at remote server?
 
 /etc/ssh/ssh_host_rsa_key*
 
 Do you have disabled rsa algorithm at /etc/sshd/sshd_config ?
 
 Thanks,
 Alon
 
  
  Appreciate your help.
  
  Thank You.
  
  Regards,
  Udaya Kiran
  
  
  
  On Monday, 24 February 2014 3:01 PM, Alon Bar-Lev alo...@redhat.com
  wrote:
   
  
  
  - Original Message -
   From: Udaya Kiran P ukiran...@yahoo.in
   To: d...@redhat.com, Meital Bourvine mbour...@redhat.com
   Cc: users users@ovirt.org
   Sent: Monday, February 24, 2014 6:58:13 AM
   Subject: Re: [Users] Host installation failed. SSH session    closed
       during    connection (ovirt-node-iso-3.0.3-1.1.fc19)
   
   Hi Dafna/ All,
   
   There isn't any logs in the folder /var/logs/ovirt-engine/host-deploy.
   The
   host-deploy folder is empty (screenshot attached).
   
   Any pointers to what might be causing the issue?
   
  
  Please do not attach pictures, plain text should be available.
  
  What version of ovirt-engine do you use?
  
  Can you please via cmdline execute and paste output:
  
  ssh - root@host address
  
  No need to authenticate, just send the output.
  
  Thanks!
  
   Please suggest.
   
   Thank You,
   
   Regards,
   Udaya Kiran
   
   
   On Thursday, 20 February 2014 5:37 PM, Dafna Ron d...@redhat.com wrote:
   all installation failures will log the ssh issue in engine.
   this is why debugging host deployment should be done from the
   host-deploy/logs and not from the engine log.
   Please look under /var/log/ovirt-engine/host-deploy/ and paste the error
   from the appropriate log.
   
   Thanks,
   Dafna
   
   On 02/20/2014 07:02 AM, Udaya Kiran P wrote:
Hi Meital,

I have added the Host by entering oVirt Engine Details in the Host and
then trying to approve the Host from the oVirt Management.

Engine - oVirt Engine 3.3, on Fedora 19
Host - oVirtNode Hypervisor (ovirt-node-iso-3.0.3-1.1.fc19)

Initially, I was not able ssh from the Engine to Host. After
setenforce 0 at Host, I was able to do ssh.

However, I was able to do ssh from Host to Engine without any trouble.

Appreciate your inputs.

Thank You,

Regards,
Udaya Kiran


On Wednesday, 19 February 2014 5:13 PM, Meital Bourvine
 mbour...@redhat.com  wrote:
Hi,

It seems that it's not related to the bug that you mentioned.
Can you please answer what I asked (about how did you add the host)?

Also, please try SSH from the engine to the host - is it working?




*From: *Udaya Kiran P  ukiran...@yahoo.in 
*To: *Nir Soffer  nsof...@redhat.com , mbour...@redhat.com ,
Itamar Heim  ih...@redhat.com 
*Cc: *users  users@ovirt.org 
*Sent: *Wednesday, February 19, 2014 1:26:15 PM
*Subject: *Re: [Users] Host installation failed. SSH session
closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

Hi All,

I have disabled the selinux by setenforce 0.

Not sure if its related to the bug apache-sshd downgrading
mentioned in - https://bugzilla.redhat.com/show_bug.cgi?id=1021273

Below are the errors logged in engine.log.

Appreciate your help.



2014-02-19 05:06:45,232 INFO
[org.ovirt.engine.core.register.RegisterServlet]
(ajp--127.0.0.1-8702-7) [1cb2fef] Succeeded to run RegisterVds.
2014-02-19 05:58:01,374 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:04,397 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: 

Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Moti Asayag
- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: Moti Asayag masa...@redhat.com
 Cc: users@oVirt.org users@ovirt.org
 Sent: Monday, February 24, 2014 11:59:42 AM
 Subject: Re: [Users] Creating Logical Network issue - API
 
 While setting Logical Network, it fails with below error:
 code  : 400
 reason: Bad Request
 detail: Previous network name is required.

See an example in the following post:

https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/

 
 Code:
   String nw_name=ApiNetWork;
   org.ovirt.engine.sdk.decorators.Host hst =
 api.getHosts().get(rhevhost);
 
 hst.getHostNics().get(eth1).setNetwork(api.getNetworks().get(nw_name));
   //hst.getHostNics().get(eth1).setCheckConnectivity(true);
   //hst.getHostNics().get(eth1).setOverrideConfiguration(true);
   hst.getHostNics().get(eth1).update();
 
 
 
 On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com wrote:
 
  Can you tel me how do i assign Logical Network(s) to one of the Physical
  Nic on the Host.
 
 
  On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote:
 
  h
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com
   To: users@oVirt.org users@ovirt.org
   Sent: Thursday, February 20, 2014 11:48:56 AM
   Subject: [Users] Creating Logical Network issue - API
  
   Hi ,
  
   I'm trying to create Logical Network and assign it to cluster  want to
  bond
   this to one of the Network Interface on Host. so that i can isolate my
  VM
   from other networks.
  
   The issue is even if i set Cluster while creating Logical Network, it
  is not
   setting the cluster. In Web Admin it is in unset state.
  
   Also, let me know how do i bind this Logical network on Host Interface.
  
   Java code:
  
   Network nw1=new Network();
   VLAN vlan = new VLAN();
   vlan.setId(2000);
   nw1.setVlan(vlan);
   IP ip = new IP();
   ip.setAddress(192.168.1.151);
   ip.setGateway(192.168.1.1);
   ip.setNetmask(255.255.255.0);
 
  Note that the stated IP above will not be used to set the address on the
  host itself.
  In order to do so you should use either the 'setup networks' api on
  host's nics level.
  (Alternately, you can send POST request to /hosts/{host:id}/nics which
  utilize the
  former api (it is a bit simpler than using the setup networks api).
 
  Should look like:
  Host host = api.getHosts().get(host_name);
  Action action = new Action();
  action.setCheckConnectivity(true); //required for rollback in case of
  configuration failure
  action.setHostNics(...); // should contain the target configuration
  host.getHostNics().setupnetworks(action);
 
  where the action should contain the entire desired network configuration.
 
  You can find various python-sdk example for setup networks on my blog [1]
  I'll post few examples using the java sdk earlier next week.
 
  [1] https://motiasayag.wordpress.com/
 
   nw1.setIp(ip);
   nw1.setName(apiNetwork);
  
   nw1.setDataCenter(api.getDataCenters().get(testDC));
   nw1.setCluster(api.getClusters().get(testCluster));
  
   org.ovirt.engine.sdk.decorators.Network nw2 =
  api.getNetworks().add(nw1);
  
   --
   Thanks  Regards
   Tejesh
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
 
  --
  Thanks  Regards
  Tejesh
 
 
 
 
 --
 Thanks  Regards
 Tejesh
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Moti Asayag


- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: Moti Asayag masa...@redhat.com
 Cc: users@oVirt.org users@ovirt.org
 Sent: Monday, February 24, 2014 1:18:53 PM
 Subject: Re: [Users] Creating Logical Network issue - API
 
 The example updates the existing Network (i.e. if the Logical Network is
 already mapped to eth1). But what i'm looking for is how to map Logical
 Network ApiNetWork to eth1, please refer screenshot.
 

Please check the last example named AddNetworkToNic from
https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/

It should achieve what you're aiming for.

 
 On Mon, Feb 24, 2014 at 4:11 PM, Moti Asayag masa...@redhat.com wrote:
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com
   To: Moti Asayag masa...@redhat.com
   Cc: users@oVirt.org users@ovirt.org
   Sent: Monday, February 24, 2014 11:59:42 AM
   Subject: Re: [Users] Creating Logical Network issue - API
  
   While setting Logical Network, it fails with below error:
   code  : 400
   reason: Bad Request
   detail: Previous network name is required.
 
  See an example in the following post:
 
 
  https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/
 
  
   Code:
 String nw_name=ApiNetWork;
 org.ovirt.engine.sdk.decorators.Host hst =
   api.getHosts().get(rhevhost);
  
   hst.getHostNics().get(eth1).setNetwork(api.getNetworks().get(nw_name));
 //hst.getHostNics().get(eth1).setCheckConnectivity(true);
 //hst.getHostNics().get(eth1).setOverrideConfiguration(true);
 hst.getHostNics().get(eth1).update();
  
  
  
   On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com wrote:
  
Can you tel me how do i assign Logical Network(s) to one of the
  Physical
Nic on the Host.
   
   
On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com
  wrote:
   
h
   
- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: users@oVirt.org users@ovirt.org
 Sent: Thursday, February 20, 2014 11:48:56 AM
 Subject: [Users] Creating Logical Network issue - API

 Hi ,

 I'm trying to create Logical Network and assign it to cluster 
  want to
bond
 this to one of the Network Interface on Host. so that i can isolate
  my
VM
 from other networks.

 The issue is even if i set Cluster while creating Logical Network,
  it
is not
 setting the cluster. In Web Admin it is in unset state.

 Also, let me know how do i bind this Logical network on Host
  Interface.

 Java code:

 Network nw1=new Network();
 VLAN vlan = new VLAN();
 vlan.setId(2000);
 nw1.setVlan(vlan);
 IP ip = new IP();
 ip.setAddress(192.168.1.151);
 ip.setGateway(192.168.1.1);
 ip.setNetmask(255.255.255.0);
   
Note that the stated IP above will not be used to set the address on
  the
host itself.
In order to do so you should use either the 'setup networks' api on
host's nics level.
(Alternately, you can send POST request to /hosts/{host:id}/nics which
utilize the
former api (it is a bit simpler than using the setup networks api).
   
Should look like:
Host host = api.getHosts().get(host_name);
Action action = new Action();
action.setCheckConnectivity(true); //required for rollback in
  case of
configuration failure
action.setHostNics(...); // should contain the target
  configuration
host.getHostNics().setupnetworks(action);
   
where the action should contain the entire desired network
  configuration.
   
You can find various python-sdk example for setup networks on my blog
  [1]
I'll post few examples using the java sdk earlier next week.
   
[1] https://motiasayag.wordpress.com/
   
 nw1.setIp(ip);
 nw1.setName(apiNetwork);

 nw1.setDataCenter(api.getDataCenters().get(testDC));
 nw1.setCluster(api.getClusters().get(testCluster));

 org.ovirt.engine.sdk.decorators.Network nw2 =
api.getNetworks().add(nw1);

 --
 Thanks  Regards
 Tejesh

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

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


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Nir Soffer
- Original Message -
 From: Ricky Schneberger ri...@schneberger.se
 To: users users@ovirt.org
 Sent: Monday, February 24, 2014 10:33:00 AM
 Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their  
 activation  against Microsoft
 
 Why is the Windows VMs always lost their activation against Microsoft
 after that I have upgrade ovirt?
 Is there så big changes in hardware drivers etc that it will hit the
 activation mechanism?
 
 I think there should be a way to preserve the activation even after an
 upgrade.

I guess that Ricky is talking about upgrade from data center/cluster version 
3.1 to 3.3,
related to this bug: https://bugzilla.redhat.com/1067849

Eli, can you help with this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Ricky Schneberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2014-02-24 13:06, Nir Soffer wrote:
 - Original Message -
 From: Ricky Schneberger ri...@schneberger.se To: users
 users@ovirt.org Sent: Monday, February 24, 2014 10:33:00 AM 
 Subject: [Users] After upgrade of ovirt  3.3 all Windows vms
 lost their   activation  against Microsoft
 
 Why is the Windows VMs always lost their activation against
 Microsoft after that I have upgrade ovirt? Is there så big
 changes in hardware drivers etc that it will hit the activation
 mechanism?
 
 I think there should be a way to preserve the activation even
 after an upgrade.
 
 I guess that Ricky is talking about upgrade from data
 center/cluster version 3.1 to 3.3, related to this bug:
 https://bugzilla.redhat.com/1067849
 
 Eli, can you help with this?
 

Hi,
No, its not related to that bug. That bug was found in my test
environment. The problem with VMs that lost their activation status is
in my production environment.

One cause I just investigate is that those VMs that have lost their
activation was running on another node before the upgrade then after
the upgrade. The problem should then be in differences between my
nodes. Even as I does not had that problem before.
- -- 
Ricky Schneberger

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMLOAQACgkQOap81biMC2NDggCgjVBV9AUHDvRTkxGgySrmL05Q
8l4AnjWAX5tVEGB9wBD76giKi4nOOgJp
=8W1M
-END PGP SIGNATURE-


0xB88C0B63.asc
Description: application/pgp-keys
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Moti Asayag


- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: Moti Asayag masa...@redhat.com
 Cc: users@oVirt.org users@ovirt.org
 Sent: Monday, February 24, 2014 1:18:53 PM
 Subject: Re: [Users] Creating Logical Network issue - API
 
 The example updates the existing Network (i.e. if the Logical Network is
 already mapped to eth1). But what i'm looking for is how to map Logical
 Network ApiNetWork to eth1, please refer screenshot.
 

There is an example of the 'setup networks' api usage via the java sdk in [1]
which is the recommended api for configuring host networking.

[1] 
https://motiasayag.wordpress.com/2014/02/24/invoke-setup-networks-from-the-java-sdk/

 
 On Mon, Feb 24, 2014 at 4:11 PM, Moti Asayag masa...@redhat.com wrote:
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com
   To: Moti Asayag masa...@redhat.com
   Cc: users@oVirt.org users@ovirt.org
   Sent: Monday, February 24, 2014 11:59:42 AM
   Subject: Re: [Users] Creating Logical Network issue - API
  
   While setting Logical Network, it fails with below error:
   code  : 400
   reason: Bad Request
   detail: Previous network name is required.
 
  See an example in the following post:
 
 
  https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/
 
  
   Code:
 String nw_name=ApiNetWork;
 org.ovirt.engine.sdk.decorators.Host hst =
   api.getHosts().get(rhevhost);
  
   hst.getHostNics().get(eth1).setNetwork(api.getNetworks().get(nw_name));
 //hst.getHostNics().get(eth1).setCheckConnectivity(true);
 //hst.getHostNics().get(eth1).setOverrideConfiguration(true);
 hst.getHostNics().get(eth1).update();
  
  
  
   On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com wrote:
  
Can you tel me how do i assign Logical Network(s) to one of the
  Physical
Nic on the Host.
   
   
On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com
  wrote:
   
h
   
- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: users@oVirt.org users@ovirt.org
 Sent: Thursday, February 20, 2014 11:48:56 AM
 Subject: [Users] Creating Logical Network issue - API

 Hi ,

 I'm trying to create Logical Network and assign it to cluster 
  want to
bond
 this to one of the Network Interface on Host. so that i can isolate
  my
VM
 from other networks.

 The issue is even if i set Cluster while creating Logical Network,
  it
is not
 setting the cluster. In Web Admin it is in unset state.

 Also, let me know how do i bind this Logical network on Host
  Interface.

 Java code:

 Network nw1=new Network();
 VLAN vlan = new VLAN();
 vlan.setId(2000);
 nw1.setVlan(vlan);
 IP ip = new IP();
 ip.setAddress(192.168.1.151);
 ip.setGateway(192.168.1.1);
 ip.setNetmask(255.255.255.0);
   
Note that the stated IP above will not be used to set the address on
  the
host itself.
In order to do so you should use either the 'setup networks' api on
host's nics level.
(Alternately, you can send POST request to /hosts/{host:id}/nics which
utilize the
former api (it is a bit simpler than using the setup networks api).
   
Should look like:
Host host = api.getHosts().get(host_name);
Action action = new Action();
action.setCheckConnectivity(true); //required for rollback in
  case of
configuration failure
action.setHostNics(...); // should contain the target
  configuration
host.getHostNics().setupnetworks(action);
   
where the action should contain the entire desired network
  configuration.
   
You can find various python-sdk example for setup networks on my blog
  [1]
I'll post few examples using the java sdk earlier next week.
   
[1] https://motiasayag.wordpress.com/
   
 nw1.setIp(ip);
 nw1.setName(apiNetwork);

 nw1.setDataCenter(api.getDataCenters().get(testDC));
 nw1.setCluster(api.getClusters().get(testCluster));

 org.ovirt.engine.sdk.decorators.Network nw2 =
api.getNetworks().add(nw1);

 --
 Thanks  Regards
 Tejesh

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

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


Re: [Users] Creating Logical Network issue - API

2014-02-24 Thread Tejesh M
Thanks alot.. Will try and let you know the feedback.


On Mon, Feb 24, 2014 at 5:23 PM, Moti Asayag masa...@redhat.com wrote:



 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: Moti Asayag masa...@redhat.com
  Cc: users@oVirt.org users@ovirt.org
  Sent: Monday, February 24, 2014 1:18:53 PM
  Subject: Re: [Users] Creating Logical Network issue - API
 
  The example updates the existing Network (i.e. if the Logical Network is
  already mapped to eth1). But what i'm looking for is how to map Logical
  Network ApiNetWork to eth1, please refer screenshot.
 

 Please check the last example named AddNetworkToNic from

 https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/

 It should achieve what you're aiming for.

 
  On Mon, Feb 24, 2014 at 4:11 PM, Moti Asayag masa...@redhat.com wrote:
 
   - Original Message -
From: Tejesh M tejes...@gmail.com
To: Moti Asayag masa...@redhat.com
Cc: users@oVirt.org users@ovirt.org
Sent: Monday, February 24, 2014 11:59:42 AM
Subject: Re: [Users] Creating Logical Network issue - API
   
While setting Logical Network, it fails with below error:
code  : 400
reason: Bad Request
detail: Previous network name is required.
  
   See an example in the following post:
  
  
  
 https://motiasayag.wordpress.com/2014/02/24/network-configuration-using-ovirt-engine-java-sdk/
  
   
Code:
  String nw_name=ApiNetWork;
  org.ovirt.engine.sdk.decorators.Host hst =
api.getHosts().get(rhevhost);
   
   
 hst.getHostNics().get(eth1).setNetwork(api.getNetworks().get(nw_name));
  //hst.getHostNics().get(eth1).setCheckConnectivity(true);
   
 //hst.getHostNics().get(eth1).setOverrideConfiguration(true);
  hst.getHostNics().get(eth1).update();
   
   
   
On Mon, Feb 24, 2014 at 2:30 PM, Tejesh M tejes...@gmail.com
 wrote:
   
 Can you tel me how do i assign Logical Network(s) to one of the
   Physical
 Nic on the Host.


 On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com
   wrote:

 h

 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: users@oVirt.org users@ovirt.org
  Sent: Thursday, February 20, 2014 11:48:56 AM
  Subject: [Users] Creating Logical Network issue - API
 
  Hi ,
 
  I'm trying to create Logical Network and assign it to cluster 
   want to
 bond
  this to one of the Network Interface on Host. so that i can
 isolate
   my
 VM
  from other networks.
 
  The issue is even if i set Cluster while creating Logical
 Network,
   it
 is not
  setting the cluster. In Web Admin it is in unset state.
 
  Also, let me know how do i bind this Logical network on Host
   Interface.
 
  Java code:
 
  Network nw1=new Network();
  VLAN vlan = new VLAN();
  vlan.setId(2000);
  nw1.setVlan(vlan);
  IP ip = new IP();
  ip.setAddress(192.168.1.151);
  ip.setGateway(192.168.1.1);
  ip.setNetmask(255.255.255.0);

 Note that the stated IP above will not be used to set the address
 on
   the
 host itself.
 In order to do so you should use either the 'setup networks' api
 on
 host's nics level.
 (Alternately, you can send POST request to /hosts/{host:id}/nics
 which
 utilize the
 former api (it is a bit simpler than using the setup networks
 api).

 Should look like:
 Host host = api.getHosts().get(host_name);
 Action action = new Action();
 action.setCheckConnectivity(true); //required for rollback in
   case of
 configuration failure
 action.setHostNics(...); // should contain the target
   configuration
 host.getHostNics().setupnetworks(action);

 where the action should contain the entire desired network
   configuration.

 You can find various python-sdk example for setup networks on my
 blog
   [1]
 I'll post few examples using the java sdk earlier next week.

 [1] https://motiasayag.wordpress.com/

  nw1.setIp(ip);
  nw1.setName(apiNetwork);
 
  nw1.setDataCenter(api.getDataCenters().get(testDC));
  nw1.setCluster(api.getClusters().get(testCluster));
 
  org.ovirt.engine.sdk.decorators.Network nw2 =
 api.getNetworks().add(nw1);
 
  --
  Thanks  Regards
  Tejesh
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --
 Thanks  Regards
 Tejesh

   
   
   
--
Thanks  Regards
Tejesh
   
  
 
 
 
  --
  Thanks  Regards
  Tejesh
 




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


Re: [Users] Vm's being paused

2014-02-24 Thread Neil
Hi Dafna,

My sincere apologies for not coming back to you sooner on this. I've
finally had a chance to start investigating, but in between my last
discussion and now, updates have been done on both the hosts and the
engine, so perhaps something there has fixed it, as I haven't had a
pause happen in quite a long time.

When trying to gather the info you requested above I think I've found
what is causing all the excessive logging...that I sent through
previously...

I have a VM called Proxy, which a few years back ran out of disk
space, and wouldn't boot, as it required an fsck, but we'd get an
unknown storage error when doing an fsck on the image, so we had to
attach a new LUN and dd out the entire image, then run an fsck, and
then re-import the image, which got the VM operational again. A while
back we tried to remove the old disk image, and received a storage
error, and looking at this now I see that it appears the old image
never successfully removed.  If I look at the VM under Disks I can see
the old disk still attached in place, but there is an hourglass
instead of a green arrow showing. Also right clicking on the Disk the
only option you can choose is Add, so something seems to still have
this locked.

In the logs I have the same error showing over and over...

AttributeError: 'Drive' object has no attribute 'format'
Thread-313::DEBUG::2014-02-24
16:44:30,056::libvirtconnection::108::libvirtconnection::(wrapper)
Unknown libvirterror: ecode: 8 edom: 10 level: 2 message: invalid
argument: invalid path
/rhev/data-center/mnt/blockSD/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/6128b18f-eee9-422e-bc8a-f3b9fe331b09/38ac4afa-22e9-4359-ac16-3ff5d7b3b6db
not assigned to domain
Thread-313::ERROR::2014-02-24
16:44:30,057::sampling::355::vm.Vm::(collect)
vmId=`23b9212c-1e25-4003-aa18-b1e819bf6bb1`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1c9de30
Traceback (most recent call last):
  File /usr/share/vdsm/sampling.py, line 351, in collect
statsFunction()
  File /usr/share/vdsm/sampling.py, line 226, in __call__
retValue = self._function(*args, **kwargs)
  File /usr/share/vdsm/vm.py, line 528, in _highWrite
self._vm.extendDrivesIfNeeded()
  File /usr/share/vdsm/vm.py, line 2288, in extendDrivesIfNeeded
capacity, alloc, physical = self._dom.blockInfo(drive.path, 0)
  File /usr/share/vdsm/vm.py, line 841, in f
ret = attr(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py,
line 76, in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 1814, in blockInfo
if ret is None: raise libvirtError ('virDomainGetBlockInfo()
failed', dom=self)
libvirtError: invalid argument: invalid path
/rhev/data-center/mnt/blockSD/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/6128b18f-eee9-422e-bc8a-f3b9fe331b09/38ac4afa-22e9-4359-ac16-3ff5d7b3b6db
not assigned to domain


Any ideas on how to get rid of the corrupt disk finally?

Thanks.

Regards.

Neil Wilson.



On Wed, Jan 29, 2014 at 5:32 PM, Dafna Ron d...@redhat.com wrote:
 mmm... I think that there is a bug with the iso domain and I am not sure
 if it was already opened.

 can you help me to debug this and see if its related? :)

 I think that you have some intermittent network issues to the iso domain and
 every time it happens, the vms that have booted with a cd (even if you
 detached it) would pause.

 I have a second suspicion... is it possible that the vms that pause had a cd
 and you ejected it at some point? perhaps after or during the network issues
 you had on the 14th?
 can you run dumpxml from libvirt? let me know if you need help with this
 command.

 Thanks,

 Dafna


 On 01/29/2014 02:16 PM, Neil wrote:

 Hi Dafna,


 On Wed, Jan 29, 2014 at 1:14 PM, Dafna Ron d...@redhat.com wrote:

 The reason I asked about the size if because this was the original issue
 no?
 vm's pausing on lack of space?

 Apologies, I just wanted to make sure it was still about this pausing
 and not the original migration issue that I think you were also
 helping me with a few weeks back.

 You're having a problem with your data domains.
 Can you check the rout from the hosts to the storage? I think that you
 have
 some disconnection to the storage from the hosts
 since it's random and not from all the vm's I would suggest that its a
 routing problem?
 Thanks,
 Dafna

 The connections to the main data domain is 8Gb Fibre Channel directly
 from each of the hosts to the FC SAN, so if it is a connection issue
 then I can't understand how anything would be working. Or am I barking
 up the wrong tree completely? There were some ethernet network
 bridging changes on each of the hosts in early January, but this would
 only affect the NFS mounted ISO domain, or could this be the cause of
 the problems?

 Is this disconnection causing the huge log files that I sent previously?

 Thank you.

 Regards.

 Neil Wilson.


 On 01/29/2014 08:00 AM, Neil wrote:

 Sorry, more on this issue, I 

Re: [Users] Nodes lose storage at random

2014-02-24 Thread Ronen Hod

On 02/24/2014 11:48 AM, Nir Soffer wrote:

- Original Message -

From: Johan Kooijman m...@johankooijman.com
To: Nir Soffer nsof...@redhat.com
Cc: users users@ovirt.org
Sent: Monday, February 24, 2014 2:45:59 AM
Subject: Re: [Users] Nodes lose storage at random

Interestingly enough - same thing happened today, around the same time.
Logs from this host are attached.

Around 1:10 AM stuff starts to go wrong again. Same pattern - we reboot the
node and the node is fine again.

So we made some progress, we know that it is not a problem with old kernel.

In messages we see the same picture:

1. sanlock fail to renew the lease
2. after 80 secodns, kill vdsm
3. sanlock and vdsm cannot access the storage
4. kernel complain about nfs server timeouts
(explains why sanlock failed to renew the lease)
5. after reboot, nfs is accessible again
6. after few days goto step 1

This looks like kernel nfs issue.

Could be also kvm issue (running bsd on the one of the vm?)

Could be also some incompatibility with the nfs server - maybe you are using
esoteric configuration options?

CCing Ronen, in case this is related to kvm.


Not seems to be related to KVM.
Adding Ric Wheeler.

Ronen.



thread: http://lists.ovirt.org/pipermail/users/2014-February/021507.html

Nir


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


Re: [Users] Stack trace caused by FreeBSD client

2014-02-24 Thread Ronen Hod

On 02/23/2014 10:13 PM, Nir Soffer wrote:

- Original Message -

From: Johan Kooijman m...@johankooijman.com
To: users users@ovirt.org
Sent: Sunday, February 23, 2014 8:22:41 PM
Subject: [Users] Stack trace caused by FreeBSD client

Hi all,

Interesting thing I found out this afternoon. I have a FreeBSD 10 guest with
virtio drivers, both disk and net.

The VM works fine, but when I connect over SSH to the VM, I see this stack
trace in messages on the node:

This warning may be interesting to qemu/kvm/kernel developers, ccing Ronen.


Probably, nobody bothered to productize FreeBSD.
You can try to use E1000 instead of virtio.

Ronen.




Feb 23 19:19:42 hv3 kernel: [ cut here ]
Feb 23 19:19:42 hv3 kernel: WARNING: at net/core/dev.c:1907
skb_warn_bad_offload+0xc2/0xf0() (Tainted: G W --- )
Feb 23 19:19:42 hv3 kernel: Hardware name: X9DR3-F
Feb 23 19:19:42 hv3 kernel: igb: caps=(0x12114bb3, 0x0) len=5686
data_len=5620 ip_summed=0
Feb 23 19:19:42 hv3 kernel: Modules linked in: ebt_arp nfs lockd fscache
auth_rpcgss nfs_acl sunrpc bonding 8021q garp ebtable_nat ebtables bridge
stp llc xt_physdev ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_multiport
iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
xt_state nf_conntrack ip6table_filter ip6_tables ipv6 dm_round_robin
dm_multipath vhost_net macvtap macvlan tun kvm_intel kvm iTCO_wdt
iTCO_vendor_support sg ixgbe mdio sb_edac edac_core lpc_ich mfd_core
i2c_i801 ioatdma igb dca i2c_algo_bit i2c_core ptp pps_core ext4 jbd2
mbcache sd_mod crc_t10dif 3w_sas ahci isci libsas scsi_transport_sas
dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Feb 23 19:19:42 hv3 kernel: Pid: 15280, comm: vhost-15276 Tainted: G W
--- 2.6.32-431.5.1.el6.x86_64 #1
Feb 23 19:19:42 hv3 kernel: Call Trace:
Feb 23 19:19:42 hv3 kernel: IRQ [81071e27] ?
warn_slowpath_common+0x87/0xc0
Feb 23 19:19:42 hv3 kernel: [81071f16] ?
warn_slowpath_fmt+0x46/0x50
Feb 23 19:19:42 hv3 kernel: [a016c862] ? igb_get_drvinfo+0x82/0xe0
[igb]
Feb 23 19:19:42 hv3 kernel: [8145b1d2] ?
skb_warn_bad_offload+0xc2/0xf0
Feb 23 19:19:42 hv3 kernel: [814602c1] ?
__skb_gso_segment+0x71/0xc0
Feb 23 19:19:42 hv3 kernel: [81460323] ? skb_gso_segment+0x13/0x20
Feb 23 19:19:42 hv3 kernel: [814603cb] ?
dev_hard_start_xmit+0x9b/0x480
Feb 23 19:19:42 hv3 kernel: [8147bf5a] ?
sch_direct_xmit+0x15a/0x1c0
Feb 23 19:19:42 hv3 kernel: [81460a58] ? dev_queue_xmit+0x228/0x320
Feb 23 19:19:42 hv3 kernel: [a035a898] ?
br_dev_queue_push_xmit+0x88/0xc0 [bridge]
Feb 23 19:19:42 hv3 kernel: [a035a928] ?
br_forward_finish+0x58/0x60 [bridge]
Feb 23 19:19:42 hv3 kernel: [a035a9da] ? __br_forward+0xaa/0xd0
[bridge]
Feb 23 19:19:42 hv3 kernel: [814897b6] ? nf_hook_slow+0x76/0x120
Feb 23 19:19:42 hv3 kernel: [a035aa5d] ? br_forward+0x5d/0x70
[bridge]
Feb 23 19:19:42 hv3 kernel: [a035ba6b] ?
br_handle_frame_finish+0x17b/0x2a0 [bridge]
Feb 23 19:19:42 hv3 kernel: [a035bd3a] ?
br_handle_frame+0x1aa/0x250 [bridge]
Feb 23 19:19:42 hv3 kernel: [8145b7c9] ?
__netif_receive_skb+0x529/0x750
Feb 23 19:19:42 hv3 kernel: [8145ba8a] ? process_backlog+0x9a/0x100
Feb 23 19:19:42 hv3 kernel: [81460d43] ? net_rx_action+0x103/0x2f0
Feb 23 19:19:42 hv3 kernel: [8107a8e1] ? __do_softirq+0xc1/0x1e0
Feb 23 19:19:42 hv3 kernel: [8100c30c] ? call_softirq+0x1c/0x30
Feb 23 19:19:42 hv3 kernel: EOI [8100fa75] ? do_softirq+0x65/0xa0
Feb 23 19:19:42 hv3 kernel: [814611c8] ? netif_rx_ni+0x28/0x30
Feb 23 19:19:42 hv3 kernel: [a01a0749] ? tun_sendmsg+0x229/0x4ec
[tun]
Feb 23 19:19:42 hv3 kernel: [a027bcf5] ? handle_tx+0x275/0x5e0
[vhost_net]
Feb 23 19:19:42 hv3 kernel: [a027c095] ? handle_tx_kick+0x15/0x20
[vhost_net]
Feb 23 19:19:42 hv3 kernel: [a027955c] ? vhost_worker+0xbc/0x140
[vhost_net]
Feb 23 19:19:42 hv3 kernel: [a02794a0] ? vhost_worker+0x0/0x140
[vhost_net]
Feb 23 19:19:42 hv3 kernel: [8109aee6] ? kthread+0x96/0xa0
Feb 23 19:19:42 hv3 kernel: [8100c20a] ? child_rip+0xa/0x20
Feb 23 19:19:42 hv3 kernel: [8109ae50] ? kthread+0x0/0xa0
Feb 23 19:19:42 hv3 kernel: [8100c200] ? child_rip+0x0/0x20
Feb 23 19:19:42 hv3 kernel: ---[ end trace e93142595d6ecfc7 ]---

This is 100% reproducable, every time. The login itself works just fine. Some
more info:

[root@hv3 ~]# uname -a
Linux hv3.ovirt.gs.cloud.lan 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12
00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@hv3 ~]# rpm -qa | grep vdsm
vdsm-4.13.3-3.el6.x86_64
vdsm-xmlrpc-4.13.3-3.el6.noarch
vdsm-python-4.13.3-3.el6.x86_64
vdsm-cli-4.13.3-3.el6.noarch

--
Met vriendelijke groeten / With kind regards,
Johan Kooijman

E m...@johankooijman.com

___
Users mailing list
Users@ovirt.org

Re: [Users] Vm's being paused

2014-02-24 Thread Nir Soffer
- Original Message -
 From: Neil nwilson...@gmail.com
 To: d...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 5:02:04 PM
 Subject: Re: [Users] Vm's being paused
 
 Hi Dafna,
 
 My sincere apologies for not coming back to you sooner on this. I've
 finally had a chance to start investigating, but in between my last
 discussion and now, updates have been done on both the hosts and the
 engine, so perhaps something there has fixed it, as I haven't had a
 pause happen in quite a long time.
 
 When trying to gather the info you requested above I think I've found
 what is causing all the excessive logging...that I sent through
 previously...
 
 I have a VM called Proxy, which a few years back ran out of disk
 space, and wouldn't boot, as it required an fsck, but we'd get an
 unknown storage error when doing an fsck on the image, so we had to
 attach a new LUN and dd out the entire image, then run an fsck, and
 then re-import the image, which got the VM operational again. A while
 back we tried to remove the old disk image, and received a storage
 error, and looking at this now I see that it appears the old image
 never successfully removed.  If I look at the VM under Disks I can see
 the old disk still attached in place, but there is an hourglass
 instead of a green arrow showing. Also right clicking on the Disk the
 only option you can choose is Add, so something seems to still have
 this locked.
 
 In the logs I have the same error showing over and over...
 
 AttributeError: 'Drive' object has no attribute 'format'
 Thread-313::DEBUG::2014-02-24
 16:44:30,056::libvirtconnection::108::libvirtconnection::(wrapper)
 Unknown libvirterror: ecode: 8 edom: 10 level: 2 message: invalid
 argument: invalid path
 /rhev/data-center/mnt/blockSD/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/6128b18f-eee9-422e-bc8a-f3b9fe331b09/38ac4afa-22e9-4359-ac16-3ff5d7b3b6db
 not assigned to domain
 Thread-313::ERROR::2014-02-24
 16:44:30,057::sampling::355::vm.Vm::(collect)
 vmId=`23b9212c-1e25-4003-aa18-b1e819bf6bb1`::Stats function failed:
 AdvancedStatsFunction _highWrite at 0x1c9de30
 Traceback (most recent call last):
   File /usr/share/vdsm/sampling.py, line 351, in collect
 statsFunction()
   File /usr/share/vdsm/sampling.py, line 226, in __call__
 retValue = self._function(*args, **kwargs)
   File /usr/share/vdsm/vm.py, line 528, in _highWrite
 self._vm.extendDrivesIfNeeded()
   File /usr/share/vdsm/vm.py, line 2288, in extendDrivesIfNeeded
 capacity, alloc, physical = self._dom.blockInfo(drive.path, 0)
   File /usr/share/vdsm/vm.py, line 841, in f
 ret = attr(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py,
 line 76, in wrapper
 ret = f(*args, **kwargs)
   File /usr/lib64/python2.6/site-packages/libvirt.py, line 1814, in
   blockInfo
 if ret is None: raise libvirtError ('virDomainGetBlockInfo()
 failed', dom=self)
 libvirtError: invalid argument: invalid path
 /rhev/data-center/mnt/blockSD/0e6991ae-6238-4c61-96d2-ca8fed35161e/images/6128b18f-eee9-422e-bc8a-f3b9fe331b09/38ac4afa-22e9-4359-ac16-3ff5d7b3b6db
 not assigned to domain
 
 
 Any ideas on how to get rid of the corrupt disk finally?

This may happen when you migrate a vm from machines running different versions 
of vdsm.
Vdsm changed the path to the disk lately, so when you migrate a vm, some disk 
are not
found where vdsm think they should be. This leads to missing format attribute 
and 
libvirt errors when trying to check the status of such disks.

This issue is fixed in upstream:
http://gerrit.ovirt.org/24202

And in ovirt-3.4:
http://gerrit.ovirt.org/24324

I think the best way to avoid this issue, is to have the same vdsm version on 
all
hosts in the same cluster.

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


Re: [Users] Setting up a test enviroment

2014-02-24 Thread Meital Bourvine
Hi Andy, 

Take a look at this howto [1] 

Next time, please use the reply to all button, so other people will be able 
to help you as well. 

[1] http://www.ovirt.org/Hosted_Engine_Howto 

- Original Message -

 From: Andy Michielsen andy.michiel...@gmail.com
 To: Meital Bourvine mbour...@redhat.com
 Sent: Monday, February 24, 2014 5:37:12 PM
 Subject: Re: [Users] Setting up a test enviroment

 Hello Meital,

 Thank you for this information.

 However now I 'm puzzeled what I should install on my node. A minimal
 installation with nfs support, a desktop for managing the
 ovirt-hosted-engine ?

 Kind regards.

 2014-02-24 10:37 GMT+01:00 Meital Bourvine  mbour...@redhat.com  :

  Hi Andy,
 

  I would suggest installing hosted engine on the node [1].
 

  [1] http://www.ovirt.org/Features/Self_Hosted_Engine
 

   From: Andy Michielsen  andy.michiel...@gmail.com 
  
 
   To: users@ovirt.org
  
 
   Sent: Monday, February 24, 2014 11:32:28 AM
  
 
   Subject: [Users] Setting up a test enviroment
  
 

   Hello,
  
 

   I 'm starting to set up an ovirt enviroment to provide our test users a
   free
   but decent setup.
  
 

   I have two servers and I would like to use one for NFS storage because of
   the
   availability of 1 Tb and the the other server only as a node. I'm not
   sure
   where to install the ovirt-engine on.
  
 

   The NFS server has two quadcores and 32 Gb of RAM and 6 NIC's
  
 

   The Node has two sixcores and 64 Gb of RAM and only 2 NIC's
  
 

   Kind regards.
  
 

   ___
  
 
   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] Stack trace caused by FreeBSD client

2014-02-24 Thread Nir Soffer
- Original Message -
 From: Ronen Hod r...@redhat.com
 To: Nir Soffer nsof...@redhat.com, Johan Kooijman 
 m...@johankooijman.com
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 5:27:06 PM
 Subject: Re: [Users] Stack trace caused by FreeBSD client
 
 On 02/23/2014 10:13 PM, Nir Soffer wrote:
  - Original Message -
  From: Johan Kooijman m...@johankooijman.com
  To: users users@ovirt.org
  Sent: Sunday, February 23, 2014 8:22:41 PM
  Subject: [Users] Stack trace caused by FreeBSD client
 
  Interesting thing I found out this afternoon. I have a FreeBSD 10 guest
  with
  virtio drivers, both disk and net.
 
  The VM works fine, but when I connect over SSH to the VM, I see this stack
  trace in messages on the node:
  This warning may be interesting to qemu/kvm/kernel developers, ccing Ronen.
 
 Probably, nobody bothered to productize FreeBSD.
 You can try to use E1000 instead of virtio.

You may find this useful:
http://www.linux-kvm.org/page/Guest_Support_Status#FreeBSD

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


Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Nir Soffer
- Original Message -
 From: R P Herrold herr...@owlriver.com
 To: Ricky Schneberger ri...@schneberger.se
 Cc: users@ovirt.org
 Sent: Monday, February 24, 2014 6:42:54 PM
 Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their 
 activation against Microsoft
 
 On Mon, 24 Feb 2014, Ricky Schneberger wrote:
 
   Why is the Windows VMs always lost their activation against Microsoft
   after that I have upgrade ovirt?
  ...
  Yes I am sure its related to the upgrade.
  
  In the application log of the VM we can see  hardware has changed from
  previous boot and also we have a licensing system on another host that
  got in a stucked state because of the same reason - hardware has
  changed from previous boot.
 
 I see the following discussions ... changes in bios, or
 hardware device numbers, seem to trigger this
 
 (Citrix instances)
 http://support.citrix.com/article/CTX135542
 
 http://support.citrix.com/article/CTX132220/
 
 http://discussions.citrix.com/topic/313096-windows-activation-license-mak-used/#entry1674492
 
 http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-7-activation-always-come-back-after/b26f8338-ae51-44d1-a0d9-b3a71643548a
 
 So the issue may in some cases be avoided, but in others, will
 need oVirt attention to not changing values refered to by the
 licensing validation code.  Identifying all those test point
 valuess so they may be preserved, looks like something the
 upstream (commercial) vendor would not be very interesting in
 revealing as it would impact their revenue model, so it
 probably needs a set of 'reproducers' identified, and test
 cases written ...

I think the best solution would be if Microsoft would send some patches :-)

Ricky, would you open a bug so we can track this issue?

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


Re: [Users] Opinions needed: 3 node gluster replica 3 | NFS async | snapshots for consistency

2014-02-24 Thread Ted Miller

On 2/23/2014 3:20 PM, Ayal Baron wrote:

- Original Message -

On Sun, Feb 23, 2014 at 4:27 AM, Ayal Baron aba...@redhat.com wrote:

- Original Message -

I'm looking for some opinions on this configuration in an effort to increase
write performance:

3 storage nodes using glusterfs in replica 3, quorum.

gluster doesn't support replica 3 yet, so I'm not sure how heavily I'd
rely on this.


Glusterfs or RHSS doesn't support rep 3? How could I create a quorum
without 3+ hosts?

glusterfs has the capability but it hasn't been widely tested with oVirt yet 
and we've already found a couple of issues there.
afaiu gluster has the ability to define a tie breaker (a third node which is 
part of the quorum but does not provide a third replica of the data).


I've been researching glusterfs for quite a while, and have had a 3 node 
replica up and running, but never heard of a tie breaker node.  Anywhere 
this is documented?  I could use something like that.


I will be testing a 3-node ovirt + gluster setup, hopefully yet this week.



Ovirt storage domain via NFS

why NFS and not gluster?


Gluster via posix SD doesn't have any performance gains over NFS, maybe the
opposite.

gluster via posix is mounting it using the gluster fuse client which should 
provide better performance + availability than NFS.


Gluster 'native' SD's are broken on EL6.5 so I have been unable to test
performance. I have heard performance can be upwards of 3x NFS for raw
write.

Broken how?


Gluster doesn't have an async write option, so its doubtful it will ever be
close to NFS async speeds.



Volume set nfs.trusted-sync on
On Ovirt, taking snapshots often enough to recover from a storage crash

Note that this would have negative write performance impact


The difference between NFS sync (50MB/s) and async (300MB/s on 10g) write
speeds should more than compensate for the performance hit of taking
snapshots more often. And that's just raw speed. If we take into
consideration IOPS (guest small writes) async is leaps and bounds ahead.

I would test this, since qemu is already doing async I/O (using threads when 
native AIO is not supported) and oVirt runs it with cache=none (direct I/O) so 
sync ops should not happen that often (depends on guest).  You may be still 
enjoying performance boost, but I've seen UPS systems fail before bringing down 
multiple nodes at once.
In addition, if you do not guarantee your data is safe when you create a 
snapshot (and it doesn't seem like you are) then I see no reason to think your 
snapshots are any better off than latest state on disk.



If we assume the site has backup UPS and generator power and we can build a
highly available storage system with 3 nodes in quorum, are there any
potential issues other than a write performance hit?

The issue I thought might be most prevalent is if an ovirt host goes down
and the VM's are automatically brought back up on another host, they could
incur disk corruption and need to be brought back down and restored to the
last snapshot state. This basically means the HA feature should be disabled.

I'm not sure I understand what your concern is here, what would cause the data 
corruption? if your node crashed then there is no I/O in flight.  So starting 
up the VM should be perfectly safe.
It seems to me that either the VM can start and clean up it's own disk, or it 
can't, same as a bare-metal computer after a crash.  I have not experienced 
any additional corruption opportunities.  I see no reason to not use the 
HA.  The worst that happens is that the boot hangs, you have to revert to a 
snapshot.  My experience (in bare metal and other virtualization 
environments) is that about 98% of the time the computer will reboot after an 
unclean shutdown (power failure or virtual equivalent).  I have done this to 
virtual machines more times than I want to admit.


Maybe you need to tell us more about what you have in mind as far as 
corruption, so that we can either confirm or debunk your concerns.



Even worse, if the gluster node with CTDB NFS IP goes down, it may not have
written out and replicated to its peers.  -- I think I may have just
answered my own question.

If 'trusted-sync' means that the CTDB NFS node acks the I/O before it reached 
quorum then I'd say that's a gluster bug.  It should ack the I/O before data 
hits the disc, but it should not ack it before it has quorum.
However, the configuration we feel comfortable using gluster is with both 
server and client quorum (gluster has 2 different configs and you need to 
configure both to work safely).
Gluster does not replicate to its peers.  Gluster writes to all peers at 
the same time, as part of the original write process.  If quorum is on, the 
process either works or it doesn't.


I assume you are keeping in mind that the kernel NFS server does not get 
along with gluster.  You need to run gluster's own NFS server, and turn off 
the kernel NFS server.  Gluster's own NFS server is 

Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0

2014-02-24 Thread Doron Fediuck


- Original Message -
 From: Sandro Bonazzola sbona...@redhat.com
 To: Jimmy Dorff jdo...@phy.duke.edu, Meital Bourvine 
 mbour...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, February 24, 2014 9:43:13 AM
 Subject: Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
 
 Il 21/02/2014 19:10, Jimmy Dorff ha scritto:
  Hi Sandro,
  
  Dave Neary's comment is good. Here is a new patch:
  
  *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500
  --- b/ovirt-release.spec2014-02-21 13:01:35.856636466 -0500
  ***
  *** 69,75 
#Fedora is good for both Fedora and Generic (and probably other based on
Fedora)
#Handling EL exception only (for now)
  ! if grep -qFi 'CentOS' /etc/system-release; then
  ! DIST=EL
  ! elif grep -qFi 'Red Hat' /etc/system-release; then
DIST=EL
fi
  --- 69,73 
#Fedora is good for both Fedora and Generic (and probably other based on
Fedora)
#Handling EL exception only (for now)
  ! if rpm --eval %dist | grep -qFi 'el'; then
 
 Missing escape: %%dist
 pushed a new patchset, please review it on
 gerrit:http://gerrit.ovirt.org/24869
 and verify it on Scientific Linux :
  
 http://jenkins.ovirt.org/job/ovirt-release_gerrit/30/artifact/exported-artifacts/ovirt-release-11.0.1-1.noarch.rpm
 
DIST=EL
fi
  
  Might be faster for you to submit cause I'm not familiar with gerrit, but I
  can login with my Fedora FAS account.
  
  Cheers,
  Jimmy
  
  
  
  On 2/21/14, 8:17 AM, Sandro Bonazzola wrote:
  Il 21/02/2014 16:25, Jimmy Dorff ha scritto:
  On 2/21/14, 2:31 AM, Sandro Bonazzola wrote:
  Il 21/02/2014 07:34, Meital Bourvine ha scritto:
  Hi Jimmy,
 
  As far as I know, scientific linux isn't supported by ovirt.
 
  IIUC it's based on CentOS / RHEL so it may work.
  Let us know if you've issues :-)
 
 
 
  But you can always try submitting a patch ;)
 
 
  SL works fine with ovirt. If you want to support it, here is a patch.
 
  http://gerrit.ovirt.org/24869
  If you've an account on gerrit you can review / verify it.
 
 
  *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500
  --- b/ovirt-release.spec2014-02-21 10:10:55.0 -0500
  ***
  *** 73,76 
  --- 73,78 
 elif grep -qFi 'Red Hat' /etc/system-release; then
 DIST=EL
  + elif grep -qFi 'Scientific Linux' /etc/system-release; then
  + DIST=EL
 fi
 
 
  If you don't support Scientific Linux, then I would recommend not
  defaulting the DIST to Fedora and instead searching for the specific
  supported
  releases and error out otherwise.
 
  Future-wise, Scientific Linux *may* become a CentOS variant in Red
  Hat's CentOS.
 
  Cheers,
  Jimmy
 
 
 
  
 
 
 --
 Sandro Bonazzola
 Better technology. Faster innovation. Powered by community collaboration.
 See how it works at redhat.com

Jimmy,
once successful with Scientific Linux, please let us know.

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


Re: [Users] oVirt 3.5 planning

2014-02-24 Thread Federico Alberto Sayd

On 24/02/14 13:59, Itamar Heim wrote:
with oVirt 3.4 getting close to GA with many many great features, time 
to collect requests for 3.5...

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



iso-upload through web gui
vm view and acl's by folder

...


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


Re: [Users] Setting up a test enviroment

2014-02-24 Thread Andy Michielsen
Dear sirs,

I will do so next time.

Thanks for the info. But the document isn't that clear to me. I will do
some more research.

Kind regards
On 24 Feb 2014 16:40, Meital Bourvine mbour...@redhat.com wrote:

 Hi Andy,

 Take a look at this howto [1]

 Next time, please use the reply to all button, so other people will be
 able to help you as well.

 [1] http://www.ovirt.org/Hosted_Engine_Howto


 --

 *From: *Andy Michielsen andy.michiel...@gmail.com
 *To: *Meital Bourvine mbour...@redhat.com
 *Sent: *Monday, February 24, 2014 5:37:12 PM
 *Subject: *Re: [Users] Setting up a test enviroment

 Hello Meital,

 Thank you for this information.

 However now I 'm puzzeled what I should install on my node. A minimal
 installation with nfs support, a desktop for managing the
 ovirt-hosted-engine ?

 Kind regards.


 2014-02-24 10:37 GMT+01:00 Meital Bourvine mbour...@redhat.com:

 Hi Andy,

 I would suggest installing hosted engine on the node [1].

 [1] http://www.ovirt.org/Features/Self_Hosted_Engine


 --

 *From: *Andy Michielsen andy.michiel...@gmail.com
 *To: *users@ovirt.org
 *Sent: *Monday, February 24, 2014 11:32:28 AM
 *Subject: *[Users] Setting up a test enviroment


 Hello,

 I 'm starting to set up an ovirt enviroment to provide our test users a
 free but decent setup.

 I have two servers and I would like to use one for NFS storage because of
 the availability of 1 Tb and the the other server only as a node. I'm not
 sure where to install the ovirt-engine on.

 The NFS server has two quadcores and 32 Gb of RAM and 6 NIC's

 The Node has two sixcores and 64 Gb of RAM and only 2 NIC's

 Kind regards.



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





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


[Users] oVirt is in the Summer of Code!

2014-02-24 Thread Brian Proffitt
oVirt's Organization Application for the Google Summer of Code 2014 has been 
accepted. oVirt's information can be found at:

http://www.google-melange.com/gsoc/org/profile/edit/google/gsoc2014/ovirt

oVirt's organization's information is now available to students. Student 
applications will formally open on 10 March at 19:00 UTC.

Check out our Summer of Code page to see our ideas for students to participate!

http://www.ovirt.org/Summer_of_Code

And thanks to Maor Lipchuk, Federico Simoncelli, and Nir Soffer for being 
mentors for this year's participation in the Summer of Code!

Peace,
Brian

-- 
Brian Proffitt - oVirt Community Manager
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 312 477 4320 / Cell: +1 574 383 9BKP
IRC: bkp
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Creating oVirt users

2014-02-24 Thread Drew Showers
Hello,

How do I create users? I see where to add users and create roles, but can't
figure out how to get users on the add user list.

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


Re: [Users] Creating oVirt users

2014-02-24 Thread Yair Zaslavsky
Hi Drew,
In order to be able to add users, you will have to use the 
engine-manage-domains tool and setup a domain.
a domain uses kerberos authentication and LDAP for authorization.
engine-manage-domains supports several ldap vendors , among are - active 
directory, IPA, RHDS, openLdap.
once will add a user at a given domain that will be used to authenticate during 
searching for users and groups.
For example, if you have a domain named example.com, which is which has a 
machine a.example.com which co-hosts ldap server (IPA) + KDC, and the dns 
records for kerberos and ldap are properly set, and you will like to add user 
named myuser then you can use :
engine-manage-domains add --user=myuser --domain=example.com --provider=IPA.
if you want to be able to login with this user, and not just with the admin of 
of internal, please also specify --add-permissions

Hope this helps,
Yair


- Original Message -
 From: Drew Showers d...@augurworks.com
 To: users@ovirt.org
 Sent: Tuesday, February 25, 2014 1:49:45 AM
 Subject: [Users] Creating oVirt users
 
 Hello,
 
 How do I create users? I see where to add users and create roles, but can't
 figure out how to get users on the add user list.
 
 Thanks in advance!
 Drew
 
 ___
 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] smbios hook

2014-02-24 Thread Liviu Elama
Hi

I have a 2 node hosted engine cluster using 3.4 beta3 on centos 6.5 and I'm
trying to use smbios hook(first try to use a hook) and I can't see the
smbios key in custom properties when I edit a VM.

I have installed the vdsm-hook-smbios on both hosts and restarted vdsm and
restarted the engine as well.
I can see the hooks available on each hosts from the engine GUI but I can't
see the custom property to modify at VM level.

Can anyone advise if I'm doing the right thing here or what logs should I
provide for debugging ?

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


Re: [Users] Permissions

2014-02-24 Thread Yair Zaslavsky


- Original Message -
 From: Maurice James midnightst...@msn.com
 To: Eli Mesika emes...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, February 25, 2014 3:33:52 AM
 Subject: Re: [Users] Permissions
 
 I will have to get the logs to you tomorrow when I go to the office. Until
 then,
  I have a user group from AD with the Power User and Super User
  permissions over the Data Center. They do not have permission to move disks
  between storage domains. Is this by design?

Maurice, quick question here - when you write they don't have permissions do 
you mean to users of the group? 
if so, are you using ovirt engine 3.4 beta2 or a development environment?

Perhaps the following bug has to do with what you're experiencing?

https://bugzilla.redhat.com/1065615


Yair

 
 
 -Original Message-
 From: Eli Mesika [mailto:emes...@redhat.com]
 Sent: Sunday, February 23, 2014 3:34 PM
 To: Maurice James
 Cc: users@ovirt.org
 Subject: Re: [Users] Permissions
 
 
 
 - Original Message -
  From: Maurice James midnightst...@msn.com
  To: users@ovirt.org
  Sent: Friday, February 21, 2014 9:25:12 PM
  Subject: [Users] Permissions
  
  I have an LDAP user with Power User and Super User permissions at the
  Data Center level. Why dont I have permission to migrate disks between
  storage domains?
 
 Hi Maurice
 
 Can you elaborate please and attach a screen-shot of the error you got and
 the relevant engine.log
 
  
  oVirt Engine Version: 3.3.3-2.el6
  
  ___
  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: [Users] oVirt 3.5 planning

2014-02-24 Thread Maurice James
External authentication that does not require the use of Kerberos in the
environment :)

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Itamar Heim
Sent: Monday, February 24, 2014 11:59 AM
To: users@ovirt.org
Subject: [Users] oVirt 3.5 planning

with oVirt 3.4 getting close to GA with many many great features, time to
collect requests for 3.5...
___
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] Permissions

2014-02-24 Thread Maurice James
I will give that a try. I will add the user directly instead of the group to 
see if that makes a difference. To answer your question, yes I added the group 
that the users belong to. They can do other things like, create VMs and 
storage. The only thing that Ive found that they couldn’t do so far is migrate 
disks. For this set up im using oVirt Engine Version: 3.3.3-2.el6

-Original Message-
From: Yair Zaslavsky [mailto:yzasl...@redhat.com] 
Sent: Monday, February 24, 2014 8:56 PM
To: Maurice James
Cc: Eli Mesika; users@ovirt.org
Subject: Re: [Users] Permissions



- Original Message -
 From: Maurice James midnightst...@msn.com
 To: Eli Mesika emes...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, February 25, 2014 3:33:52 AM
 Subject: Re: [Users] Permissions
 
 I will have to get the logs to you tomorrow when I go to the office. 
 Until then,  I have a user group from AD with the Power User and 
 Super User
  permissions over the Data Center. They do not have permission to move 
 disks  between storage domains. Is this by design?

Maurice, quick question here - when you write they don't have permissions do 
you mean to users of the group? 
if so, are you using ovirt engine 3.4 beta2 or a development environment?

Perhaps the following bug has to do with what you're experiencing?

https://bugzilla.redhat.com/1065615


Yair

 
 
 -Original Message-
 From: Eli Mesika [mailto:emes...@redhat.com]
 Sent: Sunday, February 23, 2014 3:34 PM
 To: Maurice James
 Cc: users@ovirt.org
 Subject: Re: [Users] Permissions
 
 
 
 - Original Message -
  From: Maurice James midnightst...@msn.com
  To: users@ovirt.org
  Sent: Friday, February 21, 2014 9:25:12 PM
  Subject: [Users] Permissions
  
  I have an LDAP user with Power User and Super User permissions at 
  the Data Center level. Why dont I have permission to migrate disks 
  between storage domains?
 
 Hi Maurice
 
 Can you elaborate please and attach a screen-shot of the error you got 
 and the relevant engine.log
 
  
  oVirt Engine Version: 3.3.3-2.el6
  
  ___
  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: [Users] Creating oVirt users

2014-02-24 Thread Drew Showers
Great, thanks! This gives me a direction. I knew I was missing something
that I couldn't create an internal user.
Drew


On Mon, Feb 24, 2014 at 7:00 PM, Yair Zaslavsky yzasl...@redhat.com wrote:

 Hi Drew,
 In order to be able to add users, you will have to use the
 engine-manage-domains tool and setup a domain.
 a domain uses kerberos authentication and LDAP for authorization.
 engine-manage-domains supports several ldap vendors , among are - active
 directory, IPA, RHDS, openLdap.
 once will add a user at a given domain that will be used to authenticate
 during searching for users and groups.
 For example, if you have a domain named example.com, which is which has a
 machine a.example.com which co-hosts ldap server (IPA) + KDC, and the dns
 records for kerberos and ldap are properly set, and you will like to add
 user named myuser then you can use :
 engine-manage-domains add --user=myuser --domain=example.com--provider=IPA.
 if you want to be able to login with this user, and not just with the
 admin of of internal, please also specify --add-permissions

 Hope this helps,
 Yair


 - Original Message -
  From: Drew Showers d...@augurworks.com
  To: users@ovirt.org
  Sent: Tuesday, February 25, 2014 1:49:45 AM
  Subject: [Users] Creating oVirt users
 
  Hello,
 
  How do I create users? I see where to add users and create roles, but
 can't
  figure out how to get users on the add user list.
 
  Thanks in advance!
  Drew
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 

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


Re: [Users] oVirt 3.5 planning

2014-02-24 Thread Liviu Elama
ovirt-guest-tools-iso similar to rhev-guest-tools-iso and uploaded to ISO
domain by default



On Tue, Feb 25, 2014 at 2:55 PM, Maurice James midnightst...@msn.comwrote:

 External authentication that does not require the use of Kerberos in the
 environment :)

 -Original Message-
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf
 Of
 Itamar Heim
 Sent: Monday, February 24, 2014 11:59 AM
 To: users@ovirt.org
 Subject: [Users] oVirt 3.5 planning

 with oVirt 3.4 getting close to GA with many many great features, time to
 collect requests for 3.5...
 ___
 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: [Users] How to See Ovirt Console From a Remote Windows Host

2014-02-24 Thread Doron Fediuck


- Original Message -
 From: Jon Forrest nob...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, February 20, 2014 5:06:56 PM
 Subject: [Users] How to See Ovirt Console From a Remote Windows Host
 
 I know that this is simple for some of you, but I also
 know from Googling around that lots of people have had
 trouble seeing their ovirt console from a remote Windows
 host. Below I describe what finally worked for me. I hope
 this helps somebody avoid wasting as much time as I did
 today.
 
 I'm a fairly experienced VMWare user who's learning ovirt.
 I just installed an all-in-one ovirt server and copied a
 CentOS 6.5 iso into it. I then tried to boot a new VM
 but soon learned that console access is different in ovirt
 than on VMWare.
 
 I then spent over an hour trying the various documented
 ways to view a remote console using Spice on my Windows 7
 desktop. I even tried using a Linux VM to see if the Firefox
 plugin for Spice would work. Nothing.
 
 What finally worked was installing the virt-viewer Windows
 client (http://virt-manager.org/download/). Then, I opened
 the ovirt Administration Portal in Firefox running on my
 Windows 7 desktop. I created a new VM and configured it
 the way I wanted. Then, from the Virtual Machines tab, I started
 the new VM. Pretty soon the little console icon turned green so
 I clicked on it. I got the prompt from Firefox asking me what
 app I wanted to associate with the .vv URL that opened when
 I clicked on the console icon. I browsed around and selected
 
 \Program Files\VirtViewer\bin\remote-viewer.exe
 
 which is from the virt-viewer client package I installed above.
 I told Firefox to always use this app for this kind of file.
 
 This works great! I was able to boot the CentOS system and
 install it with no problems.
 
 Good luck!
 Jon Forrest

Thanks Jon for writing this.
It's always useful for folks seeking help.
Generally speaking, starting version 3.3 you should have HTML 5 support,
which means a new tab will open with the VM's console.
http://www.ovirt.org/Features/SpiceHTML5
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-24 Thread Ernest Beinrohr

Dn(a 25.02.2014 02:55, Maurice James wrote / napísal(a):

External authentication that does not require the use of Kerberos in the
environment :)


This has my vote too. And my axe.

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-24 Thread Latchezar Filtchev
I am also voting in favor of ovirt-guest-tools-iso.

Best,
Latcho

--
Latchezar FiltchevAmerican University 
in Bulgaria
Director Office of Communications   1 G.Izmirliev - Makednocheto sq.
and Computing  2700 Blagoevgrad
e-mail: lat...@aubg.bg Bulgaria
Direct: +359 (73) 888346
Assistant: +359 (73) 888333
Fax: +359 (73) 888188



From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Liviu Elama
Sent: Tuesday, February 25, 2014 4:34 AM
To: users@ovirt.org
Subject: Re: [Users] oVirt 3.5 planning

ovirt-guest-tools-iso similar to rhev-guest-tools-iso and uploaded to ISO 
domain by default

On Tue, Feb 25, 2014 at 2:55 PM, Maurice James 
midnightst...@msn.commailto:midnightst...@msn.com wrote:
External authentication that does not require the use of Kerberos in the
environment :)

-Original Message-
From: users-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.orgmailto:users-boun...@ovirt.org] On Behalf Of
Itamar Heim
Sent: Monday, February 24, 2014 11:59 AM
To: users@ovirt.orgmailto:users@ovirt.org
Subject: [Users] oVirt 3.5 planning

with oVirt 3.4 getting close to GA with many many great features, time to
collect requests for 3.5...
___
Users mailing list
Users@ovirt.orgmailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.orgmailto: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] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Ayal Baron
Michal, please see inline

- Original Message -
 - Original Message -
  From: R P Herrold herr...@owlriver.com
  To: Ricky Schneberger ri...@schneberger.se
  Cc: users@ovirt.org
  Sent: Monday, February 24, 2014 6:42:54 PM
  Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their
  activation against Microsoft
  
  On Mon, 24 Feb 2014, Ricky Schneberger wrote:
  
Why is the Windows VMs always lost their activation against Microsoft
after that I have upgrade ovirt?
   ...
   Yes I am sure its related to the upgrade.
   
   In the application log of the VM we can see  hardware has changed from
   previous boot and also we have a licensing system on another host that
   got in a stucked state because of the same reason - hardware has
   changed from previous boot.
  
  I see the following discussions ... changes in bios, or
  hardware device numbers, seem to trigger this
  
  (Citrix instances)
  http://support.citrix.com/article/CTX135542
  
  http://support.citrix.com/article/CTX132220/
  
  http://discussions.citrix.com/topic/313096-windows-activation-license-mak-used/#entry1674492
  
  http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-7-activation-always-come-back-after/b26f8338-ae51-44d1-a0d9-b3a71643548a
  
  So the issue may in some cases be avoided, but in others, will
  need oVirt attention to not changing values refered to by the
  licensing validation code.  Identifying all those test point
  valuess so they may be preserved, looks like something the
  upstream (commercial) vendor would not be very interesting in
  revealing as it would impact their revenue model, so it
  probably needs a set of 'reproducers' identified, and test
  cases written ...
 
 I think the best solution would be if Microsoft would send some patches :-)
 
 Ricky, would you open a bug so we can track this issue?

oVirt tries to keep stable device addresses (e.g. pci slot) specifically to 
prevent this issue.
The way it is done is that after running the VM we query libvirt for all the 
device addresses and on next run we provide libvirt with the same addresses to 
keep the devices from changing.
This feature was not available in 3.0 so I see 2 options here:
1. this VM was not started (or was running) since 3.0
2. introduction of new virtual hardware caused a change in the device addresses 
for some reason (bug).

Anyway, adding Michal who is more familiar with this part than I.


 
 Nir
 ___
 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] Opinions needed: 3 node gluster replica 3 | NFS async | snapshots for consistency

2014-02-24 Thread Ayal Baron


- Original Message -
 On 2/23/2014 3:20 PM, Ayal Baron wrote:
  - Original Message -
  On Sun, Feb 23, 2014 at 4:27 AM, Ayal Baron aba...@redhat.com wrote:
  - Original Message -
  I'm looking for some opinions on this configuration in an effort to
  increase
  write performance:
 
  3 storage nodes using glusterfs in replica 3, quorum.
  gluster doesn't support replica 3 yet, so I'm not sure how heavily I'd
  rely on this.
 
  Glusterfs or RHSS doesn't support rep 3? How could I create a quorum
  without 3+ hosts?
  glusterfs has the capability but it hasn't been widely tested with oVirt
  yet and we've already found a couple of issues there.
  afaiu gluster has the ability to define a tie breaker (a third node which
  is part of the quorum but does not provide a third replica of the data).
 
 I've been researching glusterfs for quite a while, and have had a 3 node
 replica up and running, but never heard of a tie breaker node.  Anywhere
 this is documented?  I could use something like that.

Deferring to Vijay who can give much more qualified answers on these matters.

 
 I will be testing a 3-node ovirt + gluster setup, hopefully yet this week.
 
  Ovirt storage domain via NFS
  why NFS and not gluster?
 
  Gluster via posix SD doesn't have any performance gains over NFS, maybe
  the
  opposite.
  gluster via posix is mounting it using the gluster fuse client which should
  provide better performance + availability than NFS.
 
  Gluster 'native' SD's are broken on EL6.5 so I have been unable to test
  performance. I have heard performance can be upwards of 3x NFS for raw
  write.
  Broken how?
 
  Gluster doesn't have an async write option, so its doubtful it will ever
  be
  close to NFS async speeds.
 
 
  Volume set nfs.trusted-sync on
  On Ovirt, taking snapshots often enough to recover from a storage crash
  Note that this would have negative write performance impact
 
  The difference between NFS sync (50MB/s) and async (300MB/s on 10g)
  write
  speeds should more than compensate for the performance hit of taking
  snapshots more often. And that's just raw speed. If we take into
  consideration IOPS (guest small writes) async is leaps and bounds ahead.
  I would test this, since qemu is already doing async I/O (using threads
  when native AIO is not supported) and oVirt runs it with cache=none
  (direct I/O) so sync ops should not happen that often (depends on guest).
  You may be still enjoying performance boost, but I've seen UPS systems
  fail before bringing down multiple nodes at once.
  In addition, if you do not guarantee your data is safe when you create a
  snapshot (and it doesn't seem like you are) then I see no reason to think
  your snapshots are any better off than latest state on disk.
 
 
  If we assume the site has backup UPS and generator power and we can build
  a
  highly available storage system with 3 nodes in quorum, are there any
  potential issues other than a write performance hit?
 
  The issue I thought might be most prevalent is if an ovirt host goes down
  and the VM's are automatically brought back up on another host, they could
  incur disk corruption and need to be brought back down and restored to the
  last snapshot state. This basically means the HA feature should be
  disabled.
  I'm not sure I understand what your concern is here, what would cause the
  data corruption? if your node crashed then there is no I/O in flight.  So
  starting up the VM should be perfectly safe.
 It seems to me that either the VM can start and clean up it's own disk, or it
 can't, same as a bare-metal computer after a crash.  I have not experienced
 any additional corruption opportunities.  I see no reason to not use the
 HA.  The worst that happens is that the boot hangs, you have to revert to a
 snapshot.  My experience (in bare metal and other virtualization
 environments) is that about 98% of the time the computer will reboot after an
 unclean shutdown (power failure or virtual equivalent).  I have done this to
 virtual machines more times than I want to admit.
 
 Maybe you need to tell us more about what you have in mind as far as
 corruption, so that we can either confirm or debunk your concerns.
 
  Even worse, if the gluster node with CTDB NFS IP goes down, it may not
  have
  written out and replicated to its peers.  -- I think I may have just
  answered my own question.
  If 'trusted-sync' means that the CTDB NFS node acks the I/O before it
  reached quorum then I'd say that's a gluster bug.  It should ack the I/O
  before data hits the disc, but it should not ack it before it has quorum.
  However, the configuration we feel comfortable using gluster is with both
  server and client quorum (gluster has 2 different configs and you need to
  configure both to work safely).
 Gluster does not replicate to its peers.  Gluster writes to all peers at
 the same time, as part of the original write process.  If quorum is on, the
 process either works or it 

Re: [Users] After upgrade of ovirt 3.3 all Windows vms lost their activation against Microsoft

2014-02-24 Thread Michal Skrivanek

On 25 Feb 2014, at 08:32, Ayal Baron wrote:

 Michal, please see inline
 
 - Original Message -
 - Original Message -
 From: R P Herrold herr...@owlriver.com
 To: Ricky Schneberger ri...@schneberger.se
 Cc: users@ovirt.org
 Sent: Monday, February 24, 2014 6:42:54 PM
 Subject: [Users] After upgrade of ovirt  3.3 all Windows vms lost their
 activation against Microsoft
 
 On Mon, 24 Feb 2014, Ricky Schneberger wrote:
 
 Why is the Windows VMs always lost their activation against Microsoft
 after that I have upgrade ovirt?
 ...
 Yes I am sure its related to the upgrade.

only upgrade, not a specific VM run? In other words it doesn't check the BIOS 
serial number since that's different on each hypervisor.

 
 In the application log of the VM we can see  hardware has changed from
 previous boot and also we have a licensing system on another host that
 got in a stucked state because of the same reason - hardware has
 changed from previous boot.
 
 I see the following discussions ... changes in bios, or
 hardware device numbers, seem to trigger this
 
 (Citrix instances)
 http://support.citrix.com/article/CTX135542
 
 http://support.citrix.com/article/CTX132220/
 
 http://discussions.citrix.com/topic/313096-windows-activation-license-mak-used/#entry1674492
 
 http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-7-activation-always-come-back-after/b26f8338-ae51-44d1-a0d9-b3a71643548a
 
 So the issue may in some cases be avoided, but in others, will
 need oVirt attention to not changing values refered to by the
 licensing validation code.  Identifying all those test point
 valuess so they may be preserved, looks like something the
 upstream (commercial) vendor would not be very interesting in
 revealing as it would impact their revenue model, so it
 probably needs a set of 'reproducers' identified, and test
 cases written ...
 
 I think the best solution would be if Microsoft would send some patches :-)
 
 Ricky, would you open a bug so we can track this issue?
 
 oVirt tries to keep stable device addresses (e.g. pci slot) specifically to 
 prevent this issue.
 The way it is done is that after running the VM we query libvirt for all the 
 device addresses and on next run we provide libvirt with the same addresses 
 to keep the devices from changing.
 This feature was not available in 3.0 so I see 2 options here:
 1. this VM was not started (or was running) since 3.0
 2. introduction of new virtual hardware caused a change in the device 
 addresses for some reason (bug).

in addition to stable PCI addresses, new QEMU/KVM release sometimes change the 
system hardware - emulated machine mode.
or if it is really subtle, it can also be triggered by new devices (e.g. 
balloon, virtio-console (used to be in 3.0, removed in 3.1, optional in 3.3)) 
or simple upgrade of virtio drivers

anyway, so what changes in devices you can see after upgrade? 

Thanks,
michal

 
 Anyway, adding Michal who is more familiar with this part than I.
 
 
 
 Nir
 ___
 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