Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Yair Zaslavsky


- Original Message -
 From: Sandvik Agustin agustinsand...@gmail.com
 To: users@ovirt.org
 Sent: Monday, January 5, 2015 8:47:30 PM
 Subject: Re: [ovirt-users] How can I add usernames in ovirt? i.e.,is 
 admin account
 
 Hi,
 
 
 Thanks guys for the quick reply and I really appreciate it, I'll look upon
 your suggestions right now. By the way, I forgot to mention that I'm
 using oVirt
 Engine Version: 3.5.0.1-1.el6. Thanks Again, I'll update you guys about my
 progress.

That should work (i.e - as long as you use version 3.5.x, we had the ability to 
add users at the past as well, but it would be better to use the path Alon 
suggested).
Regarding FreeIPA - depends on the amount of machines you have to spare, it is 
possible to set the FreeIPA server on a different machine (i.e, not have engine 
and FreeIPA co-hosted).
But as suggested before , 389ds works just fine.

Cheers,
Yair

 
 Thanks Again.
 
 On Tue, Jan 6, 2015 at 2:39 AM, Donny Davis do...@cloudspin.me wrote:
 
  Ensure you don't try to install freeipa to the manager machine, there will
  be conflicts.
 
  389ds works and is really easy to setup
 
  Regards
  DonnyOn Jan 5, 2015 11:36 AM, Donny Davis do...@cloudspin.me wrote:
  
   I did a write up on AAA LDAP.
  
   https://cloudspin.me/ovirt-simple-ldap-aaa/
  
   Hope its helpful
  
   DonnyOn Jan 5, 2015 11:26 AM, Alon Bar-Lev alo...@redhat.com wrote:
   
Hello,
   
For now you need to use somekind of LDAP with
  ovirt-engine-extension-ldap[1][2] package.
In future we will support database based repository.
   
Until someone from infra will have the time to publish the latest
  version of the package, please download it directly from here[3], please
  note that until engine-3.5.1 is out you will need to specify full path in
  config.profile.file.1 variable at authn and authz extension configuration.
   
Regards,
Alon
   
[1]
  http://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
[2] http://www.ovirt.org/Features/AAA
[3]
  http://jenkins.ovirt.org/job/ovirt-engine-extension-aaa-ldap_any_create-rpms_manual/6/
   
- Original Message -
 From: Sandvik Agustin agustinsand...@gmail.com
 To: users@ovirt.org
 Sent: Monday, January 5, 2015 8:14:27 PM
 Subject: [ovirt-users] How can I add usernames in ovirt? i.e., is
  admin account

 Hi guys,

 Good day, I just want to know if how can I add usernames in ovirt?
  i.e., is
 admin account is already exist and I want to create another account
  i.e.,
 users or clients account.


 TIA

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

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


Re: [ovirt-users] Affinity

2015-01-05 Thread Koen Vanoppen
Ok, Super! Big thanks for your help!

2015-01-05 15:28 GMT+01:00 Artyom Lukianov aluki...@redhat.com:

 If you want that each vm will run on different host, you can:
 1) just not pinned it to specific host(placement and migration options
 under vm properties)?
 2) create two clusters, each cluster will have hosts from different
 physical datacenters, and for each cluster administrate different set of
 vms.
 3) And in the end we have possibility to use external scheduler, so you
 can write your own python script, and use it as filter, weight or balance
 module for ovirt scheduler:
http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy
http://www.ovirt.org/External_Scheduler_Samples

You need to install package ovirt-scheduler-proxy and also enable it
 via engine-config -s ExternalSchedulerEnabled=True.
Also additional info you can find under cd
 /usr/share/doc/ovirt-scheduler-proxy*

 I hope it will help you.
 Thanks

 - Original Message -
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Doron Fediuck dfedi...@redhat.com, users@ovirt.org
 Sent: Monday, January 5, 2015 11:26:26 AM
 Subject: Re: [ovirt-users] Affinity

 Thanks for your reply. But I maybe explained it badly... All the 4
 hypervisors are in the same Datacenter on oVirt. But they are physically in
 a different datacenter.
 That is why I want to force them to run on a different hypervisor. IF 1
 physical datacenter would go down (electricity power failure or whatever)
 At least one VM will continue to run.

 2015-01-05 10:21 GMT+01:00 Doron Fediuck  dfedi...@redhat.com  :




 On 05/01/15 10:54, Koen Vanoppen wrote:



 Hi All,

 First of all, let me say a Happy New Year with all the best wishes!!

 Now, let's get down to business :-).

 I would lik eto implement the Affinity option in our datacenter.
 I already activated it, put the 2 vms in it and set in on negative so they
 won't run together on the same hypervisor. Now, the question...
 Is there a way I can force the VM's so they will run on a hypervisor that
 is not in the same datacenter? We have this;

 Hyp1 - Datacenter1
 Hyp2 - Datacenter2
 Hyp3 - Datacenter1
 Hyp4 - Datacenter2

 For the moment they run on a different Hypervisor, but they are in the
 same Datacenter. I can manually now move them to the other one, but I would
 like this that oVirt manages this...
 Is this possible...?

 Kind regards,

 Koen


 Hi Koen.

 VMs cannot move between data centers while still running.
 Just to provide some basic concepts in terms of hierarchy, we have:

 Data-Center1
 |
 |\ Cluster A
 | |
 | |\ Host (a)
 | |\ Host (b)
 |
 |\ Cluster B
 | |
 | |\ Host (c)
 | |\ Host (d)
 | |\ Host (e)

 Data-Center2
 |
 |\ Cluster A
 | |
 | |\ Host (f)
 |
 |\ Cluster B
 | |
 | |\ Host (g)
 | |\ Host (h)
 | |\ Host (i)

 As you can see, a host may be a part of a single cluster and a VM
 will run on one of the hosts. Live migration can be done between
 hosts of the same cluster. The only way to move VM between clusters
 and DCs are when the VM is down, in a manual way.

 So Affinity works in the cluster level, and the rules are valid for a
 specific cluster who currently owns the VM.
 In your case if Hyp1 and Hyp3 belong to the same cluster, the affinity
 rules will apply every time you start or migrate a VM. However, there's
 no rule which is valid for Datacenter1 and Datacenter2.

 HTH,
 Doron


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

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


Re: [ovirt-users] HostedEngine Deployment Woes

2015-01-05 Thread Jiri Moskovcak

On 01/02/2015 11:27 PM, Mikola Rose wrote:

Hi Didi,

Thank you for the response.

I have tried to do a fresh install (RH 6.6) and still ran into the same
problem.

[root@pws-hv15 rhiso]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
   Continuing will configure this host for serving as hypervisor
and create a VM where you have to install oVirt Engine afterwards.
   Are you sure you want to continue? (Yes, No)[Yes]:
   It has been detected that this program is executed through an
SSH connection without using screen.
   Continuing with the installation may lead to broken
installation if the network connection fails.
   It is highly recommended to abort the installation and run it
inside a screen session using command screen.
   Do you want to continue anyway? (Yes, No)[No]: yes
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
   Configuration files: []
   Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20150102134318-7ougjc.log
   Version: otopi-1.2.3 (otopi-1.2.3-1.el6ev)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Bridge rhevm already created
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization


   --== STORAGE CONFIGURATION ==--


   During customization use CTRL-D to abort.
   Please specify the storage you would like to use (nfs3,
nfs4)[nfs3]:
   Please specify the full shared storage connection path to use
(example: host:/path): 192.168.1.32:/Volumes/Raid1
[ INFO  ] Installing on first host
   Please provide storage domain name. [hosted_storage]:
   Local storage datacenter name is an internal name and
currently will not be shown in engine's admin UI.Please enter local
datacenter name [hosted_datacenter]:


   --== SYSTEM CONFIGURATION ==--



   --== NETWORK CONFIGURATION ==--


   iptables was detected on your computer, do you wish setup to
configure it? (Yes, No)[Yes]:
   Please indicate a pingable gateway IP address [192.168.0.3]:


   --== VM CONFIGURATION ==--


   Please specify the device to boot the VM from (cdrom, disk,
pxe) [cdrom]:
   The following CPU types are supported by this host:
- model_Westmere: Intel Westmere Family
- model_Nehalem: Intel Nehalem Family
- model_Penryn: Intel Penryn Family
- model_Conroe: Intel Conroe Family
   Please specify the CPU type to be used by the VM
[model_Westmere]:
   Please specify path to installation media you would like to
use [None]: /mnt/rhiso
   Please specify the number of virtual CPUs for the VM
[Defaults to minimum requirement: 2]:
   Please specify the disk size of the VM in GB [Defaults to
minimum requirement: 25]:
   You may specify a MAC address for the VM or accept a randomly
generated default [00:16:3e:02:7f:c4]:
   Please specify the memory size of the VM in MB [Defaults to
minimum requirement: 4096]:
   Please specify the console type you would like to use to
connect to the VM (vnc, spice) [vnc]:


   --== HOSTED ENGINE CONFIGURATION ==--


   Enter the name which will be used to identify this host
inside the Administrator Portal [hosted_engine_1]:
   Enter 'admin@internal' user password that will be used for
accessing the Administrator Portal:
   Confirm 'admin@internal' user password:
   Please provide the FQDN for the engine you would like to use.
   This needs to match the FQDN that you will use for the engine
installation within the VM.
   Note: This will be the FQDN of the VM you are now going to
create,
   it should not point to the base host or to any other existing
machine.
   Engine FQDN: powerhost1.power-soft.net
http://powerhost1.power-soft.net
   Please provide the name of the SMTP server through which we
will send notifications [localhost]:
   Please provide the TCP port number of the SMTP server [25]:
   Please provide the email address from which notifications
will be sent [root@localhost]:
   Please provide a comma-separated list of email addresses
which will get notifications [root@localhost]:
[ INFO  ] Stage: Setup validation


   --== CONFIGURATION PREVIEW ==--


   Engine FQDN:
powerhost1.power-soft.net http://powerhost1.power-soft.net
   Bridge name: rhevm
   SSH daemon port: 22
   Firewall manager   : iptables
   Gateway address: 192.168.0.3
   Host name for web application  : hosted_engine_1
   Host ID: 1
   Image size GB  : 25
   Storage connection : 

Re: [ovirt-users] HostedEngine Deployment Woes

2015-01-05 Thread Joop
On 5-1-2015 9:09, Jiri Moskovcak wrote:
 On 01/02/2015 11:27 PM, Mikola Rose wrote:
 Hi Didi,

 Thank you for the response.

 I have tried to do a fresh install (RH 6.6) and still ran into the same
 problem.

 [root@pws-hv15 rhiso]# hosted-engine --deploy
 [ INFO  ] Stage: Initializing
  
Please specify the storage you would like to use (nfs3,
 nfs4)[nfs3]:
Please specify the full shared storage connection path to use
 (example: host:/path): 192.168.1.32:/Volumes/Raid1
Are you deploying hosted-engine on a Synology NAS?
If so what is your /etc/exports looking because if you got the wrong
options it won't work.
This one is from my test setup at home using a Synology NAS with
hosted-engine on it and as you can see also the data/export and iso domains.

/volume1/nfs/data  
x.y.z.0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs/export
x.y.z.0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs/iso   
x.y.z./0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs_he
x.y.z.0/24(rw,async,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100)

Permissions on dirs/files on those shares are all 36:36, set from the
NAS side.

Joop


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


Re: [ovirt-users] Affinity

2015-01-05 Thread Koen Vanoppen
Ok, thanks. Can you give me some details/example of a filter for the ovirt
schedular?

Kind regards and thank you,

Koen

2015-01-05 10:44 GMT+01:00 Doron Fediuck dfedi...@redhat.com:


 On 05/01/15 11:26, Koen Vanoppen wrote:

  Thanks for your reply. But I maybe explained it badly... All the 4
 hypervisors are in the same Datacenter on oVirt. But they are physically in
 a different datacenter.
  That is why I want to force them to run on a different hypervisor. IF 1
 physical datacenter would go down (electricity power failure or whatever)
 At least one VM will continue to run.

 2015-01-05 10:21 GMT+01:00 Doron Fediuck dfedi...@redhat.com:


 On 05/01/15 10:54, Koen Vanoppen wrote:

  Hi All,

  First of all, let me say a Happy New Year with all the best wishes!!

  Now, let's get down to business :-).

  I would lik eto implement the Affinity option in our datacenter.
  I already activated it, put the 2 vms in it and set in on negative so
 they won't run together on the same hypervisor. Now, the question...
  Is there a way I can force the VM's so they will run on a hypervisor
 that is not in the same datacenter? We have this;

  Hyp1 - Datacenter1
  Hyp2 - Datacenter2
 Hyp3 - Datacenter1
 Hyp4 - Datacenter2

  For the moment they run on a different Hypervisor, but they are in the
 same Datacenter. I can manually now move them to the other one, but I would
 like this that oVirt manages this...
  Is this possible...?

  Kind regards,

 Koen


   Hi Koen.

 VMs cannot move between data centers while still running.
 Just to provide some basic concepts in terms of hierarchy, we have:

 Data-Center1
 |
 |\ Cluster A
 | |
 | |\ Host (a)
 | |\ Host (b)
 |
 |\ Cluster B
 | |
 | |\ Host (c)
 | |\ Host (d)
 | |\ Host (e)

 Data-Center2
 |
 |\ Cluster A
 | |
 | |\ Host (f)
 |
 |\ Cluster B
 | |
 | |\ Host (g)
 | |\ Host (h)
 | |\ Host (i)

 As you can see, a host may be a part of a single cluster and a VM
 will run on one of the hosts. Live migration can be done between
 hosts of the same cluster. The only way to move VM between clusters
 and DCs are when the VM is down, in a manual way.

 So Affinity works in the cluster level, and the rules are valid for a
 specific cluster who currently owns the VM.
 In your case if Hyp1 and Hyp3 belong to the same cluster, the affinity
 rules will apply every time you start or migrate a VM. However, there's
 no rule which is valid for Datacenter1 and Datacenter2.

 HTH,
 Doron



 Koen,
 this is clear now.
 Currently affinity applies to VMs only. For 3.6 we're planning pin to
 hosts
 which will allow you to pin VMs to a group of hosts, such as Datacenter1
 hosts
 in your case. Until 3.6 will be available (which will take a while), you
 can consider
 writing a filter module for the ovirt scheduler. Let me know if you need
 more
 details.

 Doron

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


Re: [ovirt-users] Problem wiht ovirt-node

2015-01-05 Thread Fabian Deutsch
Hey Chhristopher,

please see my inline replies.

- Original Message -
 Looks like that 12/22 ISO doesn't run the installer that I can tell.  I
 really haven't had any good luck with any of the recent ovirt-node stuff
 which is such a shame.  My last installation using the 3.5-pre ISO would
 install and then fail at grub/boot afterwards.  I'm not sure if I'm doing
 something wrong there, but I'm more or less taking all defaults in the
 install, so it is unexpected.

Can you give some details on the exact failure?

Besides that we know (and this is actually the reason why there is still no 
official
Node 3.5 release) that there are issues with a lot of hardware, due to changes 
to
udev, device-mapper, multipath, and kernel. And it took some time to really
identify and solve those issues with changes in our code.
Some recent patches (which landed just before and after christmas), are
addressing these issues.

We are currently in progress of giving this patches some wider testing,
but we are optimistic that these changes will address most of the hardware 
problems.

And we'll also do another scratch build to allow you to test those patches as 
well.

 I feel like enterprise-level virtualization relies upon having the minimal
 OS/install in order to match the other hypervisors.  I hate to think of
 just going to minimal CentOS/RHEL installs, but perhaps that's my best bet
 to get up and testing.
 
 What can the community do to help this along?  Perhaps requiring equivalent
 ovirt-node releases along with every release of ovirt may put the
 motivation behind it?  I'm willing to help test, however I can't put my
 original environment in a constant state of change, obviously.  I'm willing
 to build up some scenarios if that helps get to a
 stable/installable/functioning ovirt-node.  Those of us trying to prove
 this out vs. vmware/ESX need this.

There are many ways to help. Testing - like you did - are an important (but 
sometimes
painful) aspect, and I really appreciate that you continue to test!

