[ovirt-users] upgrading hardware node

2016-04-18 Thread Bill James

I already upgraded ovirt management engine from 3.6.3 to 3.6.4.
Now I want to upgrade the hardware nodes.
I see there is a "Upgrade" button on the Hosts tab but I have not found 
any way to make it enabled.

Even with host in maintenance it still is disabled.

How do I get that to work?
I'm sure I could just run yum update, but aren't you suppose to be able 
to do it in the GUI?



Thanks.

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


Re: [ovirt-users] Disks Illegal State

2016-04-18 Thread Colin Coe
We're seeing this in RHEV 3.5 with snapshot management on VMs with multiple
disks.  It would be awesome to have a "fsck" type script that could be run
daily which reports on any problems with the snapshot disks.

On Mon, Apr 18, 2016 at 10:59 PM, Clint Boggio  wrote:

> Markus thank you so much for the information. I'll be focusing on
> resolution of this problem this week and I'll keep you in the loop.
>
> On Apr 18, 2016, at 7:39 AM, Markus Stockhausen 
> wrote:
>
> >> Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im
> Auftrag von Clint Boggio [cl...@theboggios.com]
> >> Gesendet: Montag, 18. April 2016 14:16
> >> An: users@ovirt.org
> >> Betreff: [ovirt-users] Disks Illegal State
> >>
> >> OVirt 3.6, 4 node cluster with dedicated engine. Main storage domain is
> iscsi, ISO and Export domains are NFS.
> >>
> >> Several of my VM snapshot disks show to be in an "illegal state". The
> system will not allow me to manipulate the snapshots in any way, nor clone
> the active system, or create a new snapshot.
> >>
> >> In the logs I see that the system complains about not being able to
> "get volume size for xxx", and also that the system appears to believe that
> the image is "locked" and is currently in the snapshot process.
> >>
> >> Of the VM's with this status, one rebooted and was lost due to "cannot
> get volume size for domain xxx".
> >>
> >> I fear that in this current condition, should any of the other machine
> reboot, they too will be lost.
> >>
> >> How can I troubleshoot this problem further, and hopefully alleviate
> the condition ?
> >>
> >> Thank you for your help.
> >
> > Hi Clint,
> >
> > for us the problem always boils down to the following steps. Might be
> simpler as we use
> > NFS for all of our domains and have direct access to the image files.
> >
> > 1) Check if snapshot disks are currently used. Capture the qemu command
> line with a "ps -ef"
> > on the nodes. There you can see what images qemu is started with. For
> each of the files check
> > the backing chain:
> >
> > # qemu-img info /rhev/.../bbd05dd8-c3bf-4d15-9317-73040e04abae
> > image: bbd05dd8-c3bf-4d15-9317-73040e04abae
> > file format: qcow2
> > virtual size: 50G (53687091200 bytes)
> > disk size: 133M
> > cluster_size: 65536
> > backing file:
> ../f8ebfb39-2ac6-4b87-b193-4204d1854edc/595b95f4-ce1a-4298-bd27-3f6745ae4e4c
> > backing file format: raw
> > Format specific information:
> >compat: 0.10
> >
> > # qemu-img info .../595b95f4-ce1a-4298-bd27-3f6745ae4e4c (see above)
> > ...
> >
> > I don't know how you can accomplish this on ISCSI (and LVM based images
> inside iirc). We
> > usually follow the backing chain and test if all the files exist and are
> linked correctly. Especially
> > if everything matches the OVirt GUI. I guess this is the most important
> part for you.
> >
> > 2) In most of our cases everything is fine and only the OVirt database
> is wrong. So we fix it
> > at our own risk. Because of your explanation I do not recommend that for
> you. It is just for
> > documentation purpose.
> >
> > engine# su - postgres
> >> psql engine postgres
> >
> >> select image_group_id,imagestatus from images where imagestatus =4;
> >> ... list of illegal images
> >> update images set imagestatus =1 where imagestatus = 4 and  criteria>;
> >> commit
> >
> >> select description,status from snapshots where status <> 'OK';
> >> ... list of locked snapshots
> >> update snapshots set status = 'OK' where status <> 'OK' and  criteria>;
> >> commit
> >
> >> \q
> >
> > Restart engine and everything should be in sync again.
> >
> > Best regards.
> >
> > Markus=
> > 
>
> ___
> 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] Delete Failed to update OVF disks, OVF data isn't updated on those OVF stores (Data Center Default, Storage Domain hostedengine_nfs).

2016-04-18 Thread Paul Groeneweg | Pazion
I am still wondering about the OVF disk ( and event error ) on my hosted
storage domain.

