[ovirt-users] [hosted-engine] Metadata version too new error when adding 2nd host

2016-04-19 Thread Wee Sritippho

Hi,

I used CentOS-7-x86_64-Minimal-1511.iso to install the hosts and the engine.

The 1st host and the hosted-engine were installed successfully, but the 
2nd host setup failed with this error message:


"Failed to execute stage 'Setup validation': Metadata version 2 from 
host 52 too new for this agent (highest compatible version: 1)"


Here is the packages versions:

[root@host02 ~]# rpm -qa | grep ovirt
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.5.1-1.el7.centos.noarch
ovirt-hosted-engine-setup-1.3.4.0-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch

[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-setup-base-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.4.1-1.el7.centos.noarch
ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
ovirt-engine-tools-3.6.4.1-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.4.1-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.4.1-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-engine-backend-3.6.4.1-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.4.1-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-3.6.4.1-1.el7.centos.noarch
ovirt-engine-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
ovirt-guest-agent-common-1.0.11-1.el7.noarch
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-websocket-proxy-3.6.4.1-1.el7.centos.noarch
ovirt-engine-restapi-3.6.4.1-1.el7.centos.noarch
ovirt-engine-userportal-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.4.1-1.el7.centos.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
ovirt-engine-lib-3.6.4.1-1.el7.centos.noarch


Here are the log files: 
https://gist.github.com/weeix/1743f88d3afe1f405889a67ed4011141


--
Wee

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


[ovirt-users] [hosted-engine] Metadata too new error when adding 2nd host

2016-04-19 Thread Wee Sritippho

Hi,

I used CentOS-7-x86_64-Minimal-1511.iso to install the hosts and the engine.

The 1st host and the hosted-engine were installed successfully, but the 
2nd host failed with this error message:


"Failed to execute stage 'Setup validation': Metadata version 2 from 
host 52 too new for this agent (highest compatible version: 1)"


Here is the package versions:

[root@host02 ~]# rpm -qa | grep ovirt
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.5.1-1.el7.centos.noarch
ovirt-hosted-engine-setup-1.3.4.0-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch

[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-setup-base-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.4.1-1.el7.centos.noarch
ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
ovirt-engine-tools-3.6.4.1-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.4.1-1.el7.centos.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.4.1-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-engine-backend-3.6.4.1-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.4.1-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-3.6.4.1-1.el7.centos.noarch
ovirt-engine-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.4.1-1.el7.centos.noarch
ovirt-guest-agent-common-1.0.11-1.el7.noarch
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-websocket-proxy-3.6.4.1-1.el7.centos.noarch
ovirt-engine-restapi-3.6.4.1-1.el7.centos.noarch
ovirt-engine-userportal-3.6.4.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.4.1-1.el7.centos.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
ovirt-engine-lib-3.6.4.1-1.el7.centos.noarch


Here are the log files: 
https://gist.github.com/weeix/1743f88d3afe1f405889a67ed4011141


--
Wee

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


[ovirt-users] Unable to add hosts in ovirt-engine 3.6

2016-04-19 Thread Sandvik Agustin
Hi Users,

Good day, i'm having problem on adding hosts/hypervisor in ovirt-engine
3.6, a month ago i have successfully added 2 hypervisor when the engine is
still version 3.5, then a week ago, i manage to update the engine from 3.5
to 3.6, yesterday i'm adding another 1 hypervisor and i tried using ovirt
3.6 repo for the new hypervisor and failed to add, tried to add the ovirt
3.5 repo and still failed to add, the ovirt-engine event tab shows "error
code 1 during ssh session" i've googled it, "correct me if i'm wrong with
this" the hypervisor having problema resolving name server which inside of
ovirt repo 3.5 or 3.6, when i tried to open those "repolist" and tried to
access it on my web browser it shows that
"This site can’t be reached"
some of sites inside repos are unable to reach or the directory path did
not exist.

are we having problem about those repos or it just me?

is there any other way to install or add hosts whenever the repos or sites
that holding the packages are having problem?

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


[ovirt-users] 3.6 Update from Engine (GUI) doesn't upgrade hooks ?

2016-04-19 Thread Matt .
Hi Guys,

Is it true that the upgrade command from the GUI doesn't upgrade all
vdsm packages, like hooks ?

It would also be nice to be able to set somewhere we just want to run
yum update and update all packages on the hosts (maybe with reboot).

Cheers,

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


[ovirt-users] add 3rd nic to host

2016-04-19 Thread Edward Clay
I've been trying to figure out the best method to add a 3rd NIC to a
host that is already cofigured/added to ovirt.  The basic thought is to
add a 10Gb NIC to use for ovirt mgmt/san access to each host.  What
I've tried so far is as follows.

1. put the host into maintenance mode.
2. power the server down and have the NIC added.
3. booted the server up and attempted to edit the network interfaces
config.

I'm not seeing the new interface being listed as available in the
"Setup Host Networks" window.  Is there  better/proper way to do this
other than removing it from oVirt and uninstalling all of the rpms and
manually reconfiguring the network interfaces?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disks Illegal State

2016-04-19 Thread Nir Soffer
On Mon, Apr 18, 2016 at 3:16 PM, Clint Boggio  wrote:
> 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".
>

Can you share the vdsm log showing these errors?

Also it may helpful to get the output of this command:

vdsm-tool dump-volume-chains SDUUID

Nir

> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ldap servers configuration can be misleading with AD

2016-04-19 Thread Fabrice Bacchella

> Le 19 avr. 2016 à 17:35, Ondra Machacek  a écrit :
> 
> On 04/19/2016 04:37 PM, Fabrice Bacchella wrote:
>> I tried to plug ovirt using my company AD.
>> 
>> But I have a problem, the DNS srv records are not well managed and I can't 
>> use them so I changed pool.default.serverset.type from srvrecord to failover.
> 
> With AD you should use srvrecord, unless you have somehow miscofigured AD.
> Can you please elaborate more what does it mean 'DNS srv records are not well 
> managed'?

The command
dig +short  _ldap._tcp.dsone.3ds.com any | wc -l
return 122 lines. Out of that, I can only use less than 10, all other generates 
timeout. I don't know if it's firewall or forgotten DC that generate that. 
There is no way I can use srvrecord.
This domain is totally out of my reach, I have to take it as is.

> 
> Can you please send engine log or if you are on 3.6, then use this command to 
> test and provide log:
> $ ovirt-engine-extensions-tool --log-level=FINEST --log-file=ad-search.log 
> aaa search --entity-name=userX --extension-name=ad-authz

I kill it after 1h of execution, and a 1.6MB log file, when I have
pool.default.serverset.type = srvrecord
pool.default.serverset.srvrecord.domain = ${global:vars.domain}

With pool.default.serverset.type = failover and 
pool.default.connection-options.connectTimeoutMillis = 500, I got:
time ovirt-engine-extensions-tool  bla
real1m29.264s
user0m6.837s
sys 0m0.291s
and a 278KB log file.


And with my setup (pool.default.serverset.type and 
pool.default.dc-resolve.default.serverset.type set to failover, 
pool.default.connection-options.connectTimeoutMillis = 500), I got
real0m5.084s
user0m6.343s
sys 0m0.164s
and a 199KB log file.


With pool.default.dc-resolve.enable = false, the results is the same than with 
failover for every one.

> 
> Btw: Do you use mutli domain AD setup? Or only single domain?

I think it's a single domain, but I'm not a Microsoft expert at all.


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


Re: [ovirt-users] quota

2016-04-19 Thread Budur Nagaraju
HI

I have created a quota and have set the storage limited to 900GB   ,my
entire storage space is 1TB but showing some extra allocation below are the
details,

Size:1007 GB
Available:210 GB
Used: 800GB
Allocated:1900 GB


When I try to create a vm showing insufficient resources,can you please
resolve the issue ?



On Tue, Apr 19, 2016 at 8:42 PM, Roman Mohr  wrote:

>
> Hi,
>
> On Tue, Apr 19, 2016 at 3:30 PM, Budur Nagaraju  wrote:
>
>> Hi
>>
>>
>> How to set quota and assign permissions in oVirt 3.5 ?
>>
>> When you click on your datacenter in the tree on the left side
> (IMPORTANT: not the tab named Data Centers) a new tab called "Quota" will
> appear. There you can create quotas or assign them to different objects
> like VM, Storage or to users and groups in the consumer subtab.
>
> Best Regards,
> Roman
>
>> Thanks,
>> Nagaraju
>>
>>
>> ___
>> 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] ldap servers configuration can be misleading with AD

2016-04-19 Thread Ondra Machacek

On 04/19/2016 04:37 PM, Fabrice Bacchella wrote:

I tried to plug ovirt using my company AD.

But I have a problem, the DNS srv records are not well managed and I can't use 
them so I changed pool.default.serverset.type from srvrecord to failover.


With AD you should use srvrecord, unless you have somehow miscofigured AD.
Can you please elaborate more what does it mean 'DNS srv records are not 
well managed'?


Can you please send engine log or if you are on 3.6, then use this 
command to test and provide log:
$ ovirt-engine-extensions-tool --log-level=FINEST 
--log-file=ad-search.log aaa search --entity-name=userX 
--extension-name=ad-authz


Btw: Do you use mutli domain AD setup? Or only single domain?



But it was not enough, it was still using those invalid records. It was used by 
pool.default.dc-resolve.default.serverset.type too. I found that after digging 
in the source. I wonder why it should be specified twice. Why 
pool.default.dc-resolve.default.serverset and pool.default.serverset are 
different ?


You can disable 'dc-resolve' by 'pool.default.dc-resolve.enable = false',
but first you should find issue.



I also need to specify search.ad-resolve-upn.search-request.baseDN because it 
didn't found it any more. I wonder if it's related.

My aaa property file:

include = 

vars.domain = MYDOME
vars.user = A_DN
vars.password = the_password
vars.forest = my_forest

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
pool.default.serverset.type = failover
pool.default.serverset.failover.1.server = server1
pool.default.serverset.failover.2.server = server2
pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file = trust.jks
pool.default.ssl.truststore.password =
pool.default.ssl.startTLSProtocol = TLSv1.2

pool.default.connection-options.connectTimeoutMillis = 500
pool.default.dc-resolve.enable = true
pool.default.dc-resolve.default.serverset.type = failover
pool.default.dc-resolve.serverset.failover.1.server = server1
pool.default.dc-resolve.serverset.failover.2.server = server2

search.ad-resolve-upn.search-request.baseDN = BASE_DN


___
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] quota

