[ovirt-users] Data Recovery from snapshot

2018-07-30 Thread Jim Kusznir
Hi:

With yet another gluster disk failure / gluster collapse, it appears I lost
the "main" backing image for one of my vm servers.  I have snapshots still
in tact (or at least, appear to be), but the main image is gone.

The main server process stores a backup at regular intervals in its disk,
and that would have been changed data, so it would be in the snapshot
rather than the base image.  Is there any way to recover this one .tar.gz
file from the snapshot with the missing main image?  This is a backup of
dynamic data, and without it, I will have lost several customers data, some
of which cannot be recreated/regenerated.

it also appears that my backup (gluster geo-replication) did not work (had
crashed a while ago, and has a very old backup of this image).

--Jim
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H6ROZ2HCOCLE7ETBFU5U2QVPW3LCP35H/


[ovirt-users] Re: Failed to deploy ovirt engine with "hosted-engine --deploy"

2018-07-30 Thread Bong Shau Fui
Hi Simone:
   Ok, noted on the config part.  Is there any bug report that points to KVM on 
ESXi problem?  I'm just curious.  Thanks.


regards,
Bong SF
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OJT7UANMWV32STBBCIEP3Y4AJUO53RIE/


[ovirt-users] Re: Hosted Engine deploy failed on new HCI build

2018-07-30 Thread Jayme
Bill,

I think this is the same problem.  I figured out the vnc stuff earlier and
got a console to the engine and got its status up but I don't know if
that's enough.  I feel like all steps haven't been completed.  Once you
figured out what was going on did you have to redeploy the engine again?


On Mon, Jul 30, 2018 at 9:49 PM, William Dossett 
wrote:

> That happened to me twice… the second time I figure it out and it was
> networking.
>
>
>
> I am not familiar with the hosted-engine ---console…
>
>
>
> The person that helped me said to do the following:
>
>
>
> Run on your first host
>hosted-engine --add-console-password
> to set a temporary VNC password and then connect to it over VNC with
> something like
>remote-viewer vnc://:
>
>
>
> Which got me in and allowed me to fix the networking once I saw what was
> wrong…  can you get to the console like that?
>
>
>
> Regards
>
> Bill
>
>
>
>
>
>
>
> *From:* Jayme [mailto:jay...@gmail.com]
> *Sent:* Monday, July 30, 2018 3:38 PM
> *To:* users 
> *Subject:* [ovirt-users] Re: Hosted Engine deploy failed on new HCI build
>
>
>
> I haven't had much luck with this yet I completely wiped the three hosts
> and did the entire install over again from the ground up only this time I
> used dhcp instead of static IP for the hostedengine deployment and ended up
> failing again in the exact step as before, waiting for the VM to come back
> but never does.
>
>
>
> I still feel like it could be network related in some way just not sure
> how.  Any ideas?
>
>
>
> On Mon, Jul 30, 2018, 2:25 PM Jayme,  wrote:
>
> Latest version of oVirt node 4.2 installed on three hosts.  I completed
> successfully the cockpit gdeploy process to deploy HCI.  All of that went
> well with no errors.  I then proceeded to the hosted engine deployment step
> which eventually failed (log attached).
>
>
>
> This is the current status:
>
>
>
> --== Host 1 status ==--
>
>
>
> conf_on_shared_storage : True
>
> Status up-to-date  : True
>
> Hostname   : MASKED
>
> Host ID: 1
>
> Engine status  : {"reason": "failed liveliness check",
> "health": "bad", "vm": "up", "detail": "Up"}
>
> Score  : 3400
>
> stopped: False
>
> Local maintenance  : False
>
> crc32  : 3fa48e03
>
> local_conf_timestamp   : 8468
>
> Host timestamp : 8468
>
> Extra metadata (valid at timestamp):
>
> metadata_parse_version=1
>
> metadata_feature_version=1
>
> timestamp=8468 (Mon Jul 30 14:21:09 2018)
>
> host-id=1
>
> score=3400
>
> vm_conf_refresh_time=8468 (Mon Jul 30 14:21:09 2018)
>
> conf_on_shared_storage=True
>
> maintenance=False
>
> state=EngineStarting
>
> stopped=False
>
>
>
> If I do hosted-engine --console I get:
>
>
>
> The engine VM is running on this host
>
> Connected to domain HostedEngine
>
> Escape character is ^]
>
> error: internal error: cannot find character device 
>
>
>
> does anyone know why it may have failed or what I could do to recover from
> this?  I'm thinking it could have potentially failed due to some problem
> with network config.  If I could get a console in to the engine VM I might
> be able to fix it but that serial error above is preventing me from
> reaching the vm console to diagnose further.
>
>
>
> Log of deploy attached:
>
>
>
> Thanks!
>
>
>
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PNIVADUNGHYULJCAHMX7BHA634YKVZMF/


[ovirt-users] Re: Hosted Engine deploy failed on new HCI build

2018-07-30 Thread William Dossett
That happened to me twice… the second time I figure it out and it was 
networking.  

 

I am not familiar with the hosted-engine ---console…

 

The person that helped me said to do the following:

 

Run on your first host
   hosted-engine --add-console-password
to set a temporary VNC password and then connect to it over VNC with something 
like
   remote-viewer vnc://:

 

Which got me in and allowed me to fix the networking once I saw what was wrong… 
 can you get to the console like that?

 

Regards

Bill

 

 

 

From: Jayme [mailto:jay...@gmail.com] 
Sent: Monday, July 30, 2018 3:38 PM
To: users 
Subject: [ovirt-users] Re: Hosted Engine deploy failed on new HCI build

 

I haven't had much luck with this yet I completely wiped the three hosts and 
did the entire install over again from the ground up only this time I used dhcp 
instead of static IP for the hostedengine deployment and ended up failing again 
in the exact step as before, waiting for the VM to come back but never does. 

 

I still feel like it could be network related in some way just not sure how.  
Any ideas? 

 

On Mon, Jul 30, 2018, 2:25 PM Jayme, mailto:jay...@gmail.com> > wrote:

Latest version of oVirt node 4.2 installed on three hosts.  I completed 
successfully the cockpit gdeploy process to deploy HCI.  All of that went well 
with no errors.  I then proceeded to the hosted engine deployment step which 
eventually failed (log attached). 

 

This is the current status:

 

--== Host 1 status ==--

 

conf_on_shared_storage : True

Status up-to-date  : True

Hostname   : MASKED

Host ID: 1

Engine status  : {"reason": "failed liveliness check", 
"health": "bad", "vm": "up", "detail": "Up"}

Score  : 3400

stopped: False

Local maintenance  : False

crc32  : 3fa48e03

local_conf_timestamp   : 8468

Host timestamp : 8468

Extra metadata (valid at timestamp):

metadata_parse_version=1

metadata_feature_version=1

timestamp=8468 (Mon Jul 30 14:21:09 2018)

host-id=1

score=3400

vm_conf_refresh_time=8468 (Mon Jul 30 14:21:09 2018)

conf_on_shared_storage=True

maintenance=False

state=EngineStarting

stopped=False

 

If I do hosted-engine --console I get:

 

The engine VM is running on this host

Connected to domain HostedEngine

Escape character is ^]

error: internal error: cannot find character device 

 

does anyone know why it may have failed or what I could do to recover from 
this?  I'm thinking it could have potentially failed due to some problem with 
network config.  If I could get a console in to the engine VM I might be able 
to fix it but that serial error above is preventing me from reaching the vm 
console to diagnose further. 

 

Log of deploy attached:

 

Thanks!

 

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WQDUJCZ46GMWDKKYIQZXGVKIORLT3VBN/


[ovirt-users] Re: adding hosts problems with GlusterFS

2018-07-30 Thread william . dossett
I found the problem...

with the cockpit deploy, all disks are blacklisted from multipath by a script 
called blacklist_all_disks.sh

This does not happen when a host is added manually.   To work around the 
problem edit /etc/multipath.conf  add the second line to the file below... this 
makes sure that vdsm will not ever mondify this file again.

 VDSM REVISION 1.5
# VDSM PRIVATE

then add the following to the end of the file


blacklist {
devnode "*"
}

this blacklists all disk from multipath.

Had to dig fairly deep for this, but now its working.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TFJKSIJ7SMZF2NBUZJ5GUDPHKERDZLGV/


[ovirt-users] Re: Hosted Engine deploy failed on new HCI build

2018-07-30 Thread Jayme
I haven't had much luck with this yet I completely wiped the three hosts
and did the entire install over again from the ground up only this time I
used dhcp instead of static IP for the hostedengine deployment and ended up
failing again in the exact step as before, waiting for the VM to come back
but never does.

I still feel like it could be network related in some way just not sure
how.  Any ideas?

On Mon, Jul 30, 2018, 2:25 PM Jayme,  wrote:

> Latest version of oVirt node 4.2 installed on three hosts.  I completed
> successfully the cockpit gdeploy process to deploy HCI.  All of that went
> well with no errors.  I then proceeded to the hosted engine deployment step
> which eventually failed (log attached).
>
> This is the current status:
>
> --== Host 1 status ==--
>
> conf_on_shared_storage : True
> Status up-to-date  : True
> Hostname   : MASKED
> Host ID: 1
> Engine status  : {"reason": "failed liveliness check",
> "health": "bad", "vm": "up", "detail": "Up"}
> Score  : 3400
> stopped: False
> Local maintenance  : False
> crc32  : 3fa48e03
> local_conf_timestamp   : 8468
> Host timestamp : 8468
> Extra metadata (valid at timestamp):
> metadata_parse_version=1
> metadata_feature_version=1
> timestamp=8468 (Mon Jul 30 14:21:09 2018)
> host-id=1
> score=3400
> vm_conf_refresh_time=8468 (Mon Jul 30 14:21:09 2018)
> conf_on_shared_storage=True
> maintenance=False
> state=EngineStarting
> stopped=False
>
> If I do hosted-engine --console I get:
>
> The engine VM is running on this host
> Connected to domain HostedEngine
> Escape character is ^]
> error: internal error: cannot find character device 
>
> does anyone know why it may have failed or what I could do to recover from
> this?  I'm thinking it could have potentially failed due to some problem
> with network config.  If I could get a console in to the engine VM I might
> be able to fix it but that serial error above is preventing me from
> reaching the vm console to diagnose further.
>
> Log of deploy attached:
>
> Thanks!
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OMNKPA6E6JK3IFOVOELBEWTUVFZ53F4I/


[ovirt-users] Re: AAA question...takes long time to log in

2018-07-30 Thread Greg Sheremeta
cc'ing Ondra. @Ondra Machacek  can you assist?