My hostedstorage ovf disks ( http://screencast.com/t/AcdqmJWee )  are not
being updated ( what I understood is they should be regularly updated ).

So I wonder, maybe I can remove these OVF disks and they are recreated
automatically? ( Similar when removing the hosted storage domain it was
added automatically again )

And for this NFS storage domain, is it normal to have 2 OVF disks?

Really looking for a way get these OVF disks right.



Op ma 4 apr. 2016 om 09:54 schreef Paul Groeneweg | Pazion :

> I'd like to add:
>
> - There are 2 OVF stores in my hosted_storage ( hostedengine_nfs ).
> - I checked creation time, they are both created around the same time
> http://screencast.com/t/hbXQFlou
>
> So hopefully there is some way to update hosted storage sp it can be
> updated.
>
> Op do 31 mrt. 2016 om 15:41 schreef Maor Lipchuk :
>
>> [Adding Roy to the thread]
>> Roy,
>>
>> Can you please share your insight regarding the hosted engine behavior.
>> It looks that one of the OVF_STORE disks is not valid and I think that
>> detach/attach of the storage domain might fix the audit log errors.
>> The question is, if it is possible to do so in hosted engine environment.
>>
>> Regards,
>> Maor
>>
>> On Thu, Mar 31, 2016 at 4:14 PM, Paul Groeneweg | Pazion 
>> wrote:
>>
>>>
>>>
>>> This storage domain is my hosted engine storage domain. So I should put
>>> it to maintenance and then detach? http://screencast.com/t/kjgNpI7fQ
>>>
>>> Am I still able to use the hosed engine ( web interface) when this
>>> stoarge domain is in maintenance and detached?
>>>
>>> As I don't want to risk detaching hosted storage storage domain and as a
>>> results breaking my whole setup.
>>>
>>>
>>>
>>>
>>>
>>> Op do 31 mrt. 2016 om 15:07 schreef Maor Lipchuk :
>>>
 Have you already tried to detach and attach the Storage Domain?

 On Thu, Mar 31, 2016 at 3:11 PM, Paul Groeneweg | Pazion <
 p...@pazion.nl> wrote:

> Hi Maor,
>
> I am refering to the eventlog, where these ovf errors appear every
> hour and fill up my eventlog
>
> http://screencast.com/t/S8cfXMsdGM
>
>
>
> Op do 31 mrt. 2016 om 14:07 schreef Maor Lipchuk  >:
>
>> Hi Paul,
>>
>> Which problem are you referring, the remove of OVF_STORE disks or the
>> audit log warning?
>> In the screencast I can see that the Storage Domain is active but I
>> didn't notice any audit log errors.
>>
>> Regards,
>> Maor
>>
>> On Thu, Mar 31, 2016 at 2:38 PM, Paul Groeneweg | Pazion <
>> p...@pazion.nl> wrote:
>>
>>> Hi Maor,
>>>
>>> The 3.6.4 did not solve the problem.
>>>
>>> Any idea how to fix this issue?
>>> I believe it has something todo with the status of hosted_storage (
>>> 1st entry )  http://screencast.com/t/vCx0CQiXm
>>>
>>> Op za 26 mrt. 2016 om 18:08 schreef Maor Lipchuk <
>>> mlipc...@redhat.com>:
>>>
 Hi Paul,

 Can you please update whether the upgrade for 3.6.4 has helped.
 Regarding the OVF_STORE disks, those disks should not be deleted
 since deleting them might reflect on the Disaster Recovery scenarios

 Regards,
 Maor


 On Thu, Mar 24, 2016 at 10:10 PM, Paul Groeneweg | Pazion <
 p...@pazion.nl> wrote:

> I believe my problem is related to this bug
> https://bugzilla.redhat.com/show_bug.cgi?id=1303316
>
> As you can see in the screenshot the hostedengine storage is
> unassigned and so both ovf_stores are OK, but not linked and therefore
>  can't be updated?!
>
> So for now I guess I'll wait for update 3.6.4 and cross my fingers
> and updates solves the event log error.
>
> Op do 24 mrt. 2016 om 20:15 schreef Paul Groeneweg | Pazion <
> p...@pazion.nl>:
>
>> I checked, the OVf, but I can only remove the OVF.
>>
>> http://screencast.com/t/vCx0CQiXm
>>
>> What happens when I remove them, is it safe?
>>
>> I checked agent.log and do not see the errors there
>>
>> MainThread::INFO::2016-03-24
>> 20:12:28,154::image::116::ovirt_hosted_engine_ha.lib.image.Image::(prepare_images)
>> Preparing images
>>
>> MainThread::INFO::2016-03-24
>> 20:12:28,811::hosted_engine::684::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_storage_images)
>> Reloading vm.conf from the shared storage domain
>>
>> MainThread::INFO::2016-03-24
>> 20:12:28,811::config::205::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
>> Trying to get a 

Re: [ovirt-users] vhostmd vdsm-hook

2016-04-18 Thread Arsène Gschwind

Hi Simon,

You will need to have vhostmd running on the oVirt node and set the 
"sap_agent" custom property for the vm as you may see on the screenshot.


sap_agent

Arsène

On 04/15/2016 12:15 PM, Simon Barrett wrote:


I’m trying to use the vhostmd vdsm host to access ovirt node metrics 
from within a VM. Vhostmd is running and updating the 
/dev/shm/vhostmd0 on the ovirt node.


The part I’m stuck on is: “This disk image is exported read-only to 
guests. Guests can read the disk image to see metrics” from 
http://www.ovirt.org/develop/developer-guide/vdsm/hook/vhostmd/


Does the hook do this by default? I don’t see any new read-only device 
mounted in the guest. Is there additional work I need to do to mount 
this and access the data from within the guest?


Many thanks,

Simon



___
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] Disks Illegal State

2016-04-18 Thread Clint Boggio
Markus thank you so much for the information. I'll be focusing on resolution of 
this problem this week and I'll keep you in the loop.

On Apr 18, 2016, at 7:39 AM, Markus Stockhausen  wrote:

>> Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
>> Clint Boggio [cl...@theboggios.com]
>> Gesendet: Montag, 18. April 2016 14:16
>> An: users@ovirt.org
>> Betreff: [ovirt-users] Disks Illegal State
>> 
>> OVirt 3.6, 4 node cluster with dedicated engine. Main storage domain is 
>> iscsi, ISO and Export domains are NFS.
>> 
>> Several of my VM snapshot disks show to be in an "illegal state". The system 
>> will not allow me to manipulate the snapshots in any way, nor clone the 
>> active system, or create a new snapshot.
>> 
>> In the logs I see that the system complains about not being able to "get 
>> volume size for xxx", and also that the system appears to believe that the 
>> image is "locked" and is currently in the snapshot process.
>> 
>> Of the VM's with this status, one rebooted and was lost due to "cannot get 
>> volume size for domain xxx".
>> 
>> I fear that in this current condition, should any of the other machine 
>> reboot, they too will be lost.
>> 
>> How can I troubleshoot this problem further, and hopefully alleviate the 
>> condition ?
>> 
>> Thank you for your help.
> 
> Hi Clint,
> 
> for us the problem always boils down to the following steps. Might be simpler 
> as we use
> NFS for all of our domains and have direct access to the image files.
> 
> 1) Check if snapshot disks are currently used. Capture the qemu command line 
> with a "ps -ef"
> on the nodes. There you can see what images qemu is started with. For each of 
> the files check
> the backing chain:
> 
> # qemu-img info /rhev/.../bbd05dd8-c3bf-4d15-9317-73040e04abae
> image: bbd05dd8-c3bf-4d15-9317-73040e04abae
> file format: qcow2
> virtual size: 50G (53687091200 bytes)
> disk size: 133M
> cluster_size: 65536
> backing file: 
> ../f8ebfb39-2ac6-4b87-b193-4204d1854edc/595b95f4-ce1a-4298-bd27-3f6745ae4e4c
> backing file format: raw
> Format specific information:
>compat: 0.10
> 
> # qemu-img info .../595b95f4-ce1a-4298-bd27-3f6745ae4e4c (see above)
> ...
> 
> I don't know how you can accomplish this on ISCSI (and LVM based images 
> inside iirc). We
> usually follow the backing chain and test if all the files exist and are 
> linked correctly. Especially
> if everything matches the OVirt GUI. I guess this is the most important part 
> for you.
> 
> 2) In most of our cases everything is fine and only the OVirt database is 
> wrong. So we fix it
> at our own risk. Because of your explanation I do not recommend that for you. 
> It is just for 
> documentation purpose.
> 
> engine# su - postgres
>> psql engine postgres
> 
>> select image_group_id,imagestatus from images where imagestatus =4;
>> ... list of illegal images
>> update images set imagestatus =1 where imagestatus = 4 and ;
>> commit
> 
>> select description,status from snapshots where status <> 'OK';
>> ... list of locked snapshots
>> update snapshots set status = 'OK' where status <> 'OK' and ;
>> commit
> 
>> \q
> 
> Restart engine and everything should be in sync again. 
> 
> Best regards.
> 
> Markus=
> 

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