2016-04-19 Thread Roman Mohr
Hi,

On Tue, Apr 19, 2016 at 3:30 PM, Budur Nagaraju  wrote:

> Hi
>
>
> How to set quota and assign permissions in oVirt 3.5 ?
>
> When you click on your datacenter in the tree on the left side (IMPORTANT:
not the tab named Data Centers) a new tab called "Quota" will appear. There
you can create quotas or assign them to different objects like VM, Storage
or to users and groups in the consumer subtab.

Best Regards,
Roman

> Thanks,
> Nagaraju
>
>
> ___
> 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] ldap servers configuration can be misleading with AD

2016-04-19 Thread Fabrice Bacchella
I tried to plug ovirt using my company AD.

But I have a problem, the DNS srv records are not well managed and I can't use 
them so I changed pool.default.serverset.type from srvrecord to failover.

But it was not enough, it was still using those invalid records. It was used by 
pool.default.dc-resolve.default.serverset.type too. I found that after digging 
in the source. I wonder why it should be specified twice. Why 
pool.default.dc-resolve.default.serverset and pool.default.serverset are 
different ?

I also need to specify search.ad-resolve-upn.search-request.baseDN because it 
didn't found it any more. I wonder if it's related.

My aaa property file:

include = 

vars.domain = MYDOME
vars.user = A_DN
vars.password = the_password
vars.forest = my_forest

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
pool.default.serverset.type = failover
pool.default.serverset.failover.1.server = server1
pool.default.serverset.failover.2.server = server2
pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file = trust.jks
pool.default.ssl.truststore.password = 
pool.default.ssl.startTLSProtocol = TLSv1.2