So as mentioned above, there will be a new scratch build with more fixes 
related to
hardware support, and please watch this list for the link to the build.

That build will also pickup some recent hosted-engine fixes.

Thanks
fabian

 Chris
 
 On Mon, Dec 22, 2014 at 10:00 AM, Simone Tiraboschi stira...@redhat.com
 wrote:
 
 
 
  - Original Message -
   From: rino villadalm...@gmail.com
   To: Simone Tiraboschi stira...@redhat.com
   Cc: Users@ovirt.org List users@ovirt.org
   Sent: Monday, December 22, 2014 3:49:05 PM
   Subject: Re: [ovirt-users] Problem wiht ovirt-node
  
   Which is the correct iso to do hosted-engine from ovirt-node image ¿? and
   do not loose any data after reboot
  
   http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/
 
  ovirt-3.5-pre/ was for 3.5 beta so it's quite old.
  You can find the latest node build at
  http://jenkins.ovirt.org/job/ovirt-node-iso_master_merged/
  but it's just a nightly build and so it's still not that tested for
  production but you still can help us testing it.
 
  The general availability of 3.5.1 is due to the mid of January.
 
 
   On Mon, Dec 22, 2014 at 11:44 AM, rino villadalm...@gmail.com wrote:
  
but which version can i used with hosted-engine iso, because i want it
  in
production enviroment..
   
Regards
   
On Mon, Dec 22, 2014 at 11:31 AM, Simone Tiraboschi 
  stira...@redhat.com
wrote:
   
   
   
- Original Message -
 From: rino villadalm...@gmail.com
 To: Users@ovirt.org List users@ovirt.org
 Sent: Monday, December 22, 2014 3:14:36 PM
 Subject: [ovirt-users] Problem wiht ovirt-node

 I installed ovirt node with hosted-engine using pre-release
  ovirt-node
3.5
 iso.

 When i shutdown the ovirt-node from menu everything down ok, ( i
register it
 as node in vm ). When i turn on the server next day, ovirt-node
  come up
with
 no vm was installed ( i use other server as storage with nfs). Nfs
  is
 working fine i see all resource if i do showmount -e nfs.server.

 But if i try to do hosted-engine --vm-status or any command with
 hosted-engine it suggest me to do a new deploy, but i have all
enviroment
 configured en my engine.

 I need to configure two ovirt-node, and then move it to datacenter,
  but
after
 shutdown vm engine is not seen by ovirt-node.
   
It's a know bug, it was recently fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1151339
   
hosted-engine in 3.5.1 will include this fix. General availability
  it's
scheduled for 2015-01-14.
   
If you want to test it, you can try with a recent snapshot.
http://resources.ovirt.org/pub/yum-repo/ovirt-release35-snapshot.rpm
   
Feel free to add your self for oVirt 3.5.1 TestDay:
https://www.ovirt.org/Testing/oVirt_3.5.1_Testing
   
regards,
Simone
   
   
   
 Regards

 --
 ---
 Rondan Rino
 

Re: [ovirt-users] OVirt 3.5 node

2015-01-05 Thread Fabian Deutsch
- Original Message -
 Does the Node Building process located http://www.ovirt.org/Node_Building
 work to build a hypervisor for ovirt 3.5? Having some difficulty getting
 the ovirt 3.5-pre hypervisor images added to ovirt. Keep getting install
 failed

Hey Jason,

to know more details about that bug is really appreciated, but as far as I can 
tell
this is a known error, and we've got some patches (but no ISO yet) which 
address this
(and other installation) related problems.

Please watch out for a new scratch build in the next days.

Greetings
fabian

 Alternatively, does anyone have an EL7/EL6 kickstart for rolling your own
 they're willing to share?
 
 --
 Thanks,
 
 Jason E. Parks - 511855
 Linux System Administrator - RHCE, LPIC3
 Seagate Technology - U.S. Business Data Center
 http://www.seagate.com
 email : jason.e.pa...@seagate.com
 phone: +1(405) 324-3222
 
 WARNING: The information contained in this transmission may be privileged
 or confidential. It is intended only for the above-identified recipient(s).
 If you are not the intended recipient, please forward this transmission to
 the author and delete this transmission and all copies. Thank you.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Override hostname novnc

2015-01-05 Thread Alon Bar-Lev

The following command should be helpful:

engine-config -s WebSocketProxy=host

- Original Message -
 From: Johan Kooijman m...@johankooijman.com
 To: users users@ovirt.org
 Sent: Monday, January 5, 2015 10:59:40 AM
 Subject: [ovirt-users] Override hostname novnc
 
 Hey all,
 
 Is there a way to override the host parameter that novnc uses in it's URL? It
 now tries to use it's internal hostname (private LAN), while we also like to
 connect over the internet:
 
 https://ovirt.domain.com/ovirt-engine/services/novnc-main.html?host=engine.ovirt.gs.domain.lanport=6100
 
 --
 Met vriendelijke groeten / With kind regards,
 Johan Kooijman
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Affinity

2015-01-05 Thread Koen Vanoppen
Hi All,

First of all, let me say a Happy New Year with all the best wishes!!

Now, let's get down to business :-).

I would lik eto implement the Affinity option in our datacenter.
I already activated it, put the 2 vms in it and set in on negative so they
won't run together on the same hypervisor. Now, the question...
Is there a way I can force the VM's so they will run on a hypervisor that
is not in the same datacenter? We have this;

Hyp1 - Datacenter1
Hyp2 - Datacenter2
Hyp3 - Datacenter1
Hyp4 - Datacenter2

For the moment they run on a different Hypervisor, but they are in the same
Datacenter. I can manually now move them to the other one, but I would like
this that oVirt manages this...
Is this possible...?

Kind regards,

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


[ovirt-users] Override hostname novnc

2015-01-05 Thread Johan Kooijman
Hey all,

Is there a way to override the host parameter that novnc uses in it's URL?
It now tries to use it's internal hostname (private LAN), while we also
like to connect over the internet:

https://ovirt.domain.com/ovirt-engine/services/novnc-main.html?host=engine.ovirt.gs.domain.lanport=6100

-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Affinity

2015-01-05 Thread Doron Fediuck

On 05/01/15 10:54, Koen Vanoppen wrote:
 Hi All,

 First of all, let me say a Happy New Year with all the best wishes!!

 Now, let's get down to business :-).

 I would lik eto implement the Affinity option in our datacenter.
 I already activated it, put the 2 vms in it and set in on negative so
 they won't run together on the same hypervisor. Now, the question...
 Is there a way I can force the VM's so they will run on a hypervisor
 that is not in the same datacenter? We have this;

 Hyp1 - Datacenter1
 Hyp2 - Datacenter2
 Hyp3 - Datacenter1
 Hyp4 - Datacenter2

 For the moment they run on a different Hypervisor, but they are in the
 same Datacenter. I can manually now move them to the other one, but I
 would like this that oVirt manages this...
 Is this possible...?

 Kind regards,

 Koen


Hi Koen.

VMs cannot move between data centers while still running.
Just to provide some basic concepts in terms of hierarchy, we have:

Data-Center1
|
|\ Cluster A
| |
| |\ Host (a)
| |\ Host (b)
|
|\ Cluster B
| |
| |\ Host (c)
| |\ Host (d)
| |\ Host (e)

Data-Center2
|
|\ Cluster A
| |
| |\ Host (f)
|
|\ Cluster B
| |
| |\ Host (g)
| |\ Host (h)
| |\ Host (i)

As you can see, a host may be a part of a single cluster and a VM
will run on one of the hosts. Live migration can be done between
hosts of the same cluster. The only way to move VM between clusters
and DCs are when the VM is down, in a manual way.

So Affinity works in the cluster level, and the rules are valid for a
specific cluster who currently owns the VM.
In your case if Hyp1 and Hyp3 belong to the same cluster, the affinity
rules will apply every time you start or migrate a VM. However, there's
no rule which is valid for Datacenter1 and Datacenter2.

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


Re: [ovirt-users] Affinity