Re: [ovirt-users] Disks Illegal State

2016-04-18 Thread Clint Boggio
Thank you I will read on the link provided and follow the course.

> On Apr 18, 2016, at 7:20 AM, Ollie Armstrong  wrote:
> 
>> On 18 April 2016 at 13:16, Clint Boggio  wrote:
>> Several of my VM snapshot disks show to be in an "illegal state". The system 
>> will not allow me to manipulate the snapshots in any way, nor clone the 
>> active system, or create a new snapshot.
>> 
>> How can I troubleshoot this problem further, and hopefully alleviate the 
>> condition ?
> 
> I've experienced a similar thing before and referred to this [1]
> comment on BZ1302215 to help me out.  Followed those steps and my
> issue was resolved.  I'm still not aware of the root cause of this
> problem though.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c13

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


Re: [ovirt-users] Disks Illegal State

2016-04-18 Thread Clint Boggio
Yes i did try that and the system would not allow it.

> On Apr 18, 2016, at 7:27 AM, Raz Tamir  wrote:
> 
> ​​Hi Clint,
> Did you try to remove the relevant snapshots with illegal disks?
> In case you do, the removal failed or passed?
> 
> See this: https://bugzilla.redhat.com/show_bug.cgi?id=1275836
> 
> 
> 
> 
> Thanks,
> Raz Tamir
> Red Hat Israel
> 
>> On Mon, Apr 18, 2016 at 3:20 PM, Ollie Armstrong  wrote:
>> On 18 April 2016 at 13:16, Clint Boggio  wrote:
>> > Several of my VM snapshot disks show to be in an "illegal state". The 
>> > system will not allow me to manipulate the snapshots in any way, nor clone 
>> > the active system, or create a new snapshot.
>> >
>> > How can I troubleshoot this problem further, and hopefully alleviate the 
>> > condition ?
>> 
>> I've experienced a similar thing before and referred to this [1]
>> comment on BZ1302215 to help me out.  Followed those steps and my
>> issue was resolved.  I'm still not aware of the root cause of this
>> problem though.
>> 
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c13
>> ___
>> 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] connecting to windows 10 vm with tdp

2016-04-18 Thread David Jaša
On Po, 2016-04-18 at 07:40 +, Zeev Mindali wrote:
> Spice => Simple Protocol for Computer Eniverment
> 


It's most likely a backronym. Neither the first one in IT, nor the last
one...


> I know that the RDP is better for wan uses, so how I can use RDP with
> ovirt instend of spice
> 


You essentially need to:

  * configure Windows to enable and allow RDP
  * make sure that your network can route connection from your
client system to the VM (and firewalls along the route permit
you to do so)

Now you're able to connect to your VM but you have to obtain the
connection information yourself. In order to make oVirt ungray the RDP
option, you additionally need to install and start oVirt guest agent so
that ovirt-engine can learn name/IP of the VM - as indicated in link by
Yair.

BTW did you actually _try_ spice? It's true that it needs larger
bandwidth on the slow links. In spite of that, there are some cases
where it can give better UX than RDP.

Best Regards,

David



>  
> 
>  
> 
> logo
> 
>  
> 
> Zeev Mindali
> Windows & Mobile Developer
> Chip PC, 5 Nahum Hat St.
> Haifa
> Israel 3508504
>  
> Tel+972-4-8501121  
> Fax   +972-4-8501088
> Cell   +972-52-4043142
> Email ze...@chippc.com
> Web  www.chippc.com
> 
>  
> 
>  
> 
>  
> 
> From: Yaniv Kaul [mailto:yk...@redhat.com] 
> Sent: Monday, April 18, 2016 10:55 AM
> To: Zeev Mindali‏ 
> Cc: Yair Zaslavsky‏ ; users@ovirt.org
> Subject: Re: [ovirt-users] connecting to windows 10 vm with tdp
> 
>  
> 
> 
>  
> 
> 
>  
> 
> 
> On Mon, Apr 18, 2016 at 10:22 AM, Zeev Mindali 
> wrote:
> 
> 
> Spice is to simple protocol, and have an issue on wan.
> 
> 
>  
> 
> 
> Spice is certainly not a simple protocol, and while not as good as RDP
> on WAN, it can run pretty well - provided you have the QXL drivers
> installed on the guest.
> 
> 
> Y.
> 
> 
>  
> 
> 
> I have been told that RDP can work smoothly
> 
>  
> 
 < 
> 
> logo
> 
>  
> 
> Zeev Mindali
> Windows & Mobile Developer
> Chip PC, 5 Nahum Hat St.
> Haifa
> Israel 3508504
>  
> Tel+972-4-8501121  
> Fax   +972-4-8501088
> Cell   +972-52-4043142
> Email ze...@chippc.com
> Web  www.chippc.com
> 
 < 
> 
>  
> 
>  
> 
> 
> From: Yair Zaslavsky [mailto:yzaslav...@aconex.com] 
> Sent: Monday, April 18, 2016 9:42 AM
> To: Zeev Mindali‏ 
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] connecting to windows 10 vm with
> tdp
> 
> 
>  
> 
> 
> Out of curiosity,  did you try to use spice?
> I assume your VM is running windows OS, based on the
> mentioning of RDP?
> 
> 
>  
> 
> 
>
> __
> From:"Zeev Mindali" 
> To: users@ovirt.org
> Sent: Monday, 18 April, 2016 3:54:28 PM
> Subject: [ovirt-users] connecting to windows 10 vm with tdp
> 
> 
>  
> 
> 
> 
> Dear all,
> 
>  
> 
> I have ovirt 3.6 on centos 7.2.
> 
> I would like to connect with rdp to my vm , but I didn't found
> how I can enable this option, it's allways in gray
> 
> Thanks for the help
> 
>  
> 
 < 
> 
> logo
> 
>  
> 
> Zeev Mindali
> Windows & Mobile Developer
> Chip PC, 5 Nahum Hat St.
> Haifa
> Israel 3508504
>  
> Tel+972-4-8501121  
> Fax   +972-4-8501088
> Cell   +972-52-4043142
> Email ze...@chippc.com
> Web  www.chippc.com
> 
 < 
> 
> 
> ___
> 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] Cannot add new users via api after AAA migration