pool.default.connection-options.connectTimeoutMillis = 500
pool.default.dc-resolve.enable = true
pool.default.dc-resolve.default.serverset.type = failover
pool.default.dc-resolve.serverset.failover.1.server = server1
pool.default.dc-resolve.serverset.failover.2.server = server2

search.ad-resolve-upn.search-request.baseDN = BASE_DN


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


[ovirt-users] quota

2016-04-19 Thread Budur Nagaraju
Hi


How to set quota and assign permissions in oVirt 3.5 ?

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


[ovirt-users] Quota-permissios

2016-04-19 Thread Budur Nagaraju
HI All,

Creating some user  policies in oVirt ,which permissions do I need to
select so that users can choose the the quota while deploying the vms.

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


Re: [ovirt-users] vhostmd vdsm-hook

2016-04-19 Thread Simon Barrett
Thanks again but how does that work when a VM is configured to have more than 
one disk?

If I have a VM with a /dev/vda disk and a /dev/vdb disk, when I turn the 
vhostmd hook on the vm metric device gets created  as /dev/vdb and the original 
/dev/vdb disk gets bumped to /dev/vdc.

Is that expected behavior? Will that not cause problems?

Thanks,

Simon

From: Arsène Gschwind [mailto:arsene.gschw...@unibas.ch]
Sent: Tuesday, 19 April, 2016 13:06
To: Simon Barrett ; users@ovirt.org
Subject: Re: [ovirt-users] vhostmd vdsm-hook