2015-01-05 Thread Koen Vanoppen
Thanks for your reply. But I maybe explained it badly... All the 4
hypervisors are in the same Datacenter on oVirt. But they are physically in
a different datacenter.
That is why I want to force them to run on a different hypervisor. IF 1
physical datacenter would go down (electricity power failure or whatever)
At least one VM will continue to run.

2015-01-05 10:21 GMT+01:00 Doron Fediuck dfedi...@redhat.com:


 On 05/01/15 10:54, Koen Vanoppen wrote:

  Hi All,

  First of all, let me say a Happy New Year with all the best wishes!!

  Now, let's get down to business :-).

  I would lik eto implement the Affinity option in our datacenter.
  I already activated it, put the 2 vms in it and set in on negative so
 they won't run together on the same hypervisor. Now, the question...
  Is there a way I can force the VM's so they will run on a hypervisor that
 is not in the same datacenter? We have this;

  Hyp1 - Datacenter1
  Hyp2 - Datacenter2
 Hyp3 - Datacenter1
 Hyp4 - Datacenter2

  For the moment they run on a different Hypervisor, but they are in the
 same Datacenter. I can manually now move them to the other one, but I would
 like this that oVirt manages this...
  Is this possible...?

  Kind regards,

 Koen


  Hi Koen.

 VMs cannot move between data centers while still running.
 Just to provide some basic concepts in terms of hierarchy, we have:

 Data-Center1
 |
 |\ Cluster A
 | |
 | |\ Host (a)
 | |\ Host (b)
 |
 |\ Cluster B
 | |
 | |\ Host (c)
 | |\ Host (d)
 | |\ Host (e)

 Data-Center2
 |
 |\ Cluster A
 | |
 | |\ Host (f)
 |
 |\ Cluster B
 | |
 | |\ Host (g)
 | |\ Host (h)
 | |\ Host (i)

 As you can see, a host may be a part of a single cluster and a VM
 will run on one of the hosts. Live migration can be done between
 hosts of the same cluster. The only way to move VM between clusters
 and DCs are when the VM is down, in a manual way.

 So Affinity works in the cluster level, and the rules are valid for a
 specific cluster who currently owns the VM.
 In your case if Hyp1 and Hyp3 belong to the same cluster, the affinity
 rules will apply every time you start or migrate a VM. However, there's
 no rule which is valid for Datacenter1 and Datacenter2.

 HTH,
 Doron

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


Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2015-01-05 Thread Tomas Jelinek
Hi iordan,

sorry for the long response time - it was Christmas... ;)

As I see in the 
https://github.com/iiordanov/remote-desktop-clients/blob/master/eclipse_projects/bVNC/AndroidManifest.xml
 
the bVNC already has the support for calling it from outside using the intent 
mechanism but I don't understand how about aSPICE.
As I understand, aSPICE is based on bVNC but I don't understand how exactly do 
they relate. Does it use the same Manifest just renamed? What is the mimeType 
than?
If you could point me to a bit of documentation it would be great.

About calling aSPICE and bVNC from outside using the .vv file - as I understand 
it is not supported for now, right? For us it does not make too big difference 
if you support the data using URI or .vv file - even the .vv may be preferred, 
but we will survive URI as well.

One more question - does aSPICE support spice proxy?

Thank you,
Tomas

- Original Message -
 From: i iordanov iiorda...@gmail.com
 To: users users@ovirt.org, de...@ovirt.org
 Cc: Sphoorti Joglekar sphoorti.jogle...@gmail.com
 Sent: Thursday, December 25, 2014 11:19:58 PM
 Subject: Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
 
 Hey guys,
 
 Thanks for remembering about Opaque. For those who are not familiar
 with the project, it is an oVirt/RHEV graphics console client which
 supports the SPICE protocol so far. It uses libgovirt to connect to
 the oVirt/RHEV API. I also created a separate pure SPICE client
 (called aSPICE) for Android based on libspice.
 
 It would be nice if I got more feedback from Red Hat developers, but
 you guys are probably as busy as I am :). The app is getting attention
 on Google Play and people are using it successfully for their
 installations, it seems.
 
 I have plans to add the following features to Opaque, time permitting:
 
 - Ability to edit default settings, so that people who connect with
 console.vv file will be able to configure Audio, keyboard layout, etc.
 - The ability to allocate VMs from a pool.
 - The ability to control Audio Playback and Recording separately.
 
 I don't think Opaque needs to get portal-management functionality.
 
 I was contacted by an intern working on movirt (Sphoorti Joglekar,
 cc-ed), asking whether I would be willing to support a URI Intent
 scheme that movirt can use to launch aSPICE. I think I already have a
 pretty well specified URI scheme that may work for the purpose, so
 we'll see how that goes. I am wondering whether it wouldn't be better
 to launch aSPICE or Opaque with a console.vv file instead, though. I
 guess the developers of movirt will have to consider both options.
 
 At any rate, Opaque is far from dead. I'm security supporting it, I
 just don't find a lot of time to work on additional features.
 
 I am cc-ing Brian Proffitt, because at one point we discussed setting
 up Opaque as a sub-project of oVirt. I don't know whether there is any
 interest for that in Red Hat, or any interest at all in supporting
 mobile clients for oVirt/RHEV, etc. It would be nice to hear an
 official stance on the topic.
 
 Thanks!
 iordan
 
 On Tue, Nov 4, 2014 at 10:17 AM, David Jaša dj...@redhat.com wrote:
  The app in Google may be half year old but there is a movement in git
  [1] and the author recently called for testing or comments on
  spice-devel ML.
 
  David
 
  [1]
  https://github.com/iiordanov/remote-desktop-clients/tree/master/eclipse_projects/Opaque
 
 
  On Pá, 2014-10-31 at 07:56 +0100, Gianluca Cecchi wrote:
  On Fri, Oct 31, 2014 at 7:03 AM, Yair Zaslavsky yzasl...@redhat.com
  wrote:
 
 
  - Original Message -
   From: Greg Sheremeta gsher...@redhat.com
   To: users users@ovirt.org, de...@ovirt.org
   Sent: Friday, October 31, 2014 3:49:11 AM
   Subject: [ovirt-devel] [RFC] oVirt mobile client
  
   Hi,
  
   The focus of our OPW internship program starting in December
  will be
   mobile and/or lightweight engine clients -- hopefully
  integrating the
   new ovirt.js project.
 
  +100
 
 
  [snip]
 
  
   I see that there are some already existing mobile clients
  for oVirt.
   I'm trying to grasp what we have and what the needs are.
 
  
   That's all I see on the first few pages of google.
  
 
 
  There was also project from Iordanov about spice/oVirt support on
  android..
  See:
  http://lists.ovirt.org/pipermail/users/2013-December/018434.html
 
 
  Some days ago it seems he go also support international keyboard
  layout support:
 
  
  I finally got some time to back-port the international keyboard layout
  support from the Android Ovirt client Opaque into the SPICE client
  aSPICE
  
 
 
  I made same preliminary tests at the end of 2013 but I was not able to
  connect to oVirt...
  I don't know actually how it went ahead... the Google channel seems
  stopped since February...
 
 
  Gianluca
  

Re: [ovirt-users] Affinity

2015-01-05 Thread Artyom Lukianov
If you want that each vm will run on different host, you can:
1) just not pinned it to specific host(placement and migration options under vm 
properties)?
2) create two clusters, each cluster will have hosts from different physical 
datacenters, and for each cluster administrate different set of vms.
3) And in the end we have possibility to use external scheduler, so you can 
write your own python script, and use it as filter, weight or balance module 
for ovirt scheduler:
   http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy
   http://www.ovirt.org/External_Scheduler_Samples 

   You need to install package ovirt-scheduler-proxy and also enable it via 
engine-config -s ExternalSchedulerEnabled=True.
   Also additional info you can find under cd 
/usr/share/doc/ovirt-scheduler-proxy*

I hope it will help you.
Thanks

- Original Message -
From: Koen Vanoppen vanoppen.k...@gmail.com
To: Doron Fediuck dfedi...@redhat.com, users@ovirt.org
Sent: Monday, January 5, 2015 11:26:26 AM
Subject: Re: [ovirt-users] Affinity