2016-04-18 Thread Karli Sjöberg
On Mon, 2016-04-18 at 15:53 +0200, Ondra Machacek wrote:
> On 04/18/2016 12:37 PM, Karli Sjöberg wrote:
> > 
> > Hi!
> > 
> > A little background:
> > https://www.mail-archive.com/users@ovirt.org/msg31815.html
> > 
> > Trying to add new user from webadmin gives:
> > 2016-04-18 12:19:14,448
> > INFO  [org.ovirt.engine.core.bll.aaa.AddUserCommand] (default task-
> > 10) [53227bd6] Running command: AddUserCommand internal: false.
> > Entities affected :  ID: aaa0----123456789aaa Type:
> > SystemAction group MANIPULATE_USERS with role type ADMIN
> > 2016-04-18 12:19:14,466
> > INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLog
> > Director] (default task-10) [53227bd6] Correlation ID: 53227bd6,
> > Call Stack: null, Custom Event ID: -1, Message: User 'Firstname.Las
> > tn...@foo.bar' was added successfully to the system.
> > 
> > The user is then found as 'firstname.lastn...@foo.bar@baz.foo.bar'
> > under Users tab. Also possible to find user with api:
> > https://engine-address.foo.bar/ovirt-engine/api/users?search=Firstn
> > ame
> > ...
> > firstname.lastn...@foo.bar@baz.foo.bar
> > ...
> > 
> > But removing the user and trying to add it again with e.g. Python
> > fails:
> > 
> > status: 404
> > reason: Not Found
> > detail: Entity not found: adu...@baz.foo.bar:: username=Firstname.L
> > astn...@foo.bar
> > 
> > The code, previously working with the now deprecated engine-manage-
> > domains, except PRINCIPAL_NAME was just SAM_ACCOUNT_NAME without
> > SUFFIX:
> > 
> > DOMAIN_NAME = 'baz.foo.bar'
> > SUFFIX = '@foo.bar'
> > 
> > try:
> >  domain = api.domains.get(name='%s' % (DOMAIN_NAME))
> >  userparams = params.User()
> >  userparams.set_user_name('%s%s' % (PRINCIPAL_NAME,SUFFIX))
> >  userparams.set_domain(domain)
> Please set ^ here also:
> 
> userparams.set_principal('%s%s' % (PRINCIPAL_NAME,SUFFIX))
> 
> in principal you should set proper UPN of user.

Yeah, that was the ticket. Thanks!

/K

> 
> > 
> >  api.users.add(userparams)
> > except Exception as e:
> >  print e
> > 
> > Also tried with SUFFIX = '@foo@baz.foo.bar', as that´s what the
> > user is called after creation, fails as well.
> > 
> > Am I "holding it wrong" or is this a bug?
> > 
> > /K
> > ___
> > 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] Cannot add new users via api after AAA migration

2016-04-18 Thread Ondra Machacek

On 04/18/2016 12:37 PM, Karli Sjöberg wrote:

Hi!

A little background:
https://www.mail-archive.com/users@ovirt.org/msg31815.html

Trying to add new user from webadmin gives:
2016-04-18 12:19:14,448 INFO  [org.ovirt.engine.core.bll.aaa.AddUserCommand] 
(default task-10) [53227bd6] Running command: AddUserCommand internal: false. 
Entities affected :  ID: aaa0----123456789aaa Type: 
SystemAction group MANIPULATE_USERS with role type ADMIN
2016-04-18 12:19:14,466 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-10) [53227bd6] Correlation ID: 53227bd6, Call Stack: null, Custom Event 
ID: -1, Message: User 'firstname.lastn...@foo.bar' was added successfully to 
the system.

The user is then found as 'firstname.lastn...@foo.bar@baz.foo.bar'
under Users tab. Also possible to find user with api:
https://engine-address.foo.bar/ovirt-engine/api/users?search=Firstname
...
firstname.lastn...@foo.bar@baz.foo.bar
...

But removing the user and trying to add it again with e.g. Python
fails:

status: 404
reason: Not Found
detail: Entity not found: adu...@baz.foo.bar:: 
username=firstname.lastn...@foo.bar

The code, previously working with the now deprecated engine-manage-
domains, except PRINCIPAL_NAME was just SAM_ACCOUNT_NAME without
SUFFIX:

DOMAIN_NAME = 'baz.foo.bar'
SUFFIX = '@foo.bar'

try:
 domain = api.domains.get(name='%s' % (DOMAIN_NAME))
 userparams = params.User()
 userparams.set_user_name('%s%s' % (PRINCIPAL_NAME,SUFFIX))
 userparams.set_domain(domain)


Please set ^ here also:

userparams.set_principal('%s%s' % (PRINCIPAL_NAME,SUFFIX))

in principal you should set proper UPN of user.


 api.users.add(userparams)
except Exception as e:
 print e

Also tried with SUFFIX = '@foo@baz.foo.bar', as that´s what the
user is called after creation, fails as well.

Am I "holding it wrong" or is this a bug?

/K
___
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] any virtual machine does not start

2016-04-18 Thread Roy Golan
On Mon, Apr 18, 2016 at 3:43 PM, Roy Golan  wrote:

>
>
> On Mon, Apr 18, 2016 at 11:32 AM, nicola.gentile.to <
> nicola.gentile...@gmail.com> wrote:
>
>> hi,
>> I have a problem with ovirt 3.6.
>> When I click on the button "run" to start vm, it not start and terminate
>> immediatly.
>>
>> This is the error in the admin portale:
>>
>> VM ubuexp is down with error. Exit message: internal error: process
>> exited while connecting to monitor: 2016-04-18T08:18:22.499782Z qemu-kvm:
>> -drive
>> file=/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b,if=none,id=drive-virtio-disk0,format=qcow2,serial=da93350c-8926-42bf-99fa-8a7aca043fcd,cache=none,werror=stop,rerror=stop,aio=native:
>> Could not open
>> '/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b':
>> Permission denied
>> .
>>
>>
> Please consult this wiki [1] and follow it to recreate your export maybe.
> It seems that you have permission issues on the storage.
>
> [1] http://lists.ovirt.org/pipermail/devel/2016-April/012790.html
>

wrong link sorry. use this:
http://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/

>
>
>
>> My ovirt installation is composed of thefollowing:
>>
>> - 1 manager (virtualized)
>> - 1 host
>> - storage iscsi
>>
>> Everything seems to work well from the web administration portal, but all
>> vm do not start.
>>
>> I attach a log file.
>>
>> Please help me!
>>
>> Nick
>>
>> ___
>> 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] any virtual machine does not start

2016-04-18 Thread Roy Golan
On Mon, Apr 18, 2016 at 11:32 AM, nicola.gentile.to <
nicola.gentile...@gmail.com> wrote:

> hi,
> I have a problem with ovirt 3.6.
> When I click on the button "run" to start vm, it not start and terminate
> immediatly.
>
> This is the error in the admin portale:
>
> VM ubuexp is down with error. Exit message: internal error: process exited
> while connecting to monitor: 2016-04-18T08:18:22.499782Z qemu-kvm: -drive
> file=/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b,if=none,id=drive-virtio-disk0,format=qcow2,serial=da93350c-8926-42bf-99fa-8a7aca043fcd,cache=none,werror=stop,rerror=stop,aio=native:
> Could not open
> '/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b':
> Permission denied
> .
>
>
Please consult this wiki [1] and follow it to recreate your export maybe.
It seems that you have permission issues on the storage.

[1] http://lists.ovirt.org/pipermail/devel/2016-April/012790.html


> My ovirt installation is composed of thefollowing:
>
> - 1 manager (virtualized)
> - 1 host
> - storage iscsi
>
> Everything seems to work well from the web administration portal, but all
> vm do not start.
>
> I attach a log file.
>
> Please help me!
>
> Nick
>
> ___
> 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] template mystery

2016-04-18 Thread Campbell McLeay
Hi Fred,

Thanks for the reply.

Possibly, but where would I check? I'm logged in to ovirt web GUI as
the admin user - is there something that sets permissions on templates
that I am not seeing perhaps?

Regards,

Campbell

On 18 April 2016 at 13:27, Fred Rolland  wrote:
> Hi Cam,
>
> Could it be a permission issue ?
>
> Regards,
>
> Fred
>
> On Mon, Apr 18, 2016 at 1:14 AM, Campbell McLeay
>  wrote:
>>
>> Hi,
>>
>> I've got 4 VMs on a 3.6 cluster, and they are listed as based on a
>> template called 'sl6-workstation', yet I cannot find this template
>> anywhere listed in the templates tab or tree. When I go to create a
>> new VM, it gives me the option in the template section to use:
>>
>> sl6-workstation(1)
>>
>> or
>>
>> sl6-workstation(latest)
>>
>> I'm not sure what the difference between these two are, but I'm
>> curious why it doesn't give me the option of not to use a template. It
>> will even be the only option if I select FreeBSD or some other non-sl6
>> OS.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Cam
>> ___
>> 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] Disks Illegal State

2016-04-18 Thread Markus Stockhausen
> Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
> Clint Boggio [cl...@theboggios.com]
> Gesendet: Montag, 18. April 2016 14:16
> An: users@ovirt.org
> Betreff: [ovirt-users] Disks Illegal State
> 
> OVirt 3.6, 4 node cluster with dedicated engine. Main storage domain is 
> iscsi, ISO and Export domains are NFS.
> 
> Several of my VM snapshot disks show to be in an "illegal state". The system 
> will not allow me to manipulate the snapshots in any way, nor clone the 
> active system, or create a new snapshot.
> 
> In the logs I see that the system complains about not being able to "get 
> volume size for xxx", and also that the system appears to believe that the 
> image is "locked" and is currently in the snapshot process.
> 
> Of the VM's with this status, one rebooted and was lost due to "cannot get 
> volume size for domain xxx".
> 
> I fear that in this current condition, should any of the other machine 
> reboot, they too will be lost.
> 
> How can I troubleshoot this problem further, and hopefully alleviate the 
> condition ?
> 
> Thank you for your help.

Hi Clint,

for us the problem always boils down to the following steps. Might be simpler 
as we use
NFS for all of our domains and have direct access to the image files.

1) Check if snapshot disks are currently used. Capture the qemu command line 
with a "ps -ef"
on the nodes. There you can see what images qemu is started with. For each of 
the files check
the backing chain:

# qemu-img info /rhev/.../bbd05dd8-c3bf-4d15-9317-73040e04abae
image: bbd05dd8-c3bf-4d15-9317-73040e04abae
file format: qcow2
virtual size: 50G (53687091200 bytes)
disk size: 133M
cluster_size: 65536
backing file: 
../f8ebfb39-2ac6-4b87-b193-4204d1854edc/595b95f4-ce1a-4298-bd27-3f6745ae4e4c
backing file format: raw
Format specific information:
compat: 0.10

# qemu-img info .../595b95f4-ce1a-4298-bd27-3f6745ae4e4c (see above)
...

I don't know how you can accomplish this on ISCSI (and LVM based images inside 
iirc). We
usually follow the backing chain and test if all the files exist and are linked 
correctly. Especially
if everything matches the OVirt GUI. I guess this is the most important part 
for you.

2) In most of our cases everything is fine and only the OVirt database is 
wrong. So we fix it
at our own risk. Because of your explanation I do not recommend that for you. 
It is just for 
documentation purpose.

engine# su - postgres
> psql engine postgres

> select image_group_id,imagestatus from images where imagestatus =4;
> ... list of illegal images
> update images set imagestatus =1 where imagestatus = 4 and ;
> commit

> select description,status from snapshots where status <> 'OK';
> ... list of locked snapshots
> update snapshots set status = 'OK' where status <> 'OK' and ;
> commit

> \q

Restart engine and everything should be in sync again. 

Best regards.

Markus
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [ovirt-users] template mystery

2016-04-18 Thread Fred Rolland
Hi Cam,

Could it be a permission issue ?

Regards,

Fred

On Mon, Apr 18, 2016 at 1:14 AM, Campbell McLeay <
campbell.mcl...@framestore.com> wrote:

> Hi,
>
> I've got 4 VMs on a 3.6 cluster, and they are listed as based on a
> template called 'sl6-workstation', yet I cannot find this template
> anywhere listed in the templates tab or tree. When I go to create a
> new VM, it gives me the option in the template section to use:
>
> sl6-workstation(1)
>
> or
>
> sl6-workstation(latest)
>
> I'm not sure what the difference between these two are, but I'm
> curious why it doesn't give me the option of not to use a template. It
> will even be the only option if I select FreeBSD or some other non-sl6
> OS.
>
> Any ideas?
>
> Thanks,
>
> Cam
> ___
> 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] Disks Illegal State

2016-04-18 Thread Raz Tamir
​​Hi Clint,
Did you try to remove the relevant snapshots with illegal disks?
In case you do, the removal failed or passed?

See this: https://bugzilla.redhat.com/show_bug.cgi?id=1275836




Thanks,
Raz Tamir
Red Hat Israel

On Mon, Apr 18, 2016 at 3:20 PM, Ollie Armstrong  wrote:

> On 18 April 2016 at 13:16, Clint Boggio  wrote:
> > Several of my VM snapshot disks show to be in an "illegal state". The
> system will not allow me to manipulate the snapshots in any way, nor clone
> the active system, or create a new snapshot.
> >
> > How can I troubleshoot this problem further, and hopefully alleviate the
> condition ?
>
> I've experienced a similar thing before and referred to this [1]
> comment on BZ1302215 to help me out.  Followed those steps and my
> issue was resolved.  I'm still not aware of the root cause of this
> problem though.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c13
> ___
> 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] Disks Illegal State