The metric information are available on this additional disk /dev/vdb. You may 
install the package vm-dump-metrics and use the command vm-dump-metrics which 
will display all metrics in an xml format.

Arsène
On 04/19/2016 10:48 AM, Simon Barrett wrote:
Thanks Arsène,

I have vhostmd running on the ovirt node and have set the sap_agent to true on 
the VM configuration. I also stopped and started the VM to ensure that the 
config change took effect.

On the oVirt node I see the vhostmd running and see the following entry in the 
qemu-kvm output:

drive 
file=/dev/shm/vhostmd0,if=none,id=drive-virtio-disk701,readonly=on,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk701,id=virtio-disk701

The part I wasn't quite understanding was how this presented itself on the VM 
but I now see a new disk device "/dev/vdb". If I cat the contents of /dev/vdb I 
now see the information that is provided from the ovirt node, which is great 
news and very useful.

Thanks for your help.

Simon

From: users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] On Behalf Of Arsène Gschwind
Sent: Monday, 18 April, 2016 16:03
To: users@ovirt.org
Subject: Re: [ovirt-users] vhostmd vdsm-hook

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] vhostmd vdsm-hook

2016-04-19 Thread Arsène Gschwind
The metric information are available on this additional disk /dev/vdb. 
You may install the package vm-dump-metrics and use the command 
vm-dump-metrics which will display all metrics in an xml format.


Arsène

On 04/19/2016 10:48 AM, Simon Barrett wrote:


Thanks Arsène,

I have vhostmd running on the ovirt node and have set the sap_agent to 
true on the VM configuration. I also stopped and started the VM to 
ensure that the config change took effect.


On the oVirt node I see the vhostmd running and see the following 
entry in the qemu-kvm output:


drive 
file=/dev/shm/vhostmd0,if=none,id=drive-virtio-disk701,readonly=on,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk701,id=virtio-disk701


The part I wasn’t quite understanding was how this presented itself on 
the VM but I now see a new disk device “/dev/vdb”. If I cat the 
contents of /dev/vdb I now see the information that is provided from 
the ovirt node, which is great news and very useful.


Thanks for your help.

Simon

*From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On 
Behalf Of *Arsène Gschwind