On Mon, Jul 30, 2018 at 2:45 PM Dev Ops  wrote:

> This is still hanging us up. I have dug all around and can't seem to
> figure out how to lay in these environment tweaks to speed things up. I see
> that 4.2.5 just surfaced, but didn't see anything int the release notes
> about AAA.
>
> Thanks in advance for anyone that can help or point me in the right
> direction.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/S5P3GDNDMID4VOOQAC3ZNYFKTH2ZSF7X/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XFBHQNDIOSM3EN2VY67RWQRFYFP3CZHR/


[ovirt-users] Re: AAA question...takes long time to log in

2018-07-30 Thread Dev Ops
This is still hanging us up. I have dug all around and can't seem to figure out 
how to lay in these environment tweaks to speed things up. I see that 4.2.5 
just surfaced, but didn't see anything int the release notes about AAA. 

Thanks in advance for anyone that can help or point me in the right direction. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/S5P3GDNDMID4VOOQAC3ZNYFKTH2ZSF7X/


[ovirt-users] Re: adding hosts problems with GlusterFS

2018-07-30 Thread william . dossett
unfortunately I can't access that bug with any of my redhat accounts.  I tried 
to make a bugzilla account and it says it is restricted access to that bug, 
internal only.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FGUSCJVWCTXWHJJJYEUSTQF3JCHBPSB3/


[ovirt-users] [ANN] oVirt 4.2.5 is now generally available (fixed links)

2018-07-30 Thread Lev Veyde
The oVirt Project is pleased to announce the general availability of oVirt
4.2.5 as of July 30th, 2018

This update is the fifth release in a series of stabilization updates to
the 4.2 series.

This release is available now for:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later
* oVirt Node 4.2

See the release notes [1] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]

Additional Resources:
* Read more about the oVirt 4.2.5 release highlights:
http://www.ovirt.org/release/4.2.5/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] http://www.ovirt.org/release/4.2.5/
[2] http://resources.ovirt.org/pub/ovirt-4.2/iso/

-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

TRIED. TESTED. TRUSTED. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EGN3FG2UCHLFEPI65VH7UIQVPC2TI3XD/


[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-30 Thread Hari Prasanth Loganathan
Thanks Greg, please let me know this.


On Mon, 30 Jul 2018 at 11:29 PM, Greg Sheremeta  wrote:

> Sorry for the delay. adding some others that may know.
>
> On Sun, Jul 29, 2018 at 11:02 PM Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> Hi Guys,
>>
>> Any update on this, please?
>>
>> Thanks,
>> Hari
>>
>> On Fri, Jul 27, 2018 at 5:52 AM, Greg Sheremeta 
>> wrote:
>>
>>> + @Tomas Jelinek  do you know this one?
>>>
>>> On Wed, Jul 18, 2018 at 1:57 AM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
 Hi Karli,

 Sorry for the confusion, Initially I thought it is an issue from our
 side so posted like 'ignore it',
 But this issue is from oVirt. So could you please help me.

 *Steps to reproduce :*
 1) Attach the disk to any VM
 2) Perform some read and write operation in the VM which will increase
 the disk level - 'Read data rate / Write data rate / disk.read.latency
 / disk.write.latency'
 3) Now when I bring down the VM, all the disk statistics should come
 down to be zero *But it is still retaining with last known value when
 the VM was in UP state.*


 *Expected : All values should go to ZeroActual : All values retains the
 last known values when the VM was in UP state. *

 Thanks,
 Hari


 On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg 
 wrote:

>
>
> On Jul 17, 2018 11:56, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
> It is an issue from our side. Please ignore my question.
>
>
> You've now made several posts about wanting help, but this completely
> contradicts it!
>
>
> I don't get it, do you have an issue you want help with, or should
> everyone just ignore you?
>
> /K
>
>
> But How frequently we will collect the disk statistics and update in
> PostgreSQL?
>
> Thanks,
> Hari
>
> On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
> Hi Team,
>
> We are using the following API to collect the disk statistics,
>
> https://X.X.X.2/ovirt-engine/api/
> *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
> 
>
> I found one issue in the disk statistics. In case If the Virtual
> Machine has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*)
> attached to it and I perform some read / write operation in the VM and it
> increases the corresponding disk level Read data rate / Write data rate /
> disk.read.latency / disk.write.latency.
>
> *Example*, I received the following values for this disk, But the
> problem is even when I bring down the VM still the last known value is
> received continuously.
> *Is it a known issue Or any workaround is available? *
>
> *Expected : All values should go to Zero*
>
> *Actual : All values retains the last known values when the VM was in
> UP state. *
>
>
> {
> "statistic": [
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 2184
> }
> ]
> },
> "disk": {
> "href":
> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.read",
> "description": "Read data rate",
> "href":
> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
> "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> },
> {
> "kind": "gauge",
> "type": "decimal",
> "unit": "bytes_per_second",
> "values": {
> "value": [
> {
> "datum": 41202005
> }
> ]
> },
> "disk": {
> "href":
> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
> "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
> },
> "name": "data.current.write",
> "description": "Write data rate",
> "href":
> "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
> "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> },
> {

[ovirt-users] Re: Disk Statistics API in oVirt

2018-07-30 Thread Greg Sheremeta
Sorry for the delay. adding some others that may know.

On Sun, Jul 29, 2018 at 11:02 PM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Guys,
>
> Any update on this, please?
>
> Thanks,
> Hari
>
> On Fri, Jul 27, 2018 at 5:52 AM, Greg Sheremeta 
> wrote:
>
>> + @Tomas Jelinek  do you know this one?
>>
>> On Wed, Jul 18, 2018 at 1:57 AM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Karli,
>>>
>>> Sorry for the confusion, Initially I thought it is an issue from our
>>> side so posted like 'ignore it',
>>> But this issue is from oVirt. So could you please help me.
>>>
>>> *Steps to reproduce :*
>>> 1) Attach the disk to any VM
>>> 2) Perform some read and write operation in the VM which will increase
>>> the disk level - 'Read data rate / Write data rate / disk.read.latency
>>> / disk.write.latency'
>>> 3) Now when I bring down the VM, all the disk statistics should come
>>> down to be zero *But it is still retaining with last known value when
>>> the VM was in UP state.*
>>>
>>>
>>> *Expected : All values should go to ZeroActual : All values retains the
>>> last known values when the VM was in UP state. *
>>>
>>> Thanks,
>>> Hari
>>>
>>>
>>> On Wed, Jul 18, 2018 at 11:20 AM, Karli Sjöberg 
>>> wrote:
>>>


 On Jul 17, 2018 11:56, Hari Prasanth Loganathan <
 hariprasant...@msystechnologies.com> wrote:

 It is an issue from our side. Please ignore my question.


 You've now made several posts about wanting help, but this completely
 contradicts it!


 I don't get it, do you have an issue you want help with, or should
 everyone just ignore you?

 /K


 But How frequently we will collect the disk statistics and update in
 PostgreSQL?

 Thanks,
 Hari

 On Tue, Jul 17, 2018 at 3:18 PM, Hari Prasanth Loganathan <
 hariprasant...@msystechnologies.com> wrote:

 Hi Team,

 We are using the following API to collect the disk statistics,

 https://X.X.X.2/ovirt-engine/api/
 *disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics*
 

 I found one issue in the disk statistics. In case If the Virtual
 Machine has this disk (*2331bad7-71ec-4fad-95bb-2b3449f3dbda*)
 attached to it and I perform some read / write operation in the VM and it
 increases the corresponding disk level Read data rate / Write data rate /
 disk.read.latency / disk.write.latency.

 *Example*, I received the following values for this disk, But the
 problem is even when I bring down the VM still the last known value is
 received continuously.
 *Is it a known issue Or any workaround is available? *

 *Expected : All values should go to Zero*

 *Actual : All values retains the last known values when the VM was in
 UP state. *


 {
 "statistic": [
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "bytes_per_second",
 "values": {
 "value": [
 {
 "datum": 2184
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
 "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
 },
 "name": "data.current.read",
 "description": "Read data rate",
 "href":
 "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
 "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "bytes_per_second",
 "values": {
 "value": [
 {
 "datum": 41202005
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda",
 "id": "2331bad7-71ec-4fad-95bb-2b3449f3dbda"
 },
 "name": "data.current.write",
 "description": "Write data rate",
 "href":
 "/ovirt-engine/api/disks/2331bad7-71ec-4fad-95bb-2b3449f3dbda/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
 "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "seconds",
 "values": {
 "value": [
 {
 "datum": 0.12
   

[ovirt-users] [ANN] oVirt 4.2.5 is now generally available

2018-07-30 Thread Lev Veyde
The oVirt Project is pleased to announce the general availability of oVirt
4.2.5 as of July 30th, 2018

This update is the fifth release in a series of stabilization updates to
the 4.2 series.

This release is available now for:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later
* oVirt Node 4.2

See the release notes [1] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]

Additional Resources:
* Read more about the oVirt 4.2.3 release highlights:
http://www.ovirt.org/release/4.2.3/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] http://www.ovirt.org/release/4.2.3/
[2] http://resources.ovirt.org/pub/ovirt-4.2/iso/

-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

TRIED. TESTED. TRUSTED. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SFYRQ6VOVW4OZANS6YPAB5PACB2JRU3E/


[ovirt-users] Re: adding hosts problems with GlusterFS

2018-07-30 Thread william . dossett
I did it from the UI.  I've just removed and re-added the host and I can't see 
any thing different I could do while adding it.  all the disks are locked.  

the brick is mounted in /gluster_bricks, but does not show in the bricks tab... 
 actually I think it may have been in the new volume view though.  I didn't 
actually want that volume though now that I realize I don't need an ISO domain 
anymore.  I am trying to clean this up now and try again.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZBQ2ILAEWHWLGCEBO3YJJCMAJQGQDLY3/


[ovirt-users] Hosted Engine deploy failed on new HCI build

2018-07-30 Thread Jayme
Latest version of oVirt node 4.2 installed on three hosts.  I completed
successfully the cockpit gdeploy process to deploy HCI.  All of that went
well with no errors.  I then proceeded to the hosted engine deployment step
which eventually failed (log attached).

This is the current status:

--== Host 1 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : MASKED
Host ID: 1
Engine status  : {"reason": "failed liveliness check",
"health": "bad", "vm": "up", "detail": "Up"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : 3fa48e03
local_conf_timestamp   : 8468
Host timestamp : 8468
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=8468 (Mon Jul 30 14:21:09 2018)
host-id=1
score=3400
vm_conf_refresh_time=8468 (Mon Jul 30 14:21:09 2018)
conf_on_shared_storage=True
maintenance=False
state=EngineStarting
stopped=False

If I do hosted-engine --console I get:

The engine VM is running on this host
Connected to domain HostedEngine
Escape character is ^]
error: internal error: cannot find character device 

does anyone know why it may have failed or what I could do to recover from
this?  I'm thinking it could have potentially failed due to some problem
with network config.  If I could get a console in to the engine VM I might
be able to fix it but that serial error above is preventing me from
reaching the vm console to diagnose further.

Log of deploy attached:

Thanks!


engine-deploy-fail
Description: Binary data
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4N2W5QNRYJ5EDDYKUYBXBELT4UNCR4UV/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread william.dossett
Typo ☹ 2 x 1 TB for boot in RAID 1  and then the rest as stated..

-Original Message-
From: femi adegoke  
Sent: Monday, July 30, 2018 8:52 AM
To: users@ovirt.org
Subject: [ovirt-users] Re: up and running with ovirt 4.2 and gluster

> Same here… I am using Dell R710s with 8 disks,  2 x 1TB in RAID 0 and 
> then 6 virtual disks, one per physical disks.  I think you have to do 
> it that way for the dell perc controller to present the disk to the OS 
> but I haven’t actually tried not doing that so not sure.. anyway this works.
> 

Yes, in the past I've used that same Dell server (for Windows Storage Spaces).
That Perc controller only allows the RAID 0 way (1 disk per RAID 0).

2 x 1TB in RAID 0...or was that a typo?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SO2EMAWWHL52O75WTS3GC4CYXIMXOZYI/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VSSTYMJFIJJ24ITKHNFRFD2SBNQ27OYQ/


[ovirt-users] Re: Unable to revive host after a reboot

2018-07-30 Thread Greg Sheremeta
Hi Julius,

cc'd some people that might have some ideas :)

Greg

On Mon, Jul 30, 2018 at 11:07 AM Julius Schwartzenberg <
julius.schwartzenb...@gmail.com> wrote:

> Hi,
>
> I recently had to shutdown my oVirt system which contains both the
> engine and the host. After it came back up, the host was not able to
> initialize anymore from the oVirt UI.
>
> First it kept getting stuck in a loop with setting "ExecutingStarted:
> Jul 30, 2018, 9:06:21 AMSetting Host pc331 to Non-Operational mode."
>
> This was being repeated over and over again. It also gave this error:
> Host pc331 does not comply with the cluster Default networks, the
> following networks are missing on host: 'ovirtmgmt'
>
> Even though I am using that interface (ovirtmgmt) to access the system
> and 'ip addr show' shows that it's set up properly.
>
> I tried some more things, including upgrading the host, When I do
> that, the status changes to 'Installing' and later to 'Install
> Failed'.
>
> Here are the engine.log, vdsm.log and ovirt-host-deploy*.log:
> https://drive.google.com/open?id=13vIUDVjPynmAK0pnFRLabDfUlG1lmkpI
> https://drive.google.com/open?id=10Zm2dDpxM2k5A2bEs_l6gOv_yWv4cjlN
> https://drive.google.com/open?id=1AieWMzRuA0gZj3x5yDH1AGnsT2E3VtOM
>
> Any idea what is going wrong (what I'm doing wrong) and how to solve it?
> Thanks in advance!
>
> Best regards,
> Julius
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PNQYLZVHIBHZJY57ZXDPZJEBZSR5QGCM/


[ovirt-users] Unable to revive host after a reboot

2018-07-30 Thread Julius Schwartzenberg
Hi,

I recently had to shutdown my oVirt system which contains both the
engine and the host. After it came back up, the host was not able to
initialize anymore from the oVirt UI.

First it kept getting stuck in a loop with setting "ExecutingStarted:
Jul 30, 2018, 9:06:21 AMSetting Host pc331 to Non-Operational mode."

This was being repeated over and over again. It also gave this error:
Host pc331 does not comply with the cluster Default networks, the
following networks are missing on host: 'ovirtmgmt'

Even though I am using that interface (ovirtmgmt) to access the system
and 'ip addr show' shows that it's set up properly.

I tried some more things, including upgrading the host, When I do
that, the status changes to 'Installing' and later to 'Install
Failed'.

Here are the engine.log, vdsm.log and ovirt-host-deploy*.log:
https://drive.google.com/open?id=13vIUDVjPynmAK0pnFRLabDfUlG1lmkpI
https://drive.google.com/open?id=10Zm2dDpxM2k5A2bEs_l6gOv_yWv4cjlN
https://drive.google.com/open?id=1AieWMzRuA0gZj3x5yDH1AGnsT2E3VtOM

Any idea what is going wrong (what I'm doing wrong) and how to solve it?
Thanks in advance!

Best regards,
Julius
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IC2Z6R6XP6AK6RAXHLCB6AJIQUDXNOUN/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
> Same here… I am using Dell R710s with 8 disks,  2 x 1TB in RAID 0 and then 6 
> virtual
> disks, one per physical disks.  I think you have to do it that way for the 
> dell perc
> controller to present the disk to the OS but I haven’t actually tried not 
> doing that so
> not sure.. anyway this works.
> 

Yes, in the past I've used that same Dell server (for Windows Storage Spaces).
That Perc controller only allows the RAID 0 way (1 disk per RAID 0).

2 x 1TB in RAID 0...or was that a typo?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SO2EMAWWHL52O75WTS3GC4CYXIMXOZYI/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Jayme
Correct no raid on the two 2tb SSDs I plan on using replica three HCI setup
with no arbiter so each host will have a copy of data

On Mon, Jul 30, 2018, 11:39 AM femi adegoke, 
wrote:

> Thanks Jayme for replying.
>
> In your case, there is no RAID on your 2 x 2TB SSDs?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BBEE3462Y2NKKS7SFZSBIB5YBRDHZA7A/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6JEAABVRWVNPDSPRX272TNAHXECNPMCB/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread William Dossett
Same here… I am using Dell R710s with 8 disks,  2 x 1TB in RAID 0 and then 6 
virtual disks, one per physical disks.  I think you have to do it that way for 
the dell perc controller to present the disk to the OS but I haven’t actually 
tried not doing that so not sure.. anyway this works.

 

This has been very informative.  

 

James has only 3 nodes, but I have 5…  I have another posting about what 
happens when I added the two additional nodes as all the disks seem to be 
locked and multipath and I can’t create bricks on them.

 

But, once I get pas that problem, if I have 5 nodes, and I am going to create 
replica datasttores with 3 disks, do I just 3 nodes for each datastore?  Is 
there any best practice for creating datastores on any 3 nodes…

 

Perhaps an example:

 

Datastore 1 -  Node1, Node2, Node3 /dev/sdb

Datastore 2 – Node2, Node3 /dev/sdc Node4 /dev/sdb

Datastore 3 -  Node3, /dev/sdd, Node4 /dev/sdc Node5 /dev/sda

 

Does that make sense?  Or is there a better way?

 

Thanks to everyone for helping me on this, much appreciated.

 

Bill

 

 

From: Jayme [mailto:jay...@gmail.com] 
Sent: Monday, July 30, 2018 8:12 AM
To: femi adegoke 
Cc: users 
Subject: [ovirt-users] Re: up and running with ovirt 4.2 and gluster

 

Hello,

 

In my case I'm referring to hosts with internal disks. 

 

Example of my hardware config:

 

host0:

2x250GB SSDs in RAID 1 mirror for OS/boot disk

2x2TB SSDs in JBOD (passthrough) represented as separate disks in the OS ex. 
/dev/sda and /dev/sdb

 

host1 and host2 have identical configurations.

 

- Jayme

 

On Mon, Jul 30, 2018 at 11:08 AM, femi adegoke mailto:ov...@fateknollogee.com> > wrote:

@jayme
@william.dossett

When you say "JBOD", are these hosts with xx number of disks or hosts with a 
physically attached JBOD?
___
Users mailing list -- users@ovirt.org  
To unsubscribe send an email to users-le...@ovirt.org 
 
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MWGC54O3OYM4AADG6JEIT2IHOQMEBH4F/

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OGMWPUQNPPSUXPAPHHSVGY7QXDZXWKGQ/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
Thanks Jayme for replying.

In your case, there is no RAID on your 2 x 2TB SSDs?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BBEE3462Y2NKKS7SFZSBIB5YBRDHZA7A/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Jayme
Hello,

In my case I'm referring to hosts with internal disks.

Example of my hardware config:

host0:
2x250GB SSDs in RAID 1 mirror for OS/boot disk
2x2TB SSDs in JBOD (passthrough) represented as separate disks in the OS
ex. /dev/sda and /dev/sdb

host1 and host2 have identical configurations.

- Jayme

On Mon, Jul 30, 2018 at 11:08 AM, femi adegoke 
wrote:

> @jayme
> @william.dossett
>
> When you say "JBOD", are these hosts with xx number of disks or hosts with
> a physically attached JBOD?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/MWGC54O3OYM4AADG6JEIT2IHOQMEBH4F/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I3ZLK6IGZQ2UUN75ER5W5D7XVC7ILXN7/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
@jayme
@william.dossett

When you say "JBOD", are these hosts with xx number of disks or hosts with a 
physically attached JBOD?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MWGC54O3OYM4AADG6JEIT2IHOQMEBH4F/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Jayme
That was the intention but I'm unclear as to which is the better approach.
I intended to host all VM related data including OS on the data volumes
(split between data on sdb and data2 on sda).. but now it sounds like doing
VM os disks on a separate volume could be a better approach after reading
this e-mail chain, as I do intend to setup georeplication disaster recovery
at some point and it might be nice to have the flexibility to only
georeplicate the vm data and not OS disks data.

If I were to set it up the other way, i.e. using vmstore to host OS disks
would it be recommended to create a VMSTORE on each device, like this for
example?

ENGINE = SDA (device 1) = 100gb

DATA = SDB (device 2) = 1200gb
DATA2 = SDA (device 1) = 1100gb

VMSTORE = SDA (device 1) = 500gb
VMSTORE2 = SDB (device 2) = 500gb

500gb may be a bit overkill here but you get the point.


On Mon, Jul 30, 2018 at 10:52 AM, Sahina Bose  wrote:

>
>
> On Mon, Jul 30, 2018 at 7:09 PM, Jayme  wrote:
>
>> Hello,
>>
>> Thanks for the feedback.  I don't "need" to create only one data domain,
>> I'm more or less trying to confirm whether or not it is proper to configure
>> multiple data domains or if I was mis-understanding the setup procedure.
>>
>> So if I am correct, you are saying that if I have 2 JBOD storage devices
>> in each host that best practice is for each of those to have its own data
>> volume?
>>
>> Like this for example:
>>
>> ENGINE = SDA (device 1) = 100gb
>> DATA = SDB (device 2) = 2000gb
>> VMSTORE = SDA (device 1) = 500gb
>>
> DATA2 = SDA (device 1) = 1100gb
>>
>
>> That would allocate all the space available on both of my drives (2x2tb)
>> and create two data volumes, a 2TB one on SDB device and a 1.1TB on SDA
>> device.  SDA device would also be used for engine and vmstore volumes.  Is
>> this correct configuration for two JBOD devices per host?
>>
>
> Looks good. I'm assuming you're using VMStore to host ISOs and not VM OS
> disks?
>
>
>> On Mon, Jul 30, 2018 at 10:31 AM, Sahina Bose  wrote:
>>
>>>
>>>
>>> On Mon, Jul 30, 2018 at 6:46 PM, Jayme  wrote:
>>>
 It's nice to know someone else out there has these questions as well.
 What I'd really like confirmation on is basically this:  In a JBOD oVirt
 HCI configuration with multiple disk devices per host node is it possible
 to have just one data volume or is it necessary to create multiple data
 volumes (one or more per each physical disk you want to store vm data on)?
  Meaning if I had 4 JBOD disks in each node and I wanted VM data to be
 stored and accessed on all 4 would I need to create 4 different data
 volumes (one per disk).  And if so would they have to have unique names and
 brick dirs/mount points?

>>>
>>> The guideline is to create 1 brick per device and this is what the
>>> Cockpit UI implements. When you group together all 4 JBOD disks to form 1
>>> brick  - you're essentially setting up 1 large brick without any hardware
>>> RAID protection for the disks. Any 1 of the disk failure would cause the
>>> entire brick to be unavailable and would require healing the whole brick.
>>> So if you had 4 1TB disks, you would end up creating a 4TB brick which
>>> needs healing - not the best of scenarios.
>>>
>>> Why do you need to create 1 data storage domain instead of multiple?
>>>
>>>
 - James


 On Mon, Jul 30, 2018 at 10:09 AM,  wrote:

> Hi James... I'm in sort of the same position... I have 6 JBOD drives
> in each node.  I am unsure if I am going to wind up with 6 data stores.  I
> have 5 nodes and have other problems related to when I add those nodes
> further complicating the gluster issue.  Hopefully someone can help clear
> this up as its the last hurdle I face before starting to actually put work
> loads on this and connecting it into our ManageIQ environment.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/communit
> y/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archiv
> es/list/users@ovirt.org/message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/
>


 ___
 Users mailing list -- users@ovirt.org
 To unsubscribe send an email to users-le...@ovirt.org
 Privacy Statement: https://www.ovirt.org/site/privacy-policy/
 oVirt Code of Conduct: https://www.ovirt.org/communit
 y/about/community-guidelines/
 List Archives: https://lists.ovirt.org/archiv
 es/list/users@ovirt.org/message/7BVDT2OKDZKRYQAFSLRDJK6RIWAFH7GG/


>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Co

[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
> On Sat, Jul 28, 2018 at 7:48 PM,  
> 
> Engine volume = the Hosted Engine storage domain
> vmstore volume = the storage domain hosting the OS disks for the VMs
> data volume = the storage domain hosting the data disks of the VMs

I assume the vmstore (instead of data volume) would be the "preferred" 
destination for storing ISOs?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BDVTSZWEA4ZRTPRUZWHMVN7IDAU75HO2/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Sahina Bose
On Mon, Jul 30, 2018 at 7:09 PM, Jayme  wrote:

> Hello,
>
> Thanks for the feedback.  I don't "need" to create only one data domain,
> I'm more or less trying to confirm whether or not it is proper to configure
> multiple data domains or if I was mis-understanding the setup procedure.
>
> So if I am correct, you are saying that if I have 2 JBOD storage devices
> in each host that best practice is for each of those to have its own data
> volume?
>
> Like this for example:
>
> ENGINE = SDA (device 1) = 100gb
> DATA = SDB (device 2) = 2000gb
> VMSTORE = SDA (device 1) = 500gb
>
DATA2 = SDA (device 1) = 1100gb
>

> That would allocate all the space available on both of my drives (2x2tb)
> and create two data volumes, a 2TB one on SDB device and a 1.1TB on SDA
> device.  SDA device would also be used for engine and vmstore volumes.  Is
> this correct configuration for two JBOD devices per host?
>

Looks good. I'm assuming you're using VMStore to host ISOs and not VM OS
disks?


> On Mon, Jul 30, 2018 at 10:31 AM, Sahina Bose  wrote:
>
>>
>>
>> On Mon, Jul 30, 2018 at 6:46 PM, Jayme  wrote:
>>
>>> It's nice to know someone else out there has these questions as well.
>>> What I'd really like confirmation on is basically this:  In a JBOD oVirt
>>> HCI configuration with multiple disk devices per host node is it possible
>>> to have just one data volume or is it necessary to create multiple data
>>> volumes (one or more per each physical disk you want to store vm data on)?
>>>  Meaning if I had 4 JBOD disks in each node and I wanted VM data to be
>>> stored and accessed on all 4 would I need to create 4 different data
>>> volumes (one per disk).  And if so would they have to have unique names and
>>> brick dirs/mount points?
>>>
>>
>> The guideline is to create 1 brick per device and this is what the
>> Cockpit UI implements. When you group together all 4 JBOD disks to form 1
>> brick  - you're essentially setting up 1 large brick without any hardware
>> RAID protection for the disks. Any 1 of the disk failure would cause the
>> entire brick to be unavailable and would require healing the whole brick.
>> So if you had 4 1TB disks, you would end up creating a 4TB brick which
>> needs healing - not the best of scenarios.
>>
>> Why do you need to create 1 data storage domain instead of multiple?
>>
>>
>>> - James
>>>
>>>
>>> On Mon, Jul 30, 2018 at 10:09 AM,  wrote:
>>>
 Hi James... I'm in sort of the same position... I have 6 JBOD drives in
 each node.  I am unsure if I am going to wind up with 6 data stores.  I
 have 5 nodes and have other problems related to when I add those nodes
 further complicating the gluster issue.  Hopefully someone can help clear
 this up as its the last hurdle I face before starting to actually put work
 loads on this and connecting it into our ManageIQ environment.
 ___
 Users mailing list -- users@ovirt.org
 To unsubscribe send an email to users-le...@ovirt.org
 Privacy Statement: https://www.ovirt.org/site/privacy-policy/
 oVirt Code of Conduct: https://www.ovirt.org/communit
 y/about/community-guidelines/
 List Archives: https://lists.ovirt.org/archiv
 es/list/users@ovirt.org/message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/

>>>
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: https://www.ovirt.org/communit
>>> y/about/community-guidelines/
>>> List Archives: https://lists.ovirt.org/archiv
>>> es/list/users@ovirt.org/message/7BVDT2OKDZKRYQAFSLRDJK6RIWAFH7GG/
>>>
>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q4GK7MNK74RZJYXSYP4WUYCTNLNNGD2X/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
> On Mon, Jul 30, 2018 at 7:00 PM, femi adegoke  wrote:
> 
> 
> This is to ease setup of data backup. As VMs can be recreated from
> template/ISOs and only the application data can be backed up.
> 

Ok, thanks for the heads up.
I've been setting up my VMs with a single disk.
Time to make that change!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SLM6N4IT4FTF4TFPAMXWOSL63T5HIC52/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Jayme
Hello,

Thanks for the feedback.  I don't "need" to create only one data domain,
I'm more or less trying to confirm whether or not it is proper to configure
multiple data domains or if I was mis-understanding the setup procedure.

So if I am correct, you are saying that if I have 2 JBOD storage devices in
each host that best practice is for each of those to have its own data
volume?

Like this for example:

ENGINE = SDA (device 1) = 100gb
DATA = SDB (device 2) = 2000gb
VMSTORE = SDA (device 1) = 500gb
DATA2 = SDA (device 1) = 1100gb

That would allocate all the space available on both of my drives (2x2tb)
and create two data volumes, a 2TB one on SDB device and a 1.1TB on SDA
device.  SDA device would also be used for engine and vmstore volumes.  Is
this correct configuration for two JBOD devices per host?

On Mon, Jul 30, 2018 at 10:31 AM, Sahina Bose  wrote:

>
>
> On Mon, Jul 30, 2018 at 6:46 PM, Jayme  wrote:
>
>> It's nice to know someone else out there has these questions as well.
>> What I'd really like confirmation on is basically this:  In a JBOD oVirt
>> HCI configuration with multiple disk devices per host node is it possible
>> to have just one data volume or is it necessary to create multiple data
>> volumes (one or more per each physical disk you want to store vm data on)?
>>  Meaning if I had 4 JBOD disks in each node and I wanted VM data to be
>> stored and accessed on all 4 would I need to create 4 different data
>> volumes (one per disk).  And if so would they have to have unique names and
>> brick dirs/mount points?
>>
>
> The guideline is to create 1 brick per device and this is what the Cockpit
> UI implements. When you group together all 4 JBOD disks to form 1 brick  -
> you're essentially setting up 1 large brick without any hardware RAID
> protection for the disks. Any 1 of the disk failure would cause the entire
> brick to be unavailable and would require healing the whole brick. So if
> you had 4 1TB disks, you would end up creating a 4TB brick which needs
> healing - not the best of scenarios.
>
> Why do you need to create 1 data storage domain instead of multiple?
>
>
>> - James
>>
>>
>> On Mon, Jul 30, 2018 at 10:09 AM,  wrote:
>>
>>> Hi James... I'm in sort of the same position... I have 6 JBOD drives in
>>> each node.  I am unsure if I am going to wind up with 6 data stores.  I
>>> have 5 nodes and have other problems related to when I add those nodes
>>> further complicating the gluster issue.  Hopefully someone can help clear
>>> this up as its the last hurdle I face before starting to actually put work
>>> loads on this and connecting it into our ManageIQ environment.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: https://www.ovirt.org/communit
>>> y/about/community-guidelines/
>>> List Archives: https://lists.ovirt.org/archiv
>>> es/list/users@ovirt.org/message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/
>>>
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/7BVDT2OKDZKRYQAFSLRDJK6RIWAFH7GG/
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2WDB342LQCKHURG4L7TKIK2D6SGHGDVE/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Sahina Bose
On Mon, Jul 30, 2018 at 7:00 PM, femi adegoke 
wrote:

> > On Sat, Jul 28, 2018 at 7:48 PM,  >
> >
> > Engine volume = the Hosted Engine storage domain
> > vmstore volume = the storage domain hosting the OS disks for the VMs
> > data volume = the storage domain hosting the data disks of the VMs
> >
>
> Sahina,
>
> So "best practice" is for every VM to have 2 disks: 1 for the operating
> system & 1 for the data?
>

This is to ease setup of data backup. As VMs can be recreated from
template/ISOs and only the application data can be backed up.

___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/6QW3BJICPB5WZQOC6AJFFTGQKNPRVQN7/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2YBALP6LJI4VMUOV44TJWW7KKYK3JHMW/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Sahina Bose
On Mon, Jul 30, 2018 at 6:46 PM, Jayme  wrote:

> It's nice to know someone else out there has these questions as well.
> What I'd really like confirmation on is basically this:  In a JBOD oVirt
> HCI configuration with multiple disk devices per host node is it possible
> to have just one data volume or is it necessary to create multiple data
> volumes (one or more per each physical disk you want to store vm data on)?
>  Meaning if I had 4 JBOD disks in each node and I wanted VM data to be
> stored and accessed on all 4 would I need to create 4 different data
> volumes (one per disk).  And if so would they have to have unique names and
> brick dirs/mount points?
>

The guideline is to create 1 brick per device and this is what the Cockpit
UI implements. When you group together all 4 JBOD disks to form 1 brick  -
you're essentially setting up 1 large brick without any hardware RAID
protection for the disks. Any 1 of the disk failure would cause the entire
brick to be unavailable and would require healing the whole brick. So if
you had 4 1TB disks, you would end up creating a 4TB brick which needs
healing - not the best of scenarios.

Why do you need to create 1 data storage domain instead of multiple?


> - James
>
>
> On Mon, Jul 30, 2018 at 10:09 AM,  wrote:
>
>> Hi James... I'm in sort of the same position... I have 6 JBOD drives in
>> each node.  I am unsure if I am going to wind up with 6 data stores.  I
>> have 5 nodes and have other problems related to when I add those nodes
>> further complicating the gluster issue.  Hopefully someone can help clear
>> this up as its the last hurdle I face before starting to actually put work
>> loads on this and connecting it into our ManageIQ environment.
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/
>>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/7BVDT2OKDZKRYQAFSLRDJK6RIWAFH7GG/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AIBNYQAKU4ORDVJHO6QPZPLUF3IW57UP/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread femi adegoke
> On Sat, Jul 28, 2018 at 7:48 PM,  
> 
> Engine volume = the Hosted Engine storage domain
> vmstore volume = the storage domain hosting the OS disks for the VMs
> data volume = the storage domain hosting the data disks of the VMs
> 

Sahina,

So "best practice" is for every VM to have 2 disks: 1 for the operating system 
& 1 for the data?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6QW3BJICPB5WZQOC6AJFFTGQKNPRVQN7/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Greg Sheremeta
Thanks -- we have a documentation update in progress. I'm looking into the
status of this one specifically and I'll get back to you.

I would *love* to have way more community contributions to our
documentation, so thank you very much for offering :)

On Mon, Jul 30, 2018 at 9:01 AM  wrote:

> I would be happy to work on documentation... not quite sure how I start
> doing that though.  The previous post and others that detail the only
> actualy datastores needed are data and engine was helpful.  Having an
> additional datastore for isos that would perhaps not need to be
> (frequently) backed up also makes sense if you had a great deal of them.  I
> am still  not that familiar with the documentation - I used the up and
> running with ovirt 4.2 blog to get this setup.  Thanks to all that replied.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ESALHROBQHCOPSJQJ3KWKWY4A5ZXLOOT/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IXZKMHBQV2DZ57IQUS5CJ2EISBZTPSYF/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Jayme
It's nice to know someone else out there has these questions as well.  What
I'd really like confirmation on is basically this:  In a JBOD oVirt HCI
configuration with multiple disk devices per host node is it possible to
have just one data volume or is it necessary to create multiple data
volumes (one or more per each physical disk you want to store vm data on)?
 Meaning if I had 4 JBOD disks in each node and I wanted VM data to be
stored and accessed on all 4 would I need to create 4 different data
volumes (one per disk).  And if so would they have to have unique names and
brick dirs/mount points?

- James


On Mon, Jul 30, 2018 at 10:09 AM,  wrote:

> Hi James... I'm in sort of the same position... I have 6 JBOD drives in
> each node.  I am unsure if I am going to wind up with 6 data stores.  I
> have 5 nodes and have other problems related to when I add those nodes
> further complicating the gluster issue.  Hopefully someone can help clear
> this up as its the last hurdle I face before starting to actually put work
> loads on this and connecting it into our ManageIQ environment.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7BVDT2OKDZKRYQAFSLRDJK6RIWAFH7GG/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread william . dossett
Hi James... I'm in sort of the same position... I have 6 JBOD drives in each 
node.  I am unsure if I am going to wind up with 6 data stores.  I have 5 nodes 
and have other problems related to when I add those nodes further complicating 
the gluster issue.  Hopefully someone can help clear this up as its the last 
hurdle I face before starting to actually put work loads on this and connecting 
it into our ManageIQ environment.  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VX5CRCDEF4XJBT5LP3VQ6QULSOYX3UTR/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread william . dossett
I would be happy to work on documentation... not quite sure how I start doing 
that though.  The previous post and others that detail the only actualy 
datastores needed are data and engine was helpful.  Having an additional 
datastore for isos that would perhaps not need to be (frequently) backed up 
also makes sense if you had a great deal of them.  I am still  not that 
familiar with the documentation - I used the up and running with ovirt 4.2 blog 
to get this setup.  Thanks to all that replied.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ESALHROBQHCOPSJQJ3KWKWY4A5ZXLOOT/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread william . dossett
Thank you, that clears things up!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7BJIJEYSMFSAGOAVH6A2YL2U47UVWU44/


[ovirt-users] Re: Pool

2018-07-30 Thread suporte
Thanks again Petr. 

José 


De: "Petr Kotas"  
Para: supo...@logicworks.pt 
Cc: "users"  
Enviadas: Segunda-feira, 30 De Julho de 2018 11:55:51 
Assunto: Re: [ovirt-users] Pool 

Hi José, 

one more thing. You can delete the VM even when you enabled the `Delete 
protection`. 
1) Detach the VM from pool 
2) Find the VM and in `Edit` disable the `Delete protection` 
3) Now you can `Remove` the VM. 

Happy to help. 
Petr 

On Mon, Jul 30, 2018 at 12:27 PM < supo...@logicworks.pt > wrote: 



Hi Petr, 

Ok I see. Many thanks. 

José 


De: "Petr Kotas" < pko...@redhat.com > 
Para: supo...@logicworks.pt 
Cc: "users" < users@ovirt.org > 
Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 
Assunto: Re: [ovirt-users] Pool 

Hi Josá, 

yes it is possible, unless you enabled `Delete protection` checkbox while 
creating the pool. 
Then just detach the VM from the pool and delete it afterwards. 

https://www.ovirt.org/documentation/admin-guide/chap-Pools/ 

Petr 

On Sun, Jul 29, 2018 at 7:31 PM < supo...@logicworks.pt > wrote: 

BQ_BEGIN

I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that 
pool. Is that possible? 

Thanks 

Josá 

-- 

Jose Ferradeira 
http://www.logicworks.pt 
___ 
Users mailing list -- users@ovirt.org 
To unsubscribe send an email to users-le...@ovirt.org 
Privacy Statement: https://www.ovirt.org/site/privacy-policy/ 
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43QKDIJUSIUD4MNQOETK/
 




BQ_END


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QBNSK4YJ3VVX6KMRQCGV7NMRWHOKBRLR/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread p . staniforth
Hi Sven,
 to test I created a new VM with a new hostname and fake IP 
addresses in /etc/hosts for the oVirt hosts/nodes so it won't interfere with 
the real hosts. I then did a full restore from backup and an engine rename. 
This leaves you with oVirt system but the no storage or hosts. There are a lot 
of errors in the logs and events but you can use it to test the engine upgrade, 
etc.

 https://www.postgresql.org/docs/9.5/static/manage-ag-templatedbs.html

https://www.ovirt.org/documentation/how-to/networking/changing-engine-hostname/

Regards,
   Paul S.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AD6LMVNSKWLJABJRSAKAXMXPOOMFNGNB/


[ovirt-users] Re: Pool

2018-07-30 Thread Petr Kotas
Hi José,

one more thing. You can delete the VM even when you enabled the `Delete
protection`.
1) Detach the VM from pool
2) Find the VM and in `Edit` disable the `Delete protection`
3) Now you can `Remove` the VM.

Happy to help.
Petr

On Mon, Jul 30, 2018 at 12:27 PM  wrote:

> Hi Petr,
>
> Ok I see.  Many thanks.
>
> José
>
> --
> *De: *"Petr Kotas" 
> *Para: *supo...@logicworks.pt
> *Cc: *"users" 
> *Enviadas: *Segunda-feira, 30 De Julho de 2018 7:26:30
> *Assunto: *Re: [ovirt-users] Pool
>
> Hi Josá,
>
> yes it is possible, unless you enabled `Delete protection` checkbox while
> creating the pool.
> Then just detach the VM from the pool and delete it afterwards.
>
> https://www.ovirt.org/documentation/admin-guide/chap-Pools/
>
> Petr
>
> On Sun, Jul 29, 2018 at 7:31 PM  wrote:
>
>> I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of
>> that pool. Is that possible?
>>
>> Thanks
>>
>> Josá
>>
>> --
>> --
>> Jose Ferradeira
>> http://www.logicworks.pt
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43QKDIJUSIUD4MNQOETK/
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FRGDKWV6ADBFRTPMES2PUYSYJWPBDV3T/


[ovirt-users] Re: Pool

2018-07-30 Thread suporte
Hi Petr, 

Ok I see. Many thanks. 

José 


De: "Petr Kotas"  
Para: supo...@logicworks.pt 
Cc: "users"  
Enviadas: Segunda-feira, 30 De Julho de 2018 7:26:30 
Assunto: Re: [ovirt-users] Pool 

Hi Josá, 

yes it is possible, unless you enabled `Delete protection` checkbox while 
creating the pool. 
Then just detach the VM from the pool and delete it afterwards. 

https://www.ovirt.org/documentation/admin-guide/chap-Pools/ 

Petr 

On Sun, Jul 29, 2018 at 7:31 PM < supo...@logicworks.pt > wrote: 



I create a pool with 3 VMs, V. 4.2. Now I want to delete just one VM of that 
pool. Is that possible? 

Thanks 

Josá 

-- 

Jose Ferradeira 
http://www.logicworks.pt 
___ 
Users mailing list -- users@ovirt.org 
To unsubscribe send an email to users-le...@ovirt.org 
Privacy Statement: https://www.ovirt.org/site/privacy-policy/ 
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB72CNBHZ35O43QKDIJUSIUD4MNQOETK/
 




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JZBVRTULGOZGDVM4DTOH2RYSSZVGCL4E/


[ovirt-users] Re: Import Netapp snapshot volume into ovirt and start VM from volume snapshot

2018-07-30 Thread Daniel Erez
On Mon, Jul 30, 2018 at 10:32 AM Igor Zinovik 
wrote:

>
>
> пн, 30 июл. 2018 г., 9:54 Daniel Erez :
>
>> On Sun, Jul 29, 2018 at 11:45 AM Igor Zinovik 
>> wrote:
>>
>>>   Hello.
>>>
>>> I'm trying to implement following backup scenario for my VMs:
>>> storage domain is a volume on netapp appliance connected to oVirt cluster
>>> via NFS3. Netapp produces its zero copy snapshots of this volume.
>>> I want to be able to restore VMs from these snapshots, e.g.
>>> Netapp can export snapshot to ovirt as another NFS volume after that
>>> I want to be able to import VM or attach VM disks from snapshot volume
>>> to VM and start it. As far as I understand it is basic backup|migration
>>> scenario
>>> when user wants to move VMs from one ovirt DC to another ovirt DC.
>>>
>>> Right now I cannot import snapshot volume which contains exactly same
>>> domain
>>> metadata (in dom_dm/ directory) as original volume (which I cannot
>>> detach since
>>> it hosts disks for running VMs). I tried to rename dom_md/, but with no
>>> success in
>>> domain import process.
>>>
>>> Maybe someone in this list uses same scenario for VM backup and can give
>>> some advice.
>>>
>>
>> Hi Zinovik,
>>
>> Have you tried using the scan disks procedure[*] (which scans the domain
>> for unregistered floating disks)?
>> You can find it under 'Storage -> Domains -> Disks -> "Scan Disks" button
>> (in the Kebab Menu)'.
>>
>> [*]
>> https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/#work-flow-for-scanning-unregistered-floating-disks---ui-flow
>>
>
> I cannot even attach snapshot volume.
> Disks scanning is available only for attached storage domains.
>

In order to import an existing storage domain, the old domain should be
removed first.
If you need to import just a single vm/disk, you can use the upload flow:
https://ovirt.org/develop/release-management/features/storage/backup-restore-disk-snapshots/
Or, if relevant, use the backup API integration:
https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration/


>
>
>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MRIYFKQTTC4NNTOIMZ5G676EQQEUBFNV/
>>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/47ILMZZUOFWVCRZ3WBNSOEJAFGEABAFN/


[ovirt-users] Re: Import Netapp snapshot volume into ovirt and start VM from volume snapshot

2018-07-30 Thread Igor Zinovik
пн, 30 июл. 2018 г., 9:54 Daniel Erez :

> On Sun, Jul 29, 2018 at 11:45 AM Igor Zinovik 
> wrote:
>
>>   Hello.
>>
>> I'm trying to implement following backup scenario for my VMs:
>> storage domain is a volume on netapp appliance connected to oVirt cluster
>> via NFS3. Netapp produces its zero copy snapshots of this volume.
>> I want to be able to restore VMs from these snapshots, e.g.
>> Netapp can export snapshot to ovirt as another NFS volume after that
>> I want to be able to import VM or attach VM disks from snapshot volume
>> to VM and start it. As far as I understand it is basic backup|migration
>> scenario
>> when user wants to move VMs from one ovirt DC to another ovirt DC.
>>
>> Right now I cannot import snapshot volume which contains exactly same
>> domain
>> metadata (in dom_dm/ directory) as original volume (which I cannot detach
>> since
>> it hosts disks for running VMs). I tried to rename dom_md/, but with no
>> success in
>> domain import process.
>>
>> Maybe someone in this list uses same scenario for VM backup and can give
>> some advice.
>>
>
> Hi Zinovik,
>
> Have you tried using the scan disks procedure[*] (which scans the domain
> for unregistered floating disks)?
> You can find it under 'Storage -> Domains -> Disks -> "Scan Disks" button
> (in the Kebab Menu)'.
>
> [*]
> https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/#work-flow-for-scanning-unregistered-floating-disks---ui-flow
>

I cannot even attach snapshot volume.
Disks scanning is available only for attached storage domains.


>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MRIYFKQTTC4NNTOIMZ5G676EQQEUBFNV/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KT55KRWET63KQOS52HCTC4URSINCDZLS/


[ovirt-users] Re: VM User with UserRole missing permissions to activate console and other actions

2018-07-30 Thread Callum Smith
Dear Michal,

We’re on the latest release version, 4.2.4.

VM Permissions are UserRole and no others.

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 27 Jul 2018, at 18:14, Michal Skrivanek 
mailto:mskri...@redhat.com>> wrote:



On 27 Jul 2018, at 16:37, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear Scott,

You're not wrong, console reports the error:

Reducing action: 
{"type":"VM_ACTIONS_SET_CONSOLE_IN_USE","payload":{"vmId":"a437d298-59b3-4e10-9ced-516edb38a7ea","consoleInUse":false}}
 helpers.js:19:6
Reducing action: 
{"type":"SET_VM_CONSOLES","payload":{"vmId":"a437d298-59b3-4e10-9ced-516edb38a7ea","consoles":[{"id":"7370696365","protocol":"spice"},{"id":"766e63","protocol":"vnc"}]}}
 helpers.js:19:6
Reducing action: 
{"type":"VM_ACTION_IN_PROGRESS","payload":{"vmId":"a437d298-59b3-4e10-9ced-516edb38a7ea","name":"getConsole","started":false}}
 helpers.js:19:6
External action console() starts on 
{"type":"INTERNAL_CONSOLE","payload":{"vmId":"a437d298-59b3-4e10-9ced-516edb38a7ea","consoleId":"7370696365"}}
 helpers.js:19:6
_httpGet start: 
url="/ovirt-engine/api/vms/a437d298-59b3-4e10-9ced-516edb38a7ea/graphicsconsoles/7370696365"
 helpers.js:19:6
_httpGet: 
url="/ovirt-engine/api/vms/a437d298-59b3-4e10-9ced-516edb38a7ea/graphicsconsoles/7370696365",
 headers="{"Authorization":"Bearer 
5orPWAJBkJx5g1bZDxi7Q3h3oQHFpWZW6XP5rZo_Moy3IShguyuA6VPpa4EB-o7mc8g_gHuua5BdMy8wwet3Yw","Accept-Language":"en_US","Filter":true,"Accept":"application/x-virt-viewer"}"
XML Parsing Error: no root element found Location: 
https://ovirtengine.cluster/ovirt-engine/api/vms/a437d298-59b3-4e10-9ced-516edb38a7ea/graphicsconsoles/7370696365
 Line Number 1, Column 1:
Ajax failed: 
{"readyState":4,"responseText":"","status":403,"statusText":"Forbidden"} 
helpers.js:19:6
External action exception: 
{"readyState":4,"responseText":"","status":403,"statusText":"Forbidden"} 
helpers.js:19:6
Reducing action: {"type":"FAILED_EXTERNAL_ACTION","payload":{"message":"Failed 
to retrieve VM console details\nForbidden","shortMessage":"Failed to retrieve 
VM console 
details","type":403,"action":{"type":"INTERNAL_CONSOLE","payload":{"vmId":"a437d298-59b3-4e10-9ced-516edb38a7ea","consoleId":"7370696365"

All of the forbidden issues could be misleading, but along with the server-side 
permissions issues that leads me to believe it could be a combination of both 
the issue you suggest and another one underlying?

We have to go with full release versions ideally as the ovirtengine is in 
production, I'd rather avoid the master branch version.

sure, so which ones do you have?
both ovirt-engine and ovirt-web-ui
Also please add what all permissions you have set on that VM, and which user 
tries to access it


Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 27 Jul 2018, at 15:25, Scott Dickerson 
mailto:sdick...@redhat.com>> wrote:

Callum,

If you are seeing the error when opening the console from VM Portal (web-ui), 
this sounds a lot like issue [1].  A patch against the ovirt REST api was done 
to help mitigate some errors that should not happen.  I'll take a look to see 
how it is working in the current master snapshot of ovirt-engine and VM Portal.

What version of oVirt are you using?

[1] - https://github.com/oVirt/ovirt-web-ui/issues/509

Regards,
Scott Dickerson


On Fri, Jul 27, 2018 at 4:42 AM, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Thanks Greg, it really would be great to resolve this and would really like to 
not have to clean install the engine on a new hostname (especially without a 
guarantee that it will work). Migrating is a significant portion of work.

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 27 Jul 2018, at 01:20, Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:

Adding some people who may be able to help.

On Wed, Jul 18, 2018 at 7:15 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Dear All,

Please see the errors below. I'm seeing this in the engine.log when as a user 
I'm trying to activate either a VM console or reboot a VM which I have access 
to as a user ("UserRole permission assigned to VM).

2018-07-18 10:51:33,554+01 INFO  
[org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default task-9) 
[557ca876] Running command
: CreateUserSessionCommand internal: false.
2018-07-18 10:51:33,575+01 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-9) [557ca876] E
VENT_ID: USER_VDC_LOGIN(30), User callum@Biomedical Research Computing 
connecting from '192.168.1.241' using session 'wiWA25wdaRP1zay
iyTSGBJKpvi89LdzgKqeX12BcZhNVhpV2BIA+zkAnT50xOSDglxnhfAi3S2ZiODls8JY

[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread Simone Tiraboschi
On Mon, Jul 30, 2018 at 10:03 AM Sven Achtelik 
wrote:

>
>
>
>
> *Von:* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Gesendet:* Montag, 30. Juli 2018 09:19
> *An:* Sven Achtelik 
> *Cc:* Yedidyah Bar David ; users ;
> Gobinda Das 
> *Betreff:* Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL
> Issues
>
>
>
>
>
> On Fri, Jul 27, 2018 at 9:27 AM Sven Achtelik 
> wrote:
>
> Is this what you’re looking for ?
>
>
>
> HOSTNAME=ovirt-engine
>
> SELINUX_ROLE_REQUESTED=
>
> TERM=xterm
>
> SHELL=/bin/bash
>
> HISTSIZE=1000
>
> SSH_CLIENT=10.1.50.14 50688 22
>
> SELINUX_USE_CURRENT_RANGE=
>
> SSH_TTY=/dev/pts/1
>
> USER=root
>
>
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>
> SSH_AUTH_SOCK=/tmp/ssh-FoWxJtonlt/agent.14076
>
> MAIL=/var/spool/mail/root
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
>
> PWD=/root
>
> LANG=en_US
>
>
>
> I think that your issue comes from here.
>
> On a clean system you have LANG=en_US.UTF-8 and you probably initially
> deployed oVirt 4.1 with postgres 9.2 with that but now you set
> just LANG=en_US and so postgres initdb is trying to honor that creating 9.5
> template0 and template1 without utf-8 support and so the upgrade from 9.2
> utf-8 to 9.5 without utf-8 is failing.
>
> I'd suggest to set LANG=en_US.UTF-8 and then try again the upgrade
> procedure from engine-setup.
>
>
>
> Just tried this and it’s still failing. Language seems to be set properly:
>
> [root@ovirt-engine ~]# localectl  status
>
>System Locale: LANG=en_US.utf8
>
>VC Keymap: us
>
>   X11 Layout: n/a
>
> [root@ovirt-engine ~]# env
>
> XDG_SESSION_ID=2625
>
> SELINUX_ROLE_REQUESTED=
>
> TERM=xterm
>
> SHELL=/bin/bash
>
> MAIL=/var/spool/mail/root
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
>
> PWD=/root
>
> LANG=en_US.utf8
>
>
>
> Here’s a snippet from the failing log:
>
>
>
> 2018-07-30 02:50:41,981-0500 DEBUG
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade
> plugin.executeRaw:813 execute:
> ('/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup', '--upgrade',
> '--upgrade-from=postgresql'),
>
> executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh
> %s', 'SSH_CLIENT': '10.1.50.14 52013 22', 'SELINUX_USE_CURRENT_RANGE': '',
> 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'PATH':
> '/opt/rh/rh-postgresq
>
> l95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',
> 'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG':
> 'en_US.utf8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'LIBRARY_PATH':
> '/opt/rh/rh
>
> -postgresql95/root/usr/lib64', 'SHLVL': '4', 'HISTSIZE': '1000',
> 'POSTGRESQLENV':
> 'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump
> COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql  COM
>
> MAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore
> COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup
> OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-p
>
> ostgresql
> OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf
> OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf
>
>
>   
> OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION',
> 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS':
> 'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PGS
>
> ETUP_INITDB_OPTIONS': '--lc-collate=C --encoding=SQL_ASCII --lc-ctype=C',
> 'PYTHONPATH': '/usr/share/ovirt-eng

[ovirt-users] Re: template disk attribute in version 4 restapi

2018-07-30 Thread like...@cs2c.com.cn
Hi, Idan. 
I have one more question. There is no diskattachments link for template in 
export storage domain. 
So i want to add the diskattachments link for it. I tried to read the source 
code in ovirt-engine project.
BackendStorageDomainTemplateResource defines some methods of 
StorageDomainTemplate. 
It implements the interface 
org.ovirt.engine.api.resource.StorageDomainTemplateResource.
But i can't find where is the location of 
org.ovirt.engine.api.resource.StorageDomainTemplateResource.
Could you please tell me where i can find the source code of 
StorageDomainTemplateResource?

Thanks

Regards.




like...@cs2c.com.cn
 
From: like...@cs2c.com.cn
Date: 2018-07-26 17:20
To: Idan Shaby
CC: users
Subject: Re: Re: [ovirt-users] template disk attribute in version 4 restapi
Thanks a lot. You're right, something is indeed wrong. From your reply, i 
suddenly realized that maybe some configuration is not right. And finally i 
find that my colleague added ENGINE_API_DEFAULT_VERSION=3 in the configuration 
file for his own experiment, but he didn't notify us. Now i delete the 
configuration item, everything is fine. 



like...@cs2c.com.cn
 
From: Idan Shaby
Date: 2018-07-26 16:41
To: like...@cs2c.com.cn
CC: users
Subject: Re: Re: [ovirt-users] template disk attribute in version 4 restapi
Sounds like something's wrong.
I've just checked 4.1.9 and I do have the diskattachments link under a specific 
template.
Can you say what you do have under /ovirt-engine/api/templates/?
This is the output I get in 4.1.9 under 
ovirt-engine/api/templates/----/ (pasting only 
the links):











Regards,
Idan

On Thu, Jul 26, 2018 at 9:14 AM, like...@cs2c.com.cn  
wrote:
In my oVirt 4.1.9 env, vm's api is fine. I can get vm's diskattachments from 
/ovirt-engine/api/vms//diskattachments. 
But for template, i got an error(404 not found) from 
/ovirt-engine/api/templates//diskattachments. 



like...@cs2c.com.cn
 
From: Idan Shaby
Date: 2018-07-26 13:44
To: like...@cs2c.com.cn
CC: users
Subject: Re: Re: [ovirt-users] template disk attribute in version 4 restapi
Actually, it was added back in oVirt 4.0.
What happens when you try to GET from 
/ovirt-engine/api/templates//diskattachments?
Do you get an empty list of attachments or an error (404 not found)?



Regards,
Idan

On Thu, Jul 26, 2018 at 4:10 AM, like...@cs2c.com.cn  
wrote:
Thank you for your reply. 
I'm using ovirt 4.1.9, in this version there is no diskattachments under 
/ovirt-engine/api/templates/, is it added in oVirt4.2?



like...@cs2c.com.cn
 
From: Idan Shaby
Date: 2018-07-25 19:30
To: like...@cs2c.com.cn
CC: users
Subject: Re: [ovirt-users] template disk attribute in version 4 restapi
Hi,

The bootable attribute was moved, along with a few more attributes, to be under 
a specific diskattachment, as it is an attribute of the relationship between a 
disk and the specific VM it is attached to, rather than a disk (which can be 
floating, or attached to more than one VM).
I am not sure that I understand the question. A template does have 
diskattachments under /ovirt-engine/api/templates//diskattachments.
Which engine's version are you using?


Regards,
Idan

On Wed, Jul 25, 2018 at 1:35 PM, like...@cs2c.com.cn  
wrote:
Hi All,

In the restapi of version 3, there is bootable attribute  in disk. But in 
version 4, the bootable attribute is removed from disk. For vm i can get 
bootable attribute from diskattachment. But there is no diskattachment in 
template. So, is there any way in the restapi of version 4 that i can know if 
the disk of the template is bootable or not?

Thanks

Regards.



like...@cs2c.com.cn

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZASGTIYNCZ6ESWWCB6LZJFG2KSVQGS6Q/




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/32IT6UBIWYN7HJK4SOVJZWAKKD3R7VDU/


[ovirt-users] Re: up and running with ovirt 4.2 and gluster

2018-07-30 Thread Sahina Bose
On Sat, Jul 28, 2018 at 7:48 PM,  wrote:

> Hi,
>
>
>
> I have my ovirt 4.2 hci cluster up and running, but I have a probably
> stupid question.
>
>
>
> During the setup and in the documents it defaults to setting up the engine
> datastore/volume, a VMstore/volume and a data/volume…
>

Engine volume = the Hosted Engine storage domain
vmstore volume = the storage domain hosting the OS disks for the VMs
data volume = the storage domain hosting the data disks of the VMs

This was designed such that when setting up for disaster recovery, you need
to set up remote backup only for the data disks

Please let us know /contribute to improving the documentation if this was
not clear


>
> What is the Data volume for?  I am planning on running VMs on this so I
> would assume I need VMstore and that’s what I will grow on my system.  In
> previous installs you had the opportunity to create the ISO domain, but not
> now.  I can see how to create in the engine UI so that’s fine, but I am
> just wondering what people use the Data volume for as an example.
>
>
>
> Thanks
>
> Bill
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/PHXIHJ23C236BMJM5S4MJQWDGV6GT3FT/
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YGFIYGNPNGSOBQ2E2DE4X6CZHBKZKBVU/


[ovirt-users] Re: adding hosts problems with GlusterFS

2018-07-30 Thread Sahina Bose
On Fri, Jul 27, 2018 at 8:12 PM,  wrote:

> Hi,  I setup my 3 host HCI cluster and things are going pretty good.  I
> have a few issues though...
>
> one of them is that I added two more hosts to the three node cluster to
> make it a 5 nodes.   This seemed to work fine until I went to create
> bricks.  I have 6 x 2 TB disks for use as JBOD in each node.
>
> After I added the nodes, I went to the host and storage devices.   This
> looks significantly different that the view on my first 3 hosts.  On the
> two new hosts all my drives sdb - sdg have locks next to  them and file
> system type is multipath__member.   Further up the page then I see a UID
> under the name and description is PERC H710P dm-multipath - no lock next to
> it.
>
> I created a brick on this and it created the lvmpv file system, however
> when I go to bricks view, there are no bricks.
>

Did you create a brick from the UI or using CLI on the hosts. Can you check
where the bricks are mounted?
If it's mounted at /gluster_bricks - the bricks should be listed in the New
volume screen


> So,  did I make a mistake while adding the hosts?  is there some way to
> prevent this dm-multipath configuration?
>

There' a bug to track this -
https://bugzilla.redhat.com/show_bug.cgi?id=1016535


> Thanks
> Bill
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-
> guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/
> message/CMU774UMB33KXG7W3UWJEXBQJMUBZI5N/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P4Z5XQSIO3JEWSPN6LZKNPS2M4N4Q3AM/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread Sven Achtelik


Von: Simone Tiraboschi [mailto:stira...@redhat.com]
Gesendet: Montag, 30. Juli 2018 09:19
An: Sven Achtelik 
Cc: Yedidyah Bar David ; users ; Gobinda Das 

Betreff: Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues


On Fri, Jul 27, 2018 at 9:27 AM Sven Achtelik 
mailto:sven.achte...@eps.aero>> wrote:
Is this what you’re looking for ?

HOSTNAME=ovirt-engine
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.1.50.14 50688 22
SELINUX_USE_CURRENT_RANGE=
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SSH_AUTH_SOCK=/tmp/ssh-FoWxJtonlt/agent.14076
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
LANG=en_US

I think that your issue comes from here.
On a clean system you have LANG=en_US.UTF-8 and you probably initially deployed 
oVirt 4.1 with postgres 9.2 with that but now you set just LANG=en_US and so 
postgres initdb is trying to honor that creating 9.5 template0 and template1 
without utf-8 support and so the upgrade from 9.2 utf-8 to 9.5 without utf-8 is 
failing.
I'd suggest to set LANG=en_US.UTF-8 and then try again the upgrade procedure 
from engine-setup.

Just tried this and it’s still failing. Language seems to be set properly:
[root@ovirt-engine ~]# localectl  status
   System Locale: LANG=en_US.utf8
   VC Keymap: us
  X11 Layout: n/a
[root@ovirt-engine ~]# env
XDG_SESSION_ID=2625
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
LANG=en_US.utf8

Here’s a snippet from the failing log:

2018-07-30 02:50:41,981-0500 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade 
plugin.executeRaw:813 execute: 
('/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup', '--upgrade', 
'--upgrade-from=postgresql'),
executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 
'SSH_CLIENT': '10.1.50.14 52013 22', 'SELINUX_USE_CURRENT_RANGE': '', 
'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'PATH': 
'/opt/rh/rh-postgresq
l95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 
'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 
'en_US.utf8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh
-postgresql95/root/usr/lib64', 'SHLVL': '4', 'HISTSIZE': '1000', 
'POSTGRESQLENV': 
'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump  
COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql  COM
MAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore  
COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup
  OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-p
ostgresql  
OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf
  
OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf
  
OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION',
 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 
'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PGS
ETUP_INITDB_OPTIONS': '--lc-collate=C --encoding=SQL_ASCII --lc-ctype=C', 
'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'SSH_AUTH_SOCK': 
'/tmp/ssh-mioJ2JGE3R/agent.25618', 'SELINUX_ROLE_REQUESTED': '', 'MAIL': 
'/var/sp
ool/mail/root', 'PKG_CONFIG_PATH': 
'/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID': '2625'

[ovirt-users] Re: Failed to deploy ovirt engine with "hosted-engine --deploy"

2018-07-30 Thread Simone Tiraboschi
On Mon, Jul 30, 2018 at 6:04 AM Bong Shau Fui  wrote:

> Hi Simone:
>Yes, it's in a nested environment.  L0 is vmware esxi 5.5.
>

I know for sue that a nested kvm env over vmware esxi is still problematic;
kvm over kvm works fine instead.


>
>
> regards,
> Bong SF
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YQZHWNK2CPSWGWIOB3WOJJ2QZK4HGLAD/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VQOFBKUUG4UBYDIYQHO6WUUJ4V2ZV6AZ/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread Simone Tiraboschi
On Fri, Jul 27, 2018 at 9:27 AM Sven Achtelik 
wrote:

> Is this what you’re looking for ?
>
>
>
> HOSTNAME=ovirt-engine
>
> SELINUX_ROLE_REQUESTED=
>
> TERM=xterm
>
> SHELL=/bin/bash
>
> HISTSIZE=1000
>
> SSH_CLIENT=10.1.50.14 50688 22
>
> SELINUX_USE_CURRENT_RANGE=
>
> SSH_TTY=/dev/pts/1
>
> USER=root
>
>
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>
> SSH_AUTH_SOCK=/tmp/ssh-FoWxJtonlt/agent.14076
>
> MAIL=/var/spool/mail/root
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
>
> PWD=/root
>
> LANG=en_US
>

I think that your issue comes from here.
On a clean system you have LANG=en_US.UTF-8 and you probably initially
deployed oVirt 4.1 with postgres 9.2 with that but now you set
just LANG=en_US and so postgres initdb is trying to honor that creating 9.5
template0 and template1 without utf-8 support and so the upgrade from 9.2
utf-8 to 9.5 without utf-8 is failing.
I'd suggest to set LANG=en_US.UTF-8 and then try again the upgrade
procedure from engine-setup.


> SELINUX_LEVEL_REQUESTED=
>
> HISTCONTROL=ignoredups
>
> SHLVL=1
>
> HOME=/root
>
> LOGNAME=root
>
> SSH_CONNECTION=
>
> LESSOPEN=||/usr/bin/lesspipe.sh %s
>
> XDG_RUNTIME_DIR=/run/user/0
>
> _=/usr/bin/env
>
>
>
>
>
>
>
> *Von:* Simone Tiraboschi [mailto:stira...@redhat.com]
> *Gesendet:* Donnerstag, 26. Juli 2018 12:42
> *An:* Sven Achtelik 
> *Cc:* Yedidyah Bar David ; users ;
> Gobinda Das 
> *Betreff:* Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL
> Issues
>
>
>
>
>
> On Wed, Jul 25, 2018 at 1:23 PM Sven Achtelik 
> wrote:
>
> Hi Simone,
>
>
>
> if I use the same command as you did I get the following information:
>
>
>
> [root@ovirt-engine ~]# sudo -u postgres scl enable rh-postgresql95 --
> psql --list
>
> could not change directory to "/root": Permission denied
>
>   List of databases
>
>  Name |Owner | Encoding  |   Collate
> |Ctype|   Access privileges
>
>
> --+--+---+-+-+---
>
> engine   | engine   | UTF8  | en_US.UTF-8 |
> en_US.UTF-8 |
>
>  ovirt_engine_history | ovirt_engine_history | UTF8  | en_US.UTF-8 |
> en_US.UTF-8 |
>
>  postgres | postgres | SQL_ASCII | C   |
> C   |
>
>  template0| postgres | SQL_ASCII | C   |
> C   | =c/postgres  +
>
>   |  |   |
> | | postgres=CTc/postgres
>
>
>
> The issue is just there on postgres and template0.
> According to inidb documentation:
> https://www.postgresql.org/docs/9.5/static/app-initdb.html
>
> -E encoding
> --encoding=encoding
>
> Selects the encoding of the template database. This will also be the
> default encoding of any database you create later, unless you override it
> there. The default is derived from the locale, or SQL_ASCII if that does
> not work.
>
> It will fall back to SQL_ASCII if there was an error getting the locale.
>
>
>
> Can you please share the output of env on the shell there you executed
> engine-setup?
>
>
>
>
>
>
>
> template1| postgres | UTF8  | en_US.utf8  |
> en_US.utf8  |
>
> (5 rows)
>
>
>
> As I’m not a DB admin, I don’t really know how go about these encodings. I
> restored the current system from a 4.1.7 Backup to a 4.1.9 image and all
> went well.
>
>
>
> Do you need any other values ?
>
>
>
> Thanks,
>
> Sven
>
>
>
>
>
> *Von:* Simone Tiraboschi [mailto:stira...@redhat.com]
> 

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-30 Thread Maton, Brett
I rebooted the server that was failing last week and haven't seen the error
since.

On 25 July 2018 at 11:48, Andrej Krejcir  wrote:

> I think the upgrade may not have affected the mom package, because no new
> mom rpm version was released for a few months.
>
> I'm not sure why the import fails even if the file is there.
>
> As a workaround, mom can be configured to use the older (deprecated) json
> rpc interface to communicate with vdsm. There is no difference in
> functionality.
> This can be done by editing /etc/vdsm/mom.conf. Set the
> 'hypervisor-interface' config value to 'vdsmjsonrpcbulk' insted of
> 'vdsmjsonrpcclient'.
>
> On Wed, 25 Jul 2018 at 08:56, Maton, Brett 
> wrote:
>
>> I upgraded my test cluster to 4.2.5.2-1 last night (hosts rebooted after
>> update) and I've started to see the error again.
>>
>> As before it seems to be limited to the one host,  I've checked that
>>
>> /usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/
>> vdsmjsonrpcclientInterface.py
>>
>> exists, which it does but there are no matching .pyc / .pyo files which
>> suggests that it's not been used?
>>
>> File permissions and SELinux contexts are the same on all files in the
>> HypervisorInterfaces directory.
>>
>> 0644 root root system_u:object_r:lib_t:s0
>>
>> vdsm / mom log from time period attached.
>>
>>
>> On 18 July 2018 at 16:10, Maton, Brett  wrote:
>>
>>> Thanks,
>>>
>>>   Cluster is all installed from pre-release, maybe I managed to get an
>>> iffy rpm
>>>
>>> On 18 July 2018 at 15:50, Andrej Krejcir  wrote:
>>>
 Yes, copying it from another host with mom version 0.5.12 is enough.

 I'm not sure why it was not installed. The file is in the rpm.

 On Wed, 18 Jul 2018 at 16:38, Maton, Brett 
 wrote:

> Bingo
>
> How could that file not be installed/deployed ?
>
>
> Should I simply copy it from one of the other hosts to make the
> message go away ?
>
> On 18 July 2018 at 15:30, Andrej Krejcir  wrote:
>
>> Maybe the python module is missing. Can you check if this file exists?
>>
>> /usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/
>> vdsmjsonrpcclientInterface.py
>>
>>
>> Andrej
>>
>> On Wed, 18 Jul 2018 at 16:04, Maton, Brett 
>> wrote:
>>
>>> I just checked the mom version, it's already at 0.5.12
>>>
>>> # rpm -qa mom
>>> mom-0.5.12-1.el7.centos.noarch
>>>
>>> All the physical hosts are fully updated /patched.
>>>
>>> Regards,
>>> Brett
>>>
>>> On 18 July 2018 at 14:08, Andrej Krejcir 
>>> wrote:
>>>
 Hi,

 Looking at MOM logs, the problem seems to be that MOM is configured
 to use 'vdsmjsonrpcclient' module to communicate with vdsm, but it
 cannot find this module, probably because it is an older version.

 Updating MOM to version 0.5.12 should fix it.


 Regards,
 Andrej

 On Wed, 18 Jul 2018 at 14:41, Maton, Brett <
 mat...@ltresources.co.uk> wrote:

> FWIW:
>
> This test cluster is 3x HP MicroServer Gen 8 16GB RAM, Intel(R)
> Xeon(R) CPU E3-1220 V2 @ 3.10GHz
>
> Network is bonded fail-over.
>
> Regards,
> Brett
>
> On 18 July 2018 at 13:15, Francesco Romani 
> wrote:
>
>> Thanks!
>>
>>
>> On 07/18/2018 02:11 PM, Maton, Brett wrote:
>>
>>> Sure no problem, mom log attached.
>>>
>>
>> It seems to me that MOM is restarting *very* often:
>>
>> 2018-07-18 06:07:04,909 - mom - INFO - MOM starting
>> 2018-07-18 06:07:20,407 - mom - INFO - MOM starting
>> 2018-07-18 06:07:30,658 - mom - INFO - MOM starting
>> 2018-07-18 06:07:30,658 - mom - INFO - MOM starting
>>
>> And I totally not expect this. Martin, Andrej, is this the
>> expected behaviour?
>>
>>
>> Bests,
>>
>>
>>
>> --
>> Francesco Romani
>> Senior SW Eng., Virtualization R&D
>> Red Hat
>> IRC: fromani github: @fromanirh
>>
>>
>
>>>
>
>>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JVHD36FNHRKIXOMOJS7B5EQORTDGLPOR/