2016-04-18 Thread Ollie Armstrong
On 18 April 2016 at 13:16, Clint Boggio  wrote:
> Several of my VM snapshot disks show to be in an "illegal state". The system 
> will not allow me to manipulate the snapshots in any way, nor clone the 
> active system, or create a new snapshot.
>
> How can I troubleshoot this problem further, and hopefully alleviate the 
> condition ?

I've experienced a similar thing before and referred to this [1]
comment on BZ1302215 to help me out.  Followed those steps and my
issue was resolved.  I'm still not aware of the root cause of this
problem though.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Disks Illegal State

2016-04-18 Thread Clint Boggio
OVirt 3.6, 4 node cluster with dedicated engine. Main storage domain is iscsi, 
ISO and Export domains are NFS.

Several of my VM snapshot disks show to be in an "illegal state". The system 
will not allow me to manipulate the snapshots in any way, nor clone the active 
system, or create a new snapshot.

In the logs I see that the system complains about not being able to "get volume 
size for xxx", and also that the system appears to believe that the image is 
"locked" and is currently in the snapshot process.

Of the VM's with this status, one rebooted and was lost due to "cannot get 
volume size for domain xxx".

I fear that in this current condition, should any of the other machine reboot, 
they too will be lost.

How can I troubleshoot this problem further, and hopefully alleviate the 
condition ?

Thank you for your help.

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


Re: [ovirt-users] Users Digest, Vol 55, Issue 124

2016-04-18 Thread Charles Tassell

Hi Nick,

Try running "ls -l 
/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b" 
and check the ownership of the file.  It should be owned by vdsm:kvm (or 
user and group 36:36 I think) Another thing to check would be that the 
parent directories are accessible.  Try running "sudo -s /bin/bash vdsm" 
and then "cd 
/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images" 
to make sure you can access all the parent folders.  If you can, try 
creating a temp file ("echo hello >hello") in that same directory to 
make sure that the iSCSI mount hasn't gone read only.


If none of that helps, I'd say take a look at the output of vgdisplay to 
make sure that the volume group still has free physical extents (Free 
PE/Size near the bottom)  If you are using thin provisioning that might 
be an issue.


This is all based on the issue being disk permission errors.  It might 
be an error with the libvirt authentication, but I have no idea how to 
diagnose that.



On 16-04-18 05:32 AM, users-requ...@ovirt.org wrote:

Message: 2
Date: Mon, 18 Apr 2016 10:32:40 +0200
From: "nicola.gentile.to"
To:Users@ovirt.org
Subject: [ovirt-users] any virtual machine does not start
Message-ID:<57149ba8.90...@gmail.com>
Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"

hi,
I have a problem with ovirt 3.6.
When I click on the button "run" to start vm, it not start and terminate
immediatly.

This is the error in the admin portale:

VM ubuexp is down with error. Exit message: internal error: process
exited while connecting to monitor: 2016-04-18T08:18:22.499782Z
qemu-kvm: -drive
file=/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b,if=none,id=drive-virtio-disk0,format=qcow2,serial=da93350c-8926-42bf-99fa-8a7aca043fcd,cache=none,werror=stop,rerror=stop,aio=native:
Could not open
'/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b':
Permission denied
.

My ovirt installation is composed of thefollowing:

- 1 manager (virtualized)
- 1 host
- storage iscsi

Everything seems to work well from the web administration portal, but
all vm do not start.

I attach a log file.

Please help me!

Nick


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


[ovirt-users] Cannot add new users via api after AAA migration

2016-04-18 Thread Karli Sjöberg
Hi!

A little background:
https://www.mail-archive.com/users@ovirt.org/msg31815.html

Trying to add new user from webadmin gives:
2016-04-18 12:19:14,448 INFO  [org.ovirt.engine.core.bll.aaa.AddUserCommand] 
(default task-10) [53227bd6] Running command: AddUserCommand internal: false. 
Entities affected :  ID: aaa0----123456789aaa Type: 
SystemAction group MANIPULATE_USERS with role type ADMIN
2016-04-18 12:19:14,466 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-10) [53227bd6] Correlation ID: 53227bd6, Call Stack: null, Custom Event 
ID: -1, Message: User 'firstname.lastn...@foo.bar' was added successfully to 
the system.

The user is then found as 'firstname.lastn...@foo.bar@baz.foo.bar'
under Users tab. Also possible to find user with api:
https://engine-address.foo.bar/ovirt-engine/api/users?search=Firstname
...
firstname.lastn...@foo.bar@baz.foo.bar
...

But removing the user and trying to add it again with e.g. Python
fails:

status: 404
reason: Not Found
detail: Entity not found: adu...@baz.foo.bar:: 
username=firstname.lastn...@foo.bar

The code, previously working with the now deprecated engine-manage-
domains, except PRINCIPAL_NAME was just SAM_ACCOUNT_NAME without
SUFFIX:

DOMAIN_NAME = 'baz.foo.bar'
SUFFIX = '@foo.bar'

try:
domain = api.domains.get(name='%s' % (DOMAIN_NAME))
userparams = params.User()
userparams.set_user_name('%s%s' % (PRINCIPAL_NAME,SUFFIX))
userparams.set_domain(domain)
api.users.add(userparams)
except Exception as e:
print e

Also tried with SUFFIX = '@foo@baz.foo.bar', as that´s what the
user is called after creation, fails as well.

Am I "holding it wrong" or is this a bug?

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


Re: [ovirt-users] adding glusterfs to ovirt

2016-04-18 Thread Fabrice Bacchella
> Le 18 avr. 2016 à 10:37, Sahina Bose  a écrit :
> 
> 
> 
> On 04/13/2016 09:00 PM, Fabrice Bacchella wrote:
>> I installed a oVirt stack without glusterfs. Now I want to add it. So I 
>> configured a cluster to be a gluster-enabled one. Now i want to add a 
>> gluster volume to it.
>> 
>> That went fine until I click Ok at the "New Volume" dialog, the answer was :
>> 
>> Error while executing action Create Gluster Volume: Unexpected exception
> 

> Check if you have vdsm-gluster installed on the nodes in the cluster
> 

The cluster was setup by ovirt, and running. So ovirt might have forgotten to 
install or start it ?


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


Re: [ovirt-users] adding glusterfs to ovirt

2016-04-18 Thread Sahina Bose



On 04/13/2016 09:00 PM, Fabrice Bacchella wrote:

I installed a oVirt stack without glusterfs. Now I want to add it. So I 
configured a cluster to be a gluster-enabled one. Now i want to add a gluster 
volume to it.

That went fine until I click Ok at the "New Volume" dialog, the answer was :

Error while executing action Create Gluster Volume: Unexpected exception

I the log, I saw :