*Sent:* Monday, 18 April, 2016 16:03
*To:* users@ovirt.org
*Subject:* Re: [ovirt-users] vhostmd vdsm-hook

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] Storage-Quota

2016-04-19 Thread Roman Mohr
Hi Nagaraju,

On Tue, Apr 19, 2016 at 1:12 PM, Budur Nagaraju  wrote:

> HI
>
> I have configured oVirt with 1TB storage  and created a  storage quota
> limited to 800GB beyond 800GB if any user creates a vms oVirt should  not
> allow to create a vm ,but still users are able to create .
>
> Did you set the "Quota mode" to "enforced" in the Datacenter settings?


> is there any setting which I'm missing ?
>
> Thanks,
> Nagaraju
>
>
>
Best Regards,
Roman



> ___
> 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] Storage-Quota

2016-04-19 Thread Budur Nagaraju
HI

I have configured oVirt with 1TB storage  and created a  storage quota
limited to 800GB beyond 800GB if any user creates a vms oVirt should  not
allow to create a vm ,but still users are able to create .

is there any setting which I'm missing ?

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


Re: [ovirt-users] qemu patch in OVirt repos

2016-04-19 Thread Sandro Bonazzola
On Tue, Apr 19, 2016 at 10:57 AM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> On 19 Apr 2016, at 10:51, Markus Stockhausen 
> wrote:
>
> *> Von:* Yaniv Kaul [yk...@redhat.com]
> *> **Gesendet:* Dienstag, 19. April 2016 10:41
> *> **An:* Markus Stockhausen
> *> **Cc:* Sandro Bonazzola [sbona...@redhat.com]; users@ovirt.org
> *> **Betreff:* Re: [ovirt-users] qemu patch in OVirt repos
> *> *
> *> *
> *> *On Tue, Apr 19, 2016 at 11:33 AM, Markus Stockhausen <
> stockhau...@collogia.de> wrote:
>
>> Hi Sandro,
>>
>> I don't exactly know the process how qemu 2.3 patches get into the
>> OVirt repos. At least you should be someone who knows better.
>>
>> Will it be possible to get a version with fix for BZ1319400 into the
>> tree? See https://bugzilla.redhat.com/show_bug.cgi?id=1319400
>> It's a quite nasty bug and totally breaks the snapshot feature for
>> multi disk VMs on Centos 7.2 based nodes.
>>
>> Thanks in advance.
>>
>> Markus
>>
>
> > Once fixed upstream it should get into CentOS/Fedora/... repos,
> hopefully not just via oVirt repos.
> > Y.
>
> Fix is in qemu 2.4. But even OVirt 4.0 alpha repo only provides 2.3. I
> guess
> we depend on the backported version. Thats why I'm asking.
>
>
> it’s not backported yet. Once it lands in RHEL 7.2.z we can take it into
> oVirt repo
>
>
Hi Markus, Michal already replied, we'll rebuild qemu-kvm-ev as soon as
qemu-kvm-rhev will be available.


>
> 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
>
>


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


Re: [ovirt-users] qemu patch in OVirt repos

2016-04-19 Thread Michal Skrivanek

> On 19 Apr 2016, at 10:51, Markus Stockhausen  wrote:
> 
> > Von: Yaniv Kaul [yk...@redhat.com ]
> > Gesendet: Dienstag, 19. April 2016 10:41
> > An: Markus Stockhausen
> > Cc: Sandro Bonazzola [sbona...@redhat.com ]; 
> > users@ovirt.org 
> > Betreff: Re: [ovirt-users] qemu patch in OVirt repos
> > 
> > 
> > On Tue, Apr 19, 2016 at 11:33 AM, Markus Stockhausen 
> > > wrote:
> Hi Sandro,
> 
> I don't exactly know the process how qemu 2.3 patches get into the
> OVirt repos. At least you should be someone who knows better.
> 
> Will it be possible to get a version with fix for BZ1319400 into the
> tree? See https://bugzilla.redhat.com/show_bug.cgi?id=1319400 
> 
> It's a quite nasty bug and totally breaks the snapshot feature for
> multi disk VMs on Centos 7.2 based nodes.
> 
> Thanks in advance.
> 
> Markus
> 
> > Once fixed upstream it should get into CentOS/Fedora/... repos, hopefully 
> > not just via oVirt repos.
> > Y.
> 
> Fix is in qemu 2.4. But even OVirt 4.0 alpha repo only provides 2.3. I guess
> we depend on the backported version. Thats why I'm asking. 