Thanks for your reply. But I maybe explained it badly... All the 4 hypervisors 
are in the same Datacenter on oVirt. But they are physically in a different 
datacenter. 
That is why I want to force them to run on a different hypervisor. IF 1 
physical datacenter would go down (electricity power failure or whatever) At 
least one VM will continue to run. 

2015-01-05 10:21 GMT+01:00 Doron Fediuck  dfedi...@redhat.com  : 




On 05/01/15 10:54, Koen Vanoppen wrote: 



Hi All, 

First of all, let me say a Happy New Year with all the best wishes!! 

Now, let's get down to business :-). 

I would lik eto implement the Affinity option in our datacenter. 
I already activated it, put the 2 vms in it and set in on negative so they 
won't run together on the same hypervisor. Now, the question... 
Is there a way I can force the VM's so they will run on a hypervisor that is 
not in the same datacenter? We have this; 

Hyp1 - Datacenter1 
Hyp2 - Datacenter2 
Hyp3 - Datacenter1 
Hyp4 - Datacenter2 

For the moment they run on a different Hypervisor, but they are in the same 
Datacenter. I can manually now move them to the other one, but I would like 
this that oVirt manages this... 
Is this possible...? 

Kind regards, 

Koen 


Hi Koen. 

VMs cannot move between data centers while still running. 
Just to provide some basic concepts in terms of hierarchy, we have: 

Data-Center1 
| 
|\ Cluster A 
| | 
| |\ Host (a) 
| |\ Host (b) 
| 
|\ Cluster B 
| | 
| |\ Host (c) 
| |\ Host (d) 
| |\ Host (e) 

Data-Center2 
| 
|\ Cluster A 
| | 
| |\ Host (f) 
| 
|\ Cluster B 
| | 
| |\ Host (g) 
| |\ Host (h) 
| |\ Host (i) 

As you can see, a host may be a part of a single cluster and a VM 
will run on one of the hosts. Live migration can be done between 
hosts of the same cluster. The only way to move VM between clusters 
and DCs are when the VM is down, in a manual way. 

So Affinity works in the cluster level, and the rules are valid for a 
specific cluster who currently owns the VM. 
In your case if Hyp1 and Hyp3 belong to the same cluster, the affinity 
rules will apply every time you start or migrate a VM. However, there's 
no rule which is valid for Datacenter1 and Datacenter2. 

HTH, 
Doron 


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


Re: [ovirt-users] ERROR 'no free file handlers in pool' while creating VM from template

2015-01-05 Thread Tiemen Ruiten
Hello,

I just tried creating a thin-provisioned disk and the same problem (load
spike, non responsive VMs) occurred. I may have an idea what is going wrong
now. The following is an excerpt from the engine log after starting the
disk create job:

2015-01-05 15:12:14,277 ERROR [org.ovirt.engine.core.bll.SearchQuery]
(ajp--127.0.0.1-8702-1) Query SearchQuery failed. Exception message is
StatementCallback; bad SQL grammar [SELECT * FROM (SELECT * FROM
vds_groups_view WHERE ( vds_group_id IN (SELECT distinct
vds_groups_storage_domain.vds_group_id FROM  vds_groups_storage_domain
LEFT OUTER JOIN storage_pool_with_storage_domain ON
vds_groups_storage_domain.storage_pool_id=
storage_pool_with_storage_domain.idWHERE
storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
org.postgresql.util.PSQLException: The column name disk_storage_type was
not found in this ResultSet. :
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL
grammar [SELECT * FROM (SELECT * FROM vds_groups_view WHERE ( vds_group_id
IN (SELECT distinct vds_groups_storage_domain.vds_group_id FROM
 vds_groups_storage_domain   LEFT OUTER JOIN
storage_pool_with_storage_domain ON
vds_groups_storage_domain.storage_pool_id=
storage_pool_with_storage_domain.idWHERE
storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
org.postgresql.util.PSQLException: The column name disk_storage_type was
not found in this ResultSet.:
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL
grammar [SELECT * FROM (SELECT * FROM vds_groups_view WHERE ( vds_group_id
IN (SELECT distinct vds_groups_storage_domain.vds_group_id FROM
 vds_groups_storage_domain   LEFT OUTER JOIN
storage_pool_with_storage_domain ON
vds_groups_storage_domain.storage_pool_id=
storage_pool_with_storage_domain.idWHERE
storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
org.postgresql.util.PSQLException: The column name disk_storage_type was
not found in this ResultSet.

This cluster happens to be a oVirt 3.4 cluster, while the engine is 3.5.
There's also a 3.5 cluster managed by the same engine. Could this be
related to this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1145241?



On 17 December 2014 at 12:34, Yeela Kaplan ykap...@redhat.com wrote:

 Just another thought,
 from looking at the vdsm logs it looks like there are too many calls to
 getVolumeSize that are eating up all handlers
 and eventually a timeout occurs.
 Adam, do you have any idea about this?

 - Original Message -
  From: Yeela Kaplan ykap...@redhat.com
  To: Tiemen Ruiten t.rui...@rdmedia.com
  Cc: Users@ovirt.org users@ovirt.org
  Sent: Wednesday, December 17, 2014 1:30:52 PM
  Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool' while
 creating VM from template
 
 
 
  - Original Message -
   From: Tiemen Ruiten t.rui...@rdmedia.com
   To: Yeela Kaplan ykap...@redhat.com
   Cc: Users@ovirt.org users@ovirt.org
   Sent: Wednesday, December 17, 2014 1:22:59 PM
   Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool' while
   creating VM from template
  
   Thank you, I will try to increase to 20 and see what happens. Bug is
 filed:
   https://bugzilla.redhat.com/show_bug.cgi?id=1175255
 
  Thank you
  and I forgot to mention that you have to restart vdsmd so the change will
  apply...
 
 
  
   On 17 December 2014 at 11:48, Yeela Kaplan ykap...@redhat.com wrote:
   
Hi,
You are right, the problem is with the file handlers.
You can increase the number of handlers in pool using the vdsm config
file, which is supposed to be under the following directory in your
system:
   
/usr/lib/python2.6/site-packages/vdsm/config.py
   
The default value for 'process_pool_max_slots_per_domain' is 10, so
 you
can increase it by a bit, but not too much.
   
But I suspect the problem is in a larger scale, and this is only a
temporary relief for your system and this needs much more attention
 and a
proper fix.
could you please open a bug on RHEV/vdsm in bugzilla stating all of
 the
details of your setup and logs?
   
thanks,
Yeela
   
- Original Message -
 From: Tiemen Ruiten t.rui...@rdmedia.com
 To: Users@ovirt.org users@ovirt.org
 Sent: Wednesday, December 17, 2014 10:53:39 AM
 Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool'
 while
creating VM from template

 Would this be limits for the vdsm process? Then what is the proper
 way
 to
 change ulimits for VDSM?

 On 16 December 2014 at 20:45, Donny Davis  do...@cloudspin.me 
 wrote:




 The only thing I can think of would be file hard and soft limits,
 but I
am no
 oVirt pro.



 'no free file 

Re: [ovirt-users] ERROR 'no free file handlers in pool' while creating VM from template

2015-01-05 Thread Tiemen Ruiten
Sorry, to be clear: no default disk policy exists for the 3.4 cluster
storage domain.

On 5 January 2015 at 15:45, Tiemen Ruiten t.rui...@rdmedia.com wrote:

 Hello,

 I just tried creating a thin-provisioned disk and the same problem (load
 spike, non responsive VMs) occurred. I may have an idea what is going wrong
 now. The following is an excerpt from the engine log after starting the
 disk create job:

 2015-01-05 15:12:14,277 ERROR [org.ovirt.engine.core.bll.SearchQuery]
 (ajp--127.0.0.1-8702-1) Query SearchQuery failed. Exception message is
 StatementCallback; bad SQL grammar [SELECT * FROM (SELECT * FROM
 vds_groups_view WHERE ( vds_group_id IN (SELECT distinct
 vds_groups_storage_domain.vds_group_id FROM  vds_groups_storage_domain
 LEFT OUTER JOIN storage_pool_with_storage_domain ON
 vds_groups_storage_domain.storage_pool_id=
 storage_pool_with_storage_domain.idWHERE
 storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
 name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
 org.postgresql.util.PSQLException: The column name disk_storage_type was
 not found in this ResultSet. :
 org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL
 grammar [SELECT * FROM (SELECT * FROM vds_groups_view WHERE ( vds_group_id
 IN (SELECT distinct vds_groups_storage_domain.vds_group_id FROM
  vds_groups_storage_domain   LEFT OUTER JOIN
 storage_pool_with_storage_domain ON
 vds_groups_storage_domain.storage_pool_id=
 storage_pool_with_storage_domain.idWHERE
 storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
 name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
 org.postgresql.util.PSQLException: The column name disk_storage_type was
 not found in this ResultSet.:
 org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL
 grammar [SELECT * FROM (SELECT * FROM vds_groups_view WHERE ( vds_group_id
 IN (SELECT distinct vds_groups_storage_domain.vds_group_id FROM
  vds_groups_storage_domain   LEFT OUTER JOIN
 storage_pool_with_storage_domain ON
 vds_groups_storage_domain.storage_pool_id=
 storage_pool_with_storage_domain.idWHERE
 storage_pool_with_storage_domain.name LIKE 'XS4ALL-Strozzi' ))  ORDER BY
 name ASC) as T1 OFFSET (1 -1) LIMIT 100]; nested exception is
 org.postgresql.util.PSQLException: The column name disk_storage_type was
 not found in this ResultSet.

 This cluster happens to be a oVirt 3.4 cluster, while the engine is 3.5.
 There's also a 3.5 cluster managed by the same engine. Could this be
 related to this BZ https://bugzilla.redhat.com/show_bug.cgi?id=1145241?



 On 17 December 2014 at 12:34, Yeela Kaplan ykap...@redhat.com wrote:

 Just another thought,
 from looking at the vdsm logs it looks like there are too many calls to
 getVolumeSize that are eating up all handlers
 and eventually a timeout occurs.
 Adam, do you have any idea about this?

 - Original Message -
  From: Yeela Kaplan ykap...@redhat.com
  To: Tiemen Ruiten t.rui...@rdmedia.com
  Cc: Users@ovirt.org users@ovirt.org
  Sent: Wednesday, December 17, 2014 1:30:52 PM
  Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool' while
 creating VM from template
 
 
 
  - Original Message -
   From: Tiemen Ruiten t.rui...@rdmedia.com
   To: Yeela Kaplan ykap...@redhat.com
   Cc: Users@ovirt.org users@ovirt.org
   Sent: Wednesday, December 17, 2014 1:22:59 PM
   Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool' while
   creating VM from template
  
   Thank you, I will try to increase to 20 and see what happens. Bug is
 filed:
   https://bugzilla.redhat.com/show_bug.cgi?id=1175255
 
  Thank you
  and I forgot to mention that you have to restart vdsmd so the change
 will
  apply...
 
 
  
   On 17 December 2014 at 11:48, Yeela Kaplan ykap...@redhat.com
 wrote:
   
Hi,
You are right, the problem is with the file handlers.
You can increase the number of handlers in pool using the vdsm
 config
file, which is supposed to be under the following directory in your
system:
   
/usr/lib/python2.6/site-packages/vdsm/config.py
   
The default value for 'process_pool_max_slots_per_domain' is 10, so
 you
can increase it by a bit, but not too much.
   
But I suspect the problem is in a larger scale, and this is only a
temporary relief for your system and this needs much more attention
 and a
proper fix.
could you please open a bug on RHEV/vdsm in bugzilla stating all of
 the
details of your setup and logs?
   
thanks,
Yeela
   
- Original Message -
 From: Tiemen Ruiten t.rui...@rdmedia.com
 To: Users@ovirt.org users@ovirt.org
 Sent: Wednesday, December 17, 2014 10:53:39 AM
 Subject: Re: [ovirt-users] ERROR 'no free file handlers in pool'
 while
creating VM from template

 Would this be limits for the vdsm process? Then what is the
 proper way
 to
 change ulimits for VDSM?

 On 16 December 2014 at 

Re: [ovirt-users] engine-iso-uploader unexpected behaviour (steve a)

2015-01-05 Thread Steve Atkinson
Excellent. Confirmed, this fixes the bug and fails with a more descriptive
error.

Steve Atkinson
Director, Network Ops
Telvue Corporation
satkin...@telvue.com
O: 800 885 8886 x240
C: 856 938 9125

On Thu, Jan 1, 2015 at 3:52 AM, Yedidyah Bar David d...@redhat.com wrote:

 - Original Message -
  From: Yedidyah Bar David d...@redhat.com
  To: Steve Atkinson satkin...@telvue.com
  Cc: users@ovirt.org
  Sent: Wednesday, December 31, 2014 11:59:57 PM
  Subject: Re: [ovirt-users] engine-iso-uploader unexpected behaviour
 (steve a)
 
  - Original Message -
   From: Steve Atkinson satkin...@telvue.com
   To: Yedidyah Bar David d...@redhat.com
   Cc: users@ovirt.org
   Sent: Wednesday, December 31, 2014 11:18:39 PM
   Subject: Re: [ovirt-users] engine-iso-uploader unexpected behaviour
 (steve
   a)
  
   in our case our nas doesn't support scp but that no fault of the the
   manager.
  
   I was mentioning more specifically that the --nfs-server method seemed
 to
   throw an error on an undefined attribute 'domaintype' that is not
 something
   that can be supplied in the config file or passed as an argument. the
 out
   put from the the debug is further up in my first email.
 
  Sorry.
 
  You wrote:
   Alternatively, using engine-iso-uploader --nfs-server=[path] upload
 [iso]
   --verbose returns the following error:
  
   ERROR: local variable 'domain_type' referenced before assignment
   INFO: Use the -h option to see usage.
   DEBUG: Configuration:
   DEBUG: command: upload
   DEBUG: Traceback (most recent call last):
   DEBUG: File /usr/bin/engine-iso-uploader, line 1440, in module
   DEBUG: isoup = ISOUploader(conf)
   DEBUG: File /usr/bin/engine-iso-uploader, line 455, in __init__
   DEBUG: self.upload_to_storage_domain()
   DEBUG: File /usr/bin/engine-iso-uploader, line 1089, in
   upload_to_storage_domain
   DEBUG: elif domain_type in ('localfs', ):
   DEBUG: UnboundLocalError: local variable 'domain_type' referenced
 before
   assignment
 
  That's indeed a bug. Now pushed a one-line fix [1]. If you can, please
  try and it report. Thanks!
 
  [1] http://gerrit.ovirt.org/36499

 It will fail for you, though - it simply tries to mount directly, and as
 you
 said, your engine can't access your storage network. But hopefully fail
 with
 some nicer error message.

 Best,
 --
 Didi

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


Re: [ovirt-users] VM failover with ovirt3.5

2015-01-05 Thread Yue, Cong
I collected the agent.log and vdsm.log in 2 cases.

Case1 HE VM failover trail
What I did
1, make all host be engine up
2, set host1 be with local maintenance mode. In host1, there is HE VM.
3, Then HE VM is trying to migrate, but finally it fails. This can be found 
from agent.log_hosted_engine_1
As for the log is very large, I uploaded into google dirve. The link is as
https://drive.google.com/drive/#folders/0B9Pi5vvimKTdNU82bWVpZDhDQmM/0B9Pi5vvimKTdRGJhUXUwejNGRHc
The logs are for 3 hosts in my environment.

Case2 non-HE VM failover trail
1, make all host be engine up
2,set host2 be with local maintenance mode. In host3, there is one vm with ha 
enabled. Also for the cluster, Enable HA reservation and Resilience policy is 
set as migrating virtual machines
3,But the vm on the top of host3 does not migrate at all.
The logs are uploaded to good drive as
https://drive.google.com/drive/#folders/0B9Pi5vvimKTdNU82bWVpZDhDQmM/0B9Pi5vvimKTdd3MzTXZBbmxpNmc


Thanks,
Cong




-Original Message-
From: Artyom Lukianov [mailto:aluki...@redhat.com]
Sent: Sunday, January 04, 2015 3:22 AM
To: Yue, Cong
Cc: cong yue; stira...@redhat.com; users@ovirt.org
Subject: Re: [ovirt-users] VM failover with ovirt3.5

Can you provide vdsm logs:
1) for HE vm case
2) for not HE vm case
Thanks

- Original Message -
From: Cong Yue cong_...@alliedtelesis.com
To: Artyom Lukianov aluki...@redhat.com
Cc: cong yue yuecong1...@gmail.com, stira...@redhat.com, users@ovirt.org
Sent: Thursday, January 1, 2015 2:32:18 AM
Subject: Re: [ovirt-users] VM failover with ovirt3.5

Thanks for the advice. I applied the patch for clientIF.py as
- port = config.getint('addresses', 'management_port')
+ port = config.get('addresses', 'management_port')

Now there is no fatal error in beam.log, also migration can start to happen 
when I set the host where HE VM is to be local maintenance mode. But it finally 
fail with the following log. Also HE VM can not be done with live migration in 
my environment.

MainThread::INFO::2014-12-31
19:08:06,197::states::759::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume)
Continuing to monitor migration
MainThread::INFO::2014-12-31
19:08:06,430::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
Current state EngineMigratingAway (score: 2000)
MainThread::INFO::2014-12-31
19:08:06,430::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
Best remote host 10.0.0.93 (id: 2, score: 2400)
MainThread::ERROR::2014-12-31
19:08:16,490::hosted_engine::867::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitor_migration)
Failed to migrate
Traceback (most recent call last):
 File 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py,
line 863, in _monitor_migration
   vm_id,
 File 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/vds_client.py,
line 85, in run_vds_client_cmd
   response['status']['message'])
DetailedError: Error 47 from migrateStatus: Migration canceled
MainThread::INFO::2014-12-31
19:08:16,501::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
Trying: notify time=1420070896.5 type=state_transition
detail=EngineMigratingAway-ReinitializeFSM hostname='compute2-3'
MainThread::INFO::2014-12-31
19:08:16,502::brokerlink::120::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
Success, was notification of state_transition
(EngineMigratingAway-ReinitializeFSM) sent? ignored
MainThread::INFO::2014-12-31
19:08:16,805::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
Current state ReinitializeFSM (score: 0)
MainThread::INFO::2014-12-31
19:08:16,805::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
Best remote host 10.0.0.93 (id: 2, score: 2400)

Besides, I had a try for other VMs instead of HE VM, but the failover( also no 
start to try migrating) happen. I set HA for those VMs. Is there some log I can 
check for this?

Please kindly advise.

Thanks,
Cong


 On 2014/12/31, at 0:14, Artyom Lukianov aluki...@redhat.com wrote:

 Ok I found this one:
 Thread-1807180::ERROR::2014-12-30 
 13:02:52,164::migration::165::vm.Vm::(_recover) 
 vmId=`0d3adb5c-0960-483c-9d73-5e256a519f2f`::Failed to destroy remote VM
 Traceback (most recent call last):
 File /usr/share/vdsm/virt/migration.py, line 163, in _recover
  self.destServer.destroy(self._vm.id)
 AttributeError: 'SourceThread' object has no attribute 'destServer'
 Thread-1807180::ERROR::2014-12-30 13:02:52,165::migration::259::vm.Vm::(run) 
 vmId=`0d3adb5c-0960-483c-9d73-5e256a519f2f`::Failed to migrate
 Traceback (most recent call last):
 File /usr/share/vdsm/virt/migration.py, line 229, in run
  self._setupVdsConnection()
 File /usr/share/vdsm/virt/migration.py, line 92, in _setupVdsConnection
  self._dst, self._vm.cif.bindings['xmlrpc'].serverPort)
 File 

[ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Sandvik Agustin
Hi guys,

Good day, I just want to know if how can I add usernames in ovirt? i.e., is
admin account is already exist and I want to create another account i.e.,
users or clients account.


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


Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Alon Bar-Lev
Hello,

For now you need to use somekind of LDAP with ovirt-engine-extension-ldap[1][2] 
package.
In future we will support database based repository.

Until someone from infra will have the time to publish the latest version of 
the package, please download it directly from here[3], please note that until 
engine-3.5.1 is out you will need to specify full path in config.profile.file.1 
variable at authn and authz extension configuration.

Regards,
Alon

[1] 
http://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
[2] http://www.ovirt.org/Features/AAA
[3] 
http://jenkins.ovirt.org/job/ovirt-engine-extension-aaa-ldap_any_create-rpms_manual/6/

- Original Message -
 From: Sandvik Agustin agustinsand...@gmail.com
 To: users@ovirt.org
 Sent: Monday, January 5, 2015 8:14:27 PM
 Subject: [ovirt-users] How can I add usernames in ovirt? i.e.,is 
 admin account
 
 Hi guys,
 
 Good day, I just want to know if how can I add usernames in ovirt? i.e., is
 admin account is already exist and I want to create another account i.e.,
 users or clients account.
 
 
 TIA
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Alexander Wels
On Tuesday, January 06, 2015 02:14:27 AM Sandvik Agustin wrote:
 Hi guys,
 
 Good day, I just want to know if how can I add usernames in ovirt? i.e., is
 admin account is already exist and I want to create another account i.e.,
 users or clients account.
 
 
 TIA

Yes you can, you will need to use some kind of directory service like 
OpenLDAP, FreeIPA, or something similar to make it happen. Depending on which 
version of oVirt you are using the setup is slightly different. If you are 
using 3.5 make sure to use the new LDAP implementation it is much easier to 
debug if there are problems.

Simply google ovirt ldap for more information. A pretty good walk through can 
be found here [1]

Alexander

[1] https://cloudspin.me/ovirt-simple-ldap-aaa/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Donny Davis
I did a write up on AAA LDAP. 

https://cloudspin.me/ovirt-simple-ldap-aaa/

Hope its helpful

DonnyOn Jan 5, 2015 11:26 AM, Alon Bar-Lev alo...@redhat.com wrote:

 Hello, 

 For now you need to use somekind of LDAP with 
 ovirt-engine-extension-ldap[1][2] package. 
 In future we will support database based repository. 

 Until someone from infra will have the time to publish the latest version of 
 the package, please download it directly from here[3], please note that until 
 engine-3.5.1 is out you will need to specify full path in 
 config.profile.file.1 variable at authn and authz extension configuration. 

 Regards, 
 Alon 

 [1] 
 http://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
  
 [2] http://www.ovirt.org/Features/AAA 
 [3] 
 http://jenkins.ovirt.org/job/ovirt-engine-extension-aaa-ldap_any_create-rpms_manual/6/
  

 - Original Message - 
  From: Sandvik Agustin agustinsand...@gmail.com 
  To: users@ovirt.org 
  Sent: Monday, January 5, 2015 8:14:27 PM 
  Subject: [ovirt-users] How can I add usernames in ovirt? i.e., is admin 
  account 
  
  Hi guys, 
  
  Good day, I just want to know if how can I add usernames in ovirt? i.e., is 
  admin account is already exist and I want to create another account i.e., 
  users or clients account. 
  
  
  TIA 
  
  ___ 
  Users mailing list 
  Users@ovirt.org 
  http://lists.ovirt.org/mailman/listinfo/users 
  
 ___ 
 Users mailing list 
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Donny Davis
Ensure you don't try to install freeipa to the manager machine, there will be 
conflicts. 

389ds works and is really easy to setup

Regards
DonnyOn Jan 5, 2015 11:36 AM, Donny Davis do...@cloudspin.me wrote:

 I did a write up on AAA LDAP. 

 https://cloudspin.me/ovirt-simple-ldap-aaa/ 

 Hope its helpful 

 DonnyOn Jan 5, 2015 11:26 AM, Alon Bar-Lev alo...@redhat.com wrote: 
  
  Hello, 
  
  For now you need to use somekind of LDAP with 
  ovirt-engine-extension-ldap[1][2] package. 
  In future we will support database based repository. 
  
  Until someone from infra will have the time to publish the latest version 
  of the package, please download it directly from here[3], please note that 
  until engine-3.5.1 is out you will need to specify full path in 
  config.profile.file.1 variable at authn and authz extension configuration. 
  
  Regards, 
  Alon 
  
  [1] 
  http://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
   
  [2] http://www.ovirt.org/Features/AAA 
  [3] 
  http://jenkins.ovirt.org/job/ovirt-engine-extension-aaa-ldap_any_create-rpms_manual/6/
   
  
  - Original Message - 
   From: Sandvik Agustin agustinsand...@gmail.com 
   To: users@ovirt.org 
   Sent: Monday, January 5, 2015 8:14:27 PM 
   Subject: [ovirt-users] How can I add usernames in ovirt? i.e., is admin 
   account 
   
   Hi guys, 
   
   Good day, I just want to know if how can I add usernames in ovirt? i.e., 
   is 
   admin account is already exist and I want to create another account i.e., 
   users or clients account. 
   
   
   TIA 
   
   ___ 
   Users mailing list 
   Users@ovirt.org 
   http://lists.ovirt.org/mailman/listinfo/users 
   
  ___ 
  Users mailing list 
  Users@ovirt.org 
  http://lists.ovirt.org/mailman/listinfo/users 
 ___ 
 Users mailing list 
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How can I add usernames in ovirt? i.e., is admin account

2015-01-05 Thread Sandvik Agustin
Hi,


Thanks guys for the quick reply and I really appreciate it, I'll look upon
your suggestions right now. By the way, I forgot to mention that I'm
using oVirt
Engine Version: 3.5.0.1-1.el6. Thanks Again, I'll update you guys about my
progress.

Thanks Again.

On Tue, Jan 6, 2015 at 2:39 AM, Donny Davis do...@cloudspin.me wrote:

 Ensure you don't try to install freeipa to the manager machine, there will
 be conflicts.

 389ds works and is really easy to setup

 Regards
 DonnyOn Jan 5, 2015 11:36 AM, Donny Davis do...@cloudspin.me wrote:
 
  I did a write up on AAA LDAP.
 
  https://cloudspin.me/ovirt-simple-ldap-aaa/
 
  Hope its helpful
 
  DonnyOn Jan 5, 2015 11:26 AM, Alon Bar-Lev alo...@redhat.com wrote:
  
   Hello,
  
   For now you need to use somekind of LDAP with
 ovirt-engine-extension-ldap[1][2] package.
   In future we will support database based repository.
  
   Until someone from infra will have the time to publish the latest
 version of the package, please download it directly from here[3], please
 note that until engine-3.5.1 is out you will need to specify full path in
 config.profile.file.1 variable at authn and authz extension configuration.
  
   Regards,
   Alon
  
   [1]
 http://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
   [2] http://www.ovirt.org/Features/AAA
   [3]
 http://jenkins.ovirt.org/job/ovirt-engine-extension-aaa-ldap_any_create-rpms_manual/6/
  
   - Original Message -
From: Sandvik Agustin agustinsand...@gmail.com
To: users@ovirt.org
Sent: Monday, January 5, 2015 8:14:27 PM
Subject: [ovirt-users] How can I add usernames in ovirt? i.e., is
 admin account
   
Hi guys,
   
Good day, I just want to know if how can I add usernames in ovirt?
 i.e., is
admin account is already exist and I want to create another account
 i.e.,
users or clients account.
   
   
TIA
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2015-01-05 Thread Michal Skrivanek

On Jan 5, 2015, at 13:38 , Tomas Jelinek tjeli...@redhat.com wrote:

 Hi iordan,
 
 sorry for the long response time - it was Christmas... ;)
 
 As I see in the 
 https://github.com/iiordanov/remote-desktop-clients/blob/master/eclipse_projects/bVNC/AndroidManifest.xml
  
 the bVNC already has the support for calling it from outside using the intent 
 mechanism but I don't understand how about aSPICE.
 As I understand, aSPICE is based on bVNC but I don't understand how exactly 
 do they relate. Does it use the same Manifest just renamed? What is the 
 mimeType than?
 If you could point me to a bit of documentation it would be great.
 
 About calling aSPICE and bVNC from outside using the .vv file - as I 
 understand it is not supported for now, right? For us it does not make too 
 big difference if you support the data using URI or .vv file - even the .vv 
 may be preferred, but we will survive URI as well.
 
 One more question - does aSPICE support spice proxy?
 
 Thank you,
 Tomas
 
 - Original Message -
 From: i iordanov iiorda...@gmail.com
 To: users users@ovirt.org, de...@ovirt.org
 Cc: Sphoorti Joglekar sphoorti.jogle...@gmail.com
 Sent: Thursday, December 25, 2014 11:19:58 PM
 Subject: Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
 
 Hey guys,
 
 Thanks for remembering about Opaque. For those who are not familiar
 with the project, it is an oVirt/RHEV graphics console client which
 supports the SPICE protocol so far. It uses libgovirt to connect to
 the oVirt/RHEV API. I also created a separate pure SPICE client
 (called aSPICE) for Android based on libspice.
 
 It would be nice if I got more feedback from Red Hat developers, but
 you guys are probably as busy as I am :). The app is getting attention
 on Google Play and people are using it successfully for their
 installations, it seems.
 
 I have plans to add the following features to Opaque, time permitting:
 
 - Ability to edit default settings, so that people who connect with
 console.vv file will be able to configure Audio, keyboard layout, etc.
 - The ability to allocate VMs from a pool.
 - The ability to control Audio Playback and Recording separately.
 
 I don't think Opaque needs to get portal-management functionality.
 
 I was contacted by an intern working on movirt (Sphoorti Joglekar,
 cc-ed), asking whether I would be willing to support a URI Intent
 scheme that movirt can use to launch aSPICE. I think I already have a
 pretty well specified URI scheme that may work for the purpose, so
 we'll see how that goes. I am wondering whether it wouldn't be better
 to launch aSPICE or Opaque with a console.vv file instead, though. I
 guess the developers of movirt will have to consider both options.
 
 At any rate, Opaque is far from dead. I'm security supporting it, I
 just don't find a lot of time to work on additional features.
 
 I am cc-ing Brian Proffitt, because at one point we discussed setting
 up Opaque as a sub-project of oVirt. I don't know whether there is any
 interest for that in Red Hat, or any interest at all in supporting
 mobile clients for oVirt/RHEV, etc. It would be nice to hear an
 official stance on the topic.

(adding Brian properly this time)

I think it makes sense to add it together with something…though maybe more 
related to SPICE clients. So adding Christophe for his thoughts…

Thanks,
michal

 
 Thanks!
 iordan
 
 On Tue, Nov 4, 2014 at 10:17 AM, David Jaša dj...@redhat.com wrote:
 The app in Google may be half year old but there is a movement in git
 [1] and the author recently called for testing or comments on
 spice-devel ML.
 
 David
 
 [1]
 https://github.com/iiordanov/remote-desktop-clients/tree/master/eclipse_projects/Opaque
 
 
 On Pá, 2014-10-31 at 07:56 +0100, Gianluca Cecchi wrote:
 On Fri, Oct 31, 2014 at 7:03 AM, Yair Zaslavsky yzasl...@redhat.com
 wrote:
 
 
- Original Message -
 From: Greg Sheremeta gsher...@redhat.com
 To: users users@ovirt.org, de...@ovirt.org
 Sent: Friday, October 31, 2014 3:49:11 AM
 Subject: [ovirt-devel] [RFC] oVirt mobile client
 
 Hi,
 
 The focus of our OPW internship program starting in December
will be
 mobile and/or lightweight engine clients -- hopefully
integrating the
 new ovirt.js project.
 
+100
 
 
 [snip]
 
 
 I see that there are some already existing mobile clients
for oVirt.
 I'm trying to grasp what we have and what the needs are.
 
 
 That's all I see on the first few pages of google.
 
 
 
 There was also project from Iordanov about spice/oVirt support on
 android..
 See:
 http://lists.ovirt.org/pipermail/users/2013-December/018434.html
 
 
 Some days ago it seems he go also support international keyboard
 layout support:
 
 
 I finally got some time to back-port the international keyboard layout
 support from the Android Ovirt client Opaque into the SPICE client
 aSPICE
 
 
 
 I made same preliminary tests at the end of 2013 but I was not able to
 connect to oVirt...
 I don't know