2016-04-13 16:45:53,573 INFO  
[org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] 
(DefaultQuartzScheduler_Worker-84) [5303bffb] FINISH, 
GlusterTasksListVDSCommand, log id: 2e5a7991
2016-04-13 16:45:53,573 ERROR 
[org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob] 
(DefaultQuartzScheduler_Worker-84) [5303bffb] Error updating tasks from CLI: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to GlusterTasksListVDS, error = 
The method does not exist / is not available., code = -32601 (Failed with error 
unexpected and code 16)
at 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:112) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.runVdsCommand(GlusterTasksService.java:64)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService.getTaskListForCluster(GlusterTasksService.java:32)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.gluster.GlusterTasksSyncJob.updateGlusterAsyncTasks(GlusterTasksSyncJob.java:87)
 [bll.jar:]
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source) 
[:1.7.0_99]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.7.0_99]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_99]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.invokeMethod(JobWrapper.java:81) 
[scheduler.jar:]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:52) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]


Check if you have vdsm-gluster installed on the nodes in the cluster




___
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] any virtual machine does not start

2016-04-18 Thread nicola.gentile.to

hi,
I have a problem with ovirt 3.6.
When I click on the button "run" to start vm, it not start and terminate 
immediatly.


This is the error in the admin portale:

VM ubuexp is down with error. Exit message: internal error: process 
exited while connecting to monitor: 2016-04-18T08:18:22.499782Z 
qemu-kvm: -drive 
file=/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b,if=none,id=drive-virtio-disk0,format=qcow2,serial=da93350c-8926-42bf-99fa-8a7aca043fcd,cache=none,werror=stop,rerror=stop,aio=native: 
Could not open 
'/rhev/data-center/0001-0001-0001-0001-037d/88dfff37-4ad5-446c-a957-1cf67829c9a6/images/da93350c-8926-42bf-99fa-8a7aca043fcd/22e7803d-e266-4e3e-ae34-0181f8acef8b': 
Permission denied

.

My ovirt installation is composed of thefollowing:

- 1 manager (virtualized)
- 1 host
- storage iscsi

Everything seems to work well from the web administration portal, but 
all vm do not start.


I attach a log file.

Please help me!

Nick
2016-04-18 08:26:51,102 INFO  [org.ovirt.engine.docs.utils.servlet.ContextSensitiveHelpMappingServlet] (default task-17) [] Context-sensitive help is not installed. Manual directory doesn't exist: /usr/share/ovirt-engine/manual
2016-04-18 08:27:38,035 INFO  [org.ovirt.engine.extension.aaa.jdbc.core.Tasks] (default task-20) [] (house keeping) deleting failed logins prior to 2016-04-11 06:27:38Z.
2016-04-18 08:27:38,082 INFO  [org.ovirt.engine.extension.aaa.jdbc.core.Tasks] (default task-20) [] (house keeping) deleting failed logins prior to 2016-04-11 06:27:38Z.
2016-04-18 08:27:38,174 INFO  [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-20) [] Running command: LoginAdminUserCommand internal: false.
2016-04-18 08:27:38,189 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-20) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal logged in.
2016-04-18 08:27:53,935 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (default task-46) [7960fc9] Lock Acquired to object 'EngineLock:{exclusiveLocks='[f6f199d5-f808-447a-bff2-6109eb2c9439=]', sha
redLocks='null'}'
2016-04-18 08:27:54,006 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-46) [7960fc9] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{runAsync='true', vmId='f6f199d5
-f808-447a-bff2-6109eb2c9439'}), log id: 71df70c1
2016-04-18 08:27:54,006 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-46) [7960fc9] FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 71df70c1
2016-04-18 08:27:54,055 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] Running command: RunVmCommand internal: false. Entities affected :  ID: f6f199d5-f808-447a-bff2-6109eb2c9439 Type: VMA
ction group RUN_VM with role type USER
2016-04-18 08:27:54,083 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] START, UpdateVmDynamicDataVDSCommand( UpdateVmDynamicDataVDSCommandParameters:{runAsync='true',
 hostId='null', vmId='----', vmDynamic='org.ovirt.engine.core.common.businessentities.VmDynamic@e46bf4ae'}), log id: 7ef6f688
2016-04-18 08:27:54,090 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] FINISH, UpdateVmDynamicDataVDSCommand, log id: 7ef6f688
2016-04-18 08:27:54,092 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] START, CreateVmVDSCommand( CreateVmVDSCommandParameters:{runAsync='true', hostId='7b383276-2183-4fdd-94ec-
2ff27c03c79b', vmId='f6f199d5-f808-447a-bff2-6109eb2c9439', vm='VM [ubuexp]'}), log id: 32cadda7
2016-04-18 08:27:54,095 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] START, CreateVDSCommand(HostName = h1o.polito.it, CreateVmVDSCommandParameters:{runAsync='true', h
ostId='7b383276-2183-4fdd-94ec-2ff27c03c79b', vmId='f6f199d5-f808-447a-bff2-6109eb2c9439', vm='VM [ubuexp]'}), log id: 12f140c0
2016-04-18 08:27:54,100 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase] (org.ovirt.thread.pool-8-thread-42) [7960fc9] Bootable disk 'da93350c-8926-42bf-99fa-8a7aca043fcd' set to index '0'
2016-04-18 08:27:54,115 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (org.ovirt.thread.pool-8-thread-42) [7960fc9] org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand pitReinjection=false,memGuaranteedSize=

Re: [ovirt-users] connecting to windows 10 vm with tdp

2016-04-18 Thread Yedidyah Bar David
On Mon, Apr 18, 2016 at 10:40 AM, Zeev Mindali  wrote:
>
> Spice => Simple Protocol for Computer Eniverment
>
> I know that the RDP is better for wan uses, so how I can use RDP with ovirt 
> instend of spice

AFAIU rdp is not supported directly, in the same way vnc/spice are.
Rather, you configure it on your Windows guest as usual, and there is
some integration with the guest agent, to provide single-sign-on or
something like that.

Adding Lev.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] connecting to windows 10 vm with tdp

2016-04-18 Thread Zeev Mindali
Spice => Simple Protocol for Computer Eniverment
I know that the RDP is better for wan uses, so how I can use RDP with ovirt 
instend of spice


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com



From: Yaniv Kaul [mailto:yk...@redhat.com]
Sent: Monday, April 18, 2016 10:55 AM
To: Zeev Mindali‏ 
Cc: Yair Zaslavsky‏ ; users@ovirt.org
Subject: Re: [ovirt-users] connecting to windows 10 vm with tdp



On Mon, Apr 18, 2016 at 10:22 AM, Zeev Mindali 
> wrote:
Spice is to simple protocol, and have an issue on wan.

Spice is certainly not a simple protocol, and while not as good as RDP on WAN, 
it can run pretty well - provided you have the QXL drivers installed on the 
guest.
Y.