it’s not backported yet. Once it lands in RHEL 7.2.z we can take it into oVirt 
repo

> 
> 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] vhostmd vdsm-hook

2016-04-19 Thread Simon Barrett
Thanks Arsène,

I have vhostmd running on the ovirt node and have set the sap_agent to true on 
the VM configuration. I also stopped and started the VM to ensure that the 
config change took effect.

On the oVirt node I see the vhostmd running and see the following entry in the 
qemu-kvm output:

drive 
file=/dev/shm/vhostmd0,if=none,id=drive-virtio-disk701,readonly=on,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk701,id=virtio-disk701

The part I wasn't quite understanding was how this presented itself on the VM 
but I now see a new disk device "/dev/vdb". If I cat the contents of /dev/vdb I 
now see the information that is provided from the ovirt node, which is great 
news and very useful.

Thanks for your help.

Simon

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Arsène Gschwind
Sent: Monday, 18 April, 2016 16:03
To: users@ovirt.org
Subject: Re: [ovirt-users] vhostmd vdsm-hook

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] qemu patch in OVirt repos

2016-04-19 Thread Markus Stockhausen
> Von: Yaniv Kaul [yk...@redhat.com]
> Gesendet: Dienstag, 19. April 2016 10:41
> An: Markus Stockhausen
> Cc: Sandro Bonazzola [sbona...@redhat.com]; users@ovirt.org
> Betreff: Re: [ovirt-users] qemu patch in OVirt repos
>
>
> On Tue, Apr 19, 2016 at 11:33 AM, Markus Stockhausen 
> > wrote:
Hi Sandro,

I don't exactly know the process how qemu 2.3 patches get into the
OVirt repos. At least you should be someone who knows better.

Will it be possible to get a version with fix for BZ1319400 into the
tree? See https://bugzilla.redhat.com/show_bug.cgi?id=1319400
It's a quite nasty bug and totally breaks the snapshot feature for
multi disk VMs on Centos 7.2 based nodes.

Thanks in advance.

Markus

> Once fixed upstream it should get into CentOS/Fedora/... repos, hopefully not 
> just via oVirt repos.
> Y.

Fix is in qemu 2.4. But even OVirt 4.0 alpha repo only provides 2.3. I guess
we depend on the backported version. Thats why I'm asking.

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] qemu patch in OVirt repos

2016-04-19 Thread Yaniv Kaul
On Tue, Apr 19, 2016 at 11:33 AM, Markus Stockhausen <
stockhau...@collogia.de> wrote:

> Hi Sandro,
>
> I don't exactly know the process how qemu 2.3 patches get into the
> OVirt repos. At least you should be someone who knows better.
>
> Will it be possible to get a version with fix for BZ1319400 into the
> tree? See https://bugzilla.redhat.com/show_bug.cgi?id=1319400
> It's a quite nasty bug and totally breaks the snapshot feature for
> multi disk VMs on Centos 7.2 based nodes.
>
> Thanks in advance.
>
> Markus
>

Once fixed upstream it should get into CentOS/Fedora/... repos, hopefully
not just via oVirt repos.
Y.


>
> ___
> 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] qemu patch in OVirt repos

2016-04-19 Thread Markus Stockhausen
Hi Sandro,

I don't exactly know the process how qemu 2.3 patches get into the 
OVirt repos. At least you should be someone who knows better.

Will it be possible to get a version with fix for BZ1319400 into the
tree? See https://bugzilla.redhat.com/show_bug.cgi?id=1319400
It's a quite nasty bug and totally breaks the snapshot feature for
multi disk VMs on Centos 7.2 based nodes.