I have been told that RDP can work smoothly


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com



From: Yair Zaslavsky 
[mailto:yzaslav...@aconex.com]
Sent: Monday, April 18, 2016 9:42 AM
To: Zeev Mindali‏ >
Cc: users@ovirt.org
Subject: Re: [ovirt-users] connecting to windows 10 vm with tdp

Out of curiosity,  did you try to use spice?
I assume your VM is running windows OS, based on the mentioning of RDP?


From: "Zeev Mindali" >
To: users@ovirt.org
Sent: Monday, 18 April, 2016 3:54:28 PM
Subject: [ovirt-users] connecting to windows 10 vm with tdp

Dear all,

I have ovirt 3.6 on centos 7.2.
I would like to connect with rdp to my vm , but I didn't found how I can enable 
this option, it's allways in gray
Thanks for the help


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com


___
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] connecting to windows 10 vm with tdp

2016-04-18 Thread Yaniv Kaul
On Mon, Apr 18, 2016 at 10:22 AM, Zeev Mindali  wrote:

> Spice is to simple protocol, and have an issue on wan.
>

Spice is certainly not a simple protocol, and while not as good as RDP on
WAN, it can run pretty well - provided you have the QXL drivers installed
on the guest.
Y.


> I have been told that RDP can work smoothly
>
>
>
>
>
> [image: logo]
>
>
>
> Zeev Mindali
> Windows & Mobile Developer
> Chip PC, 5 Nahum Hat St.
> Haifa
> Israel 3508504
>
> Tel+972-4-8501121
> Fax   +972-4-8501088
> Cell   +972-52-4043142
> Email ze...@chippc.com
> Web  www.chippc.com
>
>
>
>
>
>
>
> *From:* Yair Zaslavsky [mailto:yzaslav...@aconex.com]
> *Sent:* Monday, April 18, 2016 9:42 AM
> *To:* Zeev Mindali‏ 
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] connecting to windows 10 vm with tdp
>
>
>
> Out of curiosity,  did you try to use spice?
> I assume your VM is running windows OS, based on the mentioning of RDP?
>
>
> --
>
> *From: *"Zeev Mindali" 
> *To: *users@ovirt.org
> *Sent: *Monday, 18 April, 2016 3:54:28 PM
> *Subject: *[ovirt-users] connecting to windows 10 vm with tdp
>
>
>
> Dear all,
>
>
>
> I have ovirt 3.6 on centos 7.2.
>
> I would like to connect with rdp to my vm , but I didn't found how I can
> enable this option, it's allways in gray
>
> Thanks for the help
>
>
>
>
>
> [image: logo]
>
>
>
> Zeev Mindali
> Windows & Mobile Developer
> Chip PC, 5 Nahum Hat St.
> Haifa
> Israel 3508504
>
> Tel+972-4-8501121
> Fax   +972-4-8501088
> Cell   +972-52-4043142
> Email ze...@chippc.com
> Web  www.chippc.com
>
>
>
>
> ___
> 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] connecting to windows 10 vm with tdp

2016-04-18 Thread Zeev Mindali
Spice is to simple protocol, and have an issue on wan.
I have been told that RDP can work smoothly


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com



From: Yair Zaslavsky [mailto:yzaslav...@aconex.com]
Sent: Monday, April 18, 2016 9:42 AM
To: Zeev Mindali‏ 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] connecting to windows 10 vm with tdp

Out of curiosity,  did you try to use spice?
I assume your VM is running windows OS, based on the mentioning of RDP?



From: "Zeev Mindali" >
To: users@ovirt.org
Sent: Monday, 18 April, 2016 3:54:28 PM
Subject: [ovirt-users] connecting to windows 10 vm with tdp

Dear all,

I have ovirt 3.6 on centos 7.2.
I would like to connect with rdp to my vm , but I didn't found how I can enable 
this option, it's allways in gray
Thanks for the help


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com


___
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] connecting to windows 10 vm with tdp

2016-04-18 Thread Yair Zaslavsky
Maybe this can help 

http://www.ovirt.org/documentation/internal/guest-agent/understanding-guest-agents-and-other-tools/
 


- Original Message -

From: "Yair Zaslavsky"  
To: "Zeev Mindali"  
Cc: users@ovirt.org 
Sent: Monday, 18 April, 2016 4:42:17 PM 
Subject: Re: [ovirt-users] connecting to windows 10 vm with tdp 

Out of curiosity, did you try to use spice? 
I assume your VM is running windows OS, based on the mentioning of RDP? 



- Original Message -

From: "Zeev Mindali"  
To: users@ovirt.org 
Sent: Monday, 18 April, 2016 3:54:28 PM 
Subject: [ovirt-users] connecting to windows 10 vm with tdp 



Dear all, 



I have ovirt 3.6 on centos 7.2. 

I would like to connect with rdp to my vm , but I didn't found how I can enable 
this option, it's allways in gray 

Thanks for the help 









Zeev Mindali 
Windows & Mobile Developer 
Chip PC, 5 Nahum Hat St. 
Haifa 
Israel 3508504 

Tel +972-4-8501121 
Fax +972-4-8501088 
Cell +972-52-4043142 
Email ze...@chippc.com 
Web www.chippc.com 



___ 
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] connecting to windows 10 vm with tdp

2016-04-18 Thread Yair Zaslavsky
Out of curiosity, did you try to use spice? 
I assume your VM is running windows OS, based on the mentioning of RDP? 



- Original Message -

From: "Zeev Mindali"  
To: users@ovirt.org 
Sent: Monday, 18 April, 2016 3:54:28 PM 
Subject: [ovirt-users] connecting to windows 10 vm with tdp 



Dear all, 



I have ovirt 3.6 on centos 7.2. 

I would like to connect with rdp to my vm , but I didn't found how I can enable 
this option, it's allways in gray 

Thanks for the help 









Zeev Mindali 
Windows & Mobile Developer 
Chip PC, 5 Nahum Hat St. 
Haifa 
Israel 3508504 

Tel +972-4-8501121 
Fax +972-4-8501088 
Cell +972-52-4043142 
Email ze...@chippc.com 
Web www.chippc.com 



___ 
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] connecting to windows 10 vm with tdp

2016-04-18 Thread Zeev Mindali
Dear all,

I have ovirt 3.6 on centos 7.2.
I would like to connect with rdp to my vm , but I didn't found how I can enable 
this option, it's allways in gray
Thanks for the help


[logo]

Zeev Mindali
Windows & Mobile Developer
Chip PC, 5 Nahum Hat St.
Haifa
Israel 3508504

Tel+972-4-8501121
Fax   +972-4-8501088
Cell   +972-52-4043142
Email ze...@chippc.com
Web  www.chippc.com

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