Thanks in advance.

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] Delete Failed to update OVF disks, OVF data isn't updated on those OVF stores (Data Center Default, Storage Domain hostedengine_nfs).

2016-04-19 Thread Paul Groeneweg | Pazion
Hi Roy,

Thanks for this explanation. I will dive into this evening. ( and make a
backup first :-) )

Normally the hosted engine only creates 1 ovf disk for the hosted storage?

Thanks for the help.

Op di 19 apr. 2016 om 10:22 schreef Roy Golan :

> On Mon, Apr 18, 2016 at 10:05 PM, Paul Groeneweg | Pazion 
> wrote:
>
>> 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.
>>
>>
>>
> Hi Paul,
>
> What you can do to remove them is to run this sql statement at your setup
>
> ```sql
> -- first make sure this is the disk, dates are taken from your screenshot
>
> SELECT ovf_disk_id, image_guid, imagestatus, _create_date FROM images,
> storage_domains_ovf_info where ovf_disk_id = images.image_group_id and
> _create_date > '2016-05-01 11:11:29' and _create_date < '2016-05-01
> 11:11:31';
>
> -- now delete this disk
>
> DELETE FROM  storage_domains_ovf_info where ovf_disk_id = %what was found
> in the last query%'
> ```
>
> Now you can right-click and remove this disk.
>
> Since the disk of the ovirt-engine resides on the hosted_storage domain we
> can't put this domain into maintenance and fix those kind of issues. There
> for I would like you to kindly open an RFE and mention you're scenario so
> we would supply a way to do this kind of operations in a safe way.
>
> Maor thanks for the help and reference.
>
>
>> Op ma 4 apr. 2016 om 09:54 schreef Paul Groeneweg | Pazion <
>> p...@pazion.nl>:
>>
>>> 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 <
 p...@pazion.nl> 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 <
>>> mlipc...@redhat.com>:
>>>
 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
>>
>>

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-19 Thread Roy Golan
On Mon, Apr 18, 2016 at 10:05 PM, Paul Groeneweg | Pazion 
wrote:

> 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.
>
>
>
Hi Paul,

What you can do to remove them is to run this sql statement at your setup

```sql
-- first make sure this is the disk, dates are taken from your screenshot

SELECT ovf_disk_id, image_guid, imagestatus, _create_date FROM images,
storage_domains_ovf_info where ovf_disk_id = images.image_group_id and
_create_date > '2016-05-01 11:11:29' and _create_date < '2016-05-01
11:11:31';

-- now delete this disk

DELETE FROM  storage_domains_ovf_info where ovf_disk_id = %what was found
in the last query%'
```

Now you can right-click and remove this disk.

Since the disk of the ovirt-engine resides on the hosted_storage domain we
can't put this domain into maintenance and fix those kind of issues. There
for I would like you to kindly open an RFE and mention you're scenario so
we would supply a way to do this kind of operations in a safe way.

Maor thanks for the help and reference.


> 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?!
>>
>> 

Re: [ovirt-users] several questions about serial console

2016-04-19 Thread Michal Skrivanek

> On 17 Apr 2016, at 11:53, Yedidyah Bar David  wrote:
> 
> On Fri, Apr 15, 2016 at 7:18 PM, Nathanaël Blanchet  wrote:
>> 
>> 
>> Le 15/04/2016 17:27, Nathanaël Blanchet a écrit :
>> 
>> Hi all,
>> 
>> About serial console:
>> 
>> how to get out of a selectionned vm where we are on the login prompt (why
>> not backing up to the vm menu) rather than killing the ssh process or
>> closing the terminal? Usual "^] " doesn't work there.
>> according to
>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html-single/Virtual_Machine_Management_Guide/index.html
>> 
>> # ssh -t -p  ovirt-vmconsole@MANAGER_IP --vm-name vm1
>> 
>>should allow to connect directly to a vm on its serial port, and it
>> is very useful when there are a big number of vm. In reality, we get a SSH
>> issue : "unknown option -- -"
> 
> Seems like a bug in the documentation. See also the README file:
> 
> /usr/share/doc/ovirt-vmconsole/README on your machine, or
> 
> https://gerrit.ovirt.org/gitweb?p=ovirt-vmconsole.git;a=blob;f=README
> 
>> 
>> An other question is : Why the vm order is not alphabetic? it could simplify
>> the search when too many vms are displayed. And a simple "sort -k2" command
>> should do the stuff...
> 
> Please open an RFE for this. Thanks.
> 
> I think you can do that yourself, by editing:
> 
> /etc/ovirt-vmconsole/ovirt-vmconsole-proxy/conf.d/20-ovirt-vmconsole-proxy-helper.conf
> 
>> 
>> if we want to add 5 users with UserVmManager role on 150 vms and I can't use
>> group for this stuff, this means I need to do this with an ovirt-shell
>> script like :
>> # for i in $(cat /tmp/ids.ovirt); do for j in $(cat /tmp/list_all);do
>> ovirt-shell -E "add permission --parent-vm-name $j --user-id $i --role-name
>> UserVmManager"; done; done
>> and 5*150 API connections only because I can't add several user ids on the
>> same "add permission" line ? It's doable, but not not very convinient and
>> very long if I have many more users to add.
>> Why can't we add permission by user-name and not user-id ?

That’s a limitation/design of REST API
In the UI you can highlight multiple VMs and assign roles all in one go
Note you don’t have to use the UserVmManager role, it’s just one of the 
predefined ones. If you want your own, different, role you can always define a 
new one and add the serial console permission

Thanks,
michal

> 
> Adding Francesco.
> 
> Thanks and best regards,
> -- 
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 

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


Re: [ovirt-users] template mystery

2016-04-19 Thread Michal Skrivanek

> On 18 Apr 2016, at 14:43, Campbell McLeay  
> wrote:
> 
> 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)

they are the same, until you start creating template subversions of that base 
sl6-workstation one. It makes sense only for stateless pool VMs to use (latest) 
version, as it keeps moving with the template’s updates then.

>>> 
>>> 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.

do you mean there’s no Blank? Blank is a sort-of-a-template stub with defaults 
representing an “empty” VM


Thanks,
michal

>>> 
>>> 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

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


Re: [ovirt-users] ovirt-engine ui not showing up/inaccessible

2016-04-19 Thread Gene Fontanilla
Thanks for the tip! got it! there was a pid file existing and was
restraining the postgre to start. thank you!

On Sat, Apr 16, 2016 at 3:00 AM, Alexander Wels  wrote:

> On Friday, April 15, 2016 10:12:44 AM Gene Fontanilla wrote:
> > Hi,
> >
> > our office had power outage for more than an hour and continues
> > fluctuations, so i decided to pull the plug after 2nd fluctuation and
> wait
> > for the power to become stable.
> >
> > After the power became stable, I decided to turn the ovirt-engine up 1st,
> > after booting up. I tried accessing my engine but the webui is not
> > accessible, then i looked at the /var/log/ovirt-engine/engine.log
> >
> > and saw this error:
> >
> > 2016-04-15 06:34:56,265 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
> > service thread 1-28) Error in getting DB connection. The database is
> > inaccessible. Original exception is: DataAccessResourceFailureException:
> > Error retreiving database metadata; nested exception is
> > org.springframework.jdbc.support.MetaDataAccessException: Could not get
> > Connection for extracting meta data; nested exception is
> > org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> > JDBC Connection; nested exception is java.sql.SQLException:
> > javax.resource.ResourceException: IJ000453: Unable to get managed
> > connection for java:/ENGINEDataSource
> >
> > Can anyone help me out? I need in that environment up for the final stage
> > of my testing.
> >
> > regards,
> > Gene
>
> Sounds like postgresql isn't starting for some reason. Maybe check the
> status
> of that and manually start it if it is not up.